CompTIA CAS-005 Practice Exam Questions & Answers
CompTIA CAS-005 Exam Details
Key details for this exam, checked against the published exam outline
- Exam Code
- CAS-005
- Full Name
- CompTIA SecurityX Certification Exam
- Issuing Body
- CompTIA
- Question Format (Our Bank)
- Multiple Choice, Drag & Drop
- Delivery
- Online proctored (OnVUE) or at Pearson VUE test centre
- Eligibility
- No formal prerequisites. Recommended: minimum 10 years general hands-on IT experience including at least 5 years hands-on IT security experience
- Validity
- 3 years. renewable with 75 continuing education units (CEUs)
- Full Question Set
- 363 questions Get All Questions
Free CAS-005 Practice Questions
Answer each question, then see the correct answer and why it is right
Question 1 Domain 2 Security Architecture
A senior security engineer has identified the following log file excerpt as a likely contributor to an attacker's lateral movement during a recent breach:
qry_source: 19.27.214.22 TCP/53
qry_dest: 199.105.22.13 TCP/53
qry_type: AXFR
| in comptia.org
------------ directoryserver1 A 10.80.8.10
------------directoryserver2 A 10.80.8.11
------------ directoryserver3 A 10.80.8.12
------------ internal-dns A 10.80.9.1
----------- www-int A 10.80.9.3
------------ fshare A 10.80.9.4
------------ sip A 10.80.9.5
------------ msn-crit-apcs A 10.81.22.33
Which of the following solutions, if put in place, would reduce the chance of this problem happening again?
The log records an AXFR (zone transfer) query, which exposed internal DNS records and supported lateral movement. Consider each choice:
A . Disabling DNS zone transfers: AXFR allows the complete DNS zone data to be transferred. Turning it off for external requesters stops attackers from mapping the internal network, which directly addresses this issue in line with the security operations focus of CAS-005.
B . Restricting to UDP/53: AXFR runs over TCP/53, so this would not block it.
C . DNS masking: Hides records but is not a standard term for this remedy.
Question 2 Domain 2 Security Architecture
A cloud engineer must find suitable solutions that meet the following objectives:
* Deliver secure access to internal and external cloud resources.
* Remove split-tunnel traffic flows.
*Support identity and access management capabilities.
Which of the following solutions are the best fit? (Select two).
To deliver secure access to internal and external cloud resources, remove split-tunnel traffic flows, and support identity and access management capabilities, the best-fit solutions are CASB (Cloud Access Security Broker) and SASE (Secure Access Service Edge).
Why CASB and SASE?
CASB (Cloud Access Security Broker):
Secure Access: CASB platforms secure access to cloud resources by applying security policies and tracking user activity.
Identity and Access Management: CASBs connect with identity and access management (IAM) systems so that only approved users can reach cloud resources.
Visibility and Control: They provide insight into how cloud applications are used and control how data is shared and accessed.
SASE (Secure Access Service Edge):
Eliminate Split-Tunnel Traffic: SASE combines network security functions with WAN capabilities so access stays secure without requiring split-tunnel configurations.
Comprehensive Security: SASE takes a holistic approach to security, covering secure web gateways, firewalls, and zero trust network access (ZTNA).
Identity-Based Access: SASE uses IAM to enforce access controls based on user identity and context.
Other options, while useful, do not fully meet all the requirements:
A . Federation: Helpful for identity management but does not remove split-tunnel traffic or deliver comprehensive security.
B . Microsegmentation: Strengthens security inside the network but does not directly address secure access to cloud resources or split-tunnel traffic.
D . PAM (Privileged Access Management): Concentrates on managing privileged accounts and does not offer comprehensive access control for internal and external resources.
E . SD-WAN: Improves WAN performance but does not inherently provide identity and access management capabilities or remove split-tunnel traffic.
CompTIA SecurityX Study Guide
'CASB: Cloud Access Security Broker,' Gartner Research
Question 3 Domain 3 Security Engineering Lab task
A security engineer must examine the settings of several network devices to satisfy these criteria:
The PostgreSQL server may only accept connections from the 10.1.2.0/24
subnet.
The SSH daemon running on the database server has to listen
on port 4022.
The SSH daemon can accept incoming connections from a single
workstation only.
Every host-based firewall on all workstations must be turned off.
Each device needs updates that were released within the last eight
days.
*Every HDD must be set up to protect data at rest.
Plaintext services are prohibited.
All devices should be hardened wherever feasible.
Instructions
Select each workstation and network appliance to examine its posture assessment findings. Fix any potential problems or state that no problem exists.
Select Server A to view its output data. Choose the commands from the proper tab to resolve connectivity problems to the pOSTGREsql DATABASE over ssh

