Courseiva

CompTIA SecurityX (CAS-005) (CAS-005) — Questions 601675

968 questions total · 13pages · All types, answers revealed

Page 8

Page 9 of 13

Page 10
601
MCQmedium

During a vendor risk assessment, a security analyst reviews a SOC 2 Type II report from a cloud provider. What is the primary value of this report?

A.It provides assurance over the design and operating effectiveness of controls over a period.
B.It offers a snapshot of the vendor's security posture at a single point in time.
C.It provides a real-time vulnerability scan of the vendor's network.
D.It verifies the vendor's compliance with PCI DSS.
AnswerA

Type II reports include testing of controls over a period.

Why this answer

A SOC 2 Type II report provides an independent assessment of controls over a period, confirming the vendor's control effectiveness.

602
Multi-Selectmedium

An organization is hardening its Kubernetes cluster. Which THREE of the following are effective controls to limit the blast radius of a compromised container?

Select 3 answers
A.Using RBAC to restrict service account permissions
B.Implementing Kubernetes network policies to restrict pod-to-pod communication
C.Performing regular container image scanning for vulnerabilities
D.Applying seccomp profiles to limit system call availability
E.Enforcing Pod Security Standards (PSS) such as 'restricted' policy
AnswersB, D, E

Network policies limit which pods can communicate, containing potential lateral movement.

Why this answer

Network policies restrict communication between pods, limiting lateral movement. Seccomp profiles restrict system calls, reducing attack surface. Pod Security Standards (PSS) enforce security contexts like not running as root.

RBAC controls user access, not container-to-container. Image scanning identifies vulnerabilities but does not limit blast radius.

603
MCQmedium

A SOC team is implementing a SOAR playbook to automate response to phishing emails reported by users. Which step should be included in the playbook to prevent other users from accessing the malicious link?

A.Isolate the reporter's workstation
B.Reset the reporter's password
C.Block the malicious URL in the web proxy
D.Delete the email from all mailboxes
AnswerC

Blocking the URL prevents access by all users.

Why this answer

URL blocking in a web proxy prevents other users from accessing the malicious link, which is a common automated response in phishing playbooks.

604
MCQeasy

A company is developing a new mobile app that will process users' biometric data for authentication. The legal team is concerned about compliance with the GDPR's data protection by design. Which of the following is the MOST appropriate control to implement?

A.Obtain explicit consent from users before data collection.
B.Store biometric data in hashed form on the device.
C.Implement strong encryption for data in transit and at rest.
D.Conduct a Data Protection Impact Assessment (DPIA) before development.
AnswerD

DPIA is mandated for high-risk processing and is a key part of data protection by design.

Why this answer

Conducting a Data Protection Impact Assessment (DPIA) before development is the most appropriate control because GDPR Article 35 mandates a DPIA when processing biometric data is likely to result in high risk to individuals' rights and freedoms. This aligns with the principle of data protection by design (Article 25), requiring privacy considerations to be embedded into the development process from the outset, not added later.

Exam trap

CompTIA CASP+ often tests the distinction between security controls (encryption, hashing, consent) and governance/compliance controls (DPIA), tricking candidates into picking a technical safeguard instead of the mandated privacy-by-design assessment.

How to eliminate wrong answers

Option A is wrong because obtaining explicit consent, while necessary under GDPR for biometric data, is a legal basis for processing, not a technical or organizational control that implements data protection by design; it does not address the proactive, risk-based assessment required by Article 25. Option B is wrong because storing biometric data in hashed form on the device is a security measure, but hashing biometric data is not recommended due to its low entropy and the risk of dictionary attacks; GDPR's data protection by design requires a DPIA to evaluate whether such storage is appropriate and to consider alternatives like on-device matching without raw data retention. Option C is wrong because implementing strong encryption for data in transit and at rest is a necessary security control but is a reactive measure; it does not fulfill the proactive requirement of a DPIA to assess risks and design the system with privacy in mind from the start.

605
Multi-Selectmedium

Which TWO of the following are advantages of using a hardware security module (HSM) over a software-based cryptographic module? (Select exactly 2.)

Select 2 answers
A.Easier to deploy in cloud environments than software.
B.Automatically receive security patches without manual intervention.
C.Physical tamper resistance and protection against key extraction.
D.Lower cost than software modules.
E.Faster cryptographic operations due to dedicated hardware accelerators.
AnswersC, E

HSMs are designed to resist physical attacks, making them more secure for key storage.

Why this answer

Options C and E are correct. A hardware security module (HSM) provides physical tamper resistance and dedicated hardware accelerators, making cryptographic operations faster and more secure than software-based modules. Option A is incorrect because HSMs are generally harder to deploy in cloud environments due to physical hardware requirements.

Option B is incorrect because HSMs do not automatically receive security patches; they require manual updates and careful management. Option D is incorrect because HSMs are typically more expensive than software-based cryptographic modules.

606
MCQeasy

An organization is implementing a PKI to issue certificates for internal applications. The security team wants to minimize the risk of compromise to the root CA. Which of the following is the BEST practice to protect the root CA?

A.Delegate root CA responsibilities to a public CA
B.Keep the root CA offline and store its private key in a hardware security module
C.Install the root CA on a VM with strict firewall rules
D.Use a self-signed certificate for the root CA and distribute it manually
AnswerB

This is the industry-standard approach to protect the root CA.

Why this answer

Keeping the root CA offline and using a hardware security module (HSM) for key storage ensures its private key is never exposed to network threats. This is a standard best practice.

607
MCQeasy

Which document in a security policy hierarchy provides specific step-by-step instructions for performing a task?

A.Guideline
B.Procedure
C.Standard
D.Policy
AnswerB

A procedure provides detailed instructions for a specific activity.

Why this answer

A procedure details the exact steps to implement a policy, standard, or guideline.

608
MCQhard

An organization uses a multi-cloud strategy with workloads in AWS and Azure. The security architect needs to implement a single identity provider for all cloud resources while maintaining on-premises Active Directory as the authoritative source. Which architecture minimizes latency and complexity?

A.Use a third-party cloud-based identity provider and sync AD to it
B.Synchronize AD to Azure AD and then use Azure AD as an identity source for AWS via SAML
C.Create separate identity stores in AWS and Azure and sync from AD
D.Federate on-premises AD directly with both AWS and Azure using ADFS
AnswerD

ADFS can federate with both clouds using SAML, minimizing synchronization and complexity.

Why this answer

Federating on-premises Active Directory directly with both AWS and Azure using ADFS (Active Directory Federation Services) minimizes latency and complexity by avoiding intermediate synchronization steps. ADFS acts as a single identity provider that issues SAML 2.0 assertions to both cloud providers, allowing users to authenticate against on-premises AD in real time without replicating identity data to the cloud. This eliminates the need for directory synchronization, reducing both architectural overhead and authentication latency.

Exam trap

The trap here is that candidates often assume Azure AD must be the identity source for AWS because of Microsoft's ecosystem, but direct federation with ADFS avoids the latency and complexity of intermediate synchronization while still using on-premises AD as the authoritative source.

How to eliminate wrong answers

Option A is wrong because introducing a third-party cloud-based identity provider adds an extra hop and synchronization step, increasing latency and complexity without leveraging existing on-premises AD directly. Option B is wrong because synchronizing AD to Azure AD and then using Azure AD as an identity source for AWS via SAML introduces a dependency on Azure AD sync latency and adds an intermediary, which increases complexity and potential authentication delay compared to direct federation. Option C is wrong because creating separate identity stores in AWS and AWS and syncing from AD duplicates identity data, increases management overhead, and introduces synchronization delays, violating the requirement to minimize complexity.

609
MCQmedium

A company is implementing a zero-trust network architecture. Which of the following components is essential for enforcing micro-segmentation?

A.Security information and event management (SIEM) system
B.Software-defined networking (SDN) with distributed firewalls
C.Multi-factor authentication (MFA)
D.Network access control (NAC)
AnswerB

SDN allows granular, policy-driven segmentation at the virtual network level.

Why this answer

Software-defined networking (SDN) with distributed firewalls is essential for enforcing micro-segmentation because it enables granular, policy-based traffic control at the virtual network layer, independent of physical topology. SDN centralizes policy management and pushes firewall rules to hypervisor-level or host-level enforcement points, allowing east-west traffic to be segmented between individual workloads or application tiers without relying on traditional perimeter firewalls.

Exam trap

The trap here is that candidates often confuse network access control (NAC) with micro-segmentation, but NAC controls access at the network edge (e.g., port-based authentication) rather than providing the workload-level, distributed traffic filtering that SDN with distributed firewalls enables.

How to eliminate wrong answers

