All practice questions

2232 questions

Question 821Question

An organization is aligning its cybersecurity procedures with the NIST SP 800-61 incident response framework. Place the core phases of the incident response process in the correct chronological order from first to last.

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct chronological sequence of the incident response lifecycle is Preparation, followed by Detection and Analysis, then Containment, Eradication, and Recovery, and ending with Post-Incident Activity.
According to the NIST SP 800-61 framework, the incident response lifecycle progresses through four major phases: Preparation (setting up tools, policies, and teams), Detection and Analysis (identifying and investigating security events), Containment, Eradication, and Recovery (limiting impact, eliminating the threat, and restoring operations), and Post-Incident Activity (conducting lessons learned to refine future response).

Step-by-Step Solution

1
Identify the foundational phase established prior to active incidents.
Preparation is identified as the first phase.
Security teams must develop playbooks, configure monitoring tools, and establish communication plans before a security event occurs.
2
Determine the phase initiated when anomalous activity or security alerts are reported.
Detection and Analysis is identified as the second phase.
Analysts must evaluate alerts, scope the impact, and validate whether an active breach or compromise is taking place.
3
Identify the active response and mitigation actions taken after confirmation of an incident.
Containment, Eradication, and Recovery is identified as the third phase.
Responders must limit damage by containing affected systems, eliminate root causes/malware, and securely restore services.
4
Determine the final phase following complete system restoration.
Post-Incident Activity is identified as the fourth phase.
Conducting lessons-learned analysis and updating documentation ensures continuous improvement of the organization's security posture.

Key Concept

NIST SP 800-61 Incident Response Lifecycle Phases
Question 822Question

An enterprise organization updates its endpoint compliance architecture by deploying Mobile Device Management (MDM) software across all remote corporate devices. When an endpoint fails continuous compliance checks or exhibits unauthorized system modifications, the MDM agent automatically executes a remotely triggered cryptographic wipe script to isolate and sanitize the stored sensitive data. A security auditor asks the architecture team to classify this automated software action. Which of the following classifications correctly identifies both the primary category and functional type of this security control?

Show answer & explanation

Answer: Technical category and Corrective functional type

Answer

Technical category and Corrective functional type
The security control is implemented via software logic and automated scripts running on an endpoint, which places it firmly in the Technical control category. Because the script executes automatically following a compliance failure to neutralize data exposure and return the endpoint to a safe state, its functional behavior is Corrective.

Step-by-Step Solution

1
Identify the mechanism used to implement the security control
The mechanism relies on software agents, cryptographic scripts, and automated device technology.
Security measures executed via hardware, software, or firmware belong to the Technical control category.
2
Determine the functional objective of the security control during an incident
The remote wipe script executes after an endpoint fails compliance checks to mitigate risk and reverse exposure.
Controls that react to an incident or compliance failure by restoring security or limiting damage operate as Corrective controls.
3
Synthesize category and functional type classifications
Combining software-based implementation with incident remediation yields a Technical, Corrective control.
CompTIA Security+ classifies automated endpoint software scripts taking post-compromise action under Technical category and Corrective functional type.

Key Concept

Dual-axis classification of security controls (Categories: Technical, Operational, Managerial, Physical; Types: Preventive, Detective, Corrective, Deterrent, Compensating, Directive)
Question 823Question

An enterprise network administrator notices that several workstations on a local subnet are unexpectedly routing their outbound traffic through an unfamiliar host outside the designated gateway pool. Inspection of network packet captures reveals that workstations renewing their dynamic network configurations are accepting DHCPACK packets from a secondary, unauthorized server that responds faster than the corporate server. Which of the following attack indicators is demonstrated in this scenario?

Show answer & explanation

Answer: Rogue DHCP server deployment resulting in on-path traffic redirection

Answer

Rogue DHCP server deployment resulting in on-path traffic redirection
The scenario indicates that workstations are receiving and accepting DHCPACK packets from an unauthorized secondary server that beats the legitimate server in response time. A rogue DHCP server operates by distributing unauthorized network configurations—such as a rogue default gateway or malicious DNS server address—allowing an attacker to intercept or redirect network traffic.

Step-by-Step Solution

1
Analyze the observed network traffic indicators.
Workstations are receiving DHCPACK packets from an unauthorized secondary server providing a rogue default gateway address.
Identifying the protocol and packet type involved isolates the underlying attack mechanism.
2
Evaluate the impact of the packet responses on network traffic routing.
Workstations accept the faster unauthorized DHCPACK response, causing their traffic to route through an unintended gateway.
A rogue DHCP server operates by racing legitimate DHCP servers to assign forged network settings (such as rogue gateway or DNS IPs) to clients, enabling on-path positioning.

