Courseiva

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

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

Page 7

Page 8 of 13

Page 9
526
MCQeasy

Which of the following is the primary advantage of using STIX and TAXII for threat intelligence sharing?

A.They replace the need for a SIEM system
B.They perform dynamic analysis of malware samples
C.They provide real-time blocking of malicious IPs
D.They allow automated sharing of threat intelligence in a standardized format
AnswerD

Standardization and automation are key benefits.

Why this answer

STIX (Structured Threat Information Expression) and TAXII (Trusted Automated Exchange of Intelligence Information) provide a standardized framework for representing and exchanging threat intelligence, enabling interoperability between different tools and organizations.

527
Multi-Selectmedium

A security architect is designing a just-in-time (JIT) privileged access management (PAM) solution. Which TWO of the following are key characteristics of JIT access?

Select 2 answers
A.Privileges are permanent but require approval each time.
B.Access rights are automatically revoked after use or expiry.
C.Break-glass accounts are used for emergency access.
D.Privileges are granted on-demand for a limited time period.
E.Users have standing privileges for routine tasks.
AnswersB, D

Automatic revocation ensures that privileges are not left open.

Why this answer

JIT access provisioning grants temporary privileges that are automatically revoked after a set time or after use. This reduces the attack surface. Standing privileges are the opposite.

Approval workflows are not necessarily part of JIT; JIT can be automatic. Break-glass accounts are for emergency access, which is a separate concept.

528
MCQhard

An organization is migrating to a zero-trust architecture. Which of the following components is CRITICAL for enforcing policy decisions based on user identity, device health, and context?

A.Intrusion prevention system (IPS)
B.Web application firewall (WAF)
C.Policy enforcement point (PEP)
D.Network access control (NAC)
AnswerC

PEP is the decision point that enforces access policies based on identity and context.

Why this answer

In a zero-trust architecture, the Policy Enforcement Point (PEP) is the critical component that enforces access decisions by mediating all traffic between users and resources. It evaluates policies based on user identity, device health, and contextual attributes (e.g., location, time) before allowing or denying access, aligning with the NIST SP 800-207 zero-trust framework.

Exam trap

The trap here is that candidates often confuse Network Access Control (NAC) with zero-trust policy enforcement, but NAC only controls initial network admission, whereas a PEP enforces continuous, context-aware decisions per session or request.

How to eliminate wrong answers

Option A is wrong because an Intrusion Prevention System (IPS) is a network security tool that monitors and blocks malicious traffic based on signatures or anomalies, but it does not enforce granular policy decisions based on user identity, device health, or context. Option B is wrong because a Web Application Firewall (WAF) protects web applications from attacks like SQL injection and XSS by filtering HTTP traffic, but it lacks the capability to evaluate user identity or device health for access control. Option D is wrong because Network Access Control (NAC) primarily controls device access to the network at the port level (e.g., 802.1X), but it does not enforce per-request policy decisions based on user identity and context in a zero-trust model; it is more focused on pre-admission authentication.

529
MCQhard

A technology company suspects an insider threat is exfiltrating intellectual property. The security team has deployed user and entity behavior analytics (UEBA) and set up data loss prevention (DLP) rules. A UEBA alert flags a senior developer who is accessing the source code repository at 2 AM from a VPN connection that routes through a foreign country. The developer also recently downloaded a large quantity of source code—more than 10 times the normal volume. DLP policies are configured to block emails with attachments over 10 MB. Which of the following should the incident response team do FIRST?

A.Implement stricter DLP policies to block large downloads from the repository.
B.Conduct an informal interview with the developer to ask about the unusual activity.
C.Isolate the developer's workstation and revoke access to the source code repository immediately.
D.Review DLP logs to confirm that no emails containing source code were sent.
AnswerC

Containment is critical given the high risk of active exfiltration.

Why this answer

The correct first step because the UEBA alert combined with anomalous behavior (access at 2 AM via foreign VPN, excessive download volume) strongly suggests malicious activity. Immediate isolation of the developer's workstation and revocation of repository access prevents further exfiltration and preserves evidence. Options A, B, and D are incorrect as they either focus on secondary controls, risk alerting the suspect, or delay containment.

Exam trap

The trap is choosing to interview the user first (Option B) or relying solely on DLP (Option D). Interviewing could alert the insider and lead to data destruction, while DLP only covers email, not other exfiltration vectors.

530
Multi-Selectmedium

A security architect is designing a data lifecycle management program. Which TWO of the following are phases of the data lifecycle? (Select TWO.)

Select 2 answers
A.Data replication
B.Data anonymization
C.Data creation
D.Data destruction
E.Data monetization
AnswersC, D

The initial phase where data is generated.

Why this answer

The data lifecycle typically includes creation, storage, use, sharing, archiving, and destruction. Creation and destruction are standard phases.

531
Multi-Selecthard

Which THREE of the following are key components of a zero-trust security architecture? (Select THREE).

Select 3 answers
A.VPN concentrator
B.Micro-segmentation
C.Implicit trust for internal network traffic
D.Least privilege access control
E.Continuous monitoring of user and device behavior
AnswersB, D, E

Micro-segmentation divides the network into isolated zones to contain threats.

Why this answer

Micro-segmentation is a core component of zero-trust architecture because it divides the network into isolated zones, each requiring separate authentication and authorization for any cross-zone traffic. This enforces the 'never trust, always verify' principle by preventing lateral movement even if an attacker compromises a single segment, unlike traditional flat networks where internal traffic is implicitly trusted.

Exam trap

The trap here is that candidates confuse zero-trust with traditional perimeter-based security and select 'VPN concentrator' as a key component, not realizing that zero-trust replaces VPNs with identity-aware, per-application access (e.g., ZTNA) and that implicit trust for internal traffic is explicitly rejected in zero-trust models.

532
Multi-Selectmedium

Which TWO of the following are key components of a governance framework? (Select TWO)

Select 2 answers
A.Policies and procedures
B.Vulnerability scanning schedule
C.Firewall rules
D.Penetration test results
E.Defined roles and responsibilities
AnswersA, E

Core governance documents

Why this answer

Policies and procedures are foundational to a governance framework because they define the rules, standards, and operational guidelines that an organization must follow to ensure compliance, security, and risk management. They establish the 'what' and 'how' for decision-making and behavior, aligning with frameworks like ISO 27001 or NIST SP 800-53. Without documented policies and procedures, governance lacks enforceable structure and accountability.

Exam trap

CompTIA often tests the distinction between governance components (policies, roles) and operational or technical controls (schedules, rules, results), leading candidates to mistake tactical activities for strategic framework elements.

533
MCQmedium

An IAM policy is applied to an AWS user. Which of the following actions is permitted?

A.Delete objects in example-bucket
B.Put objects in secret-bucket
C.List objects in secret-bucket
D.List objects in example-bucket
AnswerD

The Allow statement grants s3:ListBucket on example-bucket.

Why this answer

The IAM policy explicitly allows 's3:ListBucket' on 'example-bucket', so listing objects in that bucket is permitted. The policy does not grant any actions on 'secret-bucket' or any write/delete permissions, so only Option D is allowed.

Exam trap

CompTIA CASP+ often tests the candidate's ability to read the exact resource ARN and action in the policy statement, trapping those who assume all buckets are accessible or that listing implies other permissions.

How to eliminate wrong answers

Option A is wrong because the policy does not include 's3:DeleteObject' permission on any bucket, so deleting objects is denied. Option B is wrong because the policy does not grant 's3:PutObject' on 'secret-bucket' (or any bucket), so putting objects is denied. Option C is wrong because the policy only allows 's3:ListBucket' on 'example-bucket', not on 'secret-bucket', so listing objects in 'secret-bucket' is denied.

534
MCQhard

Refer to the exhibit. The data classification policy defines levels and rules. During an audit, a database containing both PII and credit card numbers is found labeled as 'Internal'. Which of the following is the BEST first action?

