All practice questions

2232 questions

Question 961Question

A security operations team identifies active network exfiltration originating from a compromised, ephemeral container running on a live enterprise Linux host. Enterprise auto-scaling rules are triggered, which will automatically terminate and delete the container instance within minutes. To preserve forensic evidence for legal proceedings while strictly adhering to the order of volatility, which of the following actions should the incident responder take FIRST?

Show answer & explanation

Answer: Acquire the live RAM dump of the host and container execution memory before shutting down or imaging persistent storage volumes.

Answer

Acquiring the live RAM dump of the host and container execution memory before shutting down or imaging persistent storage volumes.
The correct response recognizes that volatile memory (system RAM, process memory, kernel structures) must be captured first according to the standard forensic Order of Volatility (CPU registers/cache -> RAM -> Swap -> Disk -> Remote logs -> Archival media). Because the container instance is ephemeral and actively running, stopping or imaging storage first will irrevocably destroy critical runtime evidence held only in RAM.

Step-by-Step Solution

1
Assess the order of volatility for digital evidence.
Identify that volatile memory (RAM, CPU cache, active network connections) disappears immediately upon system state changes or host shutdown.
RAM is higher on the volatility hierarchy than persistent disk storage or archival backups.
2
Prioritize memory capture over persistent disk imaging.
Capture live host RAM and container execution state memory prior to taking storage snapshots or issuing process management commands.
Ephemeral containers lose all runtime memory and state artifacts permanently once terminated.
3
Calculate cryptographic hashes of acquired memory and storage artifacts.
Ensure integrity verification and chain of custody documentation for all collected forensic artifacts.
Maintaining verifiable cryptographic hashes guarantees evidence integrity in legal proceedings.

Key Concept

Order of Volatility in Digital Forensics
Question 962Question

A Security Operations Center (SOC) analyst is investigating an automated SIEM alert triggered during incident response telemetry collection. The analyst reviews the following correlated chronological log snippet collected from an internal host (`host-app01`), a perimeter Web Application Firewall (`WAF-EDGE01`), and a backend database server (`db-prod01`):

[2026-07-27T14:10:02Z] host-app01 sshd[14201]: Failed password for root from 10.0.4.88 port 49152 ssh2
[2026-07-27T14:10:04Z] host-app01 sshd[14205]: Accepted password for svc_deploy from 10.0.4.88 port 49154 ssh2
[2026-07-27T14:12:30Z] WAF-EDGE01 action="ALERT_ONLY" src="10.0.4.88" uri="/db_admin.php?user=admin' OR '1'='1" signature="SQLi_Generic_Clause"
[2026-07-27T14:13:01Z] db-prod01 mariadb[882]: [Access Granted] User 'svc_deploy'@'10.0.4.88' executed query: "SELECT * FROM customer_pii;"

Based on the log telemetry above, which of the following security findings and incident conclusions are correct? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: The threat actor gained access by authenticating with valid service account credentials following a failed attempt to log in as root.; The compromised account was used to execute direct queries retrieving sensitive customer personally identifiable information (PII) from the database daemon.

Answer

The correct findings are: (1) The threat actor gained access by authenticating with valid service account credentials following a failed root login attempt, and (2) The compromised account was used to execute direct queries retrieving sensitive customer PII from the database.
Correlating timestamps and IP address 10.0.4.88 across all three system logs demonstrates that an attacker attempted to log in as root, successfully authenticated as 'svc_deploy', launched SQL injection probes against the web application, and executed SQL queries extracting customer PII directly from the database.

Step-by-Step Solution

1
Analyze host authentication telemetry
Identified a failed root login attempt followed by a successful login for 'svc_deploy' from source IP 10.0.4.88.
Establishing initial access vector and credential usage from host log entries.
2
Analyze WAF security alert log
Identified a SQL injection payload (' OR '1'='1) originating from the same source IP 10.0.4.88.
Determining web-layer attack vectors and distinguishing SQL injection signatures from other web application attack types.
3
Correlate database audit log with host credentials
Confirmed that the compromised service account 'svc_deploy' issued queries exfiltrating customer PII data.
Mapping sequential actions across multiple log sources to establish impact and scope of compromise.

Key Concept

Cross-device log correlation and attack vector identification within SIEM analysis
Question 963Question

A security operations team is configuring an automated threat intelligence pipeline to enrich SIEM alerts and dynamically update perimeter firewall defense rules with real-time indicators of compromise and vulnerability data. Which of the following sources or protocols should the team integrate to achieve structured, machine-readable threat sharing and standardized vulnerability context? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: TAXII protocol feeds transmitting STIX-formatted threat intelligence data directly to security appliances.; National Vulnerability Database (NVD) CVE data feeds to provide standardized vulnerability scores and metadata.

