CAS-004 Questions - Truly Beneficial For Your CompTIA Exam (Updated 620 Questions)
View All CAS-004 Actual Exam Questions, Answers and Explanations for Free
NEW QUESTION # 133
A company that all mobile devices be encrypted, commensurate with the full disk encryption scheme of assets, such as workstation, servers, and laptops. Which of the following will MOST likely be a limiting factor when selecting mobile device managers for the company?
- A. Inability to selected AES-256 encryption
- B. Increased network latency
- C. Unavailable of key escrow
- D. Removal of user authentication requirements
Answer: A
Explanation:
The inability to select AES-256 encryption will most likely be a limiting factor when selecting mobile device managers for the company. AES-256 is a symmetric encryption algorithm that uses a 256-bit key to encrypt and decrypt data. It is considered one of the strongest encryption methods available and is widely used for securing sensitive data. Mobile device managers are software applications that allow administrators to remotely manage and secure mobile devices used by employees. However, not all mobile device managers may support AES-256 encryption or allow the company to enforce it as a policy on all mobile devices.
NEW QUESTION # 134
A security architect updated the security policy to require a proper way to verify that packets received between two parties have not been tampered with and the connection remains private. Which of the following cryptographic techniques can be used to ensure the security policy is being enforced properly?
- A. MD5-based envelope method
- B. PGP
- C. PBKDF2
- D. HMAC SHA256
Answer: D
Explanation:
The company should use HMAC SHA256 as a cryptographic technique to ensure that packets received between two parties have not been tampered with and the connection remains private. HMAC stands for hash-based message authentication code, which is a method of generating a message authentication code using a cryptographic hash function and a secret key. HMAC can provide both integrity and authenticity of the packets, as well as resistance to replay attacks. SHA256 is a specific hash function that produces a 256-bit output. SHA256 is considered secure and widely used in various cryptographic applications. Verified Reference:
https://www.ericsson.com/en/blog/2021/7/cryptography-and-privacy-protecting-private-data
https://www.mdpi.com/journal/cryptography/special_issues/Preserve_Enhance_Privacy
https://link.springer.com/article/10.1007/s11432-021-3393-x
NEW QUESTION # 135
A shipping company that is trying to eliminate entire classes of threats is developing an SELinux policy to ensure its custom Android devices are used exclusively for package tracking.
After compiling and implementing the policy, in which of the following modes must the company ensure the devices are configured to run?
- A. Permissive
- B. Protecting
- C. Mandatory
- D. Enforcing
Answer: D
Explanation:
Reference:
SELinux (Security-Enhanced Linux) is a security module for Linux systems that provides mandatory access control (MAC) policies for processes and files. SELinux can operate in three modes:
Enforcing: SELinux enforces the MAC policies and denies access based on rules.
Permissive: SELinux does not enforce the MAC policies but only logs actions that would have been denied if running in enforcing mode.
Disabled: SELinux is turned off.
To ensure its custom Android devices are used exclusively for package tracking, the company must configure SELinux to run in enforcing mode. This mode will prevent any unauthorized actions or applications from running on the devices and protect them from potential threats or misuse. Reference: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/selinux_users_and_administrators_guide/chap-security-enhanced_linux-introduction#sect-Security-Enhanced_Linux-Modes https://source.android.com/security/selinux
NEW QUESTION # 136
A Chief information Security Officer (CISO) is developing corrective-action plans based on the following from a vulnerability scan of internal hosts:
Which of the following MOST appropriate corrective action to document for this finding?
- A. The product owner should perform a business impact assessment regarding the ability to implement a WAF.
- B. The security operations center should develop a custom IDS rule to prevent attacks buffer overflows against this server.
- C. The application developer should use a static code analysis tool to ensure any application code is not vulnerable to buffer overflows.
- D. The system administrator should evaluate dependencies and perform upgrade as necessary.
Answer: A
NEW QUESTION # 137
A security engineer is implementing a server-side TLS configuration that provides forward secrecy and authenticated encryption with associated data.
Which of the following algorithms, when combined into a cipher suite, will meet these requirements? (Choose three.)
- A. AES
- B. EDE
- C. DH
- D. RSA
- E. CBC
- F. ECDSA
- G. RC4
- H. GCM
Answer: A,F,H
NEW QUESTION # 138
A Chief Information Security Officer (CISO) is concerned that a company's current data disposal procedures could result in data remanence. The company uses only SSDs. Which of the following would be the MOST secure way to dispose of the SSDs given the CISO's concern?
- A. Formatting
- B. Shredding
- C. Overwiting
- D. Degaussing
- E. Incinerating
Answer: B
Explanation:
Explanation
Shredding is the most secure way to dispose of the SSDs given the CISO's concern. Shredding involves physically destroying the SSDs by cutting them into small pieces that make the data unrecoverable. Shredding is the ultimate data destruction method for both HDDs and SSDs, as it ensures that no data remanence is left on the media.
NEW QUESTION # 139
A software house is developing a new application. The application has the following requirements:
Reduce the number of credential requests as much as possible
Integrate with social networks
Authenticate users
Which of the following is the BEST federation method to use for the application?
- A. OAuth
- B. SAML
- C. OpenID
- D. WS-Federation
Answer: B
Explanation:
SAML and OAuth2 are open standard protocols designed with different, but related goals.
Primarily, SAML 2.0 is designed to authenticate a user, so providing user identity data to a service. OAuth 2.0 is designed as an authorization protocol permitting a user to share access to specific resources with a service provider.
NEW QUESTION # 140
An analyst execute a vulnerability scan against an internet-facing DNS server and receives the following report:
Which of the following tools should the analyst use FIRST to validate the most critical vulnerability?
- A. Password cracker
- B. Exploitation framework
- C. Account enumerator
- D. Port scanner
Answer: A
NEW QUESTION # 141
A company is deploying multiple VPNs to support supplier connections into its extranet applications. The network security standard requires:
* All remote devices to have up-to-date antivirus
* An up-to-date and patched OS
Which of the following technologies should the company deploy to meet its security objectives? (Select TWO)
- A. WAF
- B. NGFW
- C. Bastion host
- D. Reverse proxy
- E. NAC
- F. NIDS
Answer: E,F
NEW QUESTION # 142
Company A is establishing a contractual with Company B. The terms of the agreement are formalized in a document covering the payment terms, limitation of liability, and intellectual property rights. Which of the following documents will MOST likely contain these elements
- A. Company A-B NDA v03.docx
- B. Company A MOU v1.docx
- C. Company A-B SLA v2.docx
- D. Company A MSA v3.docx
- E. Company A OLA v1b.docx
Answer: C
NEW QUESTION # 143
Based on a recent security audit, a company discovered the perimeter strategy is inadequate for its recent growth. To address this issue, the company is looking for a solution that includes the following requirements:
* Collapse of multiple network security technologies into a single footprint
* Support for multiple VPNs with different security contexts
* Support for application layer security (Layer 7 of the OSI Model)
Which of the following technologies would be the most appropriate solution given these requirements?
- A. NAT gateway
- B. NIDS
- C. Reverse proxy
- D. NGFW
Answer: D
Explanation:
A Next-Generation Firewall (NGFW) is the best solution to meet the company's needs. NGFWs combine multiple security functions, such as VPN support, intrusion prevention, application-layer (Layer 7) inspection, and more, into a single device, simplifying network security management while improving security coverage.
NGFWs can support multiple VPNs with different security contexts, which is critical for the company's requirement. CASP+ emphasizes NGFWs for their ability to collapse multiple security technologies into one platform and offer application-layer security, addressing modern perimeter security needs.
References:
* CASP+ CAS-004 Exam Objectives: Domain 3.0 - Enterprise Security Architecture (NGFW and Unified Security Technologies)
* CompTIA CASP+ Study Guide: NGFW and Perimeter Security Strategies
NEW QUESTION # 144
A security engineer evaluates the overall security of a custom mobile gaming application and notices that developers are bringing in a large number of open-source packages without appropriate patch management.
Which of the following would the engineer most likely recommend for uncovering known vulnerabilities in the packages?
- A. Use fuzz testing to uncover potential vulnerabilities in the application.
- B. Analyze the use of an HTTP intercepting proxy to dynamically uncover issues.
- C. Leverage an exploitation framework to uncover vulnerabilities.
- D. Reverse engineer the application to look for vulnerable code paths.
- E. Utilize a software composition analysis tool to report known vulnerabilities.
Answer: D
NEW QUESTION # 145
Company A acquired Company B. During an initial assessment, the companies discover they are using the same SSO system. To help users with the transition, Company A is requiring the following:
* Before the merger is complete, users from both companies should use a single set of usernames and passwords.
* Users in the same departments should have the same set of rights and privileges, but they should have different sets of rights and privileges if they have different IPs.
* Users from Company B should be able to access Company A's available resources.
Which of the following are the BEST solutions? (Select TWO).
- A. Implementing attribute-based access control
- B. Enabling multifactor authentication
- C. Installing Company A's Kerberos systems in Company B's network
- D. Installing new Group Policy Object policies
- E. Establishing one-way trust from Company B to Company A
Answer: A,E
Explanation:
Updating login scripts
Explanation:
Establishing one-way trust from Company B to Company A would allow users from Company B to access Company A's resources using their existing credentials. Implementing attribute-based access control would allow users to have different sets of rights and privileges based on their attributes, such as department and IP address. Verified Reference:
https://www.cloudflare.com/learning/access-management/what-is-sso/
https://frontegg.com/blog/a-complete-guide-to-implementing-single-sign-on
https://learn.microsoft.com/en-us/host-integration-server/esso/enterprise-single-sign-on-basics
NEW QUESTION # 146
Which of the following technologies allows CSPs to add encryption across multiple data storages?
- A. Homomorphic encryption
- B. Bit splitting
- C. Symmetric encryption
- D. Data dispersion
Answer: C
NEW QUESTION # 147
Users from the marketing department (192.168.0.1/24) are reporting performance issues with an on-premises application server (192.168.0.9). The application server should only be accessed internally. A security analyst reviews various logs and finds the following information:
Which of the following should the security analyst perform next to improve performance and ensure the application server is secured as required?
- A. Modify the cloud security group rules to deny all external traffic to 192.168.0.9.
- B. Configure NGFW to deny access from subnets not in 192.168.0.0/24.
- C. Update the DLP system to include policies for data exfiltration attempts on the application server.
- D. Update the IDS/IPS software with the latest OS/firmware to ensure all brute-force attacks are prevented.
Answer: B
NEW QUESTION # 148
An electric car company hires an IT consulting company to improve the cybersecurity of us vehicles.
Which of the following should achieve the BEST long-term result for the company?
- A. Reviewing proposed designs and prototypes for cybersecurity vulnerabilities
- B. Designing Developing add-on security components for fielded vehicles
- C. Performing a cyber-risk assessment on production vehicles
- D. Reviewing and influencing requirements for an early development vehicle
Answer: A
NEW QUESTION # 149
An organization develops a social media application that is used by customers in multiple remote geographic locations around the world. The organization's headquarters and only data center are located in New York City. The Chief Information Security Officer wants to ensure the following requirements are met for the social media application:
Low latencyfor all mobile users to improve the users' experience
SSL offloadingto improve web server performance
Protection against DoS and DDoS attacks
High availability
Which of the following should the organization implement tobestensure all requirements are met?
- A. A load-balanced group of reverse proxy servers with SSL acceleration
- B. Dual gigabit-speed internet connections with managed DDoS prevention
- C. A CDN with the origin set to its data center
- D. A cache server farm in its data center
Answer: C
Explanation:
Comprehensive and Detailed in-Depth Explanation:
Why the Correct Answer is C (A CDN with the origin set to its data center):
AContent Delivery Network (CDN)is specifically designed to address the requirements presented:
Low Latency for Global Users:
A CDN caches static and dynamic content onedge serversdistributed across the globe.
This minimizes latency forremote geographic locationsas content is served from thenearest edge serverrather than the centralized New York data center.
SSL Offloading:
Many CDNs offerSSL terminationat the edge, offloading theSSL/TLS handshake processfrom the origin server.
This improvesweb server performanceby reducing the computational load.
Protection Against DoS and DDoS Attacks:
CDNs are equipped withbuilt-in DDoS protection, absorbing andmitigating attacksat the edge rather than letting them hit the origin server.
This capability ensures that the application remainsavailableeven during attack attempts.
High Availability:
CDNs are designed forresiliency and redundancy.
Even if the origin data center goes down, cached content can still be served frommultiple edge locations, enhancing availability.
Why the Other Options Are Incorrect:
A: A cache server farm in its data center:
While it improves performancelocally, it does not reducelatency for global users.
It lacksDDoS protectionand high availability across regions.
B: A load-balanced group of reverse proxy servers with SSL acceleration:
This approach improvesSSL performanceandavailabilitywithin the data center but does not addressglobal latency.
It also does not inherently provideDDoS mitigation.
D: Dual gigabit-speed internet connections with managed DDoS prevention:
This solution addressesDDoS protection and availabilitybut notlow latency for remote users.
Thebottleneck remainsat the single data center location, leading tohigh latencyfor global users.
Real-World Scenario:
A social media application similar toInstagram or TikTokmust ensurefast content deliveryandresilient performanceworldwide. ACDNenables content to be deliveredcloser to the user, significantly reducingloading times. Furthermore, theSSL offloading and DDoS mitigationcapabilities protect both user data and service availability.
Extract from CompTIA SecurityX CAS-005 Study Guide:
TheCompTIA SecurityX CAS-005 Official Study Guidehighlights thatCDNsare essential for applications with aglobal user base. CDNs providelow latency, enhanced security (including DDoS protection), and increased availabilityby distributing content throughedge locations. This aligns perfectly with the organizational requirements outlined.
NEW QUESTION # 150
A software developer is working on a piece of code required by a new software package. The code should use a protocol to verify the validity of a remote identity. Which of the following should the developer implement in the code?
- A. HSTS
- B. OCSP
- C. RSA
- D. CRL
Answer: B
Explanation:
Another means of providing up to date information regarding the status of a certificate is to check the certificate's status on an Online Certificate Status Protocol (OCSP) server, referred to as an OCSP responder. Rather than return a whole CRL, this just communicates the status of the requested certificate. Details of the OCSP responder service should be published in the certificate.
NEW QUESTION # 151
A company's Chief Information Officer wants to implement IDS software onto the current system's architecture to provide an additional layer of security. The software must be able to monitor system activity, provide information on attempted attacks, and provide analysis of malicious activities to determine the processes or users involved.
Which of the following would provide this information?
- A. NIDS
- B. HIPS
- C. UEBA
- D. HIDS
Answer: D
Explanation:
HIDS will provide the granularity required. HIDS monitor systems' activity, threat, processes, users involved.
NEW QUESTION # 152
During a system penetration test, a security engineer successfully gained access to a shell on a Linux host as a standard user and wants to elevate the privilege levels.
Which of the following is a valid Linux post-exploitation method to use to accomplish this goal?
- A. Read the /etc/passwd file to extract the usernames.
- B. Perform ASIC password cracking on the host.
- C. Initiate unquoted service path exploits.
- D. Spawn a shell using sudo and an escape string such as sudo vim -c '!sh'.
- E. Use the UNION operator to extract the database schema.
Answer: D
Explanation:
Reference:
Spawning a shell using sudo and an escape string is a valid Linux post-exploitation method that can exploit a misconfigured sudoers file and allow a standard user to execute commands as root. ASIC password cracking is used to break hashed passwords, not to elevate privileges. Reading the /etc/passwd file may reveal usernames, but not passwords or privileges. Unquoted service path exploits are applicable to Windows systems, not Linux. Using the UNION operator is a SQL injection technique, not a Linux post-exploitation method. Verified Reference: https://www.comptia.org/blog/what-is-post-exploitation https://partners.comptia.org/docs/default-source/resources/casp-content-guide
NEW QUESTION # 153
A security architect examines a section of code and discovers the following:
Which of the following changes should the security architect require before approving the code for release?
- A. Prevent more than 20 characters from being entered.
- B. Allow only alphanumeric characters for the username.
- C. Add a password parameter to the checkUserExists function.
- D. Make the password variable longer to support more secure passwords.
Answer: A
Explanation:
The code snippet presents a buffer size risk where the user input (username) is accepted without limiting the number of characters, potentially leading to buffer overflow vulnerabilities. The best solution is to implement input validation that limits the input to a maximum of 20 characters, matching the buffer size defined in the code. This prevents overflow attacks by ensuring that user input does not exceed the allocated memory space.
Other options, like adding more parameters or allowing alphanumeric characters, do not directly address the root cause of buffer overflow vulnerabilities. CASP+ stresses the importance of proper input validation and bounds checking as critical security measures.
References:
* CASP+ CAS-004 Exam Objectives: Domain 2.0 - Enterprise Security Operations (Input Validation and Buffer Overflow Prevention)
* CompTIA CASP+ Study Guide: Secure Coding Practices and Input Validation Techniques
NEW QUESTION # 154
A junior developer is informed about the impact of new malware on an Advanced RISC Machine (ARM) CPU, and the code must be fixed accordingly. Based on the debug, the malware is able to insert itself in another process memory location.
Which of the following technologies can the developer enable on the ARM architecture to prevent this type of malware?
- A. No-execute
- B. Virtual memory encryption
- C. Total memory encryption
- D. Execute never
Answer: A
NEW QUESTION # 155
A security consultant has been asked to recommend a secure network design that would:
* Permit an existing OPC server to communicate with a new Modbus server that is controlling electrical relays.
* Limit operational disruptions.
Due to the limitations within the Modbus protocol, which of the following configurations should the security engineer recommend as part of the solution?
- A. Restrict outbound traffic so that only the OPC server is permitted to reach the Modbus server on port 102.
- B. Restrict inbound traffic so that only the OPC server is permitted to reach the Modbus server on port 502.
- C. Restrict outbound traffic so that only the OPC server is permitted to reach the Modbus server on port 5000.
- D. Restrict inbound traffic so that only the OPC server is permitted to reach the Modbus server on port 135.
Answer: B
Explanation:
OPC (Open Platform Communications) and Modbus are two common protocols used for industrial control systems (ICS). OPC is a standard that allows different devices and applications to exchange data in a vendor-neutral way. Modbus is a serial communication protocol that enables devices to send and receive commands and data over a network. Modbus has two variants: Modbus TCP/IP, which uses TCP port 502 for communication, and Modbus RTU/ASCII, which uses serial ports.
To allow an OPC server to communicate with a Modbus server that is controlling electrical relays, the security engineer should recommend restricting inbound traffic so that only the OPC server is permitted to reach the Modbus server on port 502. This configuration would:
Permit the OPC server to send commands and data to the Modbus server using Modbus TCP/IP protocol over port 502.
Limit operational disruptions, by preventing unauthorized or malicious access to the Modbus server from other sources.
Due to the limitations within the Modbus protocol, such as lack of encryption and authentication, restricting inbound traffic is a necessary security measure to protect the integrity and availability of the ICS.
NEW QUESTION # 156
A security engineer has implemented an internal user access review tool so service teams can baseline user accounts and group memberships. The tool is functional and popular among its initial set of onboarded teams. However, the tool has not been built to cater to a broader set of internal teams yet. The engineer has sought feedback from internal stakeholders, and a list of summarized requirements is as follows:
The tool needs to be responsive so service teams can query it, and
then perform an automated response action.
The tool needs to be resilient to outages so service teams can perform
the user access review at any point in time and meet their own SLAs.
The tool will become the system-of-record for approval, reapproval,
and removal life cycles of group memberships and must allow for data
retrieval after failure.
Which of the following need specific attention to meet the requirements listed above? (Choose three.)
- A. Usability
- B. Scalability
- C. Recoverability
- D. Availability
- E. Maintainability
- F. Latency
Answer: C,D,F
NEW QUESTION # 157
......
CAS-004 dumps Free Test Engine Verified By It Certified Experts: https://www.itpassleader.com/CompTIA/CAS-004-dumps-pass-exam.html
CAS-004 Exam Free Practice Test with100% Accurate Answers: https://drive.google.com/open?id=1kSK_Y7_ihQvB5y1CRt7qdqCeHwR2Z0Jp