A.Accept the risk as the data is not public
B.Remove the credit card numbers from the database
C.Create a new classification level for mixed data
D.Reclassify the database as 'Critical' to reflect the highest required level
AnswerD

Aligns with policy rule that PCI data must be Critical.

Why this answer

The database should be reclassified to 'Critical' because it contains PCI data, which requires the highest level. Creating a new level is unnecessary; accepting risk violates policy; removing data is not the first step.

535
MCQmedium

A network administrator is configuring a firewall to block traffic from a specific IP address range. The firewall uses ACLs. Which ACL entry would deny traffic from 192.168.1.0/24?

A.deny ip 192.168.1.0 0.0.0.255 any
B.deny ip 192.168.1.0 0.0.0.0 any
C.deny ip 192.168.1.0 0.0.0.127 any
D.deny ip 192.168.1.0 255.255.255.0 any
AnswerA

Wildcard 0.0.0.255 matches the entire /24 subnet.

Why this answer

In Cisco ACL syntax, the wildcard mask 0.0.0.255 matches all addresses in the 192.168.1.0/24 network. The 'deny ip 192.168.1.0 0.0.0.255 any' entry blocks any IP traffic from the source subnet 192.168.1.0 through 192.168.1.255 to any destination.

Exam trap

The trap here is that candidates often confuse subnet masks with wildcard masks, selecting option D (255.255.255.0) instead of the correct wildcard mask 0.0.0.255.

How to eliminate wrong answers

Option B is wrong because the wildcard mask 0.0.0.0 matches only the single host 192.168.1.0, not the entire /24 subnet. Option C is wrong because the wildcard mask 0.0.0.127 matches only the first 128 addresses (192.168.1.0–192.168.1.127), which is a /25 range, not the full /24. Option D is wrong because 255.255.255.0 is a subnet mask, not a wildcard mask; ACLs require inverse (wildcard) masks, so this entry would be syntactically invalid or misinterpreted.

536
MCQmedium

A security analyst is performing a quantitative risk assessment for a server that processes payment card data. The server has an asset value of $50,000. Based on historical data, the exposure factor (EF) for a ransomware attack is 80%, and the annualized rate of occurrence (ARO) is 0.5. What is the annualized loss expectancy (ALE)?

A.$20,000
B.$40,000
C.$50,000
D.$25,000
AnswerA

Correct calculation: SLE = AV × EF = $40,000, ALE = $40,000 × 0.5 = $20,000.

Why this answer

ALE = SLE × ARO, where SLE = AV × EF = $50,000 × 0.8 = $40,000, and ARO = 0.5, so ALE = $40,000 × 0.5 = $20,000.

537
MCQmedium

A security team is evaluating an EDR solution. Which of the following capabilities is a primary differentiator between EDR and traditional antivirus?

A.Centralized policy management
B.File integrity monitoring
C.Signature-based detection of known malware
D.Behavioral analysis and detection
AnswerD

Behavioral analysis is a key EDR capability, allowing detection of novel threats.

Why this answer

EDR focuses on continuous monitoring and recording of endpoint activities, enabling detection of suspicious behaviors that may indicate an attack, even if no known signature exists. Traditional antivirus relies on signature-based detection. Behavior-based detection is a core EDR capability.

538
MCQeasy

An organization wants to deploy a technology that lures attackers into a controlled environment to observe their tactics, techniques, and procedures (TTPs). Which deception technology should the organization implement?

A.Honeytoken
B.EDR
C.Honeypot
D.SIEM
AnswerC

Honeypots are decoy systems that mimic real assets to lure attackers.

Why this answer

A honeypot is a decoy system designed to attract attackers and gather intelligence.

539
MCQeasy

A developer is creating a REST API that handles sensitive data. Which HTTP method should be used for updates that are not idempotent?

A.DELETE
B.GET
C.PUT
D.POST
AnswerD

POST is non-idempotent and suitable for operations that create or update resources with potentially different results on each call.

Why this answer

POST is correct because it is not idempotent, meaning multiple identical requests can result in different outcomes (e.g., creating a new resource each time). For updates that are not idempotent, POST is the appropriate HTTP method as it allows side effects such as appending data or triggering a process, unlike PUT which is idempotent and replaces the entire resource.

Exam trap

The key pitfall is that many candidates mistakenly believe PUT can be used for any update operation. However, PUT is idempotent, meaning it must result in the same state regardless of how many times it is applied. For non-idempotent updates (e.g., appending data), POST is the appropriate method because it can create side effects that change state differently with each request.

How to eliminate wrong answers

Option A is wrong because DELETE is idempotent (RFC 7231) and is used to remove a resource, not for updates. Option B is wrong because GET is a safe and idempotent method used only for retrieval, never for updates. Option C is wrong because PUT is idempotent (the same request always produces the same result) and is designed for full resource replacement, not for non-idempotent updates.

540
MCQmedium

A company uses Kubernetes for container orchestration. Which security control should be implemented to enforce that only specific images from a trusted registry can run in the cluster?

A.Pod security admission (PSA)
B.Admission controller (e.g., OPA/Gatekeeper)
C.Network policies
D.RBAC roles
AnswerB

Correct – admission controllers can validate image registry.

Why this answer

Admission controllers can intercept requests to the Kubernetes API server and enforce policies, such as allowing only images from a specific registry.

541
MCQmedium

A security engineer is configuring SSH for a jump host used to access critical servers. The engineer wants to restrict the cryptographic algorithms to the most secure options. Which of the following should be DISABLED?

A.Diffie-Hellman group-exchange with SHA-1
B.AES-256-CTR
C.Ed25519 for host keys
D.HMAC-SHA2-256
AnswerA

SHA-1 is deprecated due to collision attacks.

Why this answer

Diffie-Hellman group-exchange with SHA-1 is weak and should be disabled in favor of stronger key exchange algorithms.

542
Matchingmedium

Match each encryption standard or algorithm to its type.

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

Concepts
Matches

Symmetric block cipher

Asymmetric public-key cryptosystem

Hash function (one-way)

Elliptic curve digital signature algorithm

Keyed-hash message authentication code

Why these pairings

The correct matches are AES with symmetric encryption, RSA with asymmetric encryption, and SHA-256 with hashing. Common confusions include mistaking AES for asymmetric or RSA for symmetric.

543
MCQhard

An organization's containerized application is deployed on Kubernetes. The security team wants to enforce that containers run with the least privilege and cannot access the host file system. Which Kubernetes security mechanism should be configured?

A.Secrets management with Vault
B.Role-based access control (RBAC) for service accounts
C.Network policies to restrict egress traffic
D.Pod Security Policy (PSP) with readOnlyRootFilesystem and runAsNonRoot
AnswerD

PSP enforces security contexts; readOnlyRootFilesystem prevents writes to host file system.

Why this answer

Pod Security Policy (PSP) is a Kubernetes admission controller that enforces security constraints on pods, such as preventing access to the host file system (via `readOnlyRootFilesystem`) and requiring containers to run as a non-root user (`runAsNonRoot`). This directly aligns with the least privilege principle and the requirement to block host file system access.

Exam trap

The trap here is that candidates confuse Kubernetes RBAC (which controls API access) with container-level security contexts (which control what the container process can do), leading them to select Option B instead of D.

How to eliminate wrong answers

Option A is wrong because Secrets management with Vault handles secure storage and rotation of sensitive data (e.g., API keys, passwords), but it does not enforce runtime container privileges or restrict host file system access. Option B is wrong because Role-based access control (RBAC) for service accounts governs authorization for Kubernetes API operations (e.g., creating pods, reading secrets), not the security context of the container processes themselves. Option C is wrong because Network policies to restrict egress traffic control pod-to-pod or pod-to-external network communication at Layer 3/4, but they have no effect on container file system permissions or user identity.

544
Multi-Selecteasy

A security team is implementing controls to meet PCI DSS requirements for cardholder data. Which THREE controls are required?