Answer

The correct selections are the TAXII protocol feed delivering STIX-formatted threat intelligence and the National Vulnerability Database (NVD) CVE data feed.
Automated security operations require standardized, machine-readable data formats and protocols. TAXII specifically serves as the transport mechanism to push or pull STIX-formatted indicators directly to network security devices like firewalls and SIEMs without manual intervention. Additionally, NVD feeds supply structured CVE and CVSS data, enabling SIEM systems to automatically enrich security event logs with standardized vulnerability context.

Step-by-Step Solution

1
Identify the technical requirements from the scenario.
The scenario requires automated, machine-readable threat sharing for real-time firewall blocklists and SIEM alert enrichment.
Machine-to-machine automation requires standardized transport protocols and structured data formats.
2
Evaluate technical transport and format standards for machine ingestion.
TAXII (Trusted Automated eXchange of Intelligence Information) delivers STIX (Structured Threat Information eXpression) indicators automatically, meeting the requirement for dynamic perimeter blocklists.
STIX/TAXII is the industry standard for machine-readable threat intelligence sharing.
3
Evaluate vulnerability data sources for standardized alert context.
The National Vulnerability Database (NVD) supplies machine-readable Common Vulnerabilities and Exposures (CVE) data and CVSS scores.
NVD feed integration allows security controls to automatically correlate detected assets with standardized vulnerability severity levels.

Key Concept

Machine-readable threat intelligence feeds (STIX/TAXII) and vulnerability repositories (NVD/CVE) enable automated security operations and alert enrichment.
Question 964Question

During a security audit of an enterprise network management tool, an analyst reviews source code responsible for diagnostic ping tests. The function constructs shell commands using unvalidated user input:

c
char command[256];
sprintf(command, "ping -c 3 %s", user_input);
system(command);

An attacker submits the payload `127.0.0.1 && cat /etc/passwd` into the input field. Which of the following vulnerabilities is present in this application code, and what is the most effective remediation?

Show answer & explanation

Answer: Command injection vulnerability; remediate by using built-in network APIs or parameterizing input without passing raw strings to shell command execution functions.

Answer

Command injection vulnerability; remediate by using built-in network APIs or parameterizing input without passing raw strings to shell command execution functions.
The code constructs an operating system command string using unvalidated user input and passes it directly to the system shell interpreter. The injected metacharacters cause the shell to execute an arbitrary OS command following the ping command. Remediation requires eliminating raw shell calls by using native network APIs or strictly validating input using an allowlist.

Step-by-Step Solution

1
Analyze the source code snippet for dangerous function calls.
Identified system invocation taking a string constructed with sprintf containing raw user input.
Passing unsanitized user input directly into system shell calls enables command metacharacter injection.
2
Determine the vulnerability category.
The flaw is an OS Command Injection vulnerability.
The payload appends an arbitrary OS command after executing ping.
3
Select the appropriate primary remediation strategy.
Avoid invoking system shell interpreters or strictly validate and sanitize input against an allowlist.
Replacing system shell invocations with standard language network libraries eliminates the shell interpreter context entirely, preventing command execution.

Key Concept

OS Command Injection and Secure Input Handling
Question 965Question

A Security Operations Center (SOC) analyst is investigating a high-priority alert in a SIEM platform. The following log snippet was captured from a Linux server's authentication system:

Jul 27 14:02:11 host01 sshd[14201]: Failed password for invalid user admin from 198.51.100.45 port 49152 ssh2
Jul 27 14:02:13 host01 sshd[14205]: Failed password for invalid user root from 198.51.100.45 port 49154 ssh2
Jul 27 14:02:15 host01 sshd[14209]: Failed password for valid user jsmith from 198.51.100.45 port 49156 ssh2
Jul 27 14:02:18 host01 sshd[14212]: Accepted password for valid user jsmith from 198.51.100.45 port 49160 ssh2
Jul 27 14:02:22 host01 sudo: jsmith : TTY=pts/1 ; PWD=/home/jsmith ; USER=root ; COMMAND=/usr/bin/cat /etc/shadow

Based on the log sequence provided, which of the following best describes the nature of the security incident?

Show answer & explanation

Answer: An external entity performed a brute-force authentication attack, compromised a valid user account, and subsequently attempted privilege escalation to access system password hashes.

Answer