Option A is wrong because a SIEM system is a log aggregation and analysis tool, not an enforcement point; it cannot block or filter traffic to create micro-segments. Option C is wrong because multi-factor authentication (MFA) is an identity verification mechanism that controls user access, not network traffic segmentation between workloads. Option D is wrong because network access control (NAC) primarily authenticates and authorizes devices at the network edge (e.g., 802.1X), but it does not provide the granular, workload-level traffic filtering required for micro-segmentation within a data center or cloud environment.

610
MCQmedium

A healthcare organization is required to comply with HIPAA. During an audit, the auditor requests evidence of access controls for electronic protected health information (ePHI). Which of the following would be the BEST evidence to provide?

A.A report of employee security training completion
B.A signed copy of the access control policy
C.Access review logs showing periodic reviews of user permissions
D.A network diagram of the IT infrastructure
AnswerC

This demonstrates ongoing compliance with access control requirements.

Why this answer

Access review logs demonstrate ongoing monitoring and management of access rights, which is a key HIPAA requirement for administrative safeguards. A signed policy is insufficient without evidence of enforcement. A network diagram shows architecture, not control.

A training completion report addresses workforce training, not access controls.

611
MCQhard

During a security assessment, a penetration tester discovers that a web application's session tokens are predictable. The application uses a custom session management system. Which of the following is the MOST effective remediation to ensure secure session tokens?

A.Generate session tokens using a cryptographically secure random number generator (CSPRNG) with at least 128 bits of entropy.
B.Regenerate the session token on each page request.
C.Implement a short session timeout of 5 minutes.
D.Generate tokens using HMAC-SHA256 of a timestamp and a secret key.
AnswerA

CSPRNGs produce unpredictable values resistant to analysis, ensuring that session tokens cannot be guessed.

Why this answer

Predictable session tokens arise from insufficient randomness. Using a cryptographically secure random number generator (CSPRNG) with at least 128 bits of entropy ensures that tokens are statistically unpredictable and resistant to brute-force or guessing attacks, which is the foundational requirement for secure session management per NIST SP 800-63B and OWASP guidelines.

Exam trap

CompTIA often tests the misconception that regenerating tokens frequently or using HMAC with a secret key is sufficient, when in fact the core issue is insufficient entropy in the token generation process.

How to eliminate wrong answers

Option B is wrong because regenerating the session token on every page request introduces unnecessary overhead and can break application state (e.g., concurrent AJAX calls), but more critically, it does not address the root cause of predictability—if the generation algorithm itself is weak, regenerating frequently still produces predictable tokens. Option C is wrong because a short session timeout of 5 minutes only limits the window of opportunity for an attacker to use a stolen or guessed token; it does not prevent the token from being predictable in the first place, so an attacker can still precompute valid tokens. Option D is wrong because HMAC-SHA256 of a timestamp and a secret key can still produce predictable tokens if the timestamp granularity is coarse (e.g., seconds) and the secret key is static; an attacker who observes a few tokens can reverse-engineer the pattern, especially if the timestamp is included in plaintext or can be inferred, making this approach weaker than a CSPRNG-based token.

612
MCQmedium

A healthcare organization subject to HIPAA must ensure that patients can access their medical records. This requirement is an example of which data subject right under privacy regulations?

A.Right to be forgotten
B.Right to data portability
C.Right to rectification
D.Right to access
AnswerD

HIPAA requires covered entities to provide individuals access to their PHI.

Why this answer

HIPAA gives patients the right to access their protected health information (PHI). This aligns with the data subject right of access.

613
Multi-Selectmedium

Which TWO of the following are valid methods for securing REST APIs? (Select TWO.)

Select 2 answers
A.LDAP binds
B.OAuth 2.0 tokens
C.API keys
D.SAML assertions
E.Kerberos tickets
AnswersB, C

OAuth 2.0 is widely used for API authorization.

Why this answer

OAuth 2.0 tokens (B) are a standard method for securing REST APIs by providing delegated, scoped access without exposing user credentials. The client presents a bearer token (typically a JSON Web Token) in the Authorization header, which the API server validates to authorize the request. This aligns with RFC 6749 and is widely adopted for stateless, scalable API security.

Exam trap

The CAS-004 exam often tests the distinction between authentication and authorization protocols, leading candidates to select Kerberos or SAML because they are 'secure,' but they fail to recognize that REST APIs require stateless, lightweight token-based mechanisms like OAuth 2.0 or API keys.

614
MCQmedium

Refer to the exhibit. Based on the data classification policy JSON, what action is MOST consistent with the policy?

A.Block the email and notify the security team
B.Allow the email but reclassify the document as 'Internal'
C.Allow the email with an exception request
D.Encrypt the email automatically with S/MIME
AnswerA

The policy prohibits unencrypted transmission of Confidential data.

Why this answer

The data classification policy JSON explicitly marks documents with a classification of 'Confidential' and a data type of 'PII' as 'block' action. The email contains a document classified as 'Confidential' with PII data, so the policy dictates that the email must be blocked and the security team notified. This aligns with the policy's enforcement rule for high-risk data, preventing unauthorized disclosure.

Exam trap

CompTIA often tests the distinction between transport-level encryption (like S/MIME) and content-based policy enforcement, where candidates mistakenly think encryption alone satisfies compliance requirements for sensitive data.

How to eliminate wrong answers

Option B is wrong because reclassifying the document to 'Internal' would violate the policy's explicit classification; the policy does not allow automatic reclassification based on email context, and it would bypass the intended security control for PII. Option C is wrong because the policy does not provide an exception request mechanism for 'Confidential' PII data; allowing the email with an exception would undermine the policy's strict block rule. Option D is wrong because S/MIME encryption only protects the email in transit but does not prevent the recipient from accessing the PII content; the policy requires blocking the email entirely, not just encrypting it.

615
MCQhard

During a security audit, it was discovered that an HSM used for code signing is FIPS 140-2 Level 3 certified. The auditor is concerned about the key ceremony process. Which of the following is a required element of a secure key ceremony for an HSM at this level?

A.The HSM is configured to allow remote key backup over TLS
B.Keys are backed up to a USB drive stored in a safe
C.Keys are generated inside the HSM using a key ceremony with multiple officers
D.Keys are generated on a laptop and then imported into the HSM
AnswerC

This ensures keys never leave the HSM in plaintext.

Why this answer

FIPS 140-2 Level 3 requires that cryptographic keys be created and stored in the HSM and never exist in plaintext outside the device. A key ceremony involves splitting keys into parts (m of n) and distributing them to multiple trusted individuals.

616
Multi-Selectmedium

An organization is designing a PKI for certificate lifecycle management. Which TWO practices are critical for maintaining the security of the certificate authority (CA)? (Select TWO.)

Select 2 answers
A.Setting long certificate validity periods to reduce renewal frequency
B.Storing the root CA private key in a hardware security module (HSM)
C.Using certificate pinning to prevent man-in-the-middle attacks
D.Using self-signed certificates for all internal services
E.Implementing Online Certificate Status Protocol (OCSP) for revocation checking
AnswersB, E

HSMs provide tamper-resistant key storage.

Why this answer

HSMs protect private keys, and OCSP provides real-time revocation status. Both are essential for CA security.

617
MCQhard

An organization is using the FAIR framework to quantify risk. The analyst estimates the probable loss event frequency (LEF) as 4 per year and the probable loss magnitude (LM) as $25,000 per event. What is the annualized loss expectancy (ALE) under FAIR?

A.$6,250
B.$125,000
C.$100,000
D.$25,000
AnswerC

Correct calculation.

Why this answer

In FAIR, ALE = LEF × LM. Here, LEF=4 and LM=$25,000, so ALE = 4 × $25,000 = $100,000.

618
MCQmedium

An organization discovers a critical vulnerability in a legacy application that cannot be patched due to vendor end-of-life. Which of the following is the BEST compensating control to reduce risk?

A.Increase logging and monitoring
B.Apply a virtual patch using an intrusion prevention system (IPS)
C.Implement network segmentation to isolate the application
D.Decommission the application immediately
AnswerC

Segmentation limits exposure and protects the rest of the network.

Why this answer

Network segmentation isolates the vulnerable system, reducing the attack surface and limiting potential damage.

619
MCQhard

A healthcare organization is planning to migrate patient data to a cloud provider. The risk assessment identifies that the provider's SOC 2 report does not cover HIPAA controls. What is the BEST course of action?

A.Request the provider's most recent SOC 3 report
B.Accept the risk and proceed with migration
C.Require the provider to sign a Business Associate Agreement (BAA)
D.Require the provider to encrypt all data at rest and in transit
AnswerC

Mandatory under HIPAA for covered entities

Why this answer