Select 3 answers
A.Encrypt cardholder data at rest
B.Implement multi-factor authentication for remote access
C.Regularly update antivirus software
D.Use unique IDs for each person with access
E.Perform quarterly vulnerability scans
AnswersA, B, D

Correct. PCI DSS Requirement 3.4 requires encryption of cardholder data at rest.

Why this answer

PCI DSS requires several controls, but the question asks for THREE. Options A, B, and D are mandatory controls per PCI DSS: encryption of cardholder data at rest (Requirement 3.4), multi-factor authentication for remote access (Requirement 8.3), and unique IDs for each person with access (Requirement 7.1). While antivirus (Requirement 5) and quarterly vulnerability scans (Requirement 11.2) are also required, they are part of broader operational requirements and not the focus of this specific selection.

Exam trap

A common point of confusion is the distinction between required controls (like encryption, MFA, and unique IDs) and recommended practices (like antivirus updates or vulnerability scans) that are part of broader requirements but not listed as standalone mandatory controls in the PCI DSS summary.

545
MCQmedium

A vulnerability scanner reports a critical vulnerability with a CVSS base score of 9.8 on a public-facing web server. However, the server has a compensating control: a Web Application Firewall (WAF) that blocks exploit attempts. How should the security team prioritize patching this vulnerability?

A.Schedule patching during the next maintenance window
B.Defer patching indefinitely since the WAF mitigates the risk
C.Immediately patch the vulnerability as soon as possible
D.Increase the WAF rule strictness and delay patching
AnswerC

Critical vulnerabilities require immediate patching despite compensating controls.

Why this answer

Compensating controls can reduce risk, but patching should still be prioritized for critical vulnerabilities even if compensating controls are in place, as controls can be bypassed.

546
Multi-Selecteasy

A security analyst is evaluating security metrics for the security program. Which TWO of the following are considered key performance indicators (KPIs) for measuring the effectiveness of a security program?

Select 2 answers
A.Employee satisfaction score
B.Number of critical vulnerabilities identified
C.Patch compliance percentage
D.Total budget spent on security
E.Mean time to respond (MTTR) to incidents
AnswersC, E

Indicates how well the organization maintains patching.

Why this answer

KPIs measure the effectiveness of security controls and processes. Mean time to respond (MTTR) measures incident response effectiveness. Patch compliance percentage measures the effectiveness of patch management.

Number of vulnerabilities is a KRI, not a KPI per se. Budget spent is a financial metric. Employee satisfaction is HR-related.

547
Multi-Selecthard

A company is developing a secure software development lifecycle (SDLC) and wants to integrate security testing early. Which THREE techniques should be used to find vulnerabilities in code during development? (Choose three.)

Select 3 answers
A.Penetration testing
B.Software Bill of Materials (SBOM) analysis
C.Threat modeling
D.Dynamic Application Security Testing (DAST)
E.Static Application Security Testing (SAST)
AnswersC, D, E

Threat modeling identifies potential threats during design.

Why this answer

Threat modeling identifies design issues, SAST finds vulnerabilities in source code, and DAST finds vulnerabilities in running applications.

548
MCQeasy

Which of the following is the primary benefit of using infrastructure as code (IaC) for automating security configurations?

A.It eliminates the need for security testing
B.It ensures consistent and repeatable security configurations
C.It allows unapproved changes to be deployed faster
D.It increases manual oversight of security settings
AnswerB

Why this answer

Infrastructure as code (IaC) enables security configurations to be defined in declarative or procedural scripts (e.g., Terraform, AWS CloudFormation, Ansible). This ensures that every deployment applies the exact same security settings (e.g., firewall rules, IAM policies, encryption at rest) without drift, making configurations consistent and repeatable across environments. The primary benefit is eliminating manual, error-prone processes that lead to configuration inconsistencies.

Exam trap

The trap here is that candidates may think IaC eliminates the need for security testing (Option A) because automation implies perfection, but in reality, IaC code itself must be tested for security flaws, just like application code.

Why the other options are wrong

A

IaC does not eliminate testing; it automates deployment.

C

Unapproved changes are a risk, not a benefit.

D

IaC reduces manual oversight.

549
MCQmedium

A threat hunter is looking for signs of a ransomware attack that encrypts files and drops a ransom note. The hunter decides to search for processes that have modified many files in a short period. Which threat hunting methodology is being used?

A.TTP-driven hunting
B.Hypothesis-driven hunting
C.Machine learning-driven hunting
D.IoC-driven hunting
AnswerB

The hunter forms a hypothesis about ransomware behavior and searches for it.

Why this answer

Hypothesis-driven hunting starts with a hypothesis about a threat and then searches for evidence. The hunter is hypothesizing about ransomware behavior.

550
Matchingmedium

Match each security tool to its purpose.

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

Concepts
Matches

Protects web applications from attacks

Detects intrusions and alerts

Detects and blocks intrusions in real-time

Host-based intrusion detection system

Network-based intrusion detection system

Why these pairings

Correct matches: SIEM provides centralized log analysis, IDS monitors for malicious activity, and firewalls enforce traffic rules. Common confusions include mixing SIEM and firewall functions.

551
MCQmedium

A penetration tester is performing a test against a web application. During active reconnaissance, the tester discovers that the application discloses version numbers in HTTP headers. Which phase of the penetration testing lifecycle does this activity belong to?

A.Reconnaissance
B.Post-exploitation
C.Exploitation
D.Reporting
AnswerA

Active reconnaissance is part of the reconnaissance phase, where the tester gathers information directly from the target.

Why this answer

Active reconnaissance involves directly interacting with the target to gather information, such as by sending probes and analyzing responses. Discovering version numbers via HTTP headers is a form of active reconnaissance because the tester is making requests and inferring information from the responses.

552
Multi-Selecteasy

An organization is developing a security policy hierarchy. Which TWO of the following correctly represent the typical order from highest to lowest level in a policy framework? (Select TWO.)

Select 2 answers
A.Policy, Standard, Guideline, Procedure
B.Policy, Procedure, Guideline, Standard
C.Guideline, Policy, Standard, Procedure
D.Standard, Policy, Procedure, Guideline
E.Policy is the highest level document
AnswersA, E

This is the correct hierarchy from highest to lowest.

Why this answer

The policy hierarchy typically is: Policy (high-level requirements), Standard (mandatory rules), Guideline (recommended practices), Procedure (step-by-step instructions). The correct order is Policy then Procedure is not correct; Policy, Standard, Guideline, Procedure is the full order.

553
MCQeasy

Which of the following is the correct order of the security policy hierarchy from highest to lowest?

A.Policy → Standard → Guideline → Procedure
B.Standard → Policy → Guideline → Procedure
C.Policy → Guideline → Standard → Procedure
D.Procedure → Guideline → Standard → Policy
AnswerA

Correct: Policy sets the direction, Standard defines mandatory requirements, Guideline offers recommendations, Procedure details steps.

Why this answer

The typical hierarchy is Policy (high-level), Standard (mandatory controls), Guideline (recommended), Procedure (step-by-step).

554
Multi-Selectmedium

A security engineer is evaluating a new Hardware Security Module (HSM) for a financial application that requires FIPS 140-2 Level 3 compliance. Which TWO features are required for Level 3 validation? (Select TWO.)

Select 2 answers
A.Encryption of all data at rest
B.Tamper-evident coatings or seals on the HSM
C.Role-based access control
D.Identity-based authentication for operators
E.Environmental failure protection
AnswersB, D

Level 3 requires physical security mechanisms that show evidence of tampering.

Why this answer

FIPS 140-2 Level 3 requires tamper-evident coatings or seals and identity-based authentication (e.g., passwords, biometrics). Level 2 requires tamper-evident coatings but not identity-based. Level 4 requires tamper detection and zeroization.

555
MCQmedium

A company processes personal data of EU citizens and wants to implement privacy by design. Which of the following is the BEST first step in this process?