An external entity performed a brute-force authentication attack, compromised a valid user account, and subsequently attempted privilege escalation to access system password hashes.
The sequence of log entries shows sequential password attempt failures from a single external IP address within seconds, followed by a successful SSH authentication for user 'jsmith'. Immediately after authenticating, the compromised session issued a sudo command to inspect /etc/shadow, which stores encrypted system password hashes. Correlating these events proves a successful brute-force compromise followed by privileged file access.

Step-by-Step Solution

1
Analyze the initial authentication log entries
Multiple rapid SSH failure messages ('Failed password') are generated from IP address 198.51.100.45 targeting various account names ('admin', 'root', 'jsmith').
This behavior indicates automated password guessing or a brute-force authentication attack.
2
Analyze the successful authentication entry
At 14:02:18, an 'Accepted password' entry appears for user 'jsmith' from the exact same source IP (198.51.100.45).
This confirms that the brute-force attempt succeeded in compromising legitimate user credentials.
3
Analyze the post-authentication event log
Four seconds after login, the user executes 'sudo /usr/bin/cat /etc/shadow' as root.
Accessing /etc/shadow is an attempt to exfiltrate password hashes, representing immediate post-compromise privilege escalation and credential harvesting.

Key Concept

Correlating multi-stage authentication logs and privilege escalation indicators in SIEM analysis.
Estimated Time:1m 30s
Question 966Question

A security analyst is investigating internal credential harvesting alerts resulting from unauthorized network traffic interception. The investigation reveals that attackers on the local subnet are capturing user authentication hashes by spoofing responses to unresolvable broadcast requests for local network resources. Which of the following enterprise hardening practices should the security team implement to BEST mitigate this vulnerability?

Show answer & explanation

Answer: Disable Link-Local Multicast Name Resolution (LLMNR) and NetBIOS over TCP/IP (NBT-NS) across endpoints via Group Policy.

Answer

Disable Link-Local Multicast Name Resolution (LLMNR) and NetBIOS over TCP/IP (NBT-NS) across endpoints via Group Policy.
Disabling legacy name resolution protocols such as Link-Local Multicast Name Resolution (LLMNR) and NetBIOS over TCP/IP (NBT-NS) directly removes the endpoint's vulnerability to local name poisoning attacks. When endpoints fail to resolve hostnames via standard DNS, they fall back to broadcasting queries on the local subnet. Local attackers running tools like Responder can spoof responses to these queries and trick endpoints into authenticating against attacker-controlled systems, exposing user hashes. Disabling these protocols via central policy enforces endpoint hardening and eliminates the root vector.

Step-by-Step Solution

1
Analyze the attack vector described in the scenario
Identified that attackers are exploiting fallback local name resolution broadcast protocols (LLMNR/NBT-NS) to perform rogue response poisoning and hash harvesting.
When standard DNS resolution fails, client endpoints fall back to broadcasting queries over LLMNR and NBT-NS, allowing local attackers to spoof responses.
2
Evaluate effective host hardening mitigations
Determined that disabling LLMNR and NBT-NS centrally removes the fallback broadcast behavior entirely.
Host-level protocol disabling eliminates the attack surface without relying on network perimeter devices or reactive detection.

Key Concept

Disabling Legacy Fallback Protocols for Endpoint Hardening
Question 967Question

An enterprise security architecture team is designing an automated identity mechanism to allow microservices running on an Amazon Web Services (AWS) Kubernetes cluster to securely request data from resources hosted on Google Cloud Platform (GCP). The solution must eliminate static, long-lived service account access keys, provide automated credential rotation, and cryptographically establish workload identity trust across cloud providers. Which of the following Identity and Access Management (IAM) architectural solutions best meets these requirements?

Show answer & explanation

Answer: Configure Workload Identity Federation using OpenID Connect (OIDC) to exchange AWS-issued short-lived identity tokens for temporary GCP access tokens.

Answer

Configure Workload Identity Federation using OpenID Connect (OIDC) to exchange AWS-issued short-lived identity tokens for temporary GCP access tokens.
Workload Identity Federation allows external workloads (such as Kubernetes pods in AWS) to authenticate to cloud providers (such as GCP) by leveraging OpenID Connect (OIDC). The requesting workload presents a short-lived, signed JSON Web Token (JWT) issued by its native OIDC identity provider, which GCP validates against a configured trust relationship before issuing temporary GCP IAM credentials. This eliminates the necessity for static secret storage, key rotation management, and long-lived credential risks.

Step-by-Step Solution

