Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free CompTIA SecurityX Certification Exam CAS-005 Exam Questions

Last updated: · 12 practice questions with answers and explanations

Page: 1 / 25 Total 362 questions

Want more questions? Get Premium Access.

Question 1

New Multiple answers

Topic: Governance, Risk, and Compliance

Skill tested: Applies data-governance controls to protect production information in nonproduction environments.

A financial-services company refreshes its QA environment monthly from production because testing requires realistic transaction patterns. The copy contains customer names, account identifiers, and payment details. QA engineers need to preserve referential integrity and statistical distributions, but they do not need to identify real customers. The environment is accessible to a wider engineering group than production, and the company cannot delay testing while requesting individual customer approvals. Which TWO controls should the security architect prioritize? Select TWO.

Correct Answer: A. Tokenize or irreversibly mask direct identifiers while preserving required relationships and formats.; C. Use synthetic or transformed data that preserves test-relevant characteristics without retaining customer identity.
Explanation:

Masking or tokenizing identifiers and using representative synthetic or transformed data reduce exposure while supporting realistic testing. The organization should validate that transformations preserve only the relationships and distributions that testing requires. Encryption at rest does not address authorized but overly broad access, and distributing the production key defeats separation. Restricting access alone leaves sensitive production data in a less-controlled environment. Removing the system from the CMDB weakens asset accountability rather than reducing data risk.

Question 2

New Single answer

Topic: Governance, Risk, and Compliance

Skill tested: Selects risk-analysis methods using quantified loss estimates and control costs.

A security committee must compare two risks to a customer-data service before funding controls. For the first risk, incident frequency and financial impact can be estimated from several years of reliable loss data. For the second, the threat is novel and the organization has little evidence to assign credible probabilities, but experts can rank its potential business impact. The committee wants the analysis to support a defensible investment decision without presenting weak estimates as precise. Which approach is MOST appropriate?

Correct Answer: C. Use quantitative analysis for the first risk and qualitative analysis for the second, documenting assumptions and uncertainty.
Explanation:

Reliable historical frequency and impact data can support quantitative analysis for the first risk. The novel threat does not have evidence for credible probability estimates, so qualitative ranking is more honest and useful than false precision. Applying one qualitative scale to both risks discards useful loss data. Assigning zero probability to an unknown threat confuses lack of evidence with impossibility. Expert judgment can inform estimates, but it does not make unsupported exact values defensible.

Question 3

New Single answer

Topic: Governance, Risk, and Compliance

Skill tested: Uses ATT&CK and trust-boundary data flows to prioritize architecture threat modeling.

A company is adding a partner-facing API that accepts order data, calls an internal pricing service, and writes approved orders to a database. An architecture review has limited time and must focus on credible attack paths across system boundaries. The team has identified external users, partner credentials, the API gateway, and service identities, but its current diagram shows only application components and omits data movement and authentication transitions. Which NEXT step provides the strongest basis for threat modeling?

Correct Answer: A. Document data flows, trust boundaries, identities, and security-relevant transitions, then map plausible techniques to ATT&CK or CAPEC.
Explanation:

Threat modeling needs an accurate view of data flows, trust boundaries, identities, and transitions so analysts can reason about where an attacker may cross from one security context to another. ATT&CK or CAPEC can then help describe plausible behaviors and attack patterns. Component scoring alone does not reveal attack paths. Repository-by-repository STRIDE analysis misses interactions and boundary crossings. A database checklist may address selected controls but does not satisfy the architecture-level threat-modeling need.

Question 4

New Single answer

Topic: Security Architecture

Skill tested: Enforces cloud data perimeters using workload identity and narrowly scoped service access.

A cloud-hosted analytics service processes regulated records in a private object-storage bucket. A managed transformation job must read source objects and write derived objects; analysts should access only approved derived data. The security team must prevent public exposure, avoid long-lived credentials, and limit the effect of a compromised job. The cloud provider manages the underlying storage infrastructure, while the company controls identities, bucket policy, and data classification. Which design BEST meets these requirements?

Correct Answer: B. Keep the bucket private, grant the job a narrowly scoped workload identity, and enforce separate access policies for source and derived data.
Explanation:

A private bucket combined with a workload identity and least-privilege permissions avoids public access and long-lived shared secrets. Separate permissions for source and derived data constrain both normal access and the impact of a compromised job; analysts can receive access only to approved outputs. An obscure public prefix is not an access control. A shared administrator key broadens exposure and complicates attribution. Reusing the analyst role grants the job unnecessary privileges and merges distinct trust relationships.