Key Concept

Rogue DHCP Server Attack Indicators
Estimated Time:1m 30s
Question 824Question

Match each Identity and Access Management (IAM) protocol or standard to its primary architectural function in an enterprise environment.

Click a left item, then click its matching right item

Items

SAML 2.0
OAuth 2.0
SCIM
Kerberos

Matches

Show answer & explanation

Answer

SAML 2.0 matches XML-based web SSO federation; OAuth 2.0 matches token-based API authorization delegation; SCIM matches automated identity provisioning and account lifecycle management; Kerberos matches ticket-based internal domain authentication via a KDC.
Each IAM protocol serves a distinct architectural layer: SAML 2.0 manages XML web SSO federation; OAuth 2.0 provides token-based API authorization; SCIM automates identity profile provisioning across cloud apps; and Kerberos performs ticket-based domain authentication.

Step-by-Step Solution

1
Identify the primary purpose of SAML 2.0.
SAML 2.0 handles federated web Single Sign-On (SSO) using XML assertions between an IdP and SP.
SAML is an enterprise federation standard for web application authentication.
2
Identify the primary purpose of OAuth 2.0.
OAuth 2.0 delegates API access permissions using authorization access tokens.
OAuth 2.0 focuses on authorization and token delegation rather than authentication.
3
Identify the primary purpose of SCIM.
SCIM standardizes REST/JSON user profile creation, updating, and deprovisioning.
SCIM automates cross-system user identity sync across cloud services.
4
Identify the primary purpose of Kerberos.
Kerberos handles ticket-based domain authentication using a Key Distribution Center (KDC).
Kerberos is the default protocol for local directory infrastructure like Active Directory.

Key Concept

Identity and Access Management Architecture Protocols
Question 825Question

A SOC analyst is reviewing diverse log artifacts collected across enterprise infrastructure. Match each security log artifact signature to the corresponding incident activity or event type it indicates.

Click a left item, then click its matching right item

Items

Windows Security Event ID 4625 with Status Code 0xC000006A
HTTP 403 GET request containing `?file=../../../../etc/shadow`
NetFlow record showing high-frequency 53/UDP outbound flows with unusually large payload sizes
Linux auth.log entry: `pam_unix(sudo:auth): authentication failure; logname=jdoe uid=1001 euid=0`

Matches

Show answer & explanation

Answer

Matching pairs: (1) Windows Event ID 4625 with Status Code 0xC000006A corresponds to a failed user logon attempt due to an incorrect password. (2) HTTP GET request with path traversal characters corresponds to a directory traversal attack attempt. (3) NetFlow record with high-frequency, large UDP 53 payloads corresponds to potential DNS tunneling exfiltration. (4) Linux pam_unix sudo auth failure corresponds to an unauthorized privilege escalation attempt.
Each log snippet exhibits unique protocol and system signatures: Event ID 4625 with status 0xC000006A explicitly flags bad password logons; relative path sequences indicate directory traversal; abnormally large UDP 53 packets reflect DNS covert tunneling; and PAM sudo failure messages record elevated privilege execution blocks.

Step-by-Step Solution

1
Analyze Windows Event ID 4625 and its status code
Identify that Event ID 4625 records failed logons, with 0xC000006A denoting bad password entry.
Correlating event codes with specific Windows sub-status codes allows precise identification of authentication failure causes.
2
Inspect the web server access log string syntax
Recognize path manipulation patterns (`../`) pointing to sensitive system paths (`/etc/shadow`).
Dot-dot-slash characters are characteristic signature elements of directory/path traversal vulnerabilities.
3
Evaluate NetFlow protocol indicators
Associate large outbound UDP port 53 payloads with covert channel exfiltration.
DNS relies on UDP port 53 and normally transmits minor metadata; anomaly detection identifies large payload bursts as tunneling.
4
Examine Linux authentication daemon log entries
Connect `pam_unix(sudo:auth)` failure logs to elevated privileges execution attempts.
The `sudo` command allows standard users to run tasks with effective UID 0 (root), making failed sudo attempts indicators of unauthorized privilege escalation.

Key Concept

Log Analysis and Event Correlation
Question 826Question

A security administrator is hardening a container runtime environment hosting third-party microservices on a shared host node. To minimize the blast radius of a potential container exploit, the administrator needs to enforce strict privilege boundary controls on container processes. Which TWO of the following security configurations should be implemented to meet these requirements? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Drop unnecessary Linux kernel capabilities, such as CAP_SYS_ADMIN, from the container execution profile.; Configure the container root filesystem to mount as read-only and direct writable operations to volatile memory mounts.