1
Identify key architectural requirements from scenario
Requirements are: cross-cloud machine-to-machine authentication, elimination of static/long-lived access keys, automated rotation, and short-lived credential issuance.
Security architecture in multi-cloud environments must avoid static API keys due to risks of credential exposure and key management overhead.
2
Evaluate workload identity federation mechanisms
Workload Identity Federation utilizes standard OIDC/OAuth2 protocols to allow GCP to trust identity tokens signed by the AWS OIDC provider.
This establishes cryptographically verifiable trust and yields short-lived, temporary access tokens specifically bound to the requesting workload.
3
Eliminate non-viable and misaligned architectural approaches
IPsec VPNs only secure network transport and retain static keys; SAML SSO targets interactive user sessions; WAF injection misapplies inline application filtering to identity management.
Only federated OIDC token exchange fulfills both the Zero Trust identity paradigm and automated machine-to-machine access requirements.

Key Concept

Workload Identity Federation across Multi-Cloud Environments
Estimated Time:2m 0s
Question 968Question

A cloud-native software enterprise is implementing Zero Trust Architecture (ZTA) principles across its microservices platform to prevent lateral movement following a potential system compromise. Which of the following implementation strategies best adheres to Zero Trust principles for service-to-service communication within the internal cluster?

Show answer & explanation

Answer: Enforcing mutual TLS with explicit workload identity verification and continuous policy authorization for every request, regardless of network segment.

Answer

Enforcing mutual TLS with explicit workload identity verification and continuous policy authorization for every request, regardless of network segment.
Zero Trust Architecture operates on the principles of assuming breach, explicitly verifying every access request, and applying least privilege. Enforcing mutual TLS with cryptographically verifiable workload identities alongside per-request authorization ensures that internal communication is authenticated and authorized dynamically regardless of physical or logical network position.

Step-by-Step Solution

1
Analyze the core tenets of Zero Trust Architecture (ZTA).
ZTA establishes that no connection or request is inherently trusted based solely on its network location inside the perimeter.
Systems must assume breach and continuously evaluate access controls for every transaction.
2
Evaluate service-to-service communication requirements.
Each microservice interaction must authenticate identity (e.g., via mTLS x509 certificates) and evaluate dynamic authorization decisions (Policy Enforcement / Decision Points).
This prevents an attacker who compromises one service from freely moving laterally across internal microservices.

Key Concept

Zero Trust Architecture - Explicit Verification and Continuous Authentication
Estimated Time:1m 30s
Question 969Question

A security analyst is investigating a service disruption on a C-based legacy network daemon. Examination of the stack memory dump reveals that an incoming request sent a payload exceeding the allocated array bounds, overwriting the adjacent memory locations and altering the function return address to execute injected instructions. Which of the following application vulnerabilities is demonstrated in this scenario?

Show answer & explanation

Answer: Buffer overflow

Answer

The application suffers from a buffer overflow vulnerability.
The correct option correctly identifies a buffer overflow. When an application receives more input than its memory buffer is designed to hold without proper bounds checking, the extra data overflows into adjacent memory. In stack-based buffer overflows, this can overwrite execution control pointers such as the return address.

Step-by-Step Solution

1
Analyze the incident details provided in the crash memory dump.
Identified that input data exceeded the allocated buffer size.
Understanding where and how memory boundaries were violated establishes the attack vector.
2
Evaluate the effect of the memory overwrite.
Adjacent stack memory and the return address were overwritten to alter program execution flow.
Modifying return execution pointers via unvalidated memory writes is a classic indicator of a stack-based buffer overflow.
3
Map the observed behavior to software vulnerability taxonomy.
Confirmed the vulnerability is a buffer overflow.
Buffer overflow directly describes the condition where fixed-size memory boundaries are breached due to missing bounds checking.

Key Concept

Buffer Overflow
Question 970Question

A security audit of an organization's internal infrastructure reveals two major compliance failures: administrative credentials and configuration data are being transmitted in cleartext across management subnets, and active administrative sessions on management consoles remain authenticated indefinitely without user activity. Which of the following enterprise hardening practices should the security team implement to directly address these findings? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Disable unencrypted management protocols such as HTTP, Telnet, and SNMPv1/v2 in favor of encrypted alternatives like HTTPS and SSHv2.; Configure mandatory session timeouts and re-authentication requirements on all administrative web interfaces.

Answer

Disabling unencrypted management protocols in favor of SSHv2/HTTPS and enforcing mandatory session timeouts on administrative interfaces directly mitigate cleartext credential exposure and persistent unmonitored administrative sessions.
Disabling legacy cleartext protocols (HTTP, Telnet, SNMPv1/v2) and replacing them with encrypted protocols ensures confidentiality of credentials in transit. Implementing session timeouts ensures inactive administrative web sessions are closed, mitigating unauthorized access to unattended sessions.

Step-by-Step Solution