A.Appointing a Data Protection Officer (DPO)
B.Implementing data encryption at rest and in transit
C.Developing a data retention policy
D.Conducting a Privacy Impact Assessment (PIA)
AnswerD

A PIA is a foundational step that identifies privacy risks and informs design decisions.

Why this answer

Privacy by design requires embedding privacy into the design of systems and processes from the outset. Conducting a Privacy Impact Assessment (PIA) early helps identify and mitigate privacy risks before implementation.

556
Multi-Selecthard

A security architect is planning the migration of a legacy application to a containerized microservices architecture on Kubernetes. The architect must ensure that the architecture supports secrets management, service-to-service authentication, and encryption of data in transit between microservices. Which THREE components should the architect include in the design? (Choose three.)

Select 3 answers
A.Deploy a TLS termination gateway (e.g., NGINX ingress) with certificate management.
B.Use Kubernetes Secrets mounted as volumes with integration to an external vault.
C.Apply Kubernetes network policies to restrict pod-to-pod communication.
D.Implement a service mesh such as Istio to handle mTLS between pods.
E.Configure RPM package signing for all container images.
AnswersA, B, D

Terminates external TLS and can re-encrypt internally; manages certificates for external-facing services.

Why this answer

A TLS termination gateway (e.g., NGINX ingress) with certificate management provides encryption of data in transit between external clients and the Kubernetes cluster, fulfilling the requirement for encryption of data in transit at the edge. It terminates TLS at the ingress point, allowing secure HTTPS connections and centralized certificate lifecycle management.

Exam trap

The CAS-004 exam often tests the distinction between network segmentation (network policies) and cryptographic controls (mTLS, TLS), leading candidates to mistakenly choose network policies as a solution for encryption or authentication.

557
MCQmedium

A security analyst is reviewing a suspicious email reported by a user. The email contains an attachment named 'invoice.pdf.exe'. Which type of malware analysis technique should the analyst perform first to determine if the file is malicious?

A.Reverse engineering
B.Static analysis
C.Dynamic analysis in a sandbox
D.Memory forensics
AnswerB

Static analysis is quick and safe to identify malicious characteristics without execution.

Why this answer

Static analysis (e.g., checking file extensions, strings, and hashes) is non-executing and safe to perform first to gather initial indicators.

558
MCQmedium

A security engineer needs to implement a solution that will detect and block command-and-control (C2) traffic from malware on the internal network. The solution must be able to inspect encrypted traffic and operate at the network layer. Which of the following is the BEST choice?

A.Implement a web application firewall (WAF) to filter outbound HTTP/HTTPS traffic.
B.Install a network-based intrusion detection/prevention system (IDS/IPS) with signature updates.
C.Use endpoint detection and response (EDR) agents on all workstations and servers.
D.Deploy a next-generation firewall (NGFW) with SSL/TLS inspection and application-level filtering.
AnswerD

NGFW can decrypt SSL/TLS traffic and inspect it for C2 patterns, then block malicious flows.

Why this answer

A next-generation firewall (NGFW) with SSL/TLS inspection and application-level filtering is the best choice because it can decrypt and inspect encrypted C2 traffic at the network layer, then apply application-aware rules to block malicious communications. This directly addresses the requirement to detect and block C2 traffic that uses encryption to evade traditional inspection.

Exam trap

The trap here is that candidates often choose a network-based IDS/IPS (Option B) thinking it can inspect encrypted traffic, but without SSL/TLS decryption, it can only see encrypted payloads and cannot detect C2 commands hidden inside the encrypted tunnel.

How to eliminate wrong answers

Option A is wrong because a web application firewall (WAF) is designed to protect web servers from application-layer attacks (e.g., SQL injection, XSS) and typically filters inbound HTTP/HTTPS traffic, not outbound C2 traffic from internal malware. Option B is wrong because a network-based IDS/IPS with signature updates can detect known C2 patterns but cannot inspect encrypted traffic without decryption, so it would miss C2 traffic tunneled over TLS/SSL. Option C is wrong because endpoint detection and response (EDR) agents operate at the host/endpoint layer, not the network layer, and the question specifically requires a solution that operates at the network layer.

559
Multi-Selecthard

A security engineer is reviewing the results of a penetration test. The tester successfully exploited a vulnerability in a web application and escalated privileges to domain admin. Which THREE of the following findings should be included in the technical report to provide actionable remediation steps? (Select THREE.)

Select 3 answers
A.The estimated financial loss from the exploit
B.The recommendation to patch the web application
C.The exact command used to exploit the vulnerability
D.The name and contact of the penetration tester
E.The step-by-step path from initial access to domain admin
AnswersB, C, E

Actionable remediation is required in the technical findings.

Why this answer

The technical report should include specific recommendations (patch, input validation), evidence (command used), and impact (privilege escalation path). The business impact belongs in the executive summary.

560
MCQeasy

A security architect is designing a secure enclave for a high-value application. Which of the following is the BEST approach to isolate the application from the rest of the network?

A.Deploy the application in a DMZ behind a stateful firewall with least-privilege rules.
B.Install an intrusion detection system (IDS) on the application subnet.
C.Configure a jump box with two-factor authentication to access the application.
D.Place the application on a separate VLAN with an ACL.
AnswerA

A DMZ enclave with a stateful firewall ensures strict network isolation and policy enforcement, which is the best practice for high-value applications.

Why this answer

A DMZ behind a stateful firewall with least-privilege rules provides network-level isolation by placing the application in a separate security zone that restricts inbound and outbound traffic to only necessary ports and protocols. The stateful firewall tracks connection states, preventing unauthorized traffic from reaching the enclave while allowing legitimate responses. This approach directly addresses the requirement to isolate the application from the rest of the network, as the DMZ acts as a buffer between the internal network and the application.

Exam trap

The trap here is that candidates often confuse network isolation with access control or monitoring, picking a VLAN/ACL (Option D) because it provides segmentation, but failing to recognize that a stateful firewall with DMZ architecture is the only option that enforces bidirectional traffic filtering and stateful inspection, which is essential for a secure enclave.

How to eliminate wrong answers

Option B is wrong because an intrusion detection system (IDS) is a monitoring tool that detects malicious activity but does not provide isolation; it cannot block traffic or separate the application from the network. Option C is wrong because a jump box with two-factor authentication controls administrative access but does not isolate the application from network traffic; it only secures management channels, not data-plane isolation. Option D is wrong because a separate VLAN with an ACL provides logical segmentation but lacks the stateful inspection and zone-based security of a firewall, making it insufficient for a high-value enclave that requires strict traffic filtering and connection tracking.

561
MCQmedium

A security architect is designing a data classification scheme. Which of the following is the MOST effective way to ensure consistent labeling across the organization?

A.Implementing DLP solutions.
B.Manual labeling by data owners.
C.User training and awareness.
D.Automated classification based on data content.
AnswerD

Automated tools using content analysis ensure consistent and accurate labeling without human error.

Why this answer

Automated classification based on data content is the most effective method for ensuring consistent labeling across an organization because it removes human error and subjectivity. By using content inspection, pattern matching, and metadata analysis, the system can apply labels uniformly based on predefined rules, such as detecting credit card numbers (PCI-DSS) or personally identifiable information (PII). This approach enforces policy without relying on individual user judgment, which is critical for large-scale compliance.

Exam trap

The trap in this CASP+ question is that candidates may think DLP solutions are responsible for classification, but DLP typically enforces policies based on existing labels rather than creating the classification scheme. Automated classification is the most reliable method for consistent labeling.

How to eliminate wrong answers

Option A is wrong because DLP solutions are designed to monitor and prevent data exfiltration, not to assign classification labels; they can use labels but do not create them. Option B is wrong because manual labeling by data owners is inconsistent, error-prone, and scales poorly, as different owners may interpret classification criteria differently. Option C is wrong because user training and awareness, while important, cannot guarantee consistent labeling due to human error, fatigue, and varying interpretations of policy.