Answer

The correct security configurations are dropping unnecessary Linux kernel capabilities (such as CAP_SYS_ADMIN) from the container runtime profile, and configuring the container root filesystem to mount as read-only while directing transient write operations to volatile memory mounts.
Dropping unneeded Linux kernel capabilities restricts system calls available to containerized processes, preventing a compromised process from carrying out administrative operations on the shared host kernel. Additionally, setting container root filesystems to read-only ensures immutability during runtime, blocking malicious file modifications and restricting necessary transient writes to temporary memory mounts.

Step-by-Step Solution

1
Evaluate container privilege restrictions on the shared host kernel.
Identify that removing unneeded Linux capabilities (e.g., CAP_SYS_ADMIN) restricts containerized process rights and reduces host attack surface.
Containers share the underlying host OS kernel, so limiting kernel capabilities prevents container processes from performing unauthorized administrative actions on the host.
2
Assess storage immutability controls for runtime containers.
Determine that mounting the root filesystem as read-only prevents file tampering and persistence of exploit payloads.
Enforcing a read-only root filesystem creates immutable container instances where temporary write operations are isolated to temporary memory mounts (tmpfs).
3
Verify and discard incorrect container isolation and network assumptions.
Recognize that standard containers do not use hypervisor hardware isolation and internal container traffic requires continuous microsegmentation.
Containers utilize kernel features (namespaces and control groups) rather than virtual machine hypervisors, and Zero Trust dictates that internal bridge traffic must not bypass security checks.

Key Concept

Container Runtime Hardening and Privilege Boundary Controls
Question 827Question

A network security architect is establishing ingress and zone traversal inspection controls for a public-facing e-commerce platform. The architecture requires multi-tiered network segmentation to isolate external web traffic from sensitive internal backend databases. In what order should inbound network traffic pass through these security controls and network zones, starting from initial external ingress to the final destination in the isolated database zone?

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct sequence for inbound traffic traversal begins at the Perimeter Edge Router with Anti-DDoS Filtering, moves to the Screened Subnet (DMZ) Web Application Firewall (WAF), passes through the Internal Next-Generation Firewall (NGFW) Enforcement Boundary, and completes at the Database Zone Microsegmentation Gateway.
In a defense-in-depth architecture, external traffic must be inspected in progressive layers of increasing security. Traffic first hits the perimeter edge router for high-volume network filtering, enters the Screened Subnet (DMZ) WAF for web application inspection, crosses the internal firewall boundary to reach application services, and finally passes through microsegmentation controls protecting the high-value database zone.

Step-by-Step Solution

1
Filter network-layer threats at the external entry point
Volumetric DDoS traffic and spoofed IP packets are blocked at the perimeter edge router before reaching internal services.
Perimeter routers protect edge infrastructure from being overwhelmed by raw network traffic.
2
Perform application-layer payload inspection in the public-facing DMZ
Web traffic is decrypted and inspected by the Web Application Firewall (WAF) in the screened subnet for web vulnerabilities such as SQL injection or XSS.
Public-facing web services must terminate in a DMZ so untrusted external sessions never reach internal networks directly.
3
Enforce network boundary controls between DMZ and internal application servers
The internal NGFW validates stateful traffic rules allowing only authorized web application requests into the internal application tier.
An internal boundary control prevents compromised DMZ hosts from directly traversing into sensitive enterprise network segments.
4
Apply microsegmentation policy at the high-security database tier
The microsegmentation gateway isolates database servers and ensures only approved application server nodes can communicate using specific database ports.
Microsegmentation enforces zero trust granularity around high-value backend data assets.

Key Concept

Multi-tier network segmentation and defense-in-depth traffic flow inspection
Question 828Question

A security analyst is reviewing authentication logs from a Linux server (`/var/log/auth.log`) after a SIEM alert fired:

May 12 14:02:11 auth-srv sshd[4102]: Failed password for root from 192.0.2.45 port 49152 ssh2
May 12 14:02:14 auth-srv sshd[4102]: Failed password for root from 192.0.2.45 port 49154 ssh2
May 12 14:02:17 auth-srv sshd[4102]: Failed password for root from 192.0.2.45 port 49156 ssh2
May 12 14:02:22 auth-srv sshd[4102]: Accepted password for root from 192.0.2.45 port 49160 ssh2
May 12 14:02:23 auth-srv pam_unix(sshd:session): session opened for user root by (uid=0)

Based on the log snippet above, which of the following statements regarding the incident and appropriate response actions are correct? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: The event sequence demonstrates a successful password brute-force attack resulting in account compromise.; The affected host should be immediately isolated from the network as part of incident containment.