Under HIPAA, a healthcare organization must have a Business Associate Agreement (BAA) in place with any cloud provider that handles protected health information (ePHI). The BAA contractually obligates the provider to safeguard ePHI and comply with HIPAA Privacy and Security Rules. The fact that the provider's SOC 2 report does not cover HIPAA controls indicates that the provider has not been audited specifically for HIPAA compliance, but a BAA establishes the required legal protections.

Option A is incorrect because a SOC 3 report, like the SOC 2, does not guarantee HIPAA controls. Option B is incorrect because simply accepting the risk without a BAA would violate HIPAA requirements. Option D is incorrect because encryption, while important, does not substitute for the contractual safeguards required by a BAA.

620
Multi-Selecthard

A security architect is designing a secure software development lifecycle (SSDLC). Which of the following practices are essential for integrating security into the development process? (Select TWO.)

Select 2 answers
A.Conducting static application security testing (SAST) during coding
B.Performing penetration testing only after production deployment
C.Using dependency scanning to check for known vulnerabilities in libraries
D.Implementing runtime application self-protection (RASP) in development
E.Deploying a web application firewall (WAF) in staging
AnswersA, C

Why this answer

Static application security testing (SAST) analyzes source code, bytecode, or binaries without executing the program, allowing developers to identify vulnerabilities such as buffer overflows, SQL injection, and cross-site scripting during the coding phase. Integrating SAST early in the SSDLC reduces the cost and effort of fixing security flaws by catching them before they reach later stages like testing or production.

Exam trap

The CAS-004 exam often tests the distinction between security controls applied during development (SAST, dependency scanning) versus runtime controls (RASP, WAF) or post-deployment activities (penetration testing), leading candidates to select options that are valid security measures but not essential to the SSDLC itself.

Why the other options are wrong

B

Pen testing is important but occurs later; it's not integrated into the development process early.

D

RASP is a runtime control, not typically integrated into the development phase.

E

WAF is a network security control, not a development practice.

621
MCQeasy

A security architect is designing a zero trust architecture for a financial institution. Which principle is fundamental to the zero trust model?

A.Trust but verify all network traffic
B.Use VPNs for all remote access
C.Perimeter-based security is sufficient
D.Assume breach and verify explicitly
AnswerD

This is the foundational principle of zero trust: never trust, always verify.

Why this answer

Zero trust assumes no implicit trust based on network location; all access requests must be authenticated and authorized regardless of origin. Micro-segmentation and identity-centric controls support this, but the core principle is 'trust no one by default'.

622
MCQmedium

Refer to the exhibit. A security analyst notices that the pod is running with a service account token mounted. Which security best practice should be implemented to reduce the risk of token theft in container environments?

A.Store the token in a Kubernetes secret and mount it.
B.Use a different container runtime.
C.Disable the service account for the pod.
D.Set automountServiceAccountToken to false in the pod spec.
AnswerD

This prevents automatic mounting of the token, reducing theft risk while allowing explicit mounting if needed.

Why this answer

Setting automountServiceAccountToken to false in the pod spec prevents the automatic mounting of the service account token, reducing the risk of theft. Option A is incorrect because storing the token in a Kubernetes secret and mounting it still exposes the token, increasing rather than reducing risk. Option B is incorrect because changing the container runtime does not address the token mounting issue.

Option C is incorrect because disabling the entire service account may break functionality if the pod needs API access; the goal is to prevent token exposure while still allowing explicit token mounting if necessary.

623
MCQeasy

A company is deploying a new cloud-based application that processes sensitive customer data. The security architect has proposed a zero-trust architecture to secure remote access. The architecture includes identity-aware proxies, microsegmentation, and continuous monitoring. During the transition, several remote users report being unable to access the application. The security architect verifies that the identity-aware proxy is correctly configured and that users are authenticated via SSO. However, access attempts are still failing. The architect suspects that the issue may be related to the microsegmentation rules. What should the security architect do FIRST to resolve the problem?

A.Deploy a VPN to provide a secure tunnel for remote users.
B.Reset the affected users' credentials and force them to re-authenticate.
C.Review the microsegmentation firewall rules to ensure that traffic to the application's subnet is permitted.
D.Increase logging verbosity on the identity-aware proxy to capture more details.
AnswerC

The architect suspects microsegmentation; reviewing rules is the logical first step.

Why this answer

Review the microsegmentation firewall rules to ensure that traffic to the application's subnet is permitted. Since the identity-aware proxy is correctly configured and SSO is working, but access is still failing, and the architect suspects microsegmentation rules are blocking traffic, the most direct first step is to review those rules. Option A (Deploy a VPN) would bypass zero-trust principles and is not the first step.

Option B (Reset credentials) does not address the suspected firewall issue. Option D (Increase logging) is a diagnostic step but should come after checking the likely cause.

624
MCQhard

An organization is implementing continuous compliance monitoring. Which of the following metrics would best indicate whether the organization is maintaining compliance with PCI DSS Requirement 10 (log management)?

A.Number of failed login attempts per day
B.Percentage of systems with centralized logging enabled
C.Mean time to detect (MTTD) for security incidents
D.Vulnerability scan pass rate
AnswerB

Correct: This directly measures compliance with logging requirements.

Why this answer

PCI DSS Requirement 10 requires tracking and monitoring access to network resources and cardholder data. Log coverage percentage directly measures whether all necessary systems are logging.

625
MCQmedium

During a vendor risk assessment, a third-party vendor refuses to provide a SOC 2 report but offers a completed security questionnaire. The vendor handles sensitive customer data. Which of the following is the BEST course of action?

A.Immediately terminate the relationship.
B.Lower the data classification to reduce risk.
C.Require a right-to-audit clause to conduct an on-site assessment.
D.Accept the questionnaire as sufficient evidence.
AnswerC

This allows the organization to verify controls directly.

Why this answer

If a vendor refuses to provide independent audit evidence, the organization should consider the risk level. For sensitive data, a SOC 2 report is a strong control. The organization should require a right-to-audit clause to perform its own assessment, as the questionnaire alone may be insufficient.

626
MCQmedium

A company is implementing a privileged access management (PAM) solution to reduce the risk of standing privileges. Which feature allows users to request temporary elevated access for a specific task, which is automatically revoked after the task is completed?

A.Break-glass accounts
B.Password vaulting
C.Session recording
D.Just-in-time (JIT) access provisioning
AnswerD

JIT grants temporary privileges that expire automatically.

Why this answer

Just-in-time (JIT) access provisioning grants temporary privileges that expire after use, reducing standing privileges. Break-glass accounts are emergency accounts, not time-based.

627
MCQmedium

An organization is designing a PKI to issue certificates to thousands of IoT devices. Which architectural decision will BEST support automated certificate lifecycle management?

A.Online root CA with self-signed certificates
B.Automated enrollment using SCEP
C.Using a public CA for all IoT devices
D.Offline root CA with manual issuance
AnswerB

SCEP automates certificate enrollment for large numbers of devices.

Why this answer

Automated certificate enrollment using SCEP or ACME protocols enables devices to request and renew certificates without manual intervention.

628
MCQmedium

A security analyst discovers that a web application is vulnerable to directory traversal. Which of the following is the MOST effective mitigation?

A.Whitelist of allowed file paths
B.Encrypting all files on the server
C.Chroot jail
D.Input validation that rejects paths containing '..'
AnswerA

A whitelist ensures only explicitly permitted files are served, regardless of traversal attempts.

Why this answer

A whitelist of allowed file paths is the most effective mitigation because it defines an explicit set of permissible paths, preventing any unauthorized file access regardless of traversal attempts. Unlike input validation, which can be bypassed with encoding or alternative traversal sequences, a whitelist enforces a positive security model that blocks all unspecified paths, including those using '..' or symbolic links. This approach directly addresses the root cause of directory traversal by restricting the application to only known-safe resources.

Exam trap

CompTIA often tests the misconception that input validation (e.g., blocking '..') is sufficient, but the trap here is that attackers can bypass such filters with encoding or alternative traversal techniques, making a whitelist the only truly effective mitigation.

How to eliminate wrong answers

Option B is wrong because encrypting files on the server does not prevent an attacker from reading them via directory traversal; encryption protects data at rest but does not enforce access controls on the file system path. Option C is wrong because a chroot jail restricts the process's view of the filesystem but can be escaped if the application runs with sufficient privileges or if there are misconfigurations (e.g., missing chroot breakouts via /proc or open file descriptors), and it does not prevent the application from serving files outside the intended web root if the jail is not properly set up. Option D is wrong because input validation that rejects paths containing '..' can be bypassed using URL encoding (e.g., %2e%2e%2f), double encoding, or alternative traversal patterns like '....//' or absolute paths, making it an incomplete and unreliable defense.