Question 5

New Multiple answers

Topic: Security Architecture

Skill tested: Combines proxy-based CASB controls with API-based discovery for shadow IT governance.

A distributed enterprise permits staff to use approved cloud collaboration services but must detect unsanctioned SaaS use and prevent uploads of regulated files. Some offices route web traffic through managed security proxies; remote users use an always-on access client. The organization also wants visibility into SaaS accounts created outside the managed network, but it cannot block all cloud services or replace its identity provider. Which TWO measures best address both discovery and enforcement? Select TWO.

Correct Answer: C. Use proxy-based CASB inspection on routed web traffic to apply upload controls and identify observed cloud services.; E. Use CASB API integrations with supported SaaS tenants to assess configuration and activity beyond traffic visible to the proxy.
Explanation:

Proxy-based CASB controls can inspect traffic that traverses the proxy and enforce policies such as blocking regulated-file uploads. API integrations provide visibility and governance within supported SaaS tenants, including activity that may not pass through the proxy. DNS-only visibility cannot reliably inspect file content or uploads. A static allowlist does not provide tenant-level activity or data controls. Shared administrator accounts undermine attribution and least privilege rather than improve governance.

Question 6

New Single answer

Topic: Security Architecture

Skill tested: Implements workload-specific segmentation through microsegmentation and explicit service authorization.

A retailer operates payment-processing services and general application workloads on a shared virtualized network. Existing perimeter firewalls restrict internet access, but a compromised web application can currently initiate connections to several internal services. The payment environment must be isolated without redesigning physical network links, and application owners need explicit, auditable communication rules. Which architecture change is MOST appropriate?

Correct Answer: D. Apply microsegmentation policies that allow only documented workload-to-workload flows, with a separately enforced payment zone.
Explanation:

Microsegmentation applies policy to east-west communications and can restrict workloads to explicitly authorized flows, addressing the lateral movement path described. A separately enforced payment zone supports stronger isolation and auditability without requiring a physical network redesign. An additional perimeter firewall primarily controls north-south traffic. VPN authentication does not provide workload-level authorization and can create broad reachability. NAT changes addressing behavior but does not itself restrict or authorize connections.

Question 7

New Single answer

Topic: Security Architecture

Skill tested: Applies shared-responsibility and continuous-authorization principles to cloud service changes.

A company is migrating a customer-facing application to a managed cloud platform. The provider operates the physical facilities and managed runtime, while the company configures application identities, data access, and deployment approvals. The security team currently approves the architecture once, but deployments occur several times daily and can change permissions through infrastructure-as-code updates. The business requires rapid releases without allowing an unreviewed permission change to remain active. Which approach is BEST?

Correct Answer: D. Retain customer responsibility for identity and data controls, and continuously evaluate deployment changes against policy with approval or blocking gates.
Explanation:

The shared-responsibility model leaves the customer accountable for configured identities, data access, and application controls even when the provider manages underlying infrastructure. Policy checks in the CI/CD or infrastructure-as-code workflow can evaluate changes continuously and block or require approval for violations, supporting frequent releases without relying on a one-time review. Provider operation of the runtime does not transfer application authorization. Manual full reviews after every release undermine the stated delivery constraint, while annual testing cannot prevent or promptly detect drift.

Question 8

New Multiple answers

Topic: Security Engineering

Skill tested: Selects cryptographic controls for confidentiality, integrity, and forward secrecy in data transmission.

A healthcare provider is replacing a custom service-to-service protocol used to send clinical events between data centers. The service must authenticate endpoints, protect event confidentiality and integrity, and reduce the risk that later compromise of a server's long-term private key exposes previously captured sessions. The provider can deploy supported modern TLS libraries but cannot require specialized hardware at every endpoint. Which TWO design decisions best satisfy these requirements? Select TWO.

Correct Answer: D. Use TLS with certificate-based endpoint authentication and a cipher suite providing ephemeral key agreement.; E. Use TLS with ephemeral key agreement and validate certificate chains and service identities.
Explanation:

TLS with certificate-based authentication can establish trusted endpoint identities, while ephemeral key agreement provides forward secrecy: later compromise of a long-term authentication key does not by itself reveal past session traffic. Certificate-chain and service-identity validation are essential to prevent accepting an untrusted or impersonating endpoint. Static shared encryption keys lack the requested forward-secrecy property and create distribution risks. A signature does not provide confidentiality. An unkeyed hash detects neither a malicious sender nor unauthorized modification when an attacker can recompute it.