Answer

The correct conclusions are that the event sequence demonstrates a successful password brute-force attack resulting in account compromise, and the affected host should be immediately isolated from the network as part of incident containment.
The sequence of multiple failed password attempts from IP 192.0.2.45 followed immediately by a successful login for the root user indicates a successful brute-force attack. Because privileged access (root) was established by an untrusted source, the immediate incident response action is system containment via network isolation.

Step-by-Step Solution

1
Analyze the log entries chronologically to determine the pattern of activity.
Three consecutive failed password attempts for user 'root' from source IP 192.0.2.45 occur within seconds, followed directly by an 'Accepted password' entry from the same IP.
Rapid consecutive authentication failures followed by success indicate automated credential guessing (brute-force attack).
2
Determine the impact of the successful authentication entry.
The root session was opened (`session opened for user root`), confirming unauthorized administrative access.
Root access gives full privilege on a Linux system, making containment an urgent priority.
3
Identify the immediate incident response containment action.
Isolate the compromised system from the local network.
Host network isolation prevents the attacker from escalating privileges laterally across the network.

Key Concept

Identifying brute-force authentication indicators in log files and determining immediate incident containment steps.
Question 829Question

A cybersecurity consultant is designing an automated threat intelligence enrichment pipeline for an enterprise security team. The architecture requires ingesting open-source, standardized vulnerability data alongside automated, machine-readable threat indicator feeds from external partners over HTTPS. Which of the following sources or protocols should the consultant integrate into the pipeline to achieve these specific goals? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: National Vulnerability Database (NVD) feeds to ingest standardized vulnerability scoring and CVE metadata; TAXII protocol servers to handle automated real-time transport of structured threat indicators over HTTPS

Answer

The correct selections are the National Vulnerability Database (NVD) feeds and TAXII protocol servers.
The National Vulnerability Database (NVD) provides publicly available, standardized vulnerability information (such as CVE details and CVSS ratings) that can be ingested into automated systems. TAXII (Trusted Automated eXchange of Intelligence Information) is the standardized application protocol used to transport structured cyber threat intelligence (such as STIX formatted feeds) automatically over HTTPS.

Step-by-Step Solution

1
Identify the requirement for open-source standardized vulnerability data.
The National Vulnerability Database (NVD) is the standard repository providing open-source vulnerability data, CVE entries, and CVSS scores.
NVD provides public, machine-readable datasets ideal for automated risk scoring.
2
Identify the protocol required for automated, machine-readable threat intelligence transport over HTTPS.
TAXII (Trusted Automated eXchange of Intelligence Information) defines the transit protocol for sharing structured cyber threat intelligence (STIX) over HTTPS.
TAXII enables secure machine-to-machine exchange of threat indicators between platforms.

Key Concept

Threat Intelligence Sources and Transportation Protocols
Question 830Question

During a security audit of a native C application, an analyst evaluates a logging routine designed to capture user-submitted feedback. The code snippet under review is as follows:

c
void log_user_feedback(char *user_input) {
FILE *log_file = fopen("/var/log/app_feedback.log", "a");
if (log_file != NULL) {
fprintf(log_file, user_input);
fclose(log_file);
}
}

The analyst notes that input submitted directly by remote users is passed to `fprintf` as the primary formatting parameter without explicit format specifiers. Which of the following application vulnerabilities is directly present in this code?

Show answer & explanation

Answer: Format string vulnerability

Answer

Format string vulnerability
The correct answer identifies a format string vulnerability. When C functions such as `printf`, `fprintf`, or `sprintf` receive user-controlled input as their format string parameter without explicit specifiers (e.g., `%s`), conversion specifiers embedded within the user data are interpreted by the formatter. This permits memory disclosure and arbitrary memory writes.

Step-by-Step Solution

1
Analyze the function parameters and standard library call
The function `log_user_feedback` accepts an unvalidated string pointer `user_input` and passes it directly as the second parameter to `fprintf(log_file, user_input)`.
In C library function syntax, `fprintf(stream, format, ...)` expects the second argument to be a conversion control string containing specifiers such as `%s`, `%d`, or `%x`.
2
Evaluate the risk of using user input as the format string
If `user_input` contains format tokens like `%x` or `%n`, `fprintf` evaluates the stack for arguments that were never supplied, reading or writing memory values.
This allows attackers to read internal stack memory (information disclosure) or write to arbitrary memory locations (`%n`), leading to denial of service or remote code execution.
3
Identify the proper vulnerability classification and remediation
The flaw is classified as a format string vulnerability. The appropriate fix is modifying the call to `fprintf(log_file, "%s", user_input)`.
Specifying `"%s"` forces the print routine to treat `user_input` purely as static string data rather than executable formatting instructions.

