Comptia

CAS-005 Free Practice Questions — Page 13

Question 62

A Chief Information Security Officer receives the following findings from a third-party risk assessment report: Finding #1: Absence of a risk management process Finding #2: Absence of a formal information security management system Finding #3: Absence of formal procedures to review access Finding #4: Absence of management engagement on monitoring security objectives Which of the following is best for the security team to use when remediating the findings?

A. Incorporate PCI DSS compliance.
B. Implement ISO/IEC 27001 standard recommendation.
C. Use OWASP to implement consistent security testing.
D. Research appropriate CIS benchmarks and apply them.
Show Answer
Correct Answer: B
Explanation:
ISO/IEC 27001 provides a framework for an information security management system (ISMS), including risk management, access control reviews, and management oversight of security objectives. PCI DSS, OWASP, and CIS Benchmarks address narrower needs and would not remediate all four findings.

Question 62

A company's internal network is experiencing a security breach and the threat actor is still active Due to business requirements, users in this environment are allowed to utilize multiple machines at the same time. Given the following log snippet: Which of the following accounts should a security analyst disable to best contain the incident without impacting valid users?

Illustration for CAS-005 question 62
A. user-а
B. user-b
C. user-с
D. user-d
Show Answer
Correct Answer: D
Explanation:
Disable user-d. The account attempted activity on two different machines just one minute apart, making it the clearest sign of rapid lateral movement. The other accounts’ activity is either farther apart in time or confined to one machine.

Question 63

A penetration tester is drafting a report of findings and recommendations. Multiple EOL biomedical devices were compromised using a combination of known-exploit payloads for CVEs and VLAN hopping. The tester acknowledges that the systems cannot be changed or replaced in the hospital due to regulatory, safety, and cost reasons. Which of the following are the most effective controls for this scenario? (Choose two.)

A. Deploying an IDS with active response for threat activities from a network tap
B. Implementing QoS that limits the throughput of the link speeds from some VLANs
C. Limiting trunking protocols to specific uplink ports of access switches
D. Adding a proxy and requiring medical staff to authenticate every connection
E. Inserting an in-line IPS between network segments of the affected hosts
F. Performing security awareness training for these devices users
Show Answer
Correct Answer: C, E
Explanation:
Restricting trunking to designated uplink ports helps prevent VLAN hopping. An in-line IPS can block known-exploit traffic between network segments, providing a compensating control for devices that cannot be patched or replaced. Sources: https://deepstrike.io/blog/iomt-vulnerabilities-statistics-2025

Question 63

A programmer is reviewing the following proprietary piece of code that was identified as a vulnerability due to users being authenticated when they provide incorrect credentials: Which of the following should the programmer implement to remediate the code vulnerability?

Illustration for CAS-005 question 63
A. Salted hashing via the proprietary SHASH function
B. Input validation in the first two lines of code
C. Atomic execution of subroutines
D. TOCTOU remediation in SET USERACL
E. Database connection over encrypted channels
Show Answer
Correct Answer: C
Explanation:
The unconditional jump to `:ALLOWUSER` bypasses the credential check, so this is a control-flow flaw—not an input-validation, hashing, TOCTOU, or transport-encryption issue. C is the closest offered choice, but atomic execution alone does not fix the shown code: the jump must be removed or changed so `SET USERACL(USERID)` runs only after credentials are verified.

Question 64

A company finds logs with modified time stamps when compared to other systems. The security team decides to improve logging and auditing for incident response. Which of the following should the team do to best accomplish this goal?

A. Integrate a file-monitoring tool with the SIEM.
B. Change the log solution and integrate it with the existing SIEM.
C. Implement a central logging server, allowing only log ingestion.
D. Rotate and back up logs every 24 hours, encrypting the backups.
Show Answer
Correct Answer: C
Explanation:
A centralized logging server that only accepts log ingestion limits the ability to alter or delete collected logs, improving their integrity and making them more reliable for auditing and incident response.

Question 64

The results of an internal audit indicate several employees reused passwords that were previously included in a published list of compromised passwords. The company has the following employee password policy: Which of the following should be implemented to best address the password reuse issue? (Choose two.)