1
Identify the primary security vulnerabilities presented in the audit finding.
Vulnerability 1: Cleartext transmission of administrative credentials/data. Vulnerability 2: Indefinite persistent administrative sessions.
Hardening measures must target the specific technical weaknesses identified in the assessment.
2
Evaluate technical controls for cleartext management protocol exposure.
Replacing legacy protocols (HTTP, Telnet, SNMPv1/v2) with secure, encrypted management protocols (HTTPS, SSHv2, SNMPv3) prevents eavesdropping and credential harvesting.
Host and service hardening requires securing data in transit using cryptographic protocols.
3
Evaluate technical controls for indefinite administrative session duration.
Enforcing automated idle session timeouts forces session termination after inactivity.
Session management hardening reduces the window of opportunity for session hijacking and physical unauthorized console access.

Key Concept

Enterprise Hardening and Secure Service Management
Estimated Time:1m 30s
Question 971Question

A Security Operations Center (SOC) analyst detects anomalous outbound network traffic originating from an automated CI/CD build worker node. Telemetry confirms that a compromised runner script exfiltrated temporary cloud provider authentication tokens to an external command-and-control server and is currently reading production database credentials stored in secret memory. According to the NIST incident response lifecycle guidelines (SP 800-61), which of the following actions should the analyst execute FIRST?

Show answer & explanation

Answer: Revoke the exposed access token and isolate the affected CI/CD runner host from the network.

Answer

Revoke the exposed access token and isolate the affected CI/CD runner host from the network.
According to NIST SP 800-61 incident response guidelines, once an active incident is detected, the analyst's immediate priority is Containment. Revoking active compromised credentials and network-isolating the runner host prevents ongoing exfiltration and lateral movement.

Step-by-Step Solution

1
Identify the current phase of incident response
The incident has been detected and confirmed; the response enters the Containment, Eradication, and Recovery phase, specifically starting with Containment.
Immediate containment limits the scope of damage and prevents active exfiltration.
2
Determine the prioritized containment steps
Isolating the infected node and revoking compromised tokens stops network exfiltration and invalidates stolen credentials immediately.
Credentials and network access must be neutralized before persistent access can be established elsewhere.
3
Differentiate containment actions from eradication and post-incident actions
Re-imaging (eradication), patching (corrective control), and playbook updates (post-incident lessons learned) must occur only after containment is achieved.
Executing eradication or post-incident steps prematurely leaves active vectors uncontained.

Key Concept

Incident Response Lifecycle Phase Ordering and Containment Strategies
Question 972Question

An organization is updating its network architecture to securely integrate legacy point-of-sale (POS) terminals with a cloud-based inventory system while maintaining PCI DSS compliance. The legacy POS terminals run older operating systems that cannot support endpoint agent installations or host firewalls. Which of the following network segmentation controls should the security team implement to isolate these legacy devices and restrict unnecessary lateral traffic? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Place the legacy POS terminals on a dedicated VLAN with strict East-West access control lists (ACLs) to block terminal-to-terminal traffic.; Deploy an inline stateful firewall to enforce explicit North-South traffic controls between the POS segment and the cloud inventory system.

Answer

The security team should isolate the legacy terminals on a dedicated VLAN using East-West access control lists to prevent lateral spread, and implement an inline stateful firewall to enforce explicit North-South filtering for traffic bound for the cloud inventory system.
Isolating legacy systems on a dedicated VLAN with East-West ACL restrictions ensures that individual POS terminals cannot communicate laterally with one another if compromised. Concurrently, an inline stateful firewall enforcing North-South traffic rules restricts outbound traffic strictly to necessary cloud infrastructure connections.

Step-by-Step Solution

1
Analyze device limitations and isolation requirements.
Determined that unsupported legacy POS devices must be protected at the network layer because endpoint agents cannot be installed.
Network-level segmentation provides containment when host-level protection is unavailable.
2
Select appropriate inter-zone and intra-zone traffic controls.
Chose VLAN microsegmentation for East-West traffic control and stateful boundary firewalls for North-South egress control.
Combining East-West microsegmentation with North-South perimeter filtering ensures comprehensive isolation from both internal peer systems and external destinations.

Key Concept

Secure Network Design and Segmentation
Question 973Question