Key Concept

Format String Vulnerabilities
Estimated Time:1m 15s
Question 831Question

A Security Operations Center (SOC) analyst receives a validated alert indicating unauthorized administrative credential usage and potential persistence mechanisms on a critical internal server. According to standard incident response frameworks and playbooks, the analyst must focus on immediate containment and evidence preservation. Which of the following actions should the analyst perform at this stage? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Place the affected server into an isolated quarantine VLAN to prevent lateral movement while preserving volatile state.; Capture a full image of volatile memory (RAM) to preserve active network connections and running process artifacts.

Answer

The analyst should isolate the server on a quarantine VLAN and capture a full image of volatile memory (RAM).
Isolating the compromised host on a quarantine VLAN halts lateral network movement while keeping the system powered, allowing analysts to capture volatile memory (RAM) to preserve ephemeral evidence such as running processes and active sockets before it is lost.

Step-by-Step Solution

1
Identify the active incident response phase requested in the scenario.
The scenario requires executing immediate containment and evidence preservation procedures.
Standard NIST and ISO incident response lifecycles mandate containing threats and securing volatile evidence before eradication or recovery.
2
Evaluate the choices to find actions that fulfill containment and preservation requirements.
Quarantining the network connection contains the attack, while RAM acquisition preserves volatile memory artifacts.
Placing the machine in a quarantine VLAN halts lateral movement without shutting down the host, allowing RAM to be captured following the order of volatility.
3
Eliminate options corresponding to out-of-order lifecycle phases.
Reimaging (eradication) and post-incident lessons learned (post-incident activity) are misaligned with initial containment.
Executing eradication or post-incident review steps out of sequence compromises forensic evidence and operational integrity.

Key Concept

Incident Response Containment and Evidence Preservation Lifecycle Phases
Question 832Question

During a suspected breach investigation, a security handler observes that an API gateway server hosting sensitive internal workflows is attempting unauthorized outbound network traffic to a known command-and-control server following a successful zero-day exploit execution. According to standard NIST incident response guidelines, which of the following actions should the handler execute FIRST?

Show answer & explanation

Answer: Isolate the API gateway server from the network via microsegmentation to prevent data exfiltration while preserving system volatile memory.

Answer

Isolate the API gateway server from the network via microsegmentation to prevent data exfiltration while preserving system volatile memory.
In accordance with standard NIST incident response frameworks (NIST SP 800-61), once an active intrusion or C2 communication is confirmed, containment must occur before eradication or recovery steps. Isolating the system via microsegmentation halts outbound data exfiltration and lateral movement while keeping the system in a state suitable for volatile memory capture and forensic analysis.

Step-by-Step Solution

1
Identify the current incident response phase based on the scenario description.
The incident has been detected and confirmed active (active C2 communication), placing the handler at the transition into the Containment, Eradication, and Recovery phase.
Before performing active system modifications, the immediate priority is limiting breach scope and preventing exfiltration.
2
Evaluate containment actions against eradication and recovery actions.
Network isolation contains the threat immediately without altering host volatile memory needed for forensic capture.
Standard NIST SP 800-61 frameworks dictate containing the incident prior to executing eradication steps like deleting malicious binaries or performing host imaging.
3
Select the correct immediate next step.
Isolating the server using microsegmentation or host isolation controls is the required first response action.
This halts attacker interaction while preserving system state for evidence preservation.

Key Concept

Incident Response Lifecycle Order (Containment before Eradication/Recovery)
Question 833Question

Match each enterprise security vulnerability finding on the left with the most effective technical hardening mitigation on the right.

Click a left item, then click its matching right item

Items

An unsegmented internal network allows lateral movement between administrative endpoints using legacy remote access protocols.
Web application servers permit execution of untrusted user-uploaded payloads stored in temporary filesystem locations.
High-privilege domain administrator credentials are exposed to LSASS memory harvesting attacks on compromised remote target endpoints.

Matches

Show answer & explanation

Answer

1. Unsegmented network lateral movement matches with enforcing network microsegmentation and ZTNA policies. 2. Untrusted payload execution in temporary directories matches with mounting temporary storage partitions with `noexec` and `nosuid` parameters. 3. Credential exposure in LSASS memory matches with implementing Remote Credential Guard and Restricted Admin mode.
The security findings correctly map to their specific technical mitigations: internal lateral movement requires microsegmentation and ZTNA; temporary storage execution threats require `noexec` mount options; and remote LSASS memory credential dumping requires Remote Credential Guard.