629
MCQhard

A security analyst is investigating a malware sample and wants to determine its capabilities without executing it. The analyst examines the binary's imports, strings, and structure. What type of analysis is being performed?

A.Memory analysis
B.Static analysis
C.Reverse engineering
D.Dynamic analysis
AnswerB

Static analysis is performed without executing the file.

Why this answer

Static analysis examines the malware without executing it, focusing on file metadata, strings, imports, and other characteristics.

630
MCQmedium

An enterprise is implementing a cloud security posture management (CSPM) solution. What is the primary function of CSPM?

A.Monitoring and remediating misconfigurations
B.Brokering access to cloud apps
C.Protecting workloads from malware
D.Encrypting data at rest
AnswerA

CSPM focuses on posture management via configuration assessment.

Why this answer

CSPM continuously monitors cloud infrastructure for misconfigurations, compliance violations, and security risks, providing automated remediation and reporting.

631
MCQmedium

A security architect is designing a secure coding standard for a web application. Which of the following should be prioritized to mitigate cross-site scripting (XSS) risks?

A.Input validation
B.Output encoding
C.Secure cookies
D.Parameterized queries
AnswerB

Output encoding converts special characters to HTML entities, preventing script execution in the browser.

Why this answer

Output encoding is the primary defense against cross-site scripting (XSS) because it neutralizes injected scripts by converting special characters (e.g., <, >, &, ") into their HTML entity equivalents (e.g., &lt; &gt; &amp; &quot;) before the data is rendered in the browser. This ensures that user-supplied data is treated as text, not executable code, regardless of how it entered the application. Input validation alone is insufficient because it can be bypassed via alternate encodings or allowed characters that are still dangerous in certain contexts.

Exam trap

CompTIA often tests the misconception that input validation is the best defense against XSS, when in fact output encoding is the definitive control because it addresses the root cause — untrusted data being interpreted as code — regardless of input filtering.

How to eliminate wrong answers

Option A is wrong because input validation (e.g., allowlists, sanitization) can reduce XSS risk but is not prioritized as the primary mitigation; attackers can bypass validation using alternate encodings or allowed characters that become dangerous in different output contexts (e.g., JavaScript, CSS). Option C is wrong because secure cookies (e.g., HttpOnly, Secure, SameSite flags) protect against session theft via XSS but do not prevent the injection or execution of malicious scripts in the first place. Option D is wrong because parameterized queries (prepared statements) are designed to prevent SQL injection, not XSS; they have no effect on how data is rendered in HTML or JavaScript contexts.

632
MCQeasy

An organization needs to ensure compliance with GDPR regarding data subject access requests. What is the MOST important control to implement?

A.Encrypt all personal data at rest and in transit
B.Minimize the collection of personal data
C.Implement a process to respond to access requests within one month
D.Appoint a Data Protection Officer (DPO)
AnswerC

GDPR mandates response to access requests within one month.

Why this answer

GDPR Article 12(3) requires organizations to respond to data subject access requests without undue delay and at the latest within one month. The most important control is a documented process that ensures timely identification, validation, and fulfillment of these requests, as failure to meet the deadline constitutes a direct compliance violation. Without this process, technical controls like encryption alone cannot satisfy the regulatory requirement for a verifiable response.

Exam trap

CompTIA often tests the distinction between security controls (like encryption) and compliance controls (like process and procedure), and the trap here is that candidates confuse data protection (confidentiality) with data subject rights (accessibility and timeliness), leading them to pick a technical control over a procedural one.

How to eliminate wrong answers

Option A is wrong because encrypting personal data at rest and in transit is a security control that protects confidentiality, but it does not address the operational requirement to locate, retrieve, and provide the data to the data subject within the mandated timeframe. Option B is wrong because data minimization is a GDPR principle (Article 5(1)(c)) that reduces risk, but it is not the most important control for responding to access requests; even minimized data must be retrievable and provided on request. Option D is wrong because appointing a Data Protection Officer (DPO) is a governance requirement under Article 37, but the DPO advises and monitors compliance; the actual operational control to respond to access requests is a separate process that must be implemented regardless of whether a DPO is appointed.

633
Multi-Selecteasy

A security analyst is reviewing CVSS scores for vulnerability prioritization. Which TWO of the following are component metric groups in CVSS v3?

Select 2 answers
A.Impact
B.Temporal
C.Exploitability
D.Environmental
E.Attack Vector
AnswersB, D

Temporal is one of the three metric groups.

Why this answer

CVSS v3 consists of Base, Temporal, and Environmental metric groups. Exploitability and Impact are sub-scores within the Base group, not separate groups.

634
MCQhard

A security architect is designing an API security strategy for a microservices-based application. The architect needs to ensure that only authenticated and authorized clients can invoke APIs, and that rate limiting is enforced to prevent abuse. Which technology should be placed in front of the microservices?

A.API Gateway
B.Web Application Firewall (WAF)
C.Reverse proxy
D.Load balancer
AnswerA

API gateway can enforce authentication, authorization, rate limiting, and input validation.

Why this answer

An API gateway handles authentication, authorization, rate limiting, and routing, providing a central security control point.

635
MCQeasy

A security administrator needs to ensure that only authorized devices can access the corporate network. Which technology would best enforce this requirement at the network access layer?

A.TLS 1.3
B.IPsec VPN
C.802.1X
D.DNSSEC
AnswerC

Correct; 802.1X authenticates devices before granting network access.

Why this answer

802.1X provides port-based authentication, allowing only authorized devices to connect to the network.

636
MCQhard

During a forensic investigation, the examiner discovers that the chain of custody documentation was not properly maintained for a critical hard drive. What is the most likely consequence?

A.The evidence may be ruled inadmissible in legal proceedings
B.The investigation can continue without any impact
C.The data on the drive is automatically deleted
D.The drive must be returned to the owner immediately
AnswerA

Chain of custody ensures evidence integrity; lack of it can lead to exclusion.

Why this answer

Without chain of custody, evidence could be tampered, making it inadmissible in court. Option B is wrong that investigators are still admissible if procedure is followed, but chain of custody is vital. Option C is wrong that analysis is still valid but legally challenged.

Option D is wrong because return to operations is not primary concern.

637
MCQmedium

During a penetration test, the tester has gained initial access to a web server and wants to move laterally to a database server. Which of the following techniques would be most effective for identifying valid credentials that could be reused on the database server?

A.Running a port scan on the internal network
B.Deploying a web shell for persistent access
C.Conducting a SQL injection on the database server
D.Using Mimikatz to dump credentials from memory
AnswerD

Mimikatz extracts credentials that may be reused.

Why this answer

Mimikatz is a tool that extracts plaintext passwords, hashes, and Kerberos tickets from memory. It is commonly used for credential dumping to enable lateral movement.

638
Matchingmedium

Match each security feature to its description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Trust relationships between identity providers

Controls and monitors admin accounts

Restricts access based on physical location

Obfuscates sensitive data in non-production environments

Replaces sensitive data with non-sensitive placeholders

Why these pairings

These features are covered in identity and access management and data protection domains.

639
MCQeasy

Which of the following is a key difference between a security guideline and a security procedure?

A.Both are equally enforceable
B.Procedures are high-level; guidelines are detailed
C.Guidelines are recommended; procedures are mandatory
D.Guidelines are mandatory; procedures are optional
AnswerC

This is correct: guidelines provide guidance, procedures must be followed.

Why this answer

A guideline suggests best practices and is not mandatory, while a procedure provides step-by-step instructions that are mandatory.

640
MCQhard

An organization wants to implement an immutable infrastructure for its containerized applications. Which security benefit is most directly achieved by immutability?

A.Eliminates need for runtime security monitoring
B.Prevents unauthorized modifications to running containers
C.Allows use of privileged containers securely
D.Reduces image scanning frequency
AnswerB

Correct – containers are replaced, not patched in place.

Why this answer

Immutable infrastructure ensures that once a container image is deployed, it is never modified. Any change requires a new image deployment, which prevents configuration drift and unauthorized changes.

641
Multi-Selecthard

An incident response team discovers that an attacker was able to forge a certificate for a legitimate domain. Which TWO mechanisms should the team implement to detect and prevent such misissuance in the future? (Select TWO.)

Select 2 answers
A.Certificate Revocation Lists (CRLs)
B.Implementing Extended Validation (EV) certificates
C.Online Certificate Status Protocol (OCSP) stapling
D.Certificate Transparency (CT) logging and monitoring
E.Certificate pinning in client applications
AnswersD, E

CT logs provide a public record of certificates; domain owners can monitor for unauthorized issuance.

Why this answer

Certificate Transparency (CT) logs provide an audit trail of all issued certificates, allowing domain owners to detect misissuance. Certificate pinning (or HTTP Public Key Pinning) can prevent the acceptance of fraudulent certificates by clients. OCSP stapling helps check revocation but does not prevent misissuance; CRLs are for revocation; OSCP itself doesn't prevent misissuance.

642
Matchingmedium

Match each cloud service model to its scope.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Software delivered over the internet

Platform for application development and deployment

Virtualized computing resources over the internet

Disaster recovery as a service

Security services delivered via the cloud

Why these pairings

The three main cloud service models are IaaS, PaaS, and SaaS. IaaS offers virtualized infrastructure, PaaS provides a development platform, and SaaS delivers software applications. Common confusions include mixing the definitions of PaaS and IaaS, or equating PaaS with SaaS.

643
MCQhard

A SOC analyst notices that a containerized application is making unexpected outbound connections. The container runs with minimal privileges. Which step should the analyst take first to investigate without compromising the environment?

A.Restore the container from a trusted image and re-deploy.
B.Use `docker exec` to attach a shell and run network diagnostic commands.
C.Immediately kill the container and analyze its filesystem from a backup.
D.Capture a network packet dump from the host and correlate with container logs.
AnswerD

This approach gathers evidence without interfering with the container.

Why this answer

Capturing a network packet dump from the host allows the analyst to observe the unexpected outbound connections without altering the container's state or risking privilege escalation. By correlating the packet capture (e.g., using tcpdump or Wireshark) with container logs, the analyst can identify the destination IPs, ports, and protocols involved while maintaining the container's minimal privileges and preserving forensic integrity.

Exam trap

The trap here is that candidates often choose to kill or exec into the container (options B or C) because they assume immediate containment or interactive access is necessary, but the exam tests the understanding that passive network monitoring from the host is the safest and most forensically sound first step.

How to eliminate wrong answers

Option A is wrong because restoring from a trusted image destroys the current container's state, eliminating the ability to investigate the root cause of the unexpected connections. Option B is wrong because using `docker exec` to attach a shell could escalate privileges beyond the container's minimal set, potentially triggering security alerts or altering the runtime environment, and it may not provide network-level visibility. Option C is wrong because immediately killing the container loses volatile data (e.g., active network connections, memory-resident processes) and may prevent capturing the outbound traffic in real time, compromising forensic analysis.

644
MCQmedium

An organization is implementing SASE to secure remote user access. Which component of SASE is responsible for enforcing identity-based access policies and inspecting traffic?

A.SD-WAN
B.Cloud Access Security Broker
C.Next-Generation Firewall
D.Secure Web Gateway
AnswerD

SWG enforces web security policies and inspects traffic.

Why this answer

SWG (Secure Web Gateway) enforces security policies for web traffic, including URL filtering, malware detection, and data loss prevention.

645
MCQmedium

A company is implementing a new vendor risk management program. Which of the following is the BEST approach to assess third-party security controls?

A.Check the vendor’s financial stability
B.Use a standardized security questionnaire and conduct on-site audits
C.Rely on the vendor’s self-assessment questionnaire
D.Review only public breach reports about the vendor
AnswerB

Combining a questionnaire with on-site audits provides thorough, independent verification.

Why this answer

Using a standardized security questionnaire combined with on-site audits provides a thorough and objective assessment of a vendor's security controls, covering policies, procedures, and technical implementation. Option A is incorrect because financial stability does not directly reflect security posture; a financially stable vendor may still have weak security. Option C is incorrect because relying solely on a vendor's self-assessment is biased and may not reveal actual vulnerabilities.

Option D is incorrect because only reviewing public breach reports is reactive and misses details about current security practices.

646
MCQmedium

A company uses a hybrid cloud model with workloads on AWS and on-premises. They need to ensure secure connectivity between the two environments with high bandwidth and low latency, bypassing the public internet. Which solution should they implement?

A.Configure AWS Direct Connect for dedicated private connectivity
B.Implement SD-WAN with integrated security
C.Establish a site-to-site VPN over the internet
D.Use AWS PrivateLink to access VPC endpoints
AnswerA

Direct Connect provides a dedicated, private, high-bandwidth, low-latency connection that avoids the public internet.

Why this answer

AWS Direct Connect provides a dedicated private network connection from on-premises to AWS, bypassing the public internet for reliable and secure connectivity. VPN over the internet is less reliable and has higher latency. Private link exposes services privately but does not connect on-premises to cloud.

SD-WAN can manage traffic but does not provide a direct dedicated connection.

647
MCQeasy

A security analyst is calculating the annualized loss expectancy (ALE) for a server. The single loss expectancy (SLE) is $5,000 and the annualized rate of occurrence (ARO) is 0.2. What is the ALE?

A.$0
B.$5,200
C.$1,000
D.$25,000
AnswerC

Correct: $5,000 × 0.2 = $1,000.

Why this answer

ALE = SLE × ARO = $5,000 × 0.2 = $1,000.

648
Multi-Selectmedium

A security engineer is evaluating hardware security modules (HSMs) for key management. The HSM must support key generation, storage, and cryptographic operations without exposing private keys. Additionally, the solution must comply with FIPS 140-2 Level 3. Which THREE features are essential for this requirement? (Select THREE.)

Select 3 answers
A.Physical security mechanisms (e.g., locks, tamper switches)
B.Cryptographic boundary
C.Key ceremony support
D.Tamper-evident seals and coatings
E.Secure boot of the HSM firmware
AnswersA, B, D

Level 3 requires physical security mechanisms to prevent unauthorized access.

Why this answer

FIPS 140-2 Level 3 requires tamper-evident coatings, physical security, and cryptographic boundary. Key ceremony is a procedural control, not a feature of the HSM itself. Secure boot is for general computing.

Multi-factor authentication is a user access control, not a core HSM feature.

649
MCQmedium

An organization discovers that a vendor's data breach exposed customer PII. The contract with the vendor does not address breach notification. What is the BEST way to prevent this in the future?

A.Purchase cyber insurance covering vendor breaches
B.Terminate the vendor relationship immediately
C.Add a breach notification clause in vendor contracts
D.Conduct more frequent vendor risk assessments
AnswerC

Legally obligates vendor to notify

Why this answer

Adding a breach notification clause directly addresses the contractual gap that left the organization without recourse or timely notification when the vendor suffered a data breach. This contractual remedy ensures that future incidents trigger a predefined notification process, aligning with regulatory requirements such as GDPR or HIPAA that mandate breach notification obligations for data processors. Without such a clause, the organization has no enforceable mechanism to compel the vendor to report breaches, regardless of other risk management activities.

Exam trap

CompTIA often tests the distinction between preventive controls (contractual clauses) and detective/reactive controls (assessments, insurance), leading candidates to choose 'more frequent risk assessments' because it sounds proactive, but only a contract clause creates a binding obligation.

How to eliminate wrong answers

Option A is wrong because cyber insurance covers financial losses after a breach but does not prevent the breach or ensure notification; it is a reactive financial tool, not a preventive contractual control. Option B is wrong because terminating the vendor relationship immediately does not address the root cause—lack of contractual safeguards—and may disrupt operations without guaranteeing that a replacement vendor will have better terms. Option D is wrong because conducting more frequent vendor risk assessments can identify risks but cannot enforce notification obligations; without a contractual clause, the vendor has no legal duty to report breaches discovered during or after assessments.

650
Multi-Selecteasy

A security architect is designing a zero-trust network architecture for a hybrid cloud environment. Which TWO principles should be implemented to enforce the "never trust, always verify" model?

Select 2 answers
A.Micro-segmentation between workloads
B.Trust based on network location
C.Implicit trust for internal IP ranges
D.Continuous authentication and authorization for every request
E.Use of a single VPN for all remote access
AnswersA, D

Micro-segmentation enforces least privilege.

Why this answer

Micro-segmentation (A) is correct because it divides the network into isolated segments at the workload level, enforcing granular security policies that restrict lateral movement. This aligns with the zero-trust principle of 'never trust, always verify' by requiring explicit permission for every inter-workload communication, regardless of network location.

Exam trap

The CAS-004 exam often tests the misconception that zero trust relies on network segmentation alone, but the trap here is that candidates confuse micro-segmentation (a valid enforcement mechanism) with implicit trust for internal IPs or VPNs, which are antithetical to the zero-trust model.

651
Multi-Selectmedium

A company is conducting a third-party risk assessment of a cloud service provider. Which TWO of the following are appropriate sources of evidence for evaluating the provider's security controls? (Select TWO.)

Select 2 answers
A.SOC 2 Type II report
B.Supply chain bill of materials
C.Penetration test report from a qualified third party
D.Security questionnaire completed by the vendor
E.Right-to-audit clause in the contract
AnswersA, C

Provides independent audit over security controls.

Why this answer

SOC 2 reports provide independent assurance of controls. Penetration test reports demonstrate the effectiveness of security testing. Security questionnaires are self-reported and less reliable.

Right-to-audit clauses are contractual, not evidence. Supply chain documentation may be relevant but is not a direct evidence source for security controls.

652
MCQhard

During a third-party risk assessment, an organization discovers that a cloud service provider (CSP) stores data in a jurisdiction with conflicting privacy laws. The organization's legal team advises that this could expose the organization to regulatory penalties. Which of the following contractual clauses would best address this compliance risk?

A.Insert a right-to-audit clause allowing the organization to inspect the CSP's facilities.
B.Include a Data Processing Agreement (DPA) that requires data to be stored only in approved jurisdictions.
C.Negotiate a service-level agreement (SLA) guaranteeing 99.99% uptime.
D.Require the CSP to sign a business associate agreement (BAA) under HIPAA.
AnswerB

A DPA with data residency clauses legally restricts where data can be stored, addressing the compliance risk.

Why this answer

A Data Processing Agreement (DPA) is the correct contractual mechanism to enforce data residency restrictions. By requiring the CSP to store data only in approved jurisdictions, the DPA directly addresses the compliance risk of conflicting privacy laws and potential regulatory penalties, as it legally binds the provider to specific geographic data handling requirements.

Exam trap

The CAS-004 exam often tests the distinction between operational controls (audit clauses, SLAs) and legal/compliance controls (DPAs), trapping candidates who confuse visibility with enforcement or apply US-specific agreements (like BAAs) to global privacy issues.

How to eliminate wrong answers

Option A is wrong because a right-to-audit clause allows the organization to inspect the CSP's facilities and processes, but it does not proactively restrict where data is stored; it only provides visibility after the fact, not a preventive control. Option C is wrong because an SLA guaranteeing 99.99% uptime addresses availability and performance, not data residency or privacy law compliance; it is irrelevant to the jurisdictional conflict. Option D is wrong because a Business Associate Agreement (BAA) under HIPAA is specific to protected health information (PHI) in the United States and does not apply to general privacy law conflicts in other jurisdictions; it also does not restrict data storage locations.

653
MCQmedium

An organization uses a TPM 2.0 for measured boot and attestation. Which TPM feature ensures that the boot process has not been tampered with by measuring each component before it executes?

A.Platform Configuration Registers (PCRs)
B.Endorsement Key (EK)
C.Secure boot
D.Sealed storage
AnswerA

PCRs store measurements that can be used for attestation.

Why this answer

Platform Configuration Registers (PCRs) store hash measurements of boot components. Any change in the boot sequence will result in different PCR values, alerting to tampering.

654
Multi-Selectmedium

A security architect is implementing network segmentation in a hybrid cloud environment. Which TWO controls are most effective for reducing east-west traffic risks?

Select 2 answers
A.Micro-segmentation
B.VPN concentrator
C.NAT gateway
D.East-west traffic inspection
E.Perimeter firewall
AnswersA, D

Micro-segmentation enforces granular firewall rules at the workload or pod level, using distributed virtual firewalls or network security groups to restrict lateral movement between application tiers. This directly reduces east-west traffic risks in a hybrid cloud by limiting the blast radius of a compromised host, satisfying the constraint of controlling internal, cross-subnet communication rather than perimeter ingress.

Why this answer

Micro-segmentation allows granular policies per workload, and east-west traffic inspection detects lateral movement. Both are key to reducing risks inside the network.

655
MCQmedium

A company is adopting the NIST Risk Management Framework (RMF). Which step in the RMF involves selecting security controls based on the risk assessment?

A.Select
B.Categorize
C.Assess
D.Implement
AnswerA

Select is the step where controls are chosen.

Why this answer

In NIST RMF, the 'Select' step involves choosing baseline controls and tailoring them based on the risk assessment results. 'Categorize' determines impact level. 'Implement' executes controls. 'Assess' evaluates effectiveness.

656
Multi-Selectmedium

Which two of the following are best practices for securing container orchestration platforms (e.g., Kubernetes)? (Select two.)

Select 2 answers
A.Apply network policies to isolate workloads.
B.Use privileged containers for system services.
C.Disable all security contexts to avoid restrictions.
D.Enable Role-Based Access Control (RBAC).
AnswersA, D

Why this answer

Network policies in Kubernetes act as a firewall for pods, controlling ingress and egress traffic at the IP address or port level (OSI layer 3 or 4). By default, all pods can communicate with each other; applying network policies enforces least-privilege segmentation, which is a core security best practice for container orchestration platforms.

Exam trap

The CAS-004 exam often tests the misconception that privileged containers are necessary for system services, when in fact they should be avoided and replaced with specific capability grants (e.g., CAP_NET_ADMIN) or security context constraints.

Why the other options are wrong

B

Privileged containers should be avoided as they have nearly unrestricted access to the host.

C

Security contexts enforce necessary restrictions; disabling them weakens security.

657
MCQeasy

Which of the following is the primary purpose of implementing a public key infrastructure (PKI)?

A.To store and verify password hashes for user authentication.
B.To sign software and files to verify integrity and origin.
C.To bind public keys to identities through certificates for authentication and encryption.
D.To provide a secure method for remote access via VPN.
AnswerC

PKI's main role is to create a framework of trust where certificates link public keys to entities, enabling secure communications.

Why this answer

The primary purpose of a Public Key Infrastructure (PKI) is to bind public keys to identities through digital certificates, enabling authentication, non-repudiation, and encryption. PKI uses Certificate Authorities (CAs) to issue and manage X.509 certificates, which associate a public key with a specific entity (e.g., a user or server) and are validated via certificate chains. This binding is essential for secure communications, such as TLS/SSL, where certificates authenticate the server and establish encrypted sessions.

Exam trap

The trap here is that candidates confuse the primary purpose of PKI (binding identities to keys) with its common applications (e.g., code signing, VPN), leading them to select a specific use case rather than the foundational function.

How to eliminate wrong answers

Option A is wrong because storing and verifying password hashes is the function of a directory service (e.g., LDAP) or authentication protocol (e.g., NTLM, Kerberos), not PKI; PKI does not manage passwords. Option B is wrong because while PKI can be used to sign software and files (e.g., via code signing certificates), this is a specific application of PKI, not its primary purpose; the core purpose is binding identities to keys for broader authentication and encryption. Option D is wrong because providing secure remote access via VPN is a use case that may leverage PKI (e.g., IPsec with certificates), but it is not the primary purpose of PKI itself; VPNs can also use pre-shared keys or other methods.

658
MCQeasy

An enterprise is deploying a multi-factor authentication (MFA) solution. The security team requires a factor that is resistant to phishing and does not rely on shared secrets. Which of the following MFA types BEST meets this requirement?

A.Biometric fingerprint scanner
B.SMS one-time passcodes
C.FIDO2/WebAuthn security keys
D.TOTP via authenticator app
AnswerC

FIDO2 uses public-key cryptography and is phishing-resistant.

Why this answer

FIDO2/WebAuthn uses public-key cryptography, with the private key stored on the device, and the protocol is designed to be phishing-resistant by binding credentials to the origin. TOTP/HOTP rely on shared secrets and are vulnerable to phishing. Hardware tokens like YubiKey can implement FIDO2.

Biometrics are a factor but not inherently phishing-resistant alone.

659
MCQmedium

A company is migrating sensitive workloads to the cloud and must comply with FedRAMP requirements. Which of the following is the most appropriate cloud deployment model?

A.Hybrid cloud
B.Community cloud
C.Private cloud
D.Public cloud
AnswerB

A community cloud shared by several organizations with similar compliance needs (e.g., government) can be FedRAMP compliant.

Why this answer

FedRAMP requirements are stringent and often best met by a government community cloud or a dedicated cloud environment that has been FedRAMP authorized.

660
MCQmedium

A financial organization's SOC analysts have observed repeated failed authentication attempts from a single external IP address against multiple user accounts, followed by a successful authentication from the same IP using one of those accounts. Which type of security monitoring rule would be most effective at detecting this attack pattern in real time?

A.Alert when multiple failed logins from a single source IP are followed by a successful login from that IP within 10 minutes.
B.Alert when a user account has three failed logins within 5 minutes followed by a successful login.
C.Alert when a successful authentication occurs immediately after a password reset.
D.Alert on any single failed login attempt from an external IP.
AnswerA

This correlation rule accurately detects the credential stuffing pattern across different accounts from one IP.

Why this answer

The observed attack pattern is a credential stuffing attempt: multiple failed logins from a single external IP followed by a successful login from that same IP. Option A directly detects this by correlating multiple failures and a subsequent success from the same source IP within a short time window. This is the most effective real-time detection rule for such behavior.

Option B targets a single user account, not the source IP, so it would miss the pattern if the attacker uses different users. Option C is unrelated (password reset success). Option D would generate excessive false positives by alerting on any single failure.

661
MCQeasy

A small business wants to protect endpoints from malware without incurring per-device licensing costs. Which approach is MOST cost-effective?

A.Implement network-based IPS
B.Use open-source host firewall
C.Use built-in Windows Defender and periodically scan with free tools
D.Purchase enterprise EDR suite
AnswerC

Windows Defender is free and sufficient for small business; free scanning tools supplement without cost.

Why this answer

The most cost-effective because Windows Defender (now Microsoft Defender Antivirus) is built into modern Windows operating systems at no additional cost, providing real-time protection against malware. Supplementing it with free on-demand scanners like Microsoft Safety Scanner or Malwarebytes Free provides periodic secondary checks without per-device licensing fees, meeting the small business's requirement for endpoint protection without recurring costs.

Exam trap

A common misconception is that network-based IPS or host firewall alone can replace endpoint antivirus, when in fact these tools address different layers of defense and cannot detect or remove malware that has already executed on the endpoint.

How to eliminate wrong answers

Option A is wrong because a network-based IPS (e.g., Snort or Cisco Firepower) inspects traffic at the network perimeter and cannot protect endpoints from malware that arrives via encrypted channels, removable media, or offline vectors; it also requires ongoing signature updates and hardware/software maintenance costs. Option B is wrong because a host firewall (e.g., Windows Defender Firewall or open-source iptables) controls inbound/outbound traffic based on rules but does not detect or remediate malware already on the system; it lacks signature-based or behavioral malware scanning. Option D is wrong because an enterprise EDR suite (e.g., CrowdStrike Falcon or SentinelOne) typically charges per-device licensing fees, which directly contradicts the requirement to avoid such costs and is overkill for a small business with basic needs.

662
Multi-Selecthard

An organization is planning to deploy a new internal CA hierarchy. Which THREE considerations are critical for ensuring the security and manageability of the PKI?

Select 3 answers
A.Keep the root CA offline and only bring it online for cross-certification or disaster recovery.
B.Use a 4096-bit RSA key for the root CA and at least 2048-bit for issuing CAs.
C.Use SHA-1 for certificate signing to ensure compatibility with legacy systems.
D.Use a single-tier CA to simplify management.
E.Ensure all certificates include CRL distribution points and OCSP responder URLs.
AnswersA, B, E

An offline root CA reduces the risk of compromise.

Why this answer

A multi-tier hierarchy (root offline, issuing CAs) limits exposure; strong hashing and key algorithms are essential; CRL/OCSP distribution points must be accessible for revocation checking.

663
Multi-Selecthard

A security manager is developing key risk indicators (KRIs) for the organization's cybersecurity program. Which THREE of the following are examples of KRIs? (Select THREE.)

Select 3 answers
A.Number of failed login attempts per day
B.Total number of security incidents this quarter
C.Mean time to detect (MTTD)
D.Number of unpatched critical vulnerabilities
E.Percentage of users without multifactor authentication
AnswersA, D, E

May indicate brute-force attacks or credential stuffing.

Why this answer

KRIs are leading indicators that signal increasing risk. Number of unpatched critical vulnerabilities, percentage of users without MFA, and number of failed login attempts are KRIs. MTTD is a KPI, not a KRI.

664
Matchingmedium

Match each command-line tool to its primary function.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

DNS query and lookup

Display network connections and listening ports

Capture and analyze network traffic

Perform SSL/TLS cryptographic operations

Network discovery and port scanning

Why these pairings

These tools are commonly used for network troubleshooting and security assessments.

665
MCQmedium

A security architect is implementing a zero trust model for a financial services company. The goal is to prevent lateral movement in the data center. Which approach best achieves this objective?

A.Using a software-defined perimeter to hide network resources
B.Implementing identity-centric access controls across all resources
C.Applying defense-in-depth layering by adding multiple security controls
D.Deploying micro-segmentation to isolate workloads and enforce granular policies
AnswerD

Micro-segmentation creates small network segments, allowing fine-grained policy enforcement that restricts lateral movement between workloads.

Why this answer

Micro-segmentation divides the network into small, isolated segments to restrict lateral movement, which is a key zero trust principle. Software-defined perimeter (SDP) focuses on user-to-resource access, but micro-segmentation directly limits east-west traffic. Defense-in-depth is broader and not specific to lateral movement.

Identity-centric access controls user authentication but does not prevent lateral movement.

666
MCQmedium

A SOC analyst is reviewing a large volume of failed login attempts across multiple user accounts from a single external IP address. The attempts use common usernames and passwords over SSH (port 22). Which security control would be most effective at preventing this type of attack?

A.Enforce a minimum password complexity policy for all users.
B.Require multi-factor authentication for all SSH logins.
C.Implement rate limiting on SSH connections per source IP.
D.Add the external IP address to the firewall deny list and implement an IP allowlist for SSH access.
AnswerD

This immediately blocks the attack and prevents any further attempts from that IP.

Why this answer

The attack is a brute-force or password-spraying attempt from a single external IP. Adding that IP to a firewall deny list immediately blocks all traffic from that source, while implementing an IP allowlist for SSH access ensures only trusted IPs can reach the service. This directly prevents the attack at the network layer, regardless of password strength or authentication method.

Exam trap

The trap here is that candidates often choose rate limiting (Option C) because it seems like a direct mitigation, but they fail to realize that rate limiting only slows the attack, whereas blocking the IP and using an allowlist stops it entirely.

How to eliminate wrong answers

Option A is wrong because enforcing minimum password complexity does not prevent brute-force or password-spraying attacks; it only makes passwords harder to guess, but the attacker can still attempt many combinations. Option B is wrong because requiring multi-factor authentication (MFA) for SSH logins would stop successful authentication even if credentials are guessed, but it does not prevent the attack itself—the attacker can still flood the system with login attempts, consuming resources and generating logs. Option C is wrong because rate limiting on SSH connections per source IP reduces the speed of the attack but does not stop it entirely; the attacker can still attempt logins at a slower rate or rotate through multiple source IPs.

667
MCQhard

Refer to the exhibit. A security analyst is reviewing the Nginx configuration. Which of the following is the most critical security flaw?

A.The SSL certificate key file is readable by all users (assuming default permissions)
B.The proxy_pass uses HTTP internally, which is not encrypted
C.The /api location does not have any access restrictions, exposing internal API
D.The /admin location restricts access by IP only, which can be bypassed by IP spoofing
AnswerC

Without any allow/deny directives, the /api endpoint is accessible to anyone who can reach the server, which could include external attackers.

Why this answer

The /api location block lacks any authentication or authorization directives, such as `allow/deny` or `auth_basic`, leaving the internal API endpoint exposed to any client that can reach the Nginx server. In a typical deployment, this would allow unauthenticated access to sensitive backend services, which is a critical security flaw. The absence of access controls on /api directly violates the principle of least privilege and can lead to data exfiltration or unauthorized operations.

Exam trap

The CAS-004 exam often tests the distinction between a misconfiguration that is serious but mitigable (like readable SSL keys or internal HTTP) versus a direct exposure of an unprotected endpoint, which is immediately exploitable and thus the most critical flaw.

How to eliminate wrong answers

Option A is wrong because the SSL certificate key file being readable by all users is a misconfiguration, but it is not the most critical flaw in this specific Nginx configuration; the question asks for the most critical security flaw, and the exposed /api endpoint poses a more immediate and exploitable risk. Option B is wrong because while using HTTP internally in proxy_pass is not ideal, it is a common practice in internal networks where the backend is trusted and the traffic does not traverse untrusted networks; the lack of encryption is less critical than exposing an API without any access control. Option D is wrong because restricting /admin by IP is a valid security measure, and while IP spoofing is theoretically possible, it is not the most critical flaw here; the /api endpoint has no restrictions at all, making it a far more severe vulnerability.

668
MCQhard

During a security incident, a forensic analyst needs to acquire a memory dump from a Linux server without altering the system state. Which tool is most appropriate for this task?

A.Volatility framework
B.LiME (Linux Memory Extractor)
C.dd if=/dev/mem of=mem.dump
D.memdump utility
AnswerB

LiME captures memory safely via a kernel module, preserving forensic integrity.

Why this answer

LiME (Linux Memory Extractor) is the most appropriate tool because it is specifically designed to acquire volatile memory from Linux systems while minimizing the footprint on the target system. It loads as a kernel module and directly accesses physical memory, ensuring that the acquisition process does not alter the system state, which is critical for forensic integrity.

Exam trap

The trap here is that candidates often confuse memory acquisition tools with analysis tools, picking Volatility (A) because it is well-known, or incorrectly assume that 'dd' can reliably access full physical memory on modern Linux systems.

How to eliminate wrong answers

Option A is wrong because the Volatility framework is a memory analysis tool, not an acquisition tool; it requires an already captured memory dump to analyze, and cannot acquire memory directly. Option C is wrong because 'dd if=/dev/mem of=mem.dump' is unreliable on modern Linux kernels; /dev/mem is restricted to the first 1 MB of physical memory (due to CONFIG_STRICT_DEVMEM) and may cause system instability or incomplete acquisition. Option D is wrong because 'memdump' is not a standard Linux utility; it is a generic term that could refer to various tools, but no standard 'memdump' command exists for Linux memory acquisition, and using an unverified tool risks altering system state.

669
MCQhard

A large enterprise is implementing a SOAR platform to automate incident response. The security team wants to create a playbook for handling phishing emails reported by users. The playbook should: 1) validate the reported email by checking headers and attachments, 2) automatically block the sender's domain at the email gateway if malicious, 3) create a ticket, and 4) send an automated response to the user. Which of the following describes the best approach to design this playbook?