562
Multi-Selecteasy

Which TWO of the following are key components of a successful incident response plan according to NIST SP 800-61?

Select 2 answers
A.Vulnerability scanning
B.Preparation
C.Patch management
D.User training
E.Detection and Analysis
AnswersB, E

Preparation is a foundational phase of the incident response lifecycle.

Why this answer

NIST SP 800-61 defines the incident response lifecycle as having four phases: Preparation, Detection and Analysis, Containment/Eradication/Recovery, and Post-Incident Activity. Preparation (Option B) is the foundational phase that ensures the organization has the tools, policies, and trained personnel ready before an incident occurs. Detection and Analysis (Option E) is the second phase, focusing on identifying and validating security incidents through monitoring, alerting, and forensic analysis.

Exam trap

The CAS-004 exam often tests the distinction between activities that are part of the incident response lifecycle phases versus supporting security processes, leading candidates to mistakenly select vulnerability scanning or patch management as core components when they are actually separate operational tasks.

563
MCQhard

Based on the exhibit, which security issue does this IAM policy represent?

A.No versioning configured
B.Overly permissive resource access
C.Missing server-side encryption
D.Insufficient logging and monitoring
AnswerB

Allowing all principals (*) to get any object in the bucket is a significant security risk.

Why this answer

The IAM policy in the exhibit uses a wildcard (`*`) in the `Resource` element, granting access to all resources within the account. This violates the principle of least privilege by allowing overly permissive resource access, which could lead to unauthorized data exposure or modification. The correct answer is B because the policy does not restrict actions to specific resources, making it a classic example of excessive permissions.

Exam trap

CompTIA often tests the distinction between IAM policy syntax errors and security misconfigurations, and the trap here is that candidates may confuse a missing `Version` field (which is optional in most cases) with a security issue, when the real problem is the wildcard resource.

How to eliminate wrong answers

Option A is wrong because versioning is an S3 bucket-level setting, not an IAM policy attribute; IAM policies do not have a versioning configuration, and the absence of a policy version ID does not represent a security issue. Option C is wrong because server-side encryption is a data-at-rest protection mechanism configured on storage services like S3 or EBS, not something enforced or missing in an IAM policy. Option D is wrong because insufficient logging and monitoring relates to services like CloudTrail or CloudWatch, not to the permissions defined in an IAM policy document.

564
MCQhard

An organization is implementing a privacy by design approach for a new customer-facing application. Which of the following actions best exemplifies this principle?

A.Adding a privacy notice to the application post-launch
B.Conducting a privacy impact assessment after the application is deployed
C.Minimizing data collection to only what is necessary for the application's function
D.Encrypting data at rest and in transit
AnswerC

Correct. Data minimization is a core privacy by design principle.

Why this answer

Privacy by design means embedding privacy into the design and architecture of systems, not as an afterthought. Data minimization (collecting only what is necessary) is a key principle.

565
MCQeasy

Which of the following is the PRIMARY purpose of a business impact analysis (BIA)?

A.Identify vulnerabilities and threats
B.Identify critical business processes and their impact if disrupted
C.Determine recovery time objectives (RTOs)
D.Develop continuity strategies
AnswerB

Core purpose of BIA

Why this answer

The primary purpose of a business impact analysis (BIA) is to identify critical business processes and quantify the operational and financial impact if they were disrupted. This foundational step determines which systems and functions are essential to the organization's survival, directly informing the selection of recovery strategies and objectives. Without a BIA, continuity planning lacks a data-driven basis for prioritizing resources.

Exam trap

The trap here is that candidates confuse the BIA's role as a data-gathering and analysis phase with the subsequent planning outputs (RTOs, strategies), leading them to select a downstream deliverable instead of the primary purpose.

How to eliminate wrong answers

Option A is wrong because identifying vulnerabilities and threats is the primary purpose of a risk assessment, not a BIA; a BIA focuses on impact to business processes, not the specific threats that could cause disruption. Option C is wrong because determining recovery time objectives (RTOs) is an output derived from the BIA's impact analysis, not the primary purpose itself; the BIA provides the data (e.g., maximum tolerable downtime) that allows RTOs to be set. Option D is wrong because developing continuity strategies is a subsequent phase that uses the BIA's findings (critical processes and impact tolerances) to design recovery plans, not the BIA's core goal.

566
MCQhard

An organization has implemented a risk treatment plan that includes purchasing cyber insurance for potential data breach costs. Which risk treatment option does this represent?

A.Risk mitigation
B.Risk avoidance
C.Risk acceptance
D.Risk transfer
AnswerD

Insurance transfers the financial impact to a third party.

Why this answer

Cyber insurance transfers the financial risk to an insurance company, which is risk transfer.

567
Multi-Selectmedium

A security architect is implementing a zero trust architecture for a corporate network. Which TWO principles are fundamental to the zero trust approach? (Choose two.)

Select 2 answers
A.Grant access based on network location
B.Assume implicit trust for internal users
C.Use a single perimeter firewall
D.Verify every access request regardless of source
E.Implement least privilege access
AnswersD, E

All access must be authenticated and authorized.

Why this answer

Zero Trust requires verifying every request and limiting access to only what is needed, regardless of user location or network.

568
MCQmedium

An organization is implementing a risk management framework and wants to align with a standard that emphasizes a continuous, iterative process for identifying, assessing, and responding to risk. Which framework is most appropriate?

A.FAIR
B.ISO 27005
C.COBIT
D.NIST RMF
AnswerD

Correct. NIST RMF defines a continuous, iterative process for risk management.

Why this answer

The NIST Risk Management Framework (RMF) describes a continuous process that includes steps like categorize, select, implement, assess, authorize, and monitor.

569
MCQmedium

A vulnerability management team is prioritizing patches for a set of critical vulnerabilities. Vulnerability A has a CVSS base score of 9.8, vulnerability B has a CVSS base score of 7.5, and vulnerability C has a CVSS base score of 8.2. However, vulnerability B is actively being exploited in the wild, while the others are not. Which vulnerability should be patched first according to best practices?

A.All three should be patched simultaneously
B.Vulnerability B because it is actively exploited
C.Vulnerability C because it has a higher base score than B
D.Vulnerability A because it has the highest base score
AnswerB

Active exploitation increases the vulnerability's temporal score and priority.

Why this answer

While CVSS base score is important, temporal factors like active exploitation increase risk. Vulnerability B, despite a lower base score, is being exploited and thus poses a more immediate threat. Patching should prioritize actively exploited vulnerabilities.

570
MCQhard

An analyst is examining a memory dump with Volatility and finds a suspicious process that has no parent process (parent PID 0). Which technique is the malware likely using to hide?

A.Rootkit
B.DLL injection
C.Process hollowing
D.WMI persistence
AnswerC

Process hollowing can result in a process with no parent.

Why this answer

Process hollowing replaces the memory of a legitimate process with malicious code. The parent PID 0 indicates that the process was spawned by the kernel, which can occur after hollowing.

571
MCQhard

A DevOps team is implementing a CI/CD pipeline for a Java application. They want to ensure that all dependencies are scanned for known vulnerabilities before deployment. Which type of tool should they integrate into the pipeline?

A.Static Application Security Testing (SAST)
B.Dynamic Application Security Testing (DAST)
C.Software Composition Analysis (SCA)
D.Interactive Application Security Testing (IAST)
AnswerC

Why this answer

Software Composition Analysis (SCA) is the correct tool because it specifically analyzes open-source and third-party libraries (dependencies) for known vulnerabilities by cross-referencing them against databases like the National Vulnerability Database (NVD). In a CI/CD pipeline for a Java application, SCA tools (e.g., OWASP Dependency-Check, Snyk) scan build artifacts such as pom.xml or build.gradle to identify vulnerable components before deployment.

Exam trap

The CAS-004 exam often tests the distinction between SAST (source code analysis) and SCA (dependency analysis), so the trap here is that candidates mistakenly choose SAST because they think 'static' covers all pre-deployment scanning, but SAST does not analyze third-party libraries.