Question 9

New Single answer

Topic: Security Engineering

Skill tested: Uses SCAP components to correlate vulnerability findings with standardized system configuration checks.

A regulated enterprise receives vulnerability scan results from several tools, but reports use inconsistent product names and configuration terminology. The security team needs to identify affected platforms consistently and exchange machine-readable configuration assessment content. It also needs standardized definitions for known vulnerabilities and platform enumeration. Which mapping of SCAP components to these needs is MOST appropriate?

Correct Answer: B. Use CPE to identify platforms, CVE to identify known vulnerabilities, and XCCDF with OVAL content for configuration assessment.
Explanation:

CPE provides standardized platform and product naming, while CVE identifies publicly known vulnerabilities. XCCDF structures security checklists and assessment results, and OVAL can express machine-readable tests for system state. Together these components support more consistent scanning and configuration assessment. CVSS is used to represent vulnerability severity, not platform identity. The other mappings interchange identifiers, scoring, and configuration languages, so they would not meet the team's interoperability goal.

Question 10

New Single answer

Topic: Security Engineering

Skill tested: Applies cryptographic erasure by destroying encryption keys to render retained ciphertext inaccessible.

A cloud service is retiring a storage volume containing encrypted customer records. The volume is replicated across managed storage infrastructure, so the organization cannot verify immediate physical overwriting of every underlying block. Records are encrypted with a unique data-encryption key for this volume, and the key is protected by a separate key-encryption key under the company's control. Retention rules allow the ciphertext to remain until normal media reclamation, but the data must become unrecoverable when the service is decommissioned. Which action BEST meets the requirement?

Correct Answer: D. Delete the volume's data-encryption key and all recoverable wrapped copies, while retaining evidence of key destruction.
Explanation:

Cryptographic erasure makes retained ciphertext inaccessible by securely destroying the keys needed to decrypt it. Because wrapped key copies may permit recovery, the organization must account for them as well and preserve evidence for audit. Deleting a logical volume does not prove that every managed replica has been overwritten. Renaming a key changes no cryptographic access. Hashing ciphertext neither removes the decryption capability nor renders the underlying records unrecoverable.

Question 11

New Single answer

Topic: Security Operations

Skill tested: Reduces SIEM detection gaps by validating event parsing, retention, and false-negative behavior.

A security operations center reports fewer alerts after a SIEM migration, and leadership initially interprets the change as improved security. Analysts then discover that a recently compromised account generated no alert, although source identity-provider logs show repeated authentication failures followed by an unusual successful login. The SIEM dashboard shows normal ingestion volume, and the organization must determine whether detection logic or data handling failed before tuning thresholds. What should the team do FIRST?

Correct Answer: C. Verify that the relevant events are ingested, correctly parsed and normalized, retained, and matched by the rule using representative test events.
Explanation:

A silent detection can result from missing events, parsing or normalization changes, retention gaps, or a rule that no longer matches the event fields. The team should validate the entire data path and replay representative events before changing detection logic. Increasing severity cannot compensate for events that are absent or misparsed. Disabling correlation may widen the detection gap. Reducing retention does not diagnose the failure and could remove evidence needed for investigation.

Question 12

New Multiple answers

Topic: Security Operations

Skill tested: Combines threat-intelligence sharing and host-based detection to investigate suspicious executable behavior.

A threat-hunting team receives a credible report of a new executable used in targeted intrusions. It has a sample from one isolated endpoint, a file hash, and a behavioral description involving an unexpected child process and outbound connections. The organization wants to analyze the sample without risking production systems, detect related activity across endpoints, and share actionable indicators with a sector partner in a machine-readable form. Which TWO actions best meet these goals? Select TWO.

Correct Answer: C. Execute the sample in a controlled sandbox, record behavior and extract indicators, then validate any proposed detections before deployment.; E. Create a YARA rule based on stable file characteristics and deploy it with suitable testing and performance safeguards.
Explanation:

Sandboxing contains execution while allowing analysts to observe behavior and extract indicators for investigation. A carefully tested YARA rule can detect files with stable characteristics across endpoint collections; behavioral and network indicators can also inform other detections. Running the sample on production endpoints creates unnecessary risk. Plain-text email is not equivalent to structured, machine-readable STIX/TAXII indicator exchange. Permanently blocking all outbound traffic is disproportionate and would disrupt legitimate operations without addressing the need for targeted detection.