A.Create a ticket and route it to a junior analyst for manual investigation, then close after user acknowledgement.
B.Immediately sandbox the attachment and block the sender's domain if the sandbox reports malicious behavior.
C.Use an automated triage step that extracts indicators, then present the verdict to an analyst in a manual approval step before executing blocks.
D.Automatically delete the email from all users' inboxes and send a warning to the organization.
AnswerC

This balances automation with human oversight, reducing false positives.

Why this answer

It combines automated triage (extracting indicators) with a manual approval step before blocking, which balances efficiency and accuracy. This approach reduces false positives while still automating most of the workflow. Option A is incorrect because it relies entirely on manual investigation, defeating automation.

Option B is risky because it blocks without validation, potentially causing false positives. Option D is overly aggressive and may disrupt business communications.

670
MCQeasy

A network administrator is configuring a firewall to allow only necessary traffic to a web server. The server should be accessible from the internet on port 443 and from a management subnet on port 22. Which firewall rule ensures least privilege?

A.Allow traffic from management subnet to port 443 and any to port 22
B.Allow traffic from any source to ports 443 and 22
C.Allow all traffic to the server, then block specific ports
D.Allow traffic from any to port 443, and from management subnet to port 22; deny all else
AnswerD

This restricts SSH to only the management subnet and HTTPS to all, with a default deny.

