Courseiva

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

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

Page 1 of 13

Page 2
1
MCQhard

An organization uses an EDR solution and wants to detect ransomware that encrypts files and then deletes volume shadow copies. Which EDR detection technique would be most effective for this behavior?

A.Signature-based detection using file hashes
B.Behavioral detection for mass file modifications and vssadmin.exe execution
C.Allowlisting of trusted applications
D.Network traffic analysis to detect C2 communication
AnswerB

Behavioral detection identifies the pattern of file modifications and shadow copy deletion.

Why this answer

Behavioral detection monitors runtime behavior like file encryption and shadow copy deletion, which are indicative of ransomware.

2
MCQmedium

A security administrator is configuring IPsec VPN between two sites. The data transmitted includes sensitive financial records. The administrator wants to ensure both confidentiality and integrity of the data, and also wants to authenticate the source. Which IPsec protocol and mode should be used?

A.ESP in tunnel mode
B.AH in tunnel mode
C.ESP in transport mode
D.AH in transport mode
AnswerA

ESP provides encryption and integrity, and tunnel mode encrypts the entire packet, suitable for site-to-site VPN.

Why this answer

ESP (Encapsulating Security Payload) provides both confidentiality and integrity (optionally authentication). AH only provides integrity and authentication but not confidentiality. Transport mode encrypts only the payload, while tunnel mode encrypts the entire IP packet.

For site-to-site VPN, tunnel mode is typically used.

3
MCQeasy

A security team is implementing deception technology to detect attackers inside the network. They plan to deploy fake systems that appear vulnerable and attract attackers. Which of the following is an example of a honeytoken?

A.A network segment with multiple decoy systems
B.A fake DNS entry for a non-existent domain
C.A virtual machine running a vulnerable web server
D.A fake database credential file that triggers an alert when opened
AnswerD

This is a classic honeytoken—a decoy credential file that alerts when accessed.

Why this answer

A honeytoken is a decoy object such as a fake credential, file, or database record that is used to detect unauthorized access. A fake database credential file that triggers an alert when accessed is a typical honeytoken.

4
MCQmedium

A security manager is reviewing a set of documents: an organizational security policy, a standard for encryption, a guideline for remote access, and a procedure for incident response. Which document is at the highest level in the policy hierarchy?

A.Remote access guideline
B.Encryption standard
C.Organizational security policy
D.Incident response procedure
AnswerC

Policy is the top-level document.

Why this answer

In the policy hierarchy, policy is the highest-level document, setting overarching direction. Standards, guidelines, and procedures are subordinate.

5
Multi-Selectmedium

A security architect is designing a hybrid cloud environment where a web application hosted in AWS needs to securely access an on-premises database. The architect wants to minimize exposure to the internet and ensure encryption in transit. Which TWO techniques should the architect consider? (Choose two.)

Select 2 answers
A.Establish an IPsec VPN tunnel between the AWS VPC and the on-premises network.
B.Use AWS Direct Connect to create a dedicated private network connection from on-premises to AWS.
C.Store database credentials in AWS Secrets Manager and retrieve them at runtime.
D.Configure VPC peering between the AWS VPC and the on-premises network.
E.Configure the web application to connect to the database using TLS encryption.
AnswersA, B

IPsec VPN provides encrypted tunnel over the internet, securing data in transit.

Why this answer

An IPsec VPN tunnel creates an encrypted, site-to-site connection between the AWS VPC and the on-premises network, ensuring encryption in transit and minimizing internet exposure by using the VPN gateway as the endpoint. Option B is correct because AWS Direct Connect provides a dedicated, private network connection that bypasses the internet entirely, reducing exposure and supporting encryption via optional MACsec or IPsec, while maintaining low latency and consistent bandwidth.

Exam trap

The trap here is that candidates often confuse VPC peering with hybrid connectivity, not realizing it only works between VPCs within the same AWS region, or they assume TLS alone is sufficient for network-level security without addressing the underlying internet exposure.

6
MCQeasy

Which phase of the incident response lifecycle involves removing the threat from the environment and restoring systems to normal operations?

A.Lessons Learned
B.Containment
C.Eradication
D.Detection
AnswerC

Eradication removes the threat from the environment.

Why this answer

Eradication removes the threat; recovery restores normal operations. The question combines both, but typically 'eradication' is the removal phase.

7
Multi-Selecteasy

A penetration tester is planning a test against a web application. The rules of engagement specify that the tester must not disrupt production services. Which TWO reconnaissance techniques are considered passive and would be appropriate for initial information gathering without impacting the target? (Select TWO.)

Select 2 answers
A.Port scanning the target network
B.Vulnerability scanning
C.Social engineering attacks
D.WHOIS lookup on the domain
E.OSINT gathering from public sources
AnswersD, E

WHOIS queries are passive and use public databases.

Why this answer

OSINT uses publicly available information and WHOIS queries are passive, as they do not interact with the target system directly.

8
MCQeasy

Which of the following is the BEST definition of a risk register?

A.A list of identified risks with associated attributes such as impact, likelihood, and owner.
B.A report of audit findings and non-conformities.
C.A document that outlines the organization's risk appetite.
D.A tool used to automate risk assessment processes.
AnswerA

A risk register captures each risk along with its characteristics and management status.

Why this answer

A risk register is a foundational document in risk management that systematically catalogs identified risks along with key attributes such as impact, likelihood, risk score, and assigned owner. This structured record enables ongoing tracking, prioritization, and mitigation of risks throughout the system development lifecycle or operational environment. In the context of CAS-004, the risk register is the primary artifact used to support governance and compliance activities, ensuring that risk treatment decisions are documented and auditable.

Exam trap

Candidates often confuse a risk register with a risk appetite statement. The risk register is a living document that lists individual risks with attributes like impact and likelihood, whereas the risk appetite statement is a high-level policy boundary. In CASP+ governance questions, understanding this distinction is key.

How to eliminate wrong answers

Option B is wrong because a report of audit findings and non-conformities is an audit report, not a risk register; it documents past compliance gaps rather than forward-looking risk attributes like likelihood and impact. Option C is wrong because a document outlining the organization's risk appetite defines the amount of risk the organization is willing to accept, which is a strategic policy statement, not a dynamic list of individual risks with owners. Option D is wrong because a tool used to automate risk assessment processes is a risk assessment tool or platform (e.g., a GRC software module), not the risk register itself; the register is the data output, not the automation mechanism.

9
MCQmedium

A security operations center (SOC) analyst receives an alert from the SIEM indicating a user has logged into the corporate VPN from an unusual geographic location at 3 AM, which is outside the user's normal working hours. The user has not previously exhibited this behavior. Which advanced SIEM capability is most likely responsible for generating this alert?

A.User Behavior Analytics (UBA)
B.Correlation rule based on static thresholds
C.Signature-based detection
D.Threat intelligence feed correlation
AnswerA

UBA detects deviations from baseline behavior.

Why this answer

User Behavior Analytics (UBA) uses machine learning to establish a baseline of normal user activity and detect anomalies such as unusual login times and locations. This is a core feature of advanced SIEM platforms.

10
MCQhard

An architect is designing a multi-factor authentication (MFA) solution for remote access. Which of the following is the STRONGEST form of second factor?

A.Email OTP
B.FIDO2 WebAuthn hardware token
C.SMS one-time code
D.Knowledge-based questions
AnswerB

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

Why this answer

FIDO2 WebAuthn hardware tokens provide the strongest second factor because they use public-key cryptography to generate a unique key pair per service, with the private key stored securely on the token. This eliminates phishing, man-in-the-middle, and replay attacks, as the token signs a challenge from the relying party without ever sharing a shared secret over the network.

Exam trap

CompTIA often tests the misconception that SMS OTP or email OTP is 'strong enough' for remote access, but the trap here is that candidates overlook the fundamental security advantage of hardware-bound private keys over shared-secret OTPs, especially against phishing and relay attacks.

How to eliminate wrong answers