Why the other options are wrong

A

SAST analyzes source code for security flaws, not third-party libraries.

B

DAST tests running applications for vulnerabilities, not dependencies.

D

IAST combines SAST and DAST but still focuses on custom code, not dependencies.

572
Multi-Selecthard

A security analyst is reviewing cryptographic implementations for a new application. The application needs to support digital signatures that are quantum-resistant and provide high performance. Which TWO algorithms should the analyst consider? (Select TWO.)

Select 2 answers
A.Ed25519
B.XMSS (eXtended Merkle Signature Scheme)
C.ECDSA P-384
D.BLAKE3
E.CRYSTALS-Dilithium
AnswersB, E

XMSS is a hash-based signature scheme that is quantum-resistant.

Why this answer

Ed25519 is a high-performance signature algorithm based on Curve25519, but it is not quantum-resistant. BLAKE3 is a hash function, not a signature. ECDSA P-384 is also not quantum-resistant.

Currently, NIST is standardizing post-quantum algorithms like CRYSTALS-Dilithium and XMSS (hash-based). CRYSTALS-Dilithium is a lattice-based signature scheme, and XMSS is a hash-based signature scheme that is quantum-resistant. Both are suitable for high performance in software.

573
MCQhard

During a security review, you find that a web application uses a Content Security Policy (CSP) header with the value: 'default-src 'self'; script-src 'self' 'unsafe-inline' https://cdn.example.com;'. Which attack is the application still vulnerable to?

A.Cross-site request forgery (CSRF)
B.Cross-site scripting (XSS) via inline script injection
C.SQL injection
D.Man-in-the-middle (MITM) attack due to CDN inclusion
AnswerB

Why this answer

The CSP includes 'unsafe-inline' in the script-src directive, which explicitly allows inline scripts. This bypasses the primary protection CSP offers against XSS, as an attacker can inject malicious JavaScript directly into the HTML (e.g., via a <script> tag or event handler) without violating the policy. The 'self' source only restricts external scripts to the same origin, but inline scripts remain permitted, leaving the application vulnerable to stored, reflected, or DOM-based XSS attacks.

Exam trap

The CAS-004 exam often tests the misconception that CSP alone prevents all XSS, but the trap here is that 'unsafe-inline' explicitly disables CSP's inline script protection, making XSS via script injection still possible despite the policy.

Why the other options are wrong

A

CSP does not directly prevent CSRF; CSRF is mitigated by anti-CSRF tokens.

C

CSP is a browser-side security mechanism and does not prevent server-side SQL injection.

D

The CDN is over HTTPS, so MITM is not the primary vulnerability; 'unsafe-inline' is the issue.

574
MCQhard

A security team is hardening a Kubernetes cluster. Which control should be implemented to restrict a container's system calls to only those required by the application?

A.Seccomp
B.AppArmor
C.Network policies
D.Pod security policies
AnswerA

Seccomp restricts system calls for containers.

Why this answer

seccomp (secure computing mode) filters system calls a process can make, reducing the kernel attack surface. It is a Linux kernel feature commonly used in container security.

575
MCQeasy

A web application generates an Ansible playbook from user input as shown. What is the primary security risk?

A.The application is vulnerable to SQL injection.
B.The user input could be crafted to execute arbitrary Ansible modules.
C.The application is vulnerable to LDAP injection.
D.The playbook may fail to run if input contains special characters.
AnswerB

YAML injection can lead to arbitrary module execution, compromising hosts.

Why this answer

The application directly incorporates user input into an Ansible playbook without sanitization or validation. An attacker can inject arbitrary YAML or Ansible module directives (e.g., `shell`, `command`, `raw`) to execute unauthorized commands on managed hosts. This is a classic injection vulnerability specific to automation frameworks, not a generic injection type.

Exam trap

CompTIA CASP+ often tests the distinction between generic injection types (SQL, LDAP) and technology-specific injection (Ansible modules, PowerShell, Terraform HCL), so candidates mistakenly choose a familiar injection type instead of recognizing the automation framework context.

How to eliminate wrong answers

Option A is wrong because SQL injection requires the input to be embedded in a SQL query string, but the context shows YAML/Ansible playbook generation, not database interaction. Option C is wrong because LDAP injection targets LDAP query syntax (e.g., filters like `(&(uid=*)(userPassword=*))`), which is irrelevant to Ansible playbook generation. Option D is wrong because while special characters might cause syntax errors, the primary security risk is arbitrary code execution via module injection, not mere playbook failure.

576
MCQeasy

Which of the following is a key benefit of using an Extended Detection and Response (XDR) solution over traditional Endpoint Detection and Response (EDR)?

A.XDR only works with a single vendor's products
B.XDR eliminates the need for SIEM and SOAR systems
C.XDR only focuses on network traffic analysis
D.XDR provides centralized visibility across multiple security layers including endpoints, network, and cloud
AnswerD

XDR integrates data from various sources for holistic detection and response.

Why this answer

XDR extends detection beyond endpoints to include network, email, cloud, and other data sources, providing broader visibility and correlation across the entire environment.

577
Drag & Dropmedium

Drag and drop the steps to configure a RADIUS server for 802.1X authentication into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

RADIUS setup: install NPS, register in AD, add RADIUS client, configure connection policy, then network policy.

578
MCQeasy

In the shared responsibility model for cloud security, which of the following is typically the responsibility of the customer?

A.Data classification and encryption
B.Physical security of data centers
C.Network infrastructure security
D.Hypervisor security
AnswerA

Customers are responsible for classifying and encrypting their own data.

Why this answer

The customer is responsible for securing their data, applications, and access management, while the provider secures the infrastructure.

579
Multi-Selecthard

A DevSecOps team is integrating security into the CI/CD pipeline. Which THREE practices should be included to ensure supply chain security?

Select 3 answers
A.Network segmentation
B.Dependency analysis
C.Container image scanning
D.Runtime application self-protection
E.Software Bill of Materials (SBOM)
AnswersB, C, E

Scans dependencies for known vulnerabilities.

Why this answer

SBOMs provide transparency of components, dependency scanning reveals known vulnerabilities, and image scanning ensures container images are free of malware. Together they strengthen supply chain security.

580
MCQhard

An organization's business continuity plan (BCP) includes a recovery time objective (RTO) of 4 hours for its critical ERP system. During a disaster, the system is restored in 5 hours. Which of the following is the MOST significant impact?

A.Unacceptable business downtime and potential contractual penalties
B.Need to reroute network traffic to the DR site
C.Higher cost for cyber insurance premiums
D.Increased recovery point objective (RPO) for the last backup
AnswerA

Missing RTO leads to unacceptable downtime and penalties.

Why this answer

The RTO of 4 hours defines the maximum acceptable downtime for the ERP system. Restoring it in 5 hours exceeds this threshold, resulting in unacceptable business downtime. This can trigger contractual penalties if service-level agreements (SLAs) specify a 4-hour RTO, as the organization failed to meet its recovery commitment.

Exam trap

CompTIA often tests the distinction between RTO and RPO, where candidates confuse exceeding the RTO with affecting the RPO, but the trap here is that the most significant impact is the business downtime and contractual penalties, not the technical recovery steps or insurance costs.

How to eliminate wrong answers

Option B is wrong because rerouting network traffic to the DR site is a standard operational step during disaster recovery and does not represent the most significant impact; it is a procedural action, not a consequence of missing the RTO. Option C is wrong because cyber insurance premiums are influenced by overall risk posture and claims history, not by a single RTO miss; the direct impact is operational and contractual, not an immediate premium increase. Option D is wrong because the recovery point objective (RPO) is a separate metric defining acceptable data loss (e.g., time between backups), and exceeding the RTO does not inherently change the RPO; the RPO remains defined by the backup schedule, not the restoration time.

581
Multi-Selectmedium