Why this answer

It explicitly allows only the required traffic (HTTPS on port 443 from any source, SSH on port 22 from the management subnet) and then denies all other traffic by default. This follows the principle of least privilege by ensuring no unintended services or sources are permitted, which is the core goal of firewall rule design.

Exam trap

The trap here is that candidates often choose an option that allows all traffic to the server (like Option C) thinking they can later block unwanted ports, but this violates the default-deny principle and is not considered least privilege in firewall design.

How to eliminate wrong answers

Option A is wrong because it allows traffic from the management subnet to port 443 (unnecessary) and allows any source to port 22 (overly permissive, exposing SSH to the internet). Option B is wrong because it allows any source to both ports 443 and 22, which violates least privilege by exposing SSH to the entire internet. Option C is wrong because it uses an allow-all-then-block approach, which is inherently insecure and violates the default-deny principle; it also fails to specify which ports to block, leaving the server exposed until explicit deny rules are added.

671
MCQhard

Using the FAIR model, which of the following best describes the factor that represents the probable frequency of a threat acting on a vulnerability?

A.Threat event frequency (TEF)
B.Vulnerability
C.Loss event frequency (LEF)
D.Control effectiveness
AnswerA

TEF measures how often a threat acts on a vulnerability.

Why this answer

In FAIR, threat event frequency (TEF) is the probable number of times a threat agent will act on a vulnerability in a given timeframe.