Step-by-Step Solution

1
Evaluate network isolation requirements for internal traffic.
Network microsegmentation and Zero Trust access policies restrict unauthorized host-to-host communications across internal subnets.
Perimeter defenses do not prevent lateral movement once an attacker gains initial access inside an enterprise network.
2
Determine host storage hardening techniques for temporary filesystems.
Mounting directories such as `/tmp` with `noexec` prevents the execution of binaries and scripts stored in scratch space.
Hardening storage mount points reduces the attack surface by enforcing strict execution boundaries on untrusted directories.
3
Select memory protection controls for privileged remote administration.
Remote Credential Guard and Restricted Admin mode prevent domain credentials from being stored in LSASS memory on remote hosts.
Processing authentication client-side ensures high-privilege credentials cannot be dumped by LSASS scraping malware on the destination system.

Key Concept

Enterprise Hardening and Technical Security Controls
Question 834Question

An e-commerce enterprise is deploying an automated cloud storage repository for sensitive database backups containing customer personally identifiable information (PII). Regulatory compliance mandates that all bulk data must be encrypted at rest with high throughput, while key lifecycle management must be secured by a dedicated hardware root of trust to prevent key extraction. Which architecture best fulfills both performance and key protection requirements?

Show answer & explanation

Answer: Encrypt bulk backups using symmetric Data Encryption Keys (DEKs) wrapped by Key Encryption Keys (KEKs) managed inside a Hardware Security Module (HSM).

Answer

Encrypt bulk backups using symmetric Data Encryption Keys (DEKs) wrapped by Key Encryption Keys (KEKs) managed inside a Hardware Security Module (HSM).
The correct answer utilizes envelope encryption. Bulk backup data is encrypted rapidly using symmetric Data Encryption Keys (DEKs), while the DEKs themselves are encrypted (wrapped) by Key Encryption Keys (KEKs) maintained securely inside a tamper-resistant Hardware Security Module (HSM). This architecture balances high-speed bulk data processing with rigid, hardware-enforced key governance.

Step-by-Step Solution

1
Analyze bulk data performance requirements
Bulk storage encryption requires high-speed symmetric ciphers (such as AES) rather than asymmetric encryption.
Symmetric encryption provides high throughput necessary for large database backup payloads.
2
Evaluate key protection and root-of-trust requirements
Key Encryption Keys (KEKs) should be stored and processed within a dedicated Hardware Security Module (HSM).
An HSM provides a tamper-resistant hardware root of trust that protects master keys from unauthorized extraction.
3
Synthesize the complete key governance model
Envelope encryption (wrapping symmetric DEKs with HSM-protected KEKs) satisfies both performance and security constraints.
Envelope encryption isolates key management from bulk data processing, meeting both operational efficiency and regulatory standards.

Key Concept

Envelope encryption and Hardware Security Module (HSM) key protection architecture
Question 835Question

An enterprise e-commerce organization is migrating its real-time product recommendation system to a serverless Function-as-a-Service (FaaS) architecture hosted by a public cloud service provider (CSP). Which TWO of the following security tasks remain the direct responsibility of the enterprise organization under the cloud shared responsibility model?

Select all that apply

Show answer & explanation

Answer: Validating application source code security and implementing function-level API access authorization controls.; Configuring data classification tags and setting identity-based access policies for database repositories accessed by the function.

Answer

The enterprise customer is responsible for writing secure application source code, enforcing API access authorization logic, classifying sensitive data, and managing access policies for database repositories connected to the serverless function.
Under the cloud shared responsibility model for serverless Function-as-a-Service (FaaS) deployments, the cloud service provider abstracts and manages the underlying hardware, hypervisors, host operating systems, and execution runtimes. The enterprise customer retains full responsibility for securing their custom application code, implementing API authorization controls, classifying data, and setting granular access management policies for any connected data storage repositories.

Step-by-Step Solution

1
Analyze the cloud service model presented in the scenario.
The scenario specifies Function-as-a-Service (FaaS), which is a serverless execution model where the cloud provider manages infrastructure, hardware, OS patching, and execution runtime.
Identifying the cloud service model is essential for determining the scope of the shared responsibility boundary.
2
Differentiate provider responsibilities from customer responsibilities in FaaS.
The CSP manages host OS patching and serverless environment maintenance. The customer manages application code, data governance, API access control, and identity permission policies.
Applying the shared responsibility model shows that data protection and custom code security always remain with the customer.

Key Concept

Cloud Shared Responsibility Model in Function-as-a-Service (FaaS)
Question 836Question