A security architect is designing a cloud security strategy for a healthcare organization that uses a hybrid cloud environment with AWS and Azure. The organization must comply with HIPAA and needs to protect sensitive patient data. Which THREE cloud security controls should be prioritized? (Choose THREE.)

Select 3 answers
A.Virtual Private Cloud (VPC)
B.Cloud Workload Protection Platform (CWPP)
C.Cloud Access Security Broker (CASB)
D.Identity and Access Management (IAM)
E.Cloud Security Posture Management (CSPM)
AnswersB, C, E

CWPP secures workloads running in hybrid cloud, including vulnerability management and runtime protection.

Why this answer

Cloud Access Security Broker (CASB) provides visibility and data protection across cloud services, CSPM identifies misconfigurations that could lead to breaches, and Cloud Workload Protection Platform (CWPP) secures workloads in public clouds. IAM and VPC are important but are more basic controls; they are not the primary focus for this scenario.

582
MCQhard

Match each automation security concept (left) with its corresponding best practice (right).

Immutable infrastructure.Never modify a running instance; redeploy instead
Infrastructure as Code.Store all configuration files in version control
Secret management.Use a dedicated vault service to store credentials
CI/CD pipeline security scanning.Scan container images for vulnerabilities before deployment

Why this answer

All four pairs are correct. Immutable infrastructure ensures that instances are never modified after deployment; Infrastructure as Code mandates version control for all configuration files; Secret management relies on a dedicated vault for credentials; CI/CD pipeline security scanning involves scanning container images before deployment.

Exam trap

Candidates might confuse 'immutable infrastructure' with 'infrastructure as code'.

583
Multi-Selecteasy

A security architect is reviewing firewall rules for a new application tier. Which TWO of the following principles should be applied when designing the firewall policy? (Choose two.)

Select 2 answers
A.Log all denied traffic
B.Use static IP addresses for all servers
C.Implement stateful packet inspection
D.Default allow all traffic
E.Allow only necessary ports and protocols
AnswersC, E

Stateful inspection allows rules based on connection state, improving security.

Why this answer

Allowing only necessary ports and protocols (E) implements least privilege, and implementing stateful packet inspection (C) enables intelligent traffic filtering. Default allow (D) is insecure, static IPs (B) are not a design principle, and logging (A) is operational, not a design principle.

584
MCQhard

A company is preparing for post-quantum cryptography migration. According to NIST PQC standards, which algorithm is a candidate for key encapsulation?

A.CRYSTALS-Dilithium
B.SPHINCS+
C.Falcon
D.CRYSTALS-Kyber
AnswerD

Kyber is the NIST standard for key encapsulation.

Why this answer

CRYSTALS-Kyber is a NIST-selected algorithm for key encapsulation, designed to resist quantum attacks. It is used for establishing symmetric keys.

585
MCQeasy

Which of the following is the primary purpose of a honeypot in a security operations environment?

A.To encrypt sensitive data at rest
B.To replace the need for traditional firewalls
C.To block malicious traffic at the network perimeter
D.To provide early detection of unauthorized activity
AnswerD

Honeypots detect attackers by luring them.

Why this answer

Honeypots are decoy systems designed to attract attackers, allowing security teams to observe their tactics, techniques, and procedures without risking real assets.

586
MCQmedium

A security analyst receives an alert from the SIEM indicating multiple failed logon attempts from an external IP address followed by a successful logon for a domain admin account. Which phase of the incident response lifecycle is the analyst currently in?

A.Lessons learned
B.Containment
C.Detection
D.Preparation
AnswerC

The alert is part of the detection phase where potential incidents are identified.

Why this answer

The detection phase involves identifying potential incidents through alerts and analysis. The analyst has received an alert and is likely investigating, which is part of detection.

587
MCQeasy

A security analyst is reviewing a Kubernetes cluster's security configuration. Which component should be used to ensure that only authorized pods can communicate with each other?

A.Pod Security Policies (PSP)
B.Seccomp profiles
C.Network Policies
D.RBAC roles
AnswerC

Network policies define how groups of pods can communicate with each other and other network endpoints.

Why this answer

Kubernetes Network Policies allow you to define ingress and egress rules for pods, controlling traffic at the IP address or port level, which is essential for micro-segmentation.

588
MCQhard

A company must protect cryptographic keys used to sign financial transactions. The solution must be FIPS 140-2 Level 3 compliant and provide tamper-resistant hardware. Which technology should be deployed?

A.Software-based key management system
B.Hardware security module
C.Cloud KMS
D.TPM
AnswerB

HSMs are tamper-resistant hardware meeting FIPS 140-2 Level 3.

Why this answer

HSMs (Hardware Security Modules) provide tamper-resistant, FIPS 140-2 Level 3+ certified hardware for key generation, storage, and signing operations.

589
Multi-Selectmedium

A security architect is evaluating an API security strategy for a SaaS application that supports OAuth 2.0. Which TWO controls should the architect recommend to protect against token interception and replay attacks?

Select 2 answers
A.Using long-lived access tokens to reduce authentication frequency
B.Enforcing short-lived access tokens with refresh token rotation
C.Encrypting JWT payloads with a symmetric key
D.Implementing token binding to bind tokens to a specific client session
E.Implementing rate limiting on the token endpoint
AnswersB, D

Short-lived tokens limit the time window for misuse, and rotating refresh tokens adds security.

Why this answer

Using short-lived access tokens reduces the window of opportunity for replay attacks. Token binding (proof-of-possession) ties the token to the client, making interception less useful. Rate limiting mitigates brute force but not token interception.

Long-lived tokens increase risk. JWT encryption protects content but not replay.

590
MCQeasy

During a security incident, a forensic investigator needs to capture the contents of volatile memory on a compromised server. Which of the following tools should the investigator use?

A.dd
B.Wireshark
C.FTK Imager (with memory capture)
D.Nmap
AnswerC

FTK Imager can capture an image of physical memory (RAM) for analysis.

Why this answer

FTK Imager with memory capture is the correct tool because it is specifically designed to acquire a bit-for-bit copy of volatile memory (RAM) from a live system while preserving forensic integrity. Unlike disk imaging tools, FTK Imager can capture the contents of physical memory, including running processes, network connections, and encryption keys, which are critical for incident response. This tool also generates a hash of the captured memory to ensure data integrity during analysis.

Exam trap

CompTIA often tests the misconception that dd can be used for memory capture because it is a common Linux imaging tool, but dd is designed for block-level disk copying and cannot reliably access volatile memory without specialized drivers or kernel patches.

How to eliminate wrong answers

Option A is wrong because dd is a disk imaging tool that copies block devices (e.g., hard drives) and cannot directly capture volatile memory; it lacks the ability to access the /dev/mem or /dev/kmem interfaces on modern systems without additional kernel modules, and it does not handle memory-specific structures like page tables. Option B is wrong because Wireshark is a network packet analyzer used for capturing and inspecting network traffic, not for acquiring volatile memory; it operates at Layer 2-7 of the OSI model and cannot access system RAM. Option D is wrong because Nmap is a network scanning tool used for port discovery and service enumeration; it has no capability to interact with system memory or perform forensic acquisition.

591
MCQmedium

Refer to the exhibit. A security analyst notices that traffic from external clients to the web server at 10.0.0.10 port 80 is being blocked. Which of the following is the MOST likely cause?

A.The ACL lacks a log statement
B.The ACL is misordered (deny before permit)
C.The web server is using port 443
D.The destination IP is incorrect
AnswerB

The deny all rule (line 1) blocks all traffic before the permit rule is evaluated.

Why this answer

The ACL is misordered because Cisco ACLs process rules sequentially from top to bottom, and a 'deny any' statement placed before a 'permit' statement will block all traffic, including the desired web traffic to 10.0.0.10 port 80. Since the exhibit shows a deny statement preceding the permit, the permit is never evaluated, causing the block.

Exam trap