672
MCQmedium

A security analyst is reviewing a suspicious process that has been identified on an endpoint. The analyst wants to determine if the process has any network connections and what data it might be sending. Which tool is most appropriate for analyzing the memory of the affected system to identify network connections and potential data exfiltration?

A.Wireshark
B.Volatility
C.Autopsy
D.Nmap
AnswerB

Volatility is used for memory forensics and can extract network connections and other runtime artifacts.

Why this answer

Volatility is a memory forensics tool that can analyze RAM dumps to extract network connections, processes, and other artifacts. It is the best choice for this task.

673
Multi-Selecthard

Which THREE of the following are required for PCI DSS compliance regarding cardholder data?

Select 3 answers
A.Maintain a vulnerability management program.
B.Store cardholder data after authorization.
C.Restrict access to cardholder data by business need-to-know.
D.Encrypt transmitted cardholder data over open networks.
E.Implement multifactor authentication for all physical access to data centers.
AnswersA, C, D

Requirements 6 and 11 require a vulnerability management program to identify and remediate vulnerabilities.

Why this answer

PCI DSS Requirement 5 mandates that entities must maintain a vulnerability management program that includes deploying anti-malware software on all systems commonly affected by malicious software, as well as performing regular vulnerability scans and applying security patches. This requirement ensures that cardholder data environments are protected against known vulnerabilities that could be exploited by attackers.