A security analyst is reviewing the following Linux authentication and system logs aggregated by an enterprise SIEM platform from host `srv-prod-02`:

syslog
2026-07-27T10:14:02Z srv-prod-02 sshd[8812]: Failed password for invalid user admin from 192.0.2.140 port 51102 ssh2
2026-07-27T10:14:05Z srv-prod-02 sshd[8815]: Failed password for invalid user root from 192.0.2.140 port 51106 ssh2
2026-07-27T10:14:12Z srv-prod-02 sshd[8820]: Accepted password for user svc_web from 192.0.2.140 port 51112 ssh2
2026-07-27T10:14:25Z srv-prod-02 sudo[8840]: svc_web : TTY=pts/1 ; PWD=/var/www/html ; USER=root ; COMMAND=/usr/bin/python3 -c 'import pty; pty.spawn("/bin/sh")'

Based on the SIEM event sequence above, which of the following statements correctly analyze the activity and impact of this security incident? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: The initial SSH activity shows a successful authentication following multiple rapid password failures from the same source IP address.; The sequence demonstrates horizontal initial access transitioning into privilege escalation to superuser (root) status via sudo.

Answer

The incident involves a successful SSH authentication following multiple failed logon attempts from the same source IP, followed by privilege escalation to root via sudo.
The log sequence traces a classic intrusion trajectory starting with brute-force authentication attempts against SSH (failed logins from IP 192.0.2.140), leading to successful authentication as 'svc_web'. Subsequently, the attacker abuses sudo privileges to spawn a root shell using a Python PTY trick, completing privilege escalation.

Step-by-Step Solution

1
Analyze SSH authentication entries in the SIEM log snippet.
Identify multiple failed logins for invalid users ('admin', 'root') from source IP 192.0.2.140 followed by a successful login for 'svc_web' from the same IP.
This indicates a brute-force or credential stuffing attack that successfully gained initial access.
2
Analyze post-authentication command execution in the sudo logs.
Identify that account 'svc_web' executed `/usr/bin/python3 -c 'import pty; pty.spawn("/bin/sh")'` with `USER=root`.
Spawning an interactive shell via Python with sudo grants root administrative privileges, completing a privilege escalation attack vector.

Key Concept

Log Correlation & Incident Trajectory Analysis
Question 837Question

A Security Operations Center (SOC) analyst receives a high-priority alert indicating that an employee workstation is actively encrypting local files and attempting outbound communication with a malicious command-and-control server. According to standard incident response procedures, which of the following steps should the analyst perform FIRST?

Show answer & explanation

Answer: Disconnect the workstation from the local network to isolate the threat.

Answer

Disconnect the workstation from the local network to isolate the threat.
Isolating the workstation from the network is the critical first step during the containment phase of incident response. Disconnecting network access halts communication with command-and-control servers and prevents lateral movement to other enterprise endpoints.

Step-by-Step Solution

1
Determine the current phase of the incident response lifecycle.
The scenario describes an active malware infection requiring immediate containment.
An ongoing incident must be contained immediately to limit scope and prevent further damage.
2
Select the appropriate action for host containment.
Isolating the system from the network halts command-and-control traffic and stops lateral propagation.
Network disconnection prevents the spread of ransomware/malware while leaving system state intact for initial analysis.

Key Concept

Incident Response Containment Phase
Question 838Question

An enterprise security architecture team is redesigning identity federations across several vendor SaaS applications. To align with Zero Trust principles, the organization requires immediate session termination and access token revocation across all connected SaaS applications the moment an identity risk signal (such as impossible travel or device compliance failure) is detected at the central Identity Provider (IdP), rather than waiting for OAuth access tokens or SAML assertions to expire naturally. Which of the following identity architectural mechanisms best fulfills this real-time session security requirement?

Show answer & explanation

Answer: Implement Shared Signals and Events using the Continuous Access Evaluation Protocol (CAEP) between the IdP and relying parties.

Answer

Implementing Shared Signals and Events using the Continuous Access Evaluation Protocol (CAEP) between the Identity Provider (IdP) and relying party applications.
The correct answer specifies implementing the Continuous Access Evaluation Protocol (CAEP). CAEP allows Identity Providers to communicate real-time security events (such as session revoking events, password changes, or device compliance changes) to connected relying party applications instantly. This satisfies the requirement for dynamic, continuous access evaluation under Zero Trust without relying on token expiration windows.

Step-by-Step Solution