An incident response investigator is tasked with preserving forensic evidence from a live high-frequency trading server that was compromised during an active cyber intrusion. The server is currently powered on and running critical processes in memory. To ensure that digital evidence is collected without destroying highly transient artifact state in compliance with RFC 3227 guidelines, in what sequence should the investigator acquire the artifacts from most volatile to least volatile?

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct acquisition order from most volatile to least volatile is: CPU registers and cache → System RAM and active network state → Swap files and temporary file systems → Local NVMe drives and non-volatile disk volumes → Offsite archival tape backups.
Digital evidence collection must strictly follow RFC 3227 guidelines starting with the shortest lifespan items to prevent evidence destruction. CPU registers and caches alter state in nanoseconds and are lost first, followed by volatile system memory (RAM and active network caches), swap/page files on storage drives, non-volatile local disk storage, and finally offline archival backup tapes.

Step-by-Step Solution

1
Identify the most volatile hardware components.
CPU registers, L1/L2 caches, and pipeline states are identified as changing on a nanosecond scale.
According to RFC 3227, processor-level memory is lost almost instantaneously upon state change or interruption.
2
Locate volatile volatile system memory and transient OS tables.
System RAM, ARP cache, routing tables, and process memory are placed immediately after CPU cache.
Physical RAM and active network structures cleared upon power-down represent the primary target for live memory analysis.
3
Sequence secondary dynamic disk structures.
Pagefiles, swap space, and temporary file systems are placed after physical RAM.
Swap space resides on disk but changes rapidly during system execution, persisting longer than physical RAM but changing faster than static disk files.
4
Capture static non-volatile primary storage media.
Local NVMe storage volumes and bit-stream disk images are sequenced after temporary/swap storage.
Persistent local storage retains data across reboots and power outages.
5
Place long-term offline media at the end of the sequence.
Offsite archival tape backups and optical media are established as the least volatile evidence.
Offline backup media is immutable and disconnected from active host execution.

Key Concept

RFC 3227 Order of Volatility
Question 974Question

During operational security monitoring, a SOC analyst receives an automated alert indicating that an administrative workstation has established unauthorized command-and-control (C2) communications following the execution of a malicious macro from a spear-phishing email. According to standard incident response playbooks for initial containment and evidence preservation, which of the following immediate steps should the analyst perform? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Disconnect or isolate the affected workstation from the local network using host-level Endpoint Detection and Response (EDR) controls.; Capture volatile system memory (RAM) and current network state artifacts prior to powering down or rebooting the endpoint.

Answer

The analyst should isolate the host network access using EDR controls and capture volatile memory (RAM) before taking hardware offline.
Isolating the endpoint via EDR controls effectively stops lateral movement and active C2 communication while preserving the live machine state. Collecting volatile memory (RAM) ensures sensitive volatile evidence is captured prior to system modification or shutdown.

Step-by-Step Solution

1
Identify the primary objectives of the Containment phase in the Incident Response Lifecycle.
Containment limits the spread of the security breach while maintaining system state for evidence preservation.
Stopping lateral movement and C2 communications without destroying volatile evidence is required before eradication begins.
2
Evaluate containment actions against forensic preservation requirements (Order of Volatility).
Isolating the network interface stops C2 traffic; dumping RAM captures volatile artifacts before shutdown.
Powering off or re-imaging prematurely destroys transient memory evidence required to analyze the attack.

Key Concept

Incident Response Containment Phase and Forensic Order of Volatility
Question 975Question

An incident responder is dispatched to preserve evidence from a powered-on corporate database server involved in an ongoing security breach. To ensure evidence integrity and adhere to forensic best practices, which of the following actions should the responder take? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Dump volatile system memory (RAM) before shutting down or powering down the system.; Calculate cryptographic hashes of all acquired disk images immediately after creation and record them in the chain of custody log.

Answer

The incident responder must dump volatile system memory (RAM) before powering off the host, and calculate cryptographic hashes of all acquired images immediately after creation to record in the chain of custody log.
Capturing RAM first respects the order of volatility, ensuring transient data like active network connections and running memory artifacts are preserved. Calculating and logging cryptographic hashes immediately establishes baseline evidence integrity for legal chain of custody requirements.

Step-by-Step Solution

1
Prioritize evidence acquisition according to the Order of Volatility.
System RAM is dumped first because it loses state when power is lost or operating system processes overwrite memory.
Capturing volatile memory preserves running processes, network connections, and decrypted artifacts stored in RAM.
2
Establish proof of data integrity.
Cryptographic hashes (such as SHA-256) are calculated for the acquired images and documented in the chain of custody log.
Comparing hash values later proves that the forensic copy remains an exact, unaltered duplicate of the original evidence.

Key Concept

Digital Forensics Evidence Preservation and Chain of Custody Verification
Question 976Question

A Security Operations Center (SOC) analyst receives an alert showing that a user workstation is executing a suspicious PowerShell script attempting lateral movement across the network. Which of the following capabilities provided by an Endpoint Detection and Response (EDR) solution should the analyst execute immediately to contain the threat while preserving management access?