Option A is wrong because email OTPs are delivered over a channel that can be intercepted (e.g., compromised email account, man-in-the-middle on SMTP) and are susceptible to phishing attacks where the user is tricked into entering the code on a fake site. Option C is wrong because SMS one-time codes rely on SS7 protocol vulnerabilities that allow interception or SIM-swap attacks, and they are also phishable. Option D is wrong because knowledge-based questions (e.g., 'What is your mother's maiden name?') rely on static, often publicly discoverable information and are not a true second factor, as they can be guessed or obtained through social engineering.

11
MCQmedium

An organization is implementing a Secure Access Service Edge (SASE) architecture to support remote workers. Which key capability does SASE provide that traditional VPNs lack?

A.Software-defined WAN (SD-WAN) functionality
B.Network-layer encryption using IPsec
C.Identity-based access with zero trust principles
D.Web content filtering and DLP
AnswerC

SASE enforces access policies based on identity and context, aligning with zero trust, unlike traditional VPNs that grant broad network access.

Why this answer

SASE convergences network and security functions and includes identity-based access, allowing granular policy enforcement based on user identity, device posture, and context. Traditional VPNs typically provide network-layer access without identity-driven security policies. SD-WAN is a component of SASE, not a unique capability.

Web filtering is available separately. DLP is also available separately.

12
MCQeasy

An organization wants to share threat intelligence with industry peers using a standardized format. Which of the following formats is specifically designed for representing structured threat information in a machine-readable way?

A.CyboX
B.TAXII
C.STIX
D.OpenIOC
AnswerC

STIX is the standardized format for structured threat information.

Why this answer

STIX (Structured Threat Information Expression) is a standardized language for representing threat intelligence.

13
Multi-Selecthard

A security assessor is reviewing a containerized application. Which three of the following practices help secure the container runtime environment? (Select the three best options.)

Select 3 answers
A.Run the container with a read-only root filesystem
B.Use the latest base image from Docker Hub
C.Drop all Linux capabilities and add only required ones
D.Run the container process as a non-root user
AnswersA, C, D

Why this answer

Running a container with a read-only root filesystem (option A) prevents any writes to the container's filesystem layer, which blocks malware from dropping files, modifying binaries, or persisting changes. This is enforced by the container runtime (e.g., Docker, containerd) by mounting the root filesystem as read-only, typically using the `--read-only` flag. Even if an attacker gains code execution inside the container, they cannot alter system files or install tools, significantly reducing the blast radius of a compromise.

Exam trap

CompTIA often tests the distinction between image security (e.g., using latest images) and runtime security (e.g., read-only filesystem, capability dropping, non-root user), and the trap here is that candidates may incorrectly select 'use the latest base image' because they conflate image freshness with runtime hardening.

Why the other options are wrong

B

This is important for image security, not runtime configuration.

14
Multi-Selecthard

Which THREE of the following are required by the NIST Cybersecurity Framework (CSF) for the 'Protect' function?

Select 3 answers
A.Performing regular maintenance of systems
B.Ensuring data at rest and in transit is encrypted
C.Conducting a risk assessment for critical assets
D.Developing an incident response plan
E.Implementing access controls for authorized users
AnswersA, B, E

Maintenance is under Protect.

Why this answer

Performing regular maintenance of systems is required under the Protect function of the NIST Cybersecurity Framework (CSF) because it directly supports the 'Protective Technology' and 'Maintenance' subcategories (PR.MA). Regular patching, updates, and hardware upkeep ensure that security controls remain effective against known vulnerabilities, reducing the attack surface. This is a proactive measure to sustain the integrity and availability of systems, aligning with the CSF's focus on safeguarding critical infrastructure.

Exam trap

The CAS-004 exam often tests the distinction between CSF functions, and the trap here is confusing the 'Protect' function's maintenance and access control requirements with risk assessment (Identify) or incident response planning (Respond), which are separate pillars of the framework.

15
MCQhard

During a ransomware incident, the organization discovers that all production backups have been encrypted by the attacker. What is the most effective recovery approach?

A.Restore from offline immutable backups
B.Restore from system restore points
C.Use a decryption tool from security vendors
D.Pay the ransom to obtain the decryption key
AnswerA

Immutable backups cannot be modified by ransomware and are reliable recovery sources.

Why this answer

Offline immutable backups are not accessible to the ransomware, ensuring a clean restore point. Option B is wrong because system restore points may also be encrypted. Option C is wrong because decryption tools often fail against modern ransomware.

Option D is wrong because paying the ransom does not guarantee decryption and encourages further attacks.

16
MCQmedium

A company is deploying IoT sensors that require secure firmware updates over the air (OTA). To ensure integrity and authenticity of the firmware, which of the following should be implemented?

A.Code signing with a trusted certificate
B.Secure boot on the device
C.Hash verification only
D.Encryption of the firmware image
AnswerA

Digital signatures verify that the firmware came from a trusted source and hasn't been altered.

Why this answer

Code signing with digital signatures ensures firmware integrity and authenticity. Encryption alone does not guarantee authenticity. Hash verification ensures integrity but not authenticity.

Secure boot ensures only signed firmware runs but does not protect the update process itself.

17
MCQeasy

A financial institution is required to comply with PCI DSS. A low-severity vulnerability is found in the cardholder data environment that would cost significant downtime to patch. What is the BEST course of action?

A.Implement compensating controls and formally accept the risk with documented approval
B.Transfer the risk to a third party
C.Accept the risk without documentation
D.Immediately patch the vulnerability
AnswerA

This satisfies PCI DSS requirements and manages risk.

Why this answer

PCI DSS Requirement 6.2 allows organizations to formally accept risk for low-severity vulnerabilities when patching would cause significant operational impact, provided compensating controls are implemented and documented approval is obtained from management. This balances security compliance with business continuity, as the vulnerability is low-risk and the downtime cost outweighs the immediate threat.

Exam trap

The trap here is that candidates assume PCI DSS mandates immediate patching for any vulnerability in the CDE, but the standard explicitly allows risk acceptance for low-severity findings when patching causes significant business impact, provided compensating controls and formal approval are in place.

How to eliminate wrong answers

Option B is wrong because transferring risk to a third party (e.g., via insurance or outsourcing) does not absolve the financial institution of PCI DSS compliance responsibility; the entity remains liable for cardholder data security. Option C is wrong because accepting risk without documentation violates PCI DSS Requirement 12.1.2, which mandates formal risk acceptance with sign-off from authorized personnel. Option D is wrong because immediately patching a low-severity vulnerability that causes significant downtime is not the best course of action; PCI DSS allows for risk acceptance with compensating controls to avoid unnecessary operational disruption.

18
MCQhard

A network administrator is troubleshooting connectivity issues. Based on the exhibit, which of the following is true about the iptables rules?

A.New connections from the internet to 10.0.1.0/24 are allowed.
B.All traffic is allowed by default because the policy is ACCEPT.
C.Traffic from 10.0.1.0/24 to the internet is allowed, but return traffic is only allowed if it is part of an established connection.
D.The rules apply to incoming traffic on the firewall itself.
AnswerC

The first rule matches new and established traffic from 10.0.1.0/24; the second matches only established traffic back.

Why this answer

The iptables rules show a default FORWARD policy of DROP (as indicated by the 'policy DROP' line), which drops all traffic not explicitly allowed. The rule '-A FORWARD -s 10.0.1.0/24 -j ACCEPT' allows outbound traffic from the 10.0.1.0/24 subnet to the internet. The rule '-A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT' ensures that return traffic belonging to an existing connection is permitted back, while new inbound connections from the internet are implicitly dropped by the default DROP policy.

Exam trap

The trap here is that candidates often confuse the FORWARD chain with the INPUT chain, assuming that rules in the FORWARD chain apply to traffic destined for the firewall itself, or they overlook that the default policy for the FORWARD chain is DROP (not ACCEPT) unless explicitly set to ACCEPT in the exhibit.

How to eliminate wrong answers

Option A is wrong because the FORWARD chain's default policy is DROP (not shown but implied by the rules), and there is no rule allowing new connections from the internet to 10.0.1.0/24; only ESTABLISHED,RELATED traffic is allowed back. Option B is wrong because the policy shown is ACCEPT only for the FORWARD chain, but the INPUT chain has a default policy of DROP, and the FORWARD chain's default policy is also DROP (as no default ACCEPT is listed for FORWARD in the exhibit); thus, not all traffic is allowed by default. Option D is wrong because the rules shown are in the FORWARD chain, which applies to traffic being routed through the firewall, not to incoming traffic destined for the firewall itself (which would be handled by the INPUT chain).

19
MCQeasy

Which of the following best describes the primary security benefit of using immutable infrastructure in a containerized environment?

A.It reduces resource consumption by reusing containers.
B.It prevents unauthorized modifications to running containers.
C.It automates patching of container images.
D.It eliminates the need for container security scanning.
AnswerB

Why this answer

Immutable infrastructure ensures that once a container image is built and deployed, it is never modified in place. If a change is needed, a new image is built and deployed, replacing the old container entirely. This prevents unauthorized or unplanned modifications to running containers, which is the primary security benefit because it eliminates configuration drift and reduces the attack surface from runtime tampering.

Exam trap

The trap here is that candidates confuse immutability with automation of patching or resource efficiency, when in fact immutability is a security control against runtime modification, not a patch management or cost-saving mechanism.

Why the other options are wrong

A

Immutable infrastructure usually increases resource usage due to frequent replacement; reuse is not a security benefit.

C

Immutable infrastructure requires rebuilding images for patches, but it does not automate the patching itself.

D

Immutable infrastructure still requires scanning images for vulnerabilities before deployment.

20
Multi-Selectmedium

A security engineer is evaluating options for securing firmware updates on IoT devices. Which TWO methods provide integrity verification of the update?

Select 2 answers
A.Obfuscation of the firmware code
B.AES encryption of the firmware
C.Hash-based message authentication code (HMAC)
D.Digital signature verification
E.Secure Boot
AnswersC, D

HMAC uses a shared key to create a tag that verifies integrity and authenticity.

Why this answer

HMAC uses a shared secret key combined with a cryptographic hash function to produce a fixed-size authentication tag. The firmware update's integrity is verified by recomputing the HMAC on the received data and comparing it to the transmitted tag; any tampering will cause a mismatch. This ensures that the firmware has not been altered in transit, providing integrity verification.

Exam trap

CompTIA often tests the distinction between confidentiality and integrity, so candidates mistakenly select AES encryption (Option B) thinking it protects against tampering, when in fact encryption alone does not provide integrity verification.

21
MCQeasy

Which risk treatment option involves reducing the likelihood or impact of a risk through controls?

A.Mitigate
B.Avoid
C.Accept
D.Transfer
AnswerA

Mitigation applies controls to reduce risk.

Why this answer

Mitigate (or reduce) involves implementing controls to lower risk to an acceptable level.

22
MCQeasy

Which security metric measures the average time it takes to detect a security incident after it has occurred?

A.Mean Time to Detect (MTTD)
B.Mean Time Between Failures (MTBF)
C.Mean Time to Respond (MTTR)
D.Mean Time to Recover (MTTR)
AnswerA

MTTD is the correct metric.

Why this answer

Mean Time to Detect (MTTD) is a key metric for incident detection efficiency.

23
MCQmedium

A security analyst is analyzing a memory dump from a compromised host using Volatility. Which Volatility plugin would be most useful to identify a malicious process that is hidden from the standard process listing?

A.pstree
B.malfind
C.psxview
D.pslist
AnswerC

psxview cross-references multiple sources to find discrepancies, revealing hidden processes.

Why this answer

Volatility's psxview plugin uses cross-view techniques to detect hidden processes by comparing process lists from multiple sources (e.g., PsActiveProcessHead, EPROCESS pools, etc.). A process that appears in some lists but not others is likely hidden.

24
MCQmedium

A security architect is designing a new authentication system for a high-security environment. The system must support passwordless authentication while providing strong protection against phishing attacks. Which of the following protocols best meets these requirements?

A.Kerberos with PKINIT
B.FIDO2/WebAuthn
C.TOTP/HOTP
D.X.509 certificates with smart cards
AnswerB

FIDO2/WebAuthn uses device-bound keys and is phishing-resistant, enabling passwordless authentication.

Why this answer

FIDO2/WebAuthn uses public key cryptography and is designed to resist phishing; it supports passwordless authentication. TOTP/HOTP are time-based and can be phished. X.509 certificates are not inherently passwordless.

Kerberos requires passwords or tickets.

25
MCQmedium

A threat hunter wants to identify potential lateral movement within the network. Which data source is LEAST useful for this purpose?

A.Windows Event ID 4624 (Logon) from domain controllers
B.Windows Event ID 4648 (Logon with explicit credentials)
C.Windows Event ID 5140 (File share accessed)
D.DNS query logs
AnswerD

DNS logs show name resolution but not lateral movement itself.

Why this answer

Windows Event ID 4624 (Logon) from domain controllers records successful authentication events, which can indicate lateral movement when an account logs into multiple systems. Event ID 4648 (Logon with explicit credentials) shows when credentials are used explicitly to connect to another system, a common lateral movement technique. Event ID 5140 (File share accessed) logs access to file shares, often used for data staging or tool transfer during lateral movement.

DNS query logs primarily show domain name resolution requests. While unusual DNS queries might indicate command-and-control or data exfiltration, they are less directly indicative of lateral movement between hosts because lateral movement typically involves authentication or resource access events rather than DNS lookups. Therefore, DNS query logs are the least useful data source for identifying lateral movement.

26
Multi-Selectmedium

An organization is implementing a DevSecOps pipeline. Which of the following are essential security controls to include? (Select TWO.)

Select 2 answers
A.Implement SAST in the build phase
B.Conduct annual penetration testing
C.Perform DAST in the staging environment
D.Use network segmentation for production
E.Disable security scanning to speed up deployments
AnswersA, C

Why this answer

SAST (Static Application Security Testing) is essential in the build phase because it analyzes source code, bytecode, or binary code for security vulnerabilities without executing the program. Integrating SAST early in the DevSecOps pipeline allows developers to identify and remediate flaws like SQL injection, buffer overflows, or cross-site scripting before the code is compiled and deployed, aligning with the 'shift left' security principle.

Exam trap

The CAS-004 exam often tests the distinction between continuous pipeline-integrated controls (SAST, DAST) and traditional periodic or infrastructure-level controls (annual pen tests, network segmentation), expecting candidates to recognize that only the former are essential within a DevSecOps pipeline.

Why the other options are wrong

B

Annual testing is not frequent enough for a DevSecOps pipeline, which requires continuous testing.

D

Network segmentation is a security control but not specific to the DevSecOps pipeline; it is an operational security measure.

E

Disabling security scanning would defeat the purpose of DevSecOps.

27
MCQmedium

During a routine vulnerability scan, a security engineer discovers that a critical web application is running an outdated version of a third-party library with a known remote code execution (RCE) vulnerability. The application is in production and cannot be taken offline immediately. Which of the following is the BEST immediate action to reduce risk?

A.Patch the library directly in the production environment.
B.Implement a virtual patch using a web application firewall (WAF) to block exploitation patterns.
C.Schedule a maintenance window for the next weekend to apply the vendor's patch.
D.Disable the web application until a patch is available.
AnswerB

A virtual patch provides temporary protection without affecting application availability.

Why this answer

A WAF rule can block exploitation attempts while a permanent fix is developed. Option A might break functionality. Option C is too slow for immediate risk reduction.

Option D might not address the vulnerability entry point.

28
Multi-Selectmedium

Which TWO of the following are considered secure design principles for cryptographic systems?

Select 2 answers
A.Implement custom encryption algorithms designed in-house
B.Use the same key for encryption and authentication to reduce complexity
C.Use well-vetted, standard cryptographic algorithms
D.Rely on secrecy of the algorithm for security
E.Generate cryptographic keys using a cryptographically secure random number generator
AnswersC, E

Standard algorithms have been analyzed for weaknesses.

Why this answer

Using well-vetted, standard cryptographic algorithms (e.g., AES, RSA, ECDSA) ensures the system benefits from years of public scrutiny, rigorous cryptanalysis, and proven security properties. Proprietary or custom algorithms often contain undiscovered vulnerabilities, making them unsuitable for secure systems.

Exam trap

CompTIA often tests the misconception that 'custom algorithms' or 'security through obscurity' can be acceptable in secure design, when in fact they are explicitly rejected in favor of open, peer-reviewed standards and key separation.

29
MCQmedium

A security engineer is designing a secure hybrid cloud connection between an on-premises data center and AWS. Which service provides a dedicated, private network connection that bypasses the public internet?

A.Site-to-Site VPN
B.Transit Gateway
C.Direct Connect
D.VPC Peering
AnswerC

Correct; Direct Connect is a dedicated private network connection.

Why this answer

AWS Direct Connect provides a dedicated private connection from on-premises to AWS.

30
Multi-Selecthard

A security architect is evaluating a new cloud-based application that will process sensitive customer data. The architect must ensure compliance with GDPR and PCI DSS. Which THREE of the following controls should be implemented? (Select THREE.)

Select 3 answers
A.Deploy geo-fencing to block access from non-EU countries.
B.Implement a process for customers to request deletion of their personal data.
C.Use data masking for customer data in development and testing environments.
D.Implement encryption at rest and in transit for all sensitive data.
E.Retain all access logs for a minimum of 7 years.
AnswersB, C, D

Right to erasure is a key GDPR requirement.

Why this answer

GDPR grants data subjects the right to erasure (Article 17), also known as the 'right to be forgotten.' Implementing a process for customers to request deletion of their personal data is a mandatory control for GDPR compliance, directly addressing this regulatory requirement.

Exam trap

The CAS-004 exam often tests the misconception that geo-fencing is a GDPR requirement, but GDPR focuses on the rights of data subjects and lawful processing, not on geographic blocking of access.

31
Multi-Selectmedium

A company is adopting container security best practices. Which TWO actions should be implemented to reduce the attack surface of container images? (Select TWO.)

Select 2 answers
A.Set the container filesystem as read-only where possible.
B.Use signed images and verify signatures before deployment.
C.Disable vulnerability scanning to optimize build time.
D.Store secrets in environment variables.
E.Run containers with the root user to simplify permissions.
AnswersA, B

A read-only filesystem prevents attackers from writing malicious files.

Why this answer

Setting the container filesystem as read-only (A) reduces the attack surface by preventing attackers from writing malicious files or modifying system binaries within the container, even if they gain code execution. This enforces immutability and aligns with the principle of least privilege, as most containers do not need to write to their own filesystem at runtime.

Exam trap

The trap here is that candidates may think disabling vulnerability scanning speeds up builds (C) without realizing it directly increases risk, or they may mistakenly believe environment variables are a secure way to handle secrets (D) when they are actually exposed in process listings and logs.

32
MCQeasy

A company is designing a new multi-tier web application. The security team recommends placing a web application firewall (WAF) in front of the web servers and a network firewall between the web and application tiers. Which security architecture principle does this represent?

A.Defense in depth
B.Separation of duties
C.Least privilege
D.Single point of failure
AnswerA

Multiple layers of defense (WAF and firewalls) exemplify defense in depth.

Why this answer

Defense in depth. This architecture implements multiple, overlapping layers of security controls: a WAF at the application layer (Layer 7) to inspect and filter HTTP/HTTPS traffic for web-specific attacks (e.g., SQL injection, XSS), and a network firewall between the web and application tiers to enforce stateful packet inspection and access control at Layers 3/4. This layered approach ensures that if one control fails or is bypassed, another control still provides protection, embodying the core principle of defense in depth.

Exam trap

The trap here is that candidates often confuse 'defense in depth' with 'separation of duties' because both involve multiple layers, but separation of duties is about human roles and access control, not about stacking network security devices.

How to eliminate wrong answers

Option B (Separation of duties) is wrong because it refers to dividing administrative responsibilities among different individuals to prevent fraud or error, not to placing multiple security controls in a network path. Option C (Least privilege) is wrong because it focuses on granting users or processes only the minimum permissions needed to perform their functions, not on layering security devices. Option D (Single point of failure) is wrong because it describes a lack of redundancy that can cause system downtime, whereas the scenario explicitly adds multiple security layers to avoid a single point of failure, not to create one.

33
Multi-Selectmedium

A security architect is designing a data classification scheme. Which TWO of the following are commonly used classification levels? (Select TWO.)

Select 2 answers
A.Unclassified
B.Confidential
C.For Official Use Only
D.Public
E.Top Secret
AnswersB, D

Confidential is a common corporate classification for sensitive data.

Why this answer

Common data classification levels include Public (no harm if disclosed), Internal (limited internal use), Confidential (sensitive, limited access), and Restricted (highly sensitive).

34
MCQmedium

A security analyst is using the MITRE ATT&CK framework to categorize adversary behavior observed in recent incidents. The analyst notes that the adversary used spearphishing with a malicious attachment to gain initial access, then executed a PowerShell script to download additional tools. Which ATT&CK tactic is the PowerShell execution associated with?

A.Defense Evasion
B.Execution
C.Initial Access
D.Command and Control
AnswerB

Execution involves running malicious code.

Why this answer

Execution is the tactic that covers techniques that result in adversary-controlled code running on a system. PowerShell execution is a common technique under the Execution tactic.

35
MCQmedium

A security engineer is deploying a wireless network for a high-security facility. Which protocol should be used to provide the strongest authentication and encryption for client devices?

A.WEP with 128-bit key
B.WPA2-PSK with AES
C.WPA3-Enterprise with 802.1X
D.WPA3-Personal with SAE
AnswerC

WPA3-Enterprise uses individual credentials and stronger encryption than WPA2.

Why this answer

WPA3-Enterprise with 802.1X is the correct choice because it provides the strongest authentication and encryption for a high-security facility. It uses Simultaneous Authentication of Equals (SAE) for secure key exchange, mandates GCMP-256 encryption, and integrates with 802.1X/EAP for per-user, certificate-based authentication, eliminating shared passphrase vulnerabilities.

Exam trap

A common misconception is that WPA3-Personal with SAE is sufficient for enterprise security, but the trap is that it still uses a shared passphrase and lacks the per-user authentication and centralized control provided by 802.1X, which is critical for high-security environments.

How to eliminate wrong answers

Option A is wrong because WEP with a 128-bit key uses the insecure RC4 stream cipher and static keys, which can be cracked in minutes using tools like aircrack-ng. Option B is wrong because WPA2-PSK with AES relies on a pre-shared key (PSK) that is vulnerable to offline dictionary attacks and lacks per-user authentication, making it unsuitable for a high-security facility. Option D is wrong because WPA3-Personal with SAE, while stronger than WPA2-PSK, still uses a shared passphrase for authentication and does not support 802.1X/EAP for individual user identity and centralized access control.

36
MCQmedium

An organization is evaluating a third-party vendor that will have access to its customer database. The vendor provides a SOC 2 Type II report dated six months ago. Which of the following is the BEST next step?

A.Conduct a vendor risk assessment using a security questionnaire
B.Accept the SOC 2 report as sufficient evidence
C.Perform an on-site audit of the vendor
D.Request a new penetration test report from the vendor
AnswerA

A current questionnaire helps identify changes since the SOC 2 report.

Why this answer

A SOC 2 Type II report shows the effectiveness of controls over a period, but it is dated. The organization should supplement it with a current security questionnaire to assess changes and current posture.

37
MCQmedium

A security architect is designing a cryptographic system for a government agency that must protect classified data for the next 30 years. The agency is concerned about the threat from quantum computers. Which NIST post-quantum cryptography algorithm is recommended for key encapsulation?

A.ECDH with NIST P-384
B.CRYSTALS-Kyber
C.CRYSTALS-Dilithium
D.RSA-4096
AnswerB

CRYSTALS-Kyber is a NIST-selected PQC algorithm for key encapsulation, designed to resist quantum attacks.

Why this answer

CRYSTALS-Kyber is a key encapsulation mechanism (KEM) selected by NIST for general encryption. CRYSTALS-Dilithium is a digital signature algorithm. RSA and ECDH are vulnerable to quantum attacks.

38
Multi-Selectmedium

A company is designing a secure communication channel between two branch offices over the internet using IPsec. Which TWO statements are true regarding IPsec modes and protocols? (Select TWO.)

Select 2 answers
A.IKEv2 is used to negotiate IPsec security associations
B.Tunnel mode encrypts the entire original IP packet
C.AH provides confidentiality for the packet
D.Transport mode encrypts the entire IP packet including the header
E.ESP provides confidentiality and optional authentication
AnswersB, E

Tunnel mode encapsulates and encrypts the entire original IP packet, adding a new IP header. This is a correct statement about an IPsec mode.

Why this answer

IKEv2 is a key exchange protocol used to establish IPsec security associations, but it is not a mode or protocol for encapsulating data packets; the question asks about IPsec modes and protocols (tunnel/transport, AH/ESP). Thus, A does not qualify as a true statement about IPsec modes and protocols. Option B is correct: Tunnel mode encapsulates and encrypts the entire original IP packet, adding a new IP header for routing.

Option C is false: AH (Authentication Header) provides integrity and authentication but not confidentiality (no encryption). Option D is false: Transport mode encrypts only the payload of the IP packet, not the entire packet (the original IP header remains unencrypted). Option E is correct: ESP (Encapsulating Security Payload) provides confidentiality via encryption and optionally provides authentication and integrity.

Exam trap

Option A may appear correct because IKEv2 is indeed used to negotiate IPsec security associations, but the question specifically asks about IPsec modes (tunnel/transport) and protocols (AH/ESP), not key exchange. Candidates often confuse the phases of IPsec with the actual encapsulation modes and protocols.

39
Multi-Selecthard

A security architect is reviewing the network security controls for a critical industrial control system (ICS) environment. The architect must select two controls that are most effective at preventing unauthorized access to the ICS network from the corporate IT network, while still allowing necessary monitoring traffic. Which TWO controls should be implemented? (Choose two.)

Select 2 answers
A.Configure a site-to-site VPN from the corporate network to the ICS network
B.Implement a network-based intrusion prevention system (IPS) on the ICS network
C.Deploy a unidirectional gateway (data diode) between the networks
D.Place a bastion host in a DMZ accessible from both networks for monitoring traffic
E.Segment the networks using VLANs only
AnswersC, D

Ensures traffic can only flow out, preventing inbound access.

Why this answer

A unidirectional gateway (data diode) physically enforces one-way data flow, ensuring that no traffic can originate from the corporate IT network into the ICS network. This prevents unauthorized access while allowing monitoring data (e.g., syslog, SNMP traps) to be sent out from the ICS side. It is the most effective control for preventing any inbound attack vectors while preserving outbound monitoring traffic.

Exam trap

The trap here is that candidates often choose a VPN (Option A) thinking encryption equals security, but encryption does not prevent unauthorized access—it only protects data in transit, and a VPN still allows bidirectional communication, which is the opposite of what is needed for ICS isolation.

40
Multi-Selectmedium

A security architect is evaluating web application firewall (WAF) features to protect against common attacks. Which TWO of the following attacks can a WAF most effectively prevent?

Select 2 answers
A.Session hijacking
B.Cross-site scripting (XSS)
C.SQL injection
D.Distributed denial-of-service (DDoS)
E.Cross-site request forgery (CSRF)
AnswersB, C

WAFs can detect and block reflected/stored XSS.

Why this answer

SQL injection and XSS are application-layer attacks that a WAF can detect and block based on signatures or heuristics. CSRF requires tokens, and session hijacking is often at the network layer.

41
Multi-Selectmedium

A security analyst is conducting a penetration test for a client. The rules of engagement specify that no social engineering is allowed. Which TWO of the following reconnaissance techniques are permitted under these rules?

Select 2 answers
A.Calling the help desk to obtain credentials
B.Scanning the client's external network for open ports
C.Performing DNS enumeration using public records
D.Sending phishing emails to employees
E.Tailgating into the building
AnswersB, C

Port scanning is active recon but does not involve social engineering.

Why this answer

Passive reconnaissance (OSINT) does not interact with the target and is allowed. Active reconnaissance without social engineering is also typically allowed if specified. Social engineering involves human interaction, which is prohibited.

42
MCQeasy

An analyst needs to automate the extraction of indicators of compromise (IOCs) from log files generated by various systems. Which scripting language is most commonly used for cross-platform log parsing and automation due to its extensive library support?

A.PowerShell
B.Bash
C.JavaScript
D.Python
AnswerD

Python is cross-platform with extensive libraries for data parsing and automation.

Why this answer

Python is the correct answer because it is a cross-platform scripting language with extensive standard libraries (e.g., `re` for regex, `json`, `csv`, `logging`) and third-party packages (e.g., `pandas`, `yara-python`, `stix2`) that simplify parsing diverse log formats and automating IOC extraction. Its portability across Windows, Linux, and macOS makes it ideal for environments with heterogeneous systems, unlike platform-specific alternatives.

Exam trap

The trap here is that candidates often choose PowerShell (Option A) because they associate it with Windows log parsing (e.g., Event Logs), forgetting the question explicitly requires cross-platform support and extensive library availability for diverse log formats.

How to eliminate wrong answers

Option A is wrong because PowerShell is tightly integrated with the Windows ecosystem and .NET framework, making it less portable for cross-platform log parsing without additional modules like PowerShell Core, and its syntax is less concise for complex text processing compared to Python. Option B is wrong because Bash is a Unix/Linux shell scripting language that lacks native support for Windows environments without emulation layers like WSL, and its text-processing utilities (e.g., `grep`, `awk`, `sed`) are less robust for structured log parsing than Python's libraries. Option C is wrong because JavaScript is primarily designed for web browser client-side scripting and Node.js server-side applications; it lacks built-in libraries for system-level log file parsing and automation, and its asynchronous model complicates sequential log processing tasks.

43
MCQeasy

An organization needs to ensure that evidence collected during a forensic investigation remains intact and admissible in court. Which process is most critical for maintaining the integrity of digital evidence?

A.Storing evidence in a secure locker
B.Maintaining an unbroken chain of custody
C.Using write-blockers when imaging drives
D.Hashing the evidence with SHA-256
AnswerB

Chain of custody is the foundational process for evidence integrity.

Why this answer

Chain of custody documents every person who handled the evidence, from collection to presentation in court, ensuring that evidence has not been tampered with. This is essential for admissibility.

44
MCQmedium

A company is deploying a web application in a containerized environment. The security team wants to ensure that the application runs with the least privilege necessary. Which of the following is the BEST approach to achieve this?

A.Run the container as root and use a restrictive seccomp profile
B.Run the container with a non-root user and drop all capabilities
C.Run the container as root but use a read-only filesystem
D.Run the container with the --privileged flag and a custom AppArmor profile
AnswerB

Why this answer

Running a container with a non-root user and dropping all capabilities enforces the principle of least privilege. By default, containers run with a limited set of capabilities, but explicitly dropping all capabilities and using a non-root user ensures that even if the application is compromised, an attacker cannot escalate privileges or perform privileged operations. This aligns with container security best practices, such as those outlined in the Docker security documentation and the CIS Docker Benchmark.

Exam trap

The CAS-004 exam often tests the misconception that root in a container is safe because of namespace isolation, but the trap here is that root inside a container still has dangerous capabilities that can be exploited if the container is compromised, so the best approach is to avoid root entirely and drop all capabilities.

Why the other options are wrong

A

Running as root still gives elevated privileges; seccomp alone does not enforce user-level least privilege.

C

Read-only filesystem does not prevent root-level process attacks; the container still runs as root.

D

--privileged gives the container nearly all host capabilities, violating least privilege.

45
MCQmedium

During a digital forensics investigation of a compromised Linux server, the investigator needs to preserve the evidence in a forensically sound manner. The server is still running. Which of the following should the investigator do first?

A.Pull the power cord to preserve the disk state
B.Create a forensic image of the hard drive using dd over a network connection
C.Run the 'history' command to see recent user commands
D.Capture the contents of RAM using a tool like LiME or fmem
AnswerD

Capturing memory first preserves the most volatile data, including running processes and network connections.

Why this answer

According to the order of volatility, volatile data like memory should be captured first. On a running system, capturing memory preserves data that would be lost on shutdown.

46
Multi-Selectmedium

Which two of the following are effective mitigations against XML External Entity (XXE) injection attacks? (Select the two best options.)

Select 2 answers
A.Disable Document Type Definition (DTD) processing in the XML parser
B.Use a blacklist to filter out dangerous XML tags
C.Validate all XML input against a schema
D.Use a JSON or other less complex data format instead of XML
AnswersA, D

Why this answer

XXE attacks exploit the XML parser's ability to process external entities defined in a DTD. By disabling DTD processing entirely, the parser cannot resolve or fetch external resources, which neutralizes the primary vector for XXE injection. This is a standard security hardening step for XML parsers like libxml2, Xerces, or .NET's XmlReader, often achieved by setting properties such as `LIBXML_NOENT` to false or `XmlReaderSettings.DtdProcessing` to `Prohibit`.

Exam trap

CompTIA often tests the misconception that input validation or schema validation alone can prevent injection attacks, but the trap here is that XXE exploits parser-level features (DTD processing) that occur before any schema validation or content filtering takes place.

Why the other options are wrong

B

Blacklists are easily bypassed; disabling DTD is more robust.

C

Schema validation does not prevent XXE if DTDs are still enabled.

47
MCQeasy

Refer to the exhibit. A security administrator finds this IAM policy attached to a Lambda execution role. What is the most critical security risk?

A.The Lambda can invoke any other Lambda
B.The Lambda has full IAM management capabilities
C.The Lambda can assume any role
D.The Lambda can access any S3 bucket
AnswerB

iam:* on * allows any IAM action, including creating admin users.

Why this answer

The IAM policy grants the Lambda execution role the `iam:*` action, which includes all IAM operations such as creating, modifying, and deleting IAM users, roles, and policies. This effectively gives the Lambda full administrative control over IAM, allowing it to escalate privileges, create backdoor access, or disrupt the entire AWS account's identity and access management. Such broad permissions violate the principle of least privilege and represent a critical security risk.

Exam trap

The CAS-004 exam often tests the distinction between specific resource-level permissions and wildcard actions; the trap here is that candidates see `lambda:*` and assume it applies broadly, but the resource restriction limits it to only that Lambda function, while the `iam:*` action is unrestricted and applies globally, which is the actual critical risk.

How to eliminate wrong answers

Option A is wrong because the policy does not include `lambda:InvokeFunction` for all functions; it only grants `lambda:*` for the specific function named `MyFunction`, not for invoking other Lambdas. Option C is wrong because the policy does not include `sts:AssumeRole`; assuming any role requires the `sts:AssumeRole` action, which is not present in the policy. Option D is wrong because the policy does not include any S3 actions (e.g., `s3:GetObject`, `s3:ListBucket`); S3 access would require explicit S3 permissions, which are absent.

48
Matchingmedium

Match each authentication protocol or method to its characteristic.

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

Concepts
Matches

Uses tickets and symmetric key cryptography

XML-based federated identity protocol

Authorization framework for delegated access

AAA protocol for network access

Directory access protocol for authentication

Why these pairings

Correct matches: Kerberos uses tickets and symmetric keys for authentication; SAML uses XML assertions for single sign-on; OAuth provides delegated authorization via tokens. Common confusions include mixing cryptographic methods and confusing authorization with authentication.

49
Multi-Selectmedium

A security team is implementing a threat intelligence program and wants to consume intelligence from various sources. Which TWO of the following are commonly used threat intelligence feeds or sharing mechanisms? (Select TWO.)

Select 2 answers
A.DNS
B.SMTP
C.HTTP
D.ISACs
E.STIX/TAXII
AnswersD, E

Information Sharing and Analysis Centers are industry-specific sharing communities.

Why this answer

STIX/TAXII is a standard for sharing threat intelligence, and ISACs are industry-specific sharing groups.

50
MCQmedium

A security analyst is reviewing threat intelligence feeds and notices that a known Advanced Persistent Threat (APT) group has been using a specific technique to move laterally within networks. The analyst wants to map this technique to the MITRE ATT&CK framework. Which resource would the analyst use to find the corresponding ATT&CK technique ID?

A.MITRE ATT&CK Navigator or website
B.NIST SP 800-61
C.STIX/TAXII feeds
D.CVE database
AnswerA

The ATT&CK Navigator is a tool for exploring and mapping techniques.

Why this answer

The MITRE ATT&CK framework provides a structured taxonomy of adversary behaviors, including techniques and procedures. The ATT&CK website or database allows mapping observed behaviors to specific technique IDs.

51
MCQmedium

A security analyst is investigating a phishing campaign targeting the organization. The threat intelligence team has provided indicators such as email subject lines, sender domains, and attachment hashes. However, the analyst notices that these IOCs change rapidly and are only effective for a short period. Which type of threat intelligence would provide more durable and actionable information for defending against this campaign?

A.STIX/TAXII feeds
B.IoC-based threat intelligence
C.TTP-based threat intelligence
D.Strategic threat intelligence
AnswerC

TTPs describe adversary behavior and are more durable than IOCs.

Why this answer

TTP-based intelligence focuses on the adversary's behavior, such as tactics, techniques, and procedures, which are more stable over time compared to fast-changing IOCs like hashes and domains. This aligns with the ATT&CK framework.

52
MCQeasy

A vulnerability scanner reports a critical vulnerability on a critical server with a CVSS v3.1 base score of 9.8. The server cannot be patched immediately due to vendor constraints. Which of the following should the security team implement as a compensating control?

A.Disable the server until a patch is available
B.Increase monitoring of the server
C.Isolate the server on a separate network segment with strict firewall rules
D.Apply a workaround provided by the vendor
AnswerC

Network isolation is an effective compensating control.

Why this answer

When a patch cannot be applied, compensating controls such as network segmentation, firewall rules, or WAF can reduce risk. Network isolation is a common compensating control.

53
MCQmedium

A security architect is designing a public key infrastructure (PKI). Which component is responsible for issuing and revoking certificates?

A.Validation Authority
B.Certificate Repository
C.Registration Authority
D.Certificate Authority
AnswerD

CA issues and revokes certificates.

Why this answer

The Certificate Authority (CA) is the trusted entity that issues digital certificates and maintains Certificate Revocation Lists (CRLs) or supports OCSP for revocation.

54
MCQeasy

A company is implementing a new cloud-based SaaS application and needs to ensure compliance with GDPR. The security team is tasked with updating the data protection impact assessment (DPIA). Which of the following should the team prioritize?

A.Assessing the types of personal data processed and the risks to data subjects
B.Defining data retention schedules for all data types
C.Conducting a vulnerability scan of the SaaS application
D.Reviewing the cloud provider's SLA for uptime guarantees
AnswerA

DPIA focuses on the processing of personal data and associated risks.

Why this answer

Under GDPR, a Data Protection Impact Assessment (DPIA) is mandatory when processing personal data that is likely to result in high risk to individuals. The core requirement is to systematically assess the types of personal data being processed, the necessity and proportionality of the processing, and the risks to data subjects' rights and freedoms. This directly aligns with option A, as the DPIA must identify and mitigate privacy risks before the SaaS application goes live.

Exam trap

The trap here is that candidates confuse a DPIA with a security assessment (like a vulnerability scan or SLA review), but the DPIA is specifically a privacy risk assessment mandated by GDPR Article 35, not a general security or operational review.

How to eliminate wrong answers

Option B is wrong because defining data retention schedules is a separate GDPR compliance activity (Article 5(1)(e)) that occurs after the DPIA, not a priority for the DPIA itself; the DPIA focuses on risk assessment, not retention policies. Option C is wrong because conducting a vulnerability scan addresses technical security controls (Article 32), but a DPIA is a broader privacy risk assessment that evaluates the necessity, proportionality, and impact on data subjects, not just security vulnerabilities. Option D is wrong because reviewing the cloud provider's SLA for uptime guarantees relates to business continuity and availability, not to the GDPR-mandated assessment of risks to data subjects' privacy rights.

55
MCQeasy

Which of the following is a secure method for storing secrets (e.g., API keys, passwords) in a cloud-native application?

A.Encode secrets in base64 in configuration files
B.Store secrets in environment variables
C.Use a secrets management service
D.Hardcode secrets in the source code
AnswerC

Why this answer

A dedicated secrets management service (e.g., AWS Secrets Manager, Azure Key Vault, HashiCorp Vault) provides encryption at rest and in transit, automatic rotation, fine-grained access control via IAM policies, and audit logging. This prevents secrets from being exposed in configuration files, environment dumps, or version control, which is essential for cloud-native applications that must adhere to the principle of least privilege and compliance standards like SOC 2 or PCI DSS.

Exam trap

CompTIA often tests the misconception that base64 encoding or environment variables are 'secure enough' because they hide the secret from casual view, but the trap is that neither provides encryption, access control, or rotation, which are required for secure secret storage in cloud-native applications.

Why the other options are wrong

A

Base64 is not encryption; it is easily reversible and does not protect secrets.

B

Environment variables can be exposed via process listings, logs, or debug interfaces; they are not encrypted.

D

Hardcoding secrets is insecure as they can be read from version control or decompiled code.

56
MCQeasy

An organization wants to implement a solution that ensures data cannot be read if a storage device is physically stolen. Which encryption approach BEST meets this requirement?

A.Transport Layer Security (TLS) for network traffic
B.File-level encryption on sensitive documents
C.Database column-level encryption for stored data
D.Full disk encryption (FDE) on the storage device
AnswerD

Encrypts all data on the device, protecting against physical theft.

Why this answer

Full disk encryption (FDE) encrypts the entire storage device at the block level, including the operating system, applications, and all data. If the device is physically stolen, the data remains unreadable without the decryption key or passphrase, as the encryption is transparent and covers all sectors of the drive. This directly addresses the requirement of protecting data at rest on a stolen storage device.

Exam trap

The CAS-004 exam often tests the distinction between encryption of data in transit (TLS) and encryption of data at rest (FDE), leading candidates to mistakenly choose a network encryption solution when the question explicitly involves a stolen storage device.

How to eliminate wrong answers

Option A is wrong because Transport Layer Security (TLS) encrypts data in transit over a network, not data at rest on a storage device; it does not protect against physical theft of the device. Option B is wrong because file-level encryption only encrypts individual files or folders, leaving metadata, temporary files, and the operating system unencrypted, which can expose sensitive data if the device is stolen. Option C is wrong because database column-level encryption protects specific columns within a database, but it does not encrypt the underlying storage device, leaving other data (e.g., logs, swap files, or the database engine itself) exposed upon physical theft.

57
MCQeasy

A large financial organization is migrating its on-premises authentication infrastructure to a cloud-based identity provider (IdP) to support a hybrid workforce. Currently, on-premises Active Directory is used with smart cards for authentication. The cloud IdP will support SAML 2.0 and OAuth 2.0. The security team requires that all authentication to cloud applications be protected by hardware-backed keys and that user credentials never leave the on-premises network. The solution must also support FIDO2 authentication for passwordless logins. During a pilot, users report that after authenticating to the cloud IdP using their smart cards, they are prompted again for credentials when accessing certain cloud applications. The logs show that the cloud IdP is issuing multiple authentication requests to the on-premises AD Federation Services (AD FS). The CISO is concerned about performance and security of repeated authentication. As a security architect, what is the best course of action?

A.Deploy a hardware security module (HSM) on-premises and integrate it with AD FS to perform certificate-based authentication and issue short-lived tokens.
B.Implement a reverse proxy to cache authentication tokens and replay them to cloud applications.
C.Implement a conditional access policy in the cloud IdP to skip authentication for trusted devices based on device compliance.
D.Configure AD FS to pass through the smart card certificate to the cloud IdP and enable seamless SSO by using the certificate as a security token.
AnswerD

Passing the certificate allows the cloud IdP to directly authenticate the user without additional prompts, leveraging hardware-backed keys.

Why this answer

Configuring AD FS to pass through the smart card certificate to the cloud IdP allows the cloud IdP to accept the certificate as a valid security token, enabling seamless SSO. This eliminates repeated authentication prompts by establishing a trust relationship between AD FS and the cloud IdP. It keeps credentials on-premises and supports hardware-backed keys (smart cards) and FIDO2 authentication.

Option A is wrong because deploying an HSM with AD FS improves key security but does not solve the repeated authentication chaining problem; the cloud IdP still needs to trust the token. Option B is wrong because caching tokens on a reverse proxy introduces security risks (e.g., token theft) and does not address the trust issue. Option C is wrong because conditional access policies based on device compliance do not prevent the authentication chaining; the cloud IdP will still require authentication from AD FS for non-compliant devices.

58
MCQmedium

A company uses an API gateway to manage their microservices. Which security control should the gateway enforce to prevent abuse from excessive API calls?

A.JWT verification
B.Input validation
C.Rate limiting
D.OAuth 2.0
AnswerC

Correct; rate limiting controls the volume of API calls.

Why this answer

Rate limiting restricts the number of requests a client can make in a given period, preventing abuse.

59
MCQeasy

Which of the following is a key principle of the zero trust security model?

A.Trust all internal traffic
B.Verify once, trust forever
C.Trust but verify
D.Never trust, always verify
AnswerD

The zero trust model enforces authentication and authorisation at every access request, regardless of network location, by requiring continuous verification of identity, device health, and session context before granting resource access. This satisfies the stem’s requirement for a foundational principle, as it directly opposes the traditional perimeter-based trust model. In Microsoft Entra ID, conditional access policies implement this by evaluating real-time signals for each request.

Why this answer

Zero trust operates on the principle of never trust, always verify, requiring continuous authentication and authorization for every access request, regardless of location.

60
MCQmedium

A financial institution is adopting a new vendor-managed SaaS platform for customer data processing. The CISO wants to ensure the vendor's security controls meet regulatory requirements before data is transferred. Which of the following should be completed FIRST?

A.Execute a penetration test on the SaaS platform.
B.Implement data loss prevention controls.
C.Conduct a vulnerability assessment of the vendor's network.
D.Perform a third-party risk assessment.
AnswerD

Third-party risk assessment evaluates the vendor's security controls and compliance before data transfer.

Why this answer

Before transferring sensitive customer data to a new vendor-managed SaaS platform, the CISO must first perform a third-party risk assessment to evaluate the vendor's security posture against regulatory requirements (e.g., GDPR, PCI DSS). This assessment reviews the vendor's SOC 2 reports, ISO 27001 certification, and contractual security controls, ensuring compliance before any technical testing or data transfer occurs. Without this initial risk evaluation, subsequent technical controls like penetration tests or DLP may be premature or misaligned with regulatory obligations.

Exam trap

The trap here is that candidates often jump to technical testing (penetration test or vulnerability assessment) as the first step, overlooking that governance and compliance require a contractual and risk-based evaluation before any hands-on technical engagement is permitted.

How to eliminate wrong answers

Option A is wrong because executing a penetration test on the SaaS platform assumes the vendor has granted explicit authorization and a signed testing agreement, which cannot occur before a formal risk assessment establishes the legal and compliance framework. Option B is wrong because implementing data loss prevention controls on the institution's network is a reactive measure that does not address whether the vendor's own security controls meet regulatory requirements; DLP cannot compensate for a vendor's non-compliance. Option C is wrong because conducting a vulnerability assessment of the vendor's network requires prior contractual permission and scope definition, which are outcomes of a third-party risk assessment; without that, the assessment may violate the vendor's terms of service or data protection laws.

61
Multi-Selecthard

A security analyst is reviewing a malware sample in a sandbox environment. The analyst notes that the malware attempts to check for the presence of a debugger and modifies its behavior if one is detected. Additionally, the malware uses encrypted strings and resolves API calls dynamically. Which THREE analysis techniques would be most effective for understanding this malware's capabilities? (Select THREE.)

Select 3 answers
A.Static analysis using a disassembler like IDA Pro to examine the code for anti-debugging and obfuscation techniques
B.Network analysis using Wireshark to capture packets from the sandbox
C.Hash analysis by submitting the malware to VirusTotal
D.Dynamic analysis in a sandbox to observe the malware's behavior after it detects a debugger
E.Memory analysis using Volatility on the sandbox host to capture the malware's process memory
AnswersA, D, E

Static analysis is essential for understanding the code structure and identifying anti-debugging routines.

Why this answer

Static analysis can reveal encrypted strings and dynamic API resolution. Dynamic analysis in a sandbox shows runtime behavior. Debugging or reverse engineering (e.g., using a disassembler) helps understand anti-debugging tricks.

Memory analysis (e.g., with Volatility) can capture the malware in action.

62
Multi-Selectmedium

A company is implementing continuous compliance monitoring for PCI DSS. Which TWO activities are most appropriate for this approach? (Select TWO.)

Select 2 answers
A.Manual review of access logs every month
B.Automated daily file integrity monitoring on critical systems
C.Annual on-site audit by a Qualified Security Assessor (QSA)
D.Automated quarterly vulnerability scanning of the cardholder data environment
E.Real-time monitoring of firewall and intrusion detection system logs
AnswersB, E

Daily automated checks are continuous.

Why this answer

Continuous compliance monitoring involves automated, ongoing checks that run frequently or in real-time. Automated daily file integrity monitoring (B) detects unauthorized changes to critical systems on a continuous basis, while real-time monitoring of firewall and intrusion detection system logs (E) provides immediate alerting of security events. In contrast, quarterly vulnerability scanning (D) is periodic, not continuous, and annual audits or manual monthly reviews (A, C) are point-in-time assessments that do not meet the continuous monitoring requirement.

63
MCQmedium

An organization is concerned about side-channel attacks on its embedded devices. Which of the following is the MOST effective countermeasure against power analysis attacks?

A.Encrypting all data in memory
B.Disabling debug interfaces
C.Increasing the clock speed of the processor
D.Using a constant-time algorithm for cryptographic operations
AnswerD

Constant-time algorithms reduce correlation between data and power consumption.

Why this answer

Power analysis attacks exploit variations in power consumption during cryptographic operations. Constant-time algorithms ensure that execution time and power consumption are independent of secret data, making them the most effective software countermeasure against such attacks. While hardware countermeasures like power randomizers exist, among the given options, constant-time algorithms directly address the root cause of power analysis leakage.

64
MCQeasy

Which of the following risk treatment options involves transferring the financial impact of a risk to a third party, such as through insurance?

A.Avoid
B.Accept
C.Transfer
D.Mitigate
AnswerC

Correct. Risk transfer passes the risk to a third party, e.g., via insurance.

Why this answer

Risk transfer shifts the financial burden to another party, e.g., purchasing cyber insurance.

65
MCQmedium

A security architect is designing a web application that handles sensitive user data. To protect against cross-site scripting (XSS) attacks, which of the following should be implemented?

A.Implement Content Security Policy (CSP)
B.Use HTTPS for all communications
C.Implement input validation and output encoding
D.Deploy a Web Application Firewall (WAF)
AnswerC

Why this answer

Input validation and output encoding are the primary defenses against XSS because they prevent malicious scripts from being interpreted by the browser. Input validation rejects or sanitizes dangerous characters (e.g., <, >, &) at the point of entry, while output encoding (e.g., HTML entity encoding) ensures that any user-supplied data rendered in the page is treated as text, not executable code. This directly addresses the root cause of XSS—untrusted data being injected into the DOM.

Exam trap

The CAS-004 exam often tests the distinction between preventive controls (input validation/output encoding) and compensating controls (CSP, WAF, HTTPS), leading candidates to choose CSP or WAF because they are security-specific technologies, even though they do not eliminate the injection vulnerability itself.

Why the other options are wrong

A

CSP is a defense-in-depth measure that can reduce the impact of XSS but does not prevent it entirely; proper input validation and output encoding are the primary controls.

B

HTTPS protects data in transit but does not prevent XSS attacks.

D

WAF can detect and block some XSS attempts but is not a primary prevention; it can be bypassed and should not replace secure coding.

66
MCQeasy

A security team is preparing for a penetration test. Which document defines the scope, rules, and restrictions for the test?

A.Rules of Engagement (RoE)
B.Memorandum of Understanding (MOU)
C.Statement of Work (SoW)
D.Service Level Agreement (SLA)
AnswerA

RoE defines the scope and rules for the penetration test.

Why this answer

The Rules of Engagement (RoE) is a formal document that outlines the scope, permissions, and constraints of a penetration test.

67
MCQhard

A security architect is evaluating hardware security modules (HSMs) for a new PKI deployment. The HSM must be compliant with FIPS 140-2 Level 3. Which of the following is a requirement for Level 3 that distinguishes it from Level 2?

A.Identity-based authentication for operators
B.Cryptographic boundary includes all critical components
C.Environmental failure protections
D.Physical security mechanisms that provide tamper evidence
AnswerA

Level 3 requires identity-based authentication, whereas Level 2 only requires role-based authentication.

Why this answer

FIPS 140-2 Level 3 requires tamper-evident enclosures with active tamper response mechanisms (e.g., erasing keys) and identity-based authentication. Level 2 requires tamper-evident coatings or seals but not active response. Level 4 is more stringent.

68
Multi-Selectmedium

A security team is deploying deception technology to detect lateral movement within the network. They plan to use honeypots configured to mimic critical servers. Which TWO of the following are essential considerations for the honeypot deployment to be effective? (Choose TWO.)

Select 2 answers
A.Configure the honeypots with the same patch level as production systems
B.Use realistic network services and data to attract attackers
C.Isolate the honeypots from production systems to prevent pivoting
D.Ensure the honeypots are in the same broadcast domain as production servers
E.Disable logging on honeypots to avoid detection by attackers
AnswersB, C

Realistic honeypots are more likely to be interacted with.

Why this answer

Honeypots should be properly isolated to prevent them from being used as a pivot point, and they should be designed to appear realistic to attract attackers. Placing them in the same broadcast domain is not necessary and could increase risk.

69
MCQmedium

An organization is planning to adopt quantum-resistant cryptography. According to NIST PQC standards, which algorithm is recommended for digital signatures?

A.Falcon
B.CRYSTALS-Kyber
C.CRYSTALS-Dilithium
D.RSA-4096
AnswerC

Dilithium is a NIST-standardized post-quantum digital signature algorithm.

Why this answer

CRYSTALS-Dilithium is one of the NIST-selected post-quantum digital signature algorithms, providing security against quantum attacks.

70
MCQhard

A large enterprise has deployed a security information and event management (SIEM) system that ingests logs from all critical servers, network devices, and endpoints. The SIEM is configured to correlate events and generate alerts for suspicious activities. Recently, the SOC team has been overwhelmed by a high volume of false positive alerts, particularly from the web server farm. The false positives are mainly triggered by legitimate web crawling and scanning activities from partners and internal tools. The SOC manager wants to reduce false positives without missing real threats. As the security architect, you are asked to recommend a solution. Which of the following is the BEST course of action?

A.Increase the event threshold for web server alerts to reduce sensitivity.
B.Disable logging of successful requests on the web servers to reduce log volume.
C.Tune the SIEM to use more aggressive deduplication and aggregation globally.
D.Create allowlists for known legitimate sources (e.g., partner IP ranges, internal scanners) in the SIEM correlation rules.
AnswerD

Directly reduces false positives while maintaining detection for unknown sources.

Why this answer

Creating allowlists for known legitimate sources (e.g., partner IP ranges, internal scanners) in the SIEM correlation rules directly addresses the root cause: false positives from trusted entities. This approach preserves detection sensitivity for unknown or malicious sources while suppressing alerts from pre-vetted IPs, reducing alert fatigue without compromising security coverage.

Exam trap

The trap here is that candidates confuse reducing log volume (Option B) with reducing false positives, or assume that global tuning (Options A and C) is safer than targeted allowlisting, when in fact allowlisting preserves detection fidelity for unknown threats.

How to eliminate wrong answers

Option A is wrong because increasing the event threshold globally would desensitize the SIEM to all web server alerts, potentially missing low-and-slow attacks or novel threats that fall below the new threshold. Option B is wrong because disabling logging of successful requests eliminates valuable forensic data needed for incident investigation and compliance, and does not reduce false positives from scanning activities that may generate 404s or other non-success codes. Option C is wrong because aggressive deduplication and aggregation globally could merge distinct malicious events into a single alert, obscuring attack patterns and causing loss of contextual detail across all log sources, not just web servers.

71
MCQhard

A security engineer is configuring IPsec VPN between two sites. The requirement is to encrypt the entire IP packet, including the original IP header. Which IPsec mode and protocol should be used?

A.Transport mode with AH
B.Tunnel mode with AH
C.Transport mode with ESP
D.Tunnel mode with ESP
AnswerD

Tunnel mode with ESP encrypts the entire original packet, including headers.

Why this answer

Tunnel mode with ESP encrypts the entire original IP packet and adds a new IP header, which is required for gateway-to-gateway VPNs. ESP provides encryption and optional authentication.

72
MCQhard

A security engineer is deploying a Cloud Access Security Broker (CASB) to protect a SaaS application. Which deployment mode allows the CASB to inspect encrypted traffic without requiring client software?

A.API mode
B.Inline proxy
C.Forward proxy
D.Reverse proxy
AnswerA

API mode works directly with the cloud provider's APIs, no client software needed.

Why this answer

API mode uses the SaaS provider's APIs to access data and logs, enabling inspection without proxying traffic or installing agents. It can analyze encrypted data via API calls.

73
MCQmedium

During a penetration test, the tester has obtained a foothold on an internal server. The tester wants to identify other systems on the network and find potential targets for lateral movement. Which type of reconnaissance is MOST appropriate in this scenario?

A.Internal network scanning with Nmap
B.OSINT gathering via Shodan
C.Social engineering attacks on employees
D.Passive sniffing with Wireshark
AnswerA

Nmap can scan internal IP ranges to discover live hosts and services.

Why this answer

Active reconnaissance on internal networks (e.g., port scanning, OS fingerprinting) is appropriate after gaining a foothold, as it provides detailed information about adjacent systems. Passive reconnaissance (like sniffing) might be stealthier but active scanning is more effective for mapping.

74
Multi-Selecthard

A container orchestration platform uses secrets management. Which two methods are recommended for injecting secrets into containers? (Choose two.)

Select 2 answers
A.Store secrets in environment variables in the container image.
B.Hardcode secrets in the application source code.
C.Use Kubernetes Secrets mounted as files.
D.Pass secrets via command-line arguments in the Dockerfile.
E.Use a volume mount from a secret store like HashiCorp Vault.
AnswersC, E

Mounted secrets are stored in tmpfs and not written to disk.

Why this answer

Kubernetes Secrets can be mounted as files into a container's filesystem, allowing applications to read sensitive data (e.g., passwords, tokens) from a file path rather than exposing them in environment variables or image layers. This approach keeps secrets out of the container image and reduces the risk of accidental exposure through logs or process listings.

Exam trap

A common misconception is that environment variables are safe for injecting secrets into containers, but they are visible in container metadata, logs, and debugging tools, making them insecure compared to file-based mounts or external secret stores.

75
MCQhard

A security engineer is tasked with designing a cryptographic solution to protect data at rest in a multi-tenant cloud storage system. Each tenant's data must be encrypted with a unique key, and the system must support key rotation with minimal performance impact. Which of the following is the BEST approach?

A.Generate a unique key per tenant and encrypt each key with a master key, then store both in the same database column.
B.Implement envelope encryption: generate a unique data encryption key (DEK) per tenant, encrypt each DEK with a key encryption key (KEK) stored in an HSM, and store the wrapped DEK alongside the data.
C.Use a single master key for all tenants and store the key in a hardware security module (HSM) with access controls.
D.Implement a periodic key rotation schedule that rotates all tenant keys every month manually.
AnswerB

Envelope encryption allows per-tenant isolation, easy key rotation (by rewrapping DEKs with new KEKs), and minimal performance impact since data is not re-encrypted on rotation.

Why this answer

Envelope encryption with a unique data encryption key (DEK) per tenant allows independent key rotation and minimizes performance impact by only requiring re-wrapping of the DEK with a new key encryption key (KEK) stored in an HSM. Option A is wrong because storing both the tenant key and the master key in the same database column exposes the master key if the database is compromised. Option C is wrong because a single master key for all tenants violates isolation; if compromised, all tenant data is at risk.

Option D is wrong because manual monthly rotation of all keys is not scalable and does not provide per-tenant isolation.

Page 1 of 13

Page 2