1
Analyze the core architectural requirement
The scenario requires real-time, event-driven session revocation across federated SaaS platforms upon IdP risk detection, bypassing traditional token TTL expirations.
Standard OAuth 2.0 access tokens and SAML assertions are stateless and valid until expiration unless explicitly revoked via real-time signal streams.
2
Evaluate identity protocols for active session control
CAEP allows the IdP to push real-time Security Event Tokens (SETs) directly to relying parties when user risk changes, instantly revoking or re-evaluating sessions.
This directly enforces continuous identity evaluation as mandated by modern Zero Trust architecture.
3
Differentiate from secondary provisioning or perimeter controls
SCIM handles user account identity lifecycle provisioning (not session events), network IP filters rely on perimeter trust, and initial MFA only inspects authentication at login time.
None of these secondary controls provide active, cross-domain continuous session revocation.

Key Concept

Continuous Access Evaluation Protocol (CAEP) in IAM Architecture
Estimated Time:2m 0s
Question 839Question

A security analyst is reviewing the following firewall Syslog entries forwarded to a SIEM collector:

`Jul 27 10:15:01 fw01 kernel: [FW_DROP]: IN=eth0 OUT= SRC=192.0.2.50 DST=10.0.1.10 PROTO=TCP SPT=49152 DPT=22`
`Jul 27 10:15:01 fw01 kernel: [FW_DROP]: IN=eth0 OUT= SRC=192.0.2.50 DST=10.0.1.10 PROTO=TCP SPT=49153 DPT=80`
`Jul 27 10:15:01 fw01 kernel: [FW_DROP]: IN=eth0 OUT= SRC=192.0.2.50 DST=10.0.1.10 PROTO=TCP SPT=49154 DPT=443`
`Jul 27 10:15:01 fw01 kernel: [FW_DROP]: IN=eth0 OUT= SRC=192.0.2.50 DST=10.0.1.10 PROTO=TCP SPT=3389 DPT=3389`

Which of the following network activities is best indicated by this log sequence?

Show answer & explanation

Answer: Port scanning targeting multiple standard service ports on a single host

Answer

Port scanning targeting multiple standard service ports on a single host
The log entries show a single external source IP address (192.0.2.50) attempting connections to several well-known service ports (22 for SSH, 80 for HTTP, 443 for HTTPS, and 3389 for RDP) on a target host (10.0.1.10) at the exact same second. This pattern of rapidly probing multiple ports on a single host is the classic signature of a port scan.

Step-by-Step Solution

1
Examine the log source and event details
Identified packet drop entries ([FW_DROP]) logged by firewall host fw01.
Understanding the log component helps isolate network traffic events from application or host events.
2
Analyze source IP, destination IP, and timestamps across entries
Source IP 192.0.2.50 sent sequential packets to destination IP 10.0.1.10 at the exact same timestamp (10:15:01).
Rapid attempts from a single source host to a target host indicate automated reconnaissance.
3
Inspect destination ports (DPT) queried
Destinations include TCP ports 22 (SSH), 80 (HTTP), 443 (HTTPS), and 3389 (RDP).
Testing multiple well-known service ports sequentially is standard behavior for network port scanners.

Key Concept

Identifying port scanning behavior from firewall log parameters in SIEM monitoring
Question 840Question

A biotechnology company needs to isolate its laboratory network housing unpatchable legacy gene-sequencing equipment. The laboratory devices must push telemetry data and analysis reports outward to a central server in the enterprise corporate zone, but the security architecture must strictly guarantee that no incoming connection requests or lateral traffic can reach the laboratory network from the corporate zone. Which of the following network controls best fulfills these security constraints?

Show answer & explanation

Answer: Deployment of a physical data diode between the laboratory network and the corporate network

Answer

Deployment of a physical data diode between the laboratory network and the corporate network
The deployment of a physical data diode guarantees hardware-enforced unidirectional communication. This allows the legacy laboratory equipment to send outbound reports while physically preventing any inbound network traffic or cyber attacks from penetrating the laboratory segment.

Step-by-Step Solution

1
Analyze the technical requirements of the scenario
Identified the need to allow outbound telemetry from legacy laboratory systems while enforcing a strict physical block against any inbound connections from the enterprise zone.
Unpatchable legacy systems require high isolation, and software-only firewalls can still present attack surfaces or misconfigurations.
2
Evaluate network segmentation archetypes against the requirement
A data diode uses physical optical connections (such as an LED transmitter to a photodiode receiver) to enforce hardware-based unidirectional communication.
Hardware-level unidirectional enforcement guarantees that no data or packets can traverse in the reverse direction into the critical laboratory zone.

Key Concept

Unidirectional Data Diodes and Secure Network Isolation
Estimated Time:1m 15s
PreviousPage 42 / 112Next
All practice questions — CompTIA Security+ | Examkin