Show answer & explanation

Answer: Isolate the host from the network using the EDR console

Answer

Isolate the host from the network using the EDR console
The correct action is to isolate the host from the network using the EDR console. EDR host network isolation instantly restricts network communication to and from the infected endpoint, cutting off lateral propagation paths while maintaining administrative connection to the EDR agent for forensic collection and containment.

Step-by-Step Solution

1
Identify the primary operational requirement in an active containment scenario
The goal is to immediately halt lateral movement across the internal network.
Preventing the compromise of additional host systems is the top priority during incident response.
2
Evaluate EDR endpoint control features against traditional perimeter or antivirus controls
EDR host isolation disconnects host-to-host and host-to-internet network traffic while keeping agent telemetry operational.
Isolation stops internal attack propagation without shutting down the endpoint or severing management connectivity.

Key Concept

Endpoint Containment and Host Isolation in EDR
Estimated Time:45s
Question 977Question

Following the detection and initial triage of an active web shell exploit on an enterprise web server, a Security Operations Center (SOC) analyst must execute the incident response playbook. Arrange the following operational response procedures in the correct chronological sequence according to standard NIST incident response lifecycle guidelines, from the earliest action to the final action.

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct chronological sequence of incident response actions is: 1) Perform host-level containment by isolating the web server to a sandbox VLAN, 2) Execute eradication procedures by purging malicious artifacts and patching vulnerabilities, 3) Initiate recovery operations by restoring system software from a verified baseline and resuming production traffic, and 4) Conduct post-incident activities by documenting lessons learned and updating playbooks.
Standard incident response frameworks (NIST SP 800-61 and ISO 27035) dictate a strict sequence: Containment -> Eradication -> Recovery -> Post-Incident Activity. First, the affected asset must be isolated (containment) to stop lateral movement and C2 traffic while preserving volatile evidence. Second, malicious artifacts (web shell) and vulnerabilities must be removed (eradication). Third, systems are rebuilt and reintegrated into production (recovery). Finally, post-incident activities analyze root causes and update IR playbooks.

Step-by-Step Solution

1
Identify the immediate priority post-detection: Containment.
Containment limits adversary expansion; isolation to a quarantine VLAN halts lateral movement while preserving volatile evidence.
According to NIST SP 800-61, containment must precede eradication to ensure the attacker cannot pivot or deploy destructive counter-measures during cleanup.
2
Identify the remediation phase: Eradication.
Eradication removes threat components (web shell) and remediates underlying vulnerabilities (patch application, credential revocation).
Eradication ensures that the host and network environment are fully cleaned of malicious artifacts before attempting service restoration.
3
Identify the operational restoration phase: Recovery.
Recovery restores clean configurations, reinstates production connectivity, and applies targeted monitoring.
Restoration to production can only safely occur once eradication of the threat vector and vulnerability remediation are confirmed.
4
Identify the evaluation and closure phase: Post-Incident Activity.
Lessons learned are documented, and security playbooks are updated based on incident metrics.
Post-incident analysis ensures long-term security posture enhancements and satisfies compliance requirements after system recovery.

Key Concept

NIST SP 800-61 Incident Response Lifecycle Phases (Containment -> Eradication -> Recovery -> Post-Incident Activity)
Estimated Time:2m 0s
Question 978Question

A network engineer is investigating security alerts after several host systems on an enterprise subnet unexpectedly autoconfigured IPv6 address interfaces and began routing outbound network traffic through an unknown link-local address. Which of the following technical indicators directly confirm that a Rogue IPv6 Router Advertisement (RA) attack is taking place? (Select TWO).

Select all that apply

Show answer & explanation

Answer: Unsolicited ICMPv6 Type 134 (Router Advertisement) frames broadcast on the local link specifying an unauthorized default gateway.; Host interfaces automatically generating IPv6 global unicast addresses via Stateless Address Autoconfiguration (SLAAC) using an untrusted prefix.

Answer

The correct indicators are unsolicited ICMPv6 Type 134 (Router Advertisement) frames broadcast on the local link specifying an unauthorized default gateway, and host interfaces automatically generating IPv6 global unicast addresses via Stateless Address Autoconfiguration (SLAAC) using an untrusted prefix.
In a Rogue IPv6 Router Advertisement attack, the malicious actor transmits unsolicited ICMPv6 Type 134 Router Advertisement packets over the local subnet. Endpoints configured for Stateless Address Autoconfiguration (SLAAC) accept these packets, derive new IPv6 addresses using the advertised prefix, and direct external IPv6 traffic to the attacker's machine acting as the rogue default gateway.