Illustration for CAS-005 question 64
A. Increase the minimum age to two days.
B. Increase the history to 20.
C. Increase the character length to 12.
D. Add case-sensitive requirements to character class.
E. Decrease the maximum age to 30 days.
F. Remove the complexity requirements.
G. Increase the maximum age to 120 days.
Show Answer
Correct Answer: A, B
Explanation:
Increasing password history from 8 to 20 prevents reuse of a larger number of previous passwords. Increasing the minimum age from 0 to 2 days makes it harder to rapidly cycle through password changes to bypass that history and return to a compromised password.

Question 65

The ISAC for the retail industry recently released a report regarding social engineering tactics in which small groups create distractions for employees while other malicious individuals install advanced card skimmers on the payment systems. The Chief Information Security Officer (CISO) thinks that security awareness training, technical control implementations, and governance already in place is adequate to protect from this threat. The board would like to test these controls. Which of the following should the CISO recommend?

A. Dark web monitoring
B. Adversary emulation engagement
C. Supply chain risk consultation
D. Tabletop exercises
Show Answer
Correct Answer: B
Explanation:
An adversary emulation engagement recreates realistic attacker tactics—such as distracting employees while attempting to install a skimmer—to test whether existing awareness, technical, and governance controls work in practice. A tabletop exercise would primarily test discussion-based response processes, not directly validate defenses against the attack.

Question 65

A security architect needs to enable a container orchestrator for DevSecOps and SOAR initiatives. The engineer has discovered that several Ansible YAML files used for the automation of configuration management have the following content: Which of the following should the engineer do to correct the security issues presented within this content?

Illustration for CAS-005 question 65
A. Update the kubernetes.core.k8s module to kubernetes.core.k8s_service in the main.yml file.
B. Update the COMPTIA001 hostname to localhost using the hostnamectl command.
C. Update the state: present module to state: absent in the main.yml file.
D. Update or remove the ansible.cfg file.
E. Update the insecure-bind-address from localhost to the COMPTIA001 in the manifests file.
Show Answer
Correct Answer: D
Explanation:
Review or remove the Ansible inventory-plugin configuration if the Kubernetes plugin is not required or is not properly secured. Changing `insecure-bind-address` from `localhost` to the host name could make the unauthenticated endpoint reachable over the network, so option E would worsen exposure. The `state: present` setting is normal when the playbook is intended to create the Service.

Question 66

An administrator brings the company's fleet of mobile devices into its PKI in order to align device WLAN NAC configurations with existing workstations and laptops. Thousands of devices need to be reconfigured in a cost-effective, time-efficient, and secure manner. Which of the following actions best achieve this goal? (Choose two.)

A. Using the existing MDM solution to integrate with directory services for authentication and enrollment
B. Deploying netAuth extended key usage certificate templates
C. Deploying serverAuth extended key usage certificate templates
D. Deploying clientAuth extended key usage certificate templates
E. Configuring SCEP on the CA with an OTP for bulk device enrollment
F. Submitting a CSR to the CAto obtain a single certificate that can be used across all devices
Show Answer
Correct Answer: A, E
Explanation:
Integrating the existing MDM with directory services supports centralized, automated enrollment and management. SCEP with one-time passwords provides a scalable and secure way to enroll certificates on thousands of devices. The issued WLAN client certificates should use the appropriate client-authentication profile.

Question 67

An organization that performs real-time financial processing is implementing a new backup solution. Given the following business requirements: • The backup solution must reduce the risk for potential backup compromise • The backup solution must be resilient to a ransomware attack • The time to restore from backups is less important than the backup data integrity • Multiple copies of production data must be maintained. Which of the following backup strategies best meets these requirements?

A. Creating a secondary, immutable database and adding live data on a continuous basis
B. Utilizing two connected storage arrays and ensuring the arrays constantly sync
C. Enabling remote journaling on the databases to ensure real-time transactions are mirrored
D. Setting up anti-tampering on the databases to ensure data cannot be changed unintentionally
Show Answer
Correct Answer: A
Explanation:
A secondary immutable database maintains another copy of production data while preventing backup data from being altered or encrypted by ransomware. Because integrity is more important than restore speed, this protected copy best fits the requirements. Constantly synchronized arrays or journals may replicate malicious changes, while anti-tampering alone does not provide multiple backup copies.

$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.