WAP A

PC A

Laptop A

Switch A

Switch B:

Laptop B

PC B

PC C

Server A





Work out the steps and commands you would run, then compare them with the solution
WAP A: No issue found. WAP A is configured correctly and satisfies the requirements.
PC A = Turn on the host-based firewall to block all traffic
This option will switch the host-based firewall off and let all traffic pass through. This will satisfy the requirement and also improve the connectivity of PC A to other devices on the network. However, this option will also lower the security of PC A and leave it more exposed to attacks. For that reason, it is advisable to rely on other security measures, such as antivirus, encryption, and password complexity, to protect PC A from potential threats.
Laptop A: Patch management
This option will install the available updates for Laptop A and make sure it has the latest security patches and bug fixes. This will satisfy the requirement and also improve the performance and stability of Laptop A. However, this option may also require a reboot of Laptop A and some downtime while the updates are applied. For that reason, it is advisable to back up any important data and close open applications before applying the updates.
Switch A: No issue found. Switch A is configured correctly and satisfies the requirements.
Switch B: No issue found. Switch B is configured correctly and satisfies the requirements.
Laptop B: Disable unneeded services
This option will stop and disable the telnet service running on port 23 on Laptop B. Telnet is a cleartext service that sends data in plain text over the network, which exposes it to eavesdropping, interception, and modification by attackers. By disabling the telnet service, you will satisfy the requirement and also strengthen the security of Laptop B. However, this option may also affect the functionality of Laptop B if it needs telnet for remote administration or other purposes. For that reason, it is advisable to use a secure alternative to telnet, such as SSH or HTTPS, that encrypts data in transit.
PC B: Enable disk encryption
This option will encrypt the HDD of PC B using a tool such as BitLocker or VeraCrypt. Disk encryption is a technique that protects data at rest by converting it into an unreadable format that can only be decrypted with a valid key or password. By enabling disk encryption, you will satisfy the requirement and also improve the confidentiality and integrity of PC B's data. However, this option may also affect the performance and usability of PC B, since it adds processing time and user authentication to access the encrypted data. For that reason, it is advisable to back up any important data and choose a strong key or password before encrypting the disk.
PC C: Disable unneeded services
This option will stop and disable the SSH daemon running on port 22 on PC C. SSH is a secure service that allows remote access and command execution over an encrypted channel. However, port 22 is the default and well-known port for SSH, which makes it a common target for brute-force attacks and port scanning. By disabling the SSH daemon on port 22, you will satisfy the requirement and also strengthen the security of PC C. However, this option may also affect the functionality of PC C if it needs SSH for remote administration or other purposes. For that reason, it is advisable to run the SSH daemon on a different port, such as 4022, by editing the configuration file with the following command:
sudo nano /etc/ssh/sshd_config
Server A. Need to select the following:

Get the complete CAS-005 question set
$20$40
Question 4 Domain 1 Governance, Risk, and Compliance
Following a meeting with its ISAC, an organization chose to evaluate how well its security controls hold up against a limited set of sophisticated threat actors. Which of the following would allow the security administrator to carry out this evaluation?
Adversary emulation reproduces the particular advanced persistent threat (APT) behaviors and techniques in order to assess an organization's security posture. In SecurityX CAS-005, this falls under red-teaming and purple-teaming approaches for realistic resilience testing.
Reliability factors (B) concern operational uptime rather than threat simulation.
Honeypots (C) lure attackers but do not directly imitate specific adversaries.
Internal reconnaissance (D) is just one stage of an attack simulation, not a full emulation of advanced threat actors.
Question 5 Domain 2 Security Architecture
An architect is investigating a problem with an OIDC deployment. The architect examines the configuration and error output shown below:

Error: Invalid authentication request code
Which of the following is the most probable reason for this error?
Question 6 Domain 4 Security Operations
Which of the following is used to gather a substantial collection of behavioral data points to guide decisions?
Gathering a large set of behavioral observations involves handling massive volumes of information, which falls under Big Data. Big Data technologies allow storage, processing, and analysis of large-scale information (for example, user behavior logs) to guide decisions, a core capability in security analytics.
Option A: Linear regression is a statistical technique for modeling relationships rather than gathering data.
Option B: Distributed consensus concerns agreement among nodes in distributed systems (such as blockchain), not data collection.
Option C: Big Data directly enables collecting and analyzing large datasets to produce insights, making it the best fit for the question.
Option D: Machine learning uses data to train models but depends on that data having been collected first, often through Big Data.
Question 7 Domain 2 Security Architecture
An organization has adopted a policy mandating that every password be changed every 90 days. An administrator notices a high number of failed sign-on events coming from several servers that staff access frequently. The administrator finds that users are closing their RDP windows without signing out of the session. Which of the following should the administrator do to avoid account lockouts?
When staff close RDP connections without logging off, the sessions keep running on the server. After passwords are updated under the 90-day rotation requirement, these leftover sessions can try to authenticate with old credentials, producing repeated failed logins and possible lockouts.
Configuring automatic logout for inactive sessions ends disconnected or idle sessions after a defined interval, so stale sessions no longer trigger authentication failures. This method follows session management best practices and supports ongoing security compliance.
Question 8 Domain 1 Governance, Risk, and Compliance
A company is ranking its work to fix or reduce the risks uncovered in its most recent assessment. For one risk, complete remediation could not be achieved, yet the company successfully put mitigating measures in place that lower the chance of the impact occurring. What should the company do next?
Once mitigations that lower the likelihood of a risk's impact have been applied, the next step is to assess the residual risk, meaning the risk that persists after controls are put in place. This shows the organization whether the mitigation is adequate or whether further action is required, in line with sound risk management practice.
Option A: Correct, since residual risk assessment is the logical next step for judging how well the mitigations work.
Option B: Updating the threat model may come later, but it is not the immediate step; residual risk comes first.
Option C: Moving to the next risk skips checking whether the current mitigation succeeded.
Option D: Recalculating the impact magnitude is part of residual risk assessment but does not make up the full process.
Practice every CAS-005 question in the full set, each one with its verified answer and a detailed explanation
Get Full AccessWhat the CompTIA CAS-005 Exam Covers
Exam domains verified against the Official CompTIA CAS-005 exam guide, last checked November 2026.
Domain 1 Governance, Risk, and Compliance
20%Implement governance components that align with organizational security requirements and compliance frameworks. Focus on phishing and social engineering threats, security communication protocols, and risk assessment methods like COBIT framework implementation.
Domain 2 Security Architecture
27%Analyze security requirements to design resilient systems with proper component placement and configuration. Design secure network architectures, including firewalls and intrusion prevention systems, for complex enterprise environments supporting zero-trust and hybrid cloud scenarios.
Domain 3 Security Engineering
31%Troubleshoot common issues with identity and access management components in enterprise environments. Apply cryptographic solutions, design secure integrations, and solve real-world authentication and authorization challenges across diverse platforms.
Above Practice Question from this Domain: Q3
Domain 4 Security Operations
22%Analyze security data to enable monitoring and response across complex environments. Implement threat detection, incident response procedures, and digital forensics capabilities to identify and mitigate security events in real time.
Above Practice Question from this Domain: Q6
CAS-005 Exam FAQ
Common questions about the exam itself
What makes the CAS-005 SecurityX exam harder than CompTIA's mid-level security certifications?
Do I need Security+ or CySA+ before attempting SecurityX CAS-005?
Which objective area on CAS-005 gives most candidates the most trouble?
How long should I realistically prepare for SecurityX CAS-005?
What happens on exam day for CAS-005, and is it different from lower-level CompTIA exams?
What are the retake and rescheduling rules for CAS-005?
How long does SecurityX certification stay valid and what renewal looks like?
What job roles does SecurityX CAS-005 prepare me for?
How does SecurityX CAS-005 relate to the old CASP+ exam, and should I worry about version changes?
Is there an exam track or pathway that SecurityX fits into?
Other CompTIA Exams
Free practice questions for more CompTIA certification exams