Exam trap

The most common pitfall in this question is confusing PCI DSS requirements for access control. Option E (multifactor authentication for all physical access) seems plausible, but PCI DSS only mandates MFA for remote network access to the cardholder data environment (CDE), not for physical access to data centers. Physical access controls are covered by other requirements such as visitor management and facility entry logs.

Similarly, option B (storing cardholder data after authorization) violates PCI DSS Requirement 3, which prohibits storing sensitive authentication data after authorization (e.g., full track data, CVV, PIN) except for specific business justifications with truncation. Candidates often select these incorrect options because they overgeneralize security best practices.

674
Multi-Selecteasy

A cloud security architect is designing a key management system for a multi-tenant SaaS application. Which TWO practices are essential for ensuring cryptographic key security? (Select TWO).

Select 2 answers
A.Separate key management from data storage
B.Store keys in plaintext configuration files for easy retrieval
C.Implement key rotation policies
D.Use a single master key for all customers
E.Audit all key access events
AnswersA, C

Logical separation ensures a breach of data storage does not reveal keys.

Why this answer

Key rotation limits exposure if a key is compromised, and separating key management from data storage reduces attack surface. Storing keys in plaintext is insecure, using a single master key increases risk, and auditing is a detective control but not as fundamental as the other two.

675
MCQeasy

A small business has a single physical server running multiple virtual machines (VMs) using Type 2 hypervisor software on a Windows Server host. The host is not joined to a domain. The VMs include an Active Directory domain controller, a file server, and a web server. The company recently suffered a ransomware attack that encrypted all data on the file server VM. The IT administrator restored the file server from a backup, but the ransomware returned within hours. Analysis shows that the ransomware is now spreading to other VMs. The administrator suspects that the hypervisor host itself may be compromised. Which of the following is the MOST effective immediate action to contain the spread and secure the environment?

A.Run a full antivirus scan on the host operating system.
B.Disconnect the physical host from the network immediately.
C.Apply the latest security patches to the hypervisor software.
D.Restore all VMs from known clean backups taken before the attack.
AnswerB

Isolating the host stops the ransomware from spreading to other systems and buys time for remediation.

Why this answer

Immediately disconnecting the physical host from the network is the most effective immediate action to contain the spread of ransomware. Since the host is compromised and the Type 2 hypervisor runs on top of a Windows Server OS, the attacker can pivot from the host to any VM via the virtual switch. Cutting network connectivity stops all lateral movement and outbound command-and-control traffic, buying time for forensic analysis and remediation.

Exam trap

The trap here is that candidates often choose to run antivirus scans or apply patches first, mistakenly believing these are immediate containment actions, when in reality they are slow, disruptive, and ineffective against an actively spreading ransomware outbreak on a compromised host.

How to eliminate wrong answers

Option A is wrong because running a full antivirus scan on the host OS is a reactive, time-consuming step that does not stop active ransomware propagation; the malware may already be executing in memory or have disabled the scanner. Option C is wrong because applying the latest security patches to the hypervisor software is a preventive measure, not an immediate containment action; patching requires a reboot and does not halt ongoing encryption or lateral movement. Option D is wrong because restoring all VMs from known clean backups taken before the attack is premature and dangerous if the host remains compromised; the restored VMs would be re-infected immediately via the compromised hypervisor or virtual switch.

Page 8

Page 9 of 13

Page 10