Step-by-Step Solution

1
Identify the protocol and control message types associated with IPv6 dynamic routing and autoconfiguration.
Router Advertisements use ICMPv6 Type 134 packets sent by routers to inform hosts of available network prefixes and default gateway locations.
Understanding ICMPv6 packet types is necessary to isolate neighbor discovery traffic from rogue routing signals.
2
Analyze how target endpoints react to receiving untrusted ICMPv6 Type 134 packets.
Hosts operating with SLAAC enabled process the advertised prefix, create a corresponding IPv6 address, and adjust their local routing table to forward IPv6 traffic to the rogue gateway.
This behavior confirms the mechanics of an IPv6 Man-in-the-Middle (MitM) positioning attack via rogue RA.

Key Concept

Rogue IPv6 Router Advertisement (RA) Attack Indicators
Estimated Time:1m 30s
Question 979Question

An enterprise infrastructure team is redesigning the storage connectivity for a mission-critical database host attached to a Storage Area Network (SAN). The primary goal is to eliminate single points of failure in the physical and logical communication paths between the host server and the storage array, ensuring continuous throughput even if a cable or adapter fails. Which of the following technical controls should the team implement to meet these criteria? (Select TWO).

Select all that apply

Show answer & explanation

Answer: Dual Host Bus Adapters (HBAs) connected to separate, isolated storage fabrics; Multipath I/O (MPIO) driver configuration on the host operating system

Answer

The team should implement Dual Host Bus Adapters (HBAs) connected to separate storage fabrics along with Multipath I/O (MPIO) configured at the host operating system level.
High availability for Storage Area Network (SAN) connectivity requires redundancy at both the physical layer and the logical operating system layer. Dual Host Bus Adapters (HBAs) linked to distinct storage switches eliminate single points of failure in hardware and cabling. Concurrently, Multipath I/O (MPIO) provides the software-level intelligence needed for the operating system to detect path failures and fail over transparently without dropping I/O sessions.

Step-by-Step Solution

1
Identify the physical hardware single point of failure in SAN connectivity.
Installing Dual Host Bus Adapters (HBAs) provides hardware-level redundancy for host interface ports and cabling.
A single HBA failure would disconnect the server from the SAN without dual redundant cards.
2
Identify the logical/operating system control required to manage redundant storage paths.
Configuring Multipath I/O (MPIO) allows the operating system to route traffic across redundant HBA channels and automatically fail over if a path drops.
Without MPIO, the operating system might see duplicate disks or fail to switch to an alternate path dynamically during an outage.

Key Concept

SAN Path Redundancy and High Availability
Question 980Question

A security analyst receives an alert regarding an obfuscated command executing on a workstation assigned to an executive assistant. Traditional signature-based antivirus software on the host reported no malicious findings because the command payload was executed directly in memory without writing a file to the disk. However, the Endpoint Detection and Response (EDR) agent flagged the activity and blocked execution based on the anomalous process relationship where a word processing application spawned an encoded shell interpreter. Which EDR capability enabled the detection and intervention in this scenario?

Show answer & explanation

Answer: Behavioral anomaly detection and process lineage tracking

Answer

Behavioral anomaly detection and process lineage tracking enabled the EDR agent to detect and prevent the fileless memory execution.
The correct answer highlights behavioral anomaly detection and process lineage tracking. EDR solutions continuously record endpoint telemetry, including process trees, memory allocations, and command-line arguments. This allows EDR to identify suspicious behavior—such as a word processor spawning a command-line interpreter—even when no known malicious file signature exists.

Step-by-Step Solution

1
Analyze the attack vector and host indicators described in the scenario.
Identified that the attack uses fileless/in-memory execution by spawning a shell interpreter from a office document application without writing malicious files to disk.
Understanding the attack mechanism clarifies why signature-based controls fail.
2
Compare traditional antivirus capabilities with EDR functionalities.
Legacy antivirus relies on static file signatures and hashes, whereas EDR records host telemetry, tracks parent-child process lineage, and analyzes execution behaviors in real time.
Differentiating control mechanisms points to behavioral detection as the key capability.
3
Match the observed EDR intervention to the correct security feature.
The EDR agent detected the anomalous process lineage (word processor launching an encoded shell) and intervened dynamically.
Process lineage monitoring and behavioral heuristics directly address fileless and zero-day execution techniques.

Key Concept

EDR Behavioral Detection and Process Telemetry
Estimated Time:1m 15s
PreviousPage 49 / 112Next
All practice questions — CompTIA Security+ | Examkin