The trap here is that candidates focus on the ACL content (deny vs permit) rather than the order of entries, assuming that a permit statement anywhere in the ACL will allow traffic, when in fact the first matching rule determines the action.

How to eliminate wrong answers

Option A is wrong because the absence of a log statement does not cause traffic to be blocked; logging only records matches and does not affect the permit/deny action. Option C is wrong because the question specifies traffic to port 80, and even if the web server also uses port 443, the ACL is explicitly blocking port 80 traffic due to the misordered deny rule, not because of port mismatch. Option D is wrong because the destination IP 10.0.0.10 is correct for the web server; the issue is the ACL order, not an incorrect IP address.

592
MCQhard

A security engineer is reviewing a TLS 1.3 configuration. Which of the following is a key feature of TLS 1.3 that improves security compared to earlier versions?

A.Mandatory forward secrecy using ephemeral Diffie-Hellman
B.Support for RC4 cipher suite
C.Support for static RSA key exchange
D.Ability to downgrade to TLS 1.2
AnswerA

TLS 1.3 requires ephemeral key exchange, ensuring forward secrecy.

Why this answer

TLS 1.3 removes support for insecure cipher suites like CBC mode and RC4, and only supports AEAD ciphers. It also provides forward secrecy by default.

593
Multi-Selecteasy

A company is implementing API security for its web services. Which THREE of the following are considered best practices for securing APIs? (Select THREE).

Select 3 answers
A.Rely solely on symmetric encryption for data at rest
B.Validate all input
C.Use WPA3 for transport encryption
D.Implement rate limiting
E.Use OAuth 2.0 for authorization
AnswersB, D, E

Input validation prevents injection and other attacks.

Why this answer

API security best practices include using OAuth 2.0 for authentication/authorization, implementing rate limiting to prevent abuse, and validating input to prevent injection attacks. WPA3 is for Wi-Fi; symmetric encryption alone is not a complete API security practice.

594
MCQmedium

During a digital forensics investigation, an analyst needs to acquire the contents of RAM from a compromised server. Which order of volatility should the analyst follow?

A.Capture the swap file first, then RAM
B.Capture network connections first, then RAM
C.Capture the hard drive image first, then RAM
D.Capture RAM first, then the hard drive
AnswerD

RAM is the most volatile and should be collected first.

Why this answer

The order of volatility dictates collecting the most volatile data first. RAM is highly volatile and should be captured before less volatile data like disks.

595
MCQhard

A company uses Terraform to deploy infrastructure on AWS. They have a compliance requirement that all containers running on Amazon ECS must have a read-only root filesystem and must not run as root. The security team needs an automated way to enforce this policy and provide an audit trail for any violations. Which solution best meets these requirements?

A.Review all container definitions manually during the change management process.
B.Add a Terraform policy that validates container definitions at deployment time.
C.Write a custom Python script that periodically scans running ECS tasks and reports violations.
D.Use Open Policy Agent (OPA) with Gatekeeper as an admission controller on Amazon EKS, and deploy EKS instead of ECS.
AnswerD

OPA/Gatekeeper enforces policies at runtime on Kubernetes, blocking non-compliant pods and providing audit logs. EKS replaced ECS to leverage this capability.

Why this answer

Open Policy Agent (OPA) with Gatekeeper is a Kubernetes admission controller that can enforce policies on pods at creation time, such as requiring read-only root filesystems and not running as root. However, the question specifies Amazon ECS, not EKS. Option D suggests migrating from ECS to EKS to leverage OPA/Gatekeeper, which meets the compliance requirement with automated enforcement and audit trail.

Option A (manual review) is not automated. Option B (Terraform policy) validates at deployment time but does not enforce runtime behavior or provide audit trail for violations. Option C (custom Python script) is reactive and does not prevent violations.

Therefore, D is the best solution despite the platform change.

596
MCQeasy

A development team wants to deploy a microservices application using containers. They need a solution to automate the deployment, scaling, and management of the containers across a cluster. Which technology is most suitable?

A.VMware vSphere with container support.
B.Jenkins with Docker plugins.
C.Docker Compose with manual scaling.
D.Kubernetes with Helm charts.
AnswerD

Kubernetes provides automated deployment, scaling, and management; Helm simplifies configuration.

Why this answer

Kubernetes is designed for orchestrating containerized applications at scale, providing automated deployment, scaling, and management across a cluster. Helm charts simplify package management on Kubernetes. Option A (VMware vSphere with container support) focuses on virtualized infrastructure management rather than container orchestration across a cluster.

Option B (Jenkins with Docker plugins) is a CI/CD tool, not an orchestrator. Option C (Docker Compose with manual scaling) is intended for single-host multi-container applications and does not automate scaling across a cluster.

597
MCQmedium

A PKI administrator is deploying certificates for code signing. Which certificate type should be used to ensure that the signed code can be verified by clients without requiring a full chain validation?

A.EV certificate
B.S/MIME certificate
C.Code signing certificate
D.DV certificate
AnswerC

Code signing certificates are specifically for signing code and are trusted by operating systems.

Why this answer

Code signing certificates are specifically designed for signing software; they are typically issued by a publicly trusted CA.

598
MCQeasy

A forensic analyst needs to collect volatile data from a live Windows system. In which order should the analyst collect the following data? (Order of volatility)

A.Disk image, memory dump, network connections, running processes
B.Memory dump, network connections, running processes, disk image
C.Network connections, running processes, memory dump, disk image
D.Running processes, memory dump, network connections, disk image
AnswerB

This follows the order of volatility from most to least volatile.

Why this answer

Memory is the most volatile and should be collected first, followed by network connections, then processes, and finally disk data. Option A is wrong because disk is less volatile. Option C is wrong because processes should be after memory.

Option D is wrong because network state is more volatile than disk.

599
MCQmedium

A PKI administrator is concerned about the risk of a compromised issuing CA. Which certificate transparency feature helps detect unauthorized certificate issuance?

A.Certificate Transparency logs
B.CRL distribution points
C.OCSP stapling
D.Key usage extensions
AnswerA

CT logs enable public auditing of certificate issuance.

Why this answer

Certificate Transparency (CT) requires all certificates to be publicly logged in CT logs. This allows domain owners and CAs to monitor for misissuance.

600
MCQeasy

A Windows administrator needs to automate the retrieval of failed login events from the Security log. Which scripting language is most native and efficient for this task?

A.Bash
B.Ruby
C.PowerShell
D.Python
AnswerC

PowerShell natively supports querying Windows Event Log.

Why this answer

PowerShell is the most native and efficient scripting language for automating the retrieval of failed login events from the Windows Security log because it provides direct access to the Windows Event Log via the Get-WinEvent cmdlet, which can filter for Event ID 4625 (failed logon) using XPath queries or FilterHashtable for optimal performance. It runs natively on Windows without additional dependencies and integrates seamlessly with the .NET framework and Windows Management Instrumentation (WMI), making it the default automation tool for Windows administrators.

Exam trap

The trap here is that candidates may assume Python or Bash are more 'universal' or efficient for scripting, but the CAS-004 exam emphasizes native integration and administrative efficiency within the specific OS context, and PowerShell's direct cmdlets for Windows Event Log management make it the clear choice over cross-platform languages that require additional libraries or translation layers.

How to eliminate wrong answers

Option A is wrong because Bash is a Unix/Linux shell scripting language that does not natively interface with the Windows Event Log; it would require third-party tools like PowerShell Core or WSL to access the Security log, making it inefficient and non-native. Option B is wrong because Ruby, while capable of interacting with Windows APIs via the win32ole gem, is not native to Windows and requires additional libraries and runtime setup, lacking the built-in cmdlets and tight integration that PowerShell offers for event log queries. Option D is wrong because Python, though cross-platform and able to use the pywin32 library to access the Windows Event Log, is not native to Windows and requires external modules and manual COM or WMI handling, whereas PowerShell provides direct, optimized cmdlets like Get-WinEvent without extra dependencies.

Page 7

Page 8 of 13

Page 9