All practice questions

2232 questions

Question 581Question

A educational institution transitions its student portal from an on-premises data center to a public cloud Infrastructure as a Service (IaaS) environment. The portal runs on enterprise Linux virtual machine instances provisioned within the cloud provider's Virtual Private Cloud (VPC). Under the cloud shared responsibility model, which of the following security management tasks remains the sole responsibility of the institution's security team?

Show answer & explanation

Answer: Configuring and maintaining security updates for the guest operating systems running on the virtual instances

Answer

Configuring and maintaining security updates for the guest operating systems running on the virtual instances is the exclusive responsibility of the cloud customer in an Infrastructure as a Service (IaaS) model.
In Infrastructure as a Service (IaaS), the cloud provider is responsible for the security 'of' the cloud (physical hosts, facilities, hypervisors, and hardware network devices), while the customer is responsible for security 'in' the cloud (guest operating systems, middleware, installed software, database configurations, and firewalls). Therefore, updating and configuring the guest OS is the responsibility of the customer.

Step-by-Step Solution

1
Identify the cloud service model referenced in the scenario
The scenario specifies Infrastructure as a Service (IaaS).
Responsibilities vary significantly depending on whether IaaS, PaaS, or SaaS is deployed.
2
Apply the Cloud Shared Responsibility Model rules for IaaS
The CSP manages physical infrastructure, hypervisor layer, and hardware. The customer manages guest operating systems, network configuration, application code, and data.
Delineating control boundaries is required to determine operational ownership.
3
Evaluate the choices to isolate customer-managed responsibilities
Managing guest operating system patches directly falls on the customer side of the shared responsibility matrix.
The CSP cannot access or modify the customer's virtual machine operating systems.

Key Concept

Cloud Shared Responsibility Model in Infrastructure as a Service (IaaS)
Estimated Time:1m 0s
Question 582Question

A security architect for an electrical power distribution utility is designing network security controls for an operational technology (OT) environment. Remote vendor engineers require targeted maintenance access to programmable logic controllers (PLCs) located within the high-security Control Zone. The solution must ensure that remote connections never terminate directly inside the OT segment, prevent lateral movement between distinct PLC subnets, and log all session activity at the network boundary. Which of the following network architecture designs best fulfills these requirements?

Show answer & explanation

Answer: Deploy an intermediate jump box inside an OT DMZ enforcing multi-factor authentication, paired with microsegmentation policies that restrict East-West traffic between individual PLC subnets.

Answer

The optimal design deploys an intermediate jump box within an OT DMZ enforcing multi-factor authentication and session proxying, combined with microsegmentation policies to control East-West traffic between PLC subnets.
The design utilizing an intermediate jump server within a dedicated OT DMZ ensures that external maintenance sessions terminate in a constrained zone prior to accessing target PLCs. Combined with microsegmentation policies between PLC subnets, North-South entry is strictly controlled and audited, while East-West lateral movement between PLCs is blocked.

Step-by-Step Solution

1
Evaluate the requirement to prevent direct inbound WAN connections into the high-security Control Zone.
Identify that an intermediate bastion/jump box residing in an isolated DMZ must terminate incoming remote sessions before initiating a second authenticated session into the OT zone.
Direct connections from lower-trust networks (corporate WAN/Internet) to critical OT control assets violate secure architecture principles.
2
Evaluate the requirement to prevent lateral movement within the OT environment.
Implement microsegmentation around individual PLC subnets to strictly govern East-West (peer-to-peer) communications.
Flat VLAN structures allow compromised nodes or vendor sessions to scan and attack adjacent industrial assets.
3
Synthesize the architecture controls to select the option that combines DMZ transit proxying with internal microsegmentation.
The architecture incorporating an OT DMZ jump server with granular microsegmentation policies completely satisfies both North-South boundary protection and East-West containment.
It achieves Zero Trust network access control across both external boundary boundaries and internal zones.

Key Concept

Secure Network Design and Segmentation for OT/SCADA Environments
Question 583Question

An organization wants to immediately detect unauthorized modifications made to critical system configuration files on a server. Which of the following technical controls is MOST effective for this purpose?

Show answer & explanation

Answer: Deploying File Integrity Monitoring (FIM) software to inspect baseline file hashes.

Answer

Deploying File Integrity Monitoring (FIM) software to inspect baseline file hashes.
File Integrity Monitoring (FIM) is specifically designed to monitor system and application files by comparing their current cryptographic hashes against established baseline hashes. If an unauthorized user or process modifies a protected file, FIM detects the hash mismatch and alerts security administrators immediately.

Step-by-Step Solution

1
Identify the primary requirement
The requirement is to detect unauthorized changes made directly to system files on a server.
Host security controls must be evaluated based on whether they inspect data at rest and local storage modifications.
2
Evaluate the capabilities of File Integrity Monitoring (FIM)
FIM compares current file hashes against a established cryptographic baseline.
When a file's content or metadata changes, its hash value updates, triggering an alert for unauthorized modification.

Key Concept

File Integrity Monitoring (FIM) for Host Hardening
Estimated Time:45s
Question 584Question

A financial technology company is deploying a novel microservice-based payment gateway using a Cloud Service Provider's (CSP) managed Serverless (Function-as-a-Service) platform and managed API gateway. Under the cloud shared responsibility model, which of the following security tasks are the EXCLUSIVE responsibility of the enterprise customer? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Scanning third-party application dependencies and sanitizing custom code against vulnerabilities; Configuring granular Identity and Access Management (IAM) role permissions for the function execution environment

Answer

The customer is exclusively responsible for scanning application dependencies and sanitizing custom code, as well as configuring granular IAM role permissions for function execution environments.
In a Serverless (FaaS) model, the cloud provider handles all underlying infrastructure, including physical servers, hypervisors, host operating systems, and runtime environments. The customer retains full responsibility for their application layer—including source code security, third-party library scanning, input validation—and configuration management, such as defining least-privilege IAM execution roles.

Step-by-Step Solution

1
Analyze the cloud deployment model specified in the scenario
Identified Serverless / Function-as-a-Service (FaaS) architecture.
Serverless architectures abstract server management, OS maintenance, and physical network infrastructure away from the customer.
2
Evaluate the division of responsibility under the shared responsibility model for FaaS
The CSP manages physical security, host OS patching, hypervisors, and serverless runtime environments. The customer manages application code logic, dependencies, data classification, and access control (IAM).
Determines which operations belong to the customer versus the provider.
3
Select the tasks that fall solely under customer governance
Application code security/dependency scanning and IAM role policy configuration.
Both represent customer-side responsibility in serverless cloud environments.

Key Concept

Cloud Shared Responsibility Model in Serverless (FaaS) Architectures
Question 585Question

An enterprise software vendor distributes signed firmware updates to industrial IoT controllers. A recent security audit reveals that while the vendor uses a 2048-bit RSA key for asymmetric signing, the update process relies on the SHA-1 hashing algorithm to compute message digests. Which of the following best describes the primary security risk created by using SHA-1 for digital signature generation?

Show answer & explanation

Answer: An adversary could forge a malicious firmware image that yields an identical digest, bypassing signature verification controls.

Answer

An adversary could forge a malicious firmware image that yields an identical digest, bypassing signature verification controls.
The correct answer highlights the risk of cryptographic hash collisions. SHA-1 is computationally susceptible to collision attacks, meaning an attacker can craft a altered file that produces the exact same hash output as a legitimate file. When signed by the vendor's private key, the system accepts the malicious software as authentic.

Step-by-Step Solution

1
Analyze the cryptographic weak point identified in the scenario.
The scenario highlights the reliance on SHA-1 for message digest generation prior to RSA signing.
While RSA-2048 provides strong key strength, digital signatures rely on the cryptographic resistance of the hashing algorithm.
2
Evaluate the primary vulnerability associated with deprecated hash algorithms like SHA-1.
SHA-1 lacks sufficient collision resistance.
Cryptographic collisions allow two different datasets (such as a valid firmware update and a trojanized binary) to output the same hash value.
3
Determine the impact of a hash collision on digital signature verification.
The recipient's verification process computes the hash of the malicious file, finds it matches the signature, and trusts the forged payload.
This compromises code integrity and authenticity, allowing unauthenticated code execution.

Key Concept

Cryptographic Hash Collision Vulnerabilities
Question 586Question

A network security administrator is analyzing wireless performance logs after users report sudden network disconnection across an entire office floor. The administrator suspects a physical Radio Frequency (RF) jamming attack rather than an 802.11 deauthentication attack. Which of the following indicators specifically suggest an RF jamming attack is occurring? (Select TWO)

Select all that apply

Show answer & explanation

Answer: A sudden, significant increase in the physical layer noise floor across wireless frequency bands; Simultaneous loss of wireless signal and throughput across all local channels regardless of access point BSSID

Answer

The indicators of an RF jamming attack are a sudden, significant increase in the physical layer noise floor across wireless frequency bands, and simultaneous loss of wireless signal and throughput across all local channels regardless of access point BSSID.
RF jamming attacks flood the physical radio frequency bands with continuous electromagnetic noise. This manifests as a sharp increase in the physical layer noise floor and causes widespread signal degradation across all wireless channels within range of the jamming device, irrespective of specific network SSIDs or access point identifiers.

Step-by-Step Solution

1
Differentiate between Layer 1 physical attacks and Layer 2 protocol attacks.
RF jamming is a Layer 1 (Physical layer) attack that disrupts radio signals directly, whereas deauthentication attacks operate at Layer 2 (Data Link layer) using 802.11 management frames.
Identifying the OSI layer of the symptom helps narrow down the correct attack indicators.
2
Evaluate physical RF noise metrics and channel-wide disruption.
Jammers flood radio frequencies with noise, which increases the noise floor measurement on spectrum analyzers and blocks all transmissions across affected channels.
RF jammers degrade the Signal-to-Noise Ratio (SNR) physically without relying on valid Wi-Fi frames.

Key Concept

RF Jamming vs. 802.11 Frame-Based Attacks
Question 587Question

A security engineer is designing the network architecture for a utility company's remote smart grid infrastructure. The environment includes hundreds of field sensor gateways that transmit power usage data back to a centralized analytics server. The engineer must ensure that if an attacker physically tampers with and compromises a field gateway, the attacker cannot move laterally to inspect or access adjacent gateways, nor access administrative systems within the internal enterprise network. Which of the following network segmentation controls best satisfies these security requirements?

Show answer & explanation

Answer: Implement microsegmentation and stateful access control rules to restrict East-West traffic between field gateways and restrict North-South communication strictly to designated data collection endpoints.

Answer

Implementing microsegmentation and stateful access control rules to isolate field gateways from one another (limiting East-West lateral movement) and strictly controlling North-South communication to authorized central analytics endpoints.
Microsegmentation isolates workloads and devices from one another, preventing lateral East-West movement even if an attacker physically compromises a device on the network segment. Restricting North-South traffic ensures data can only flow to explicitly authorized analytics servers.

Step-by-Step Solution

1
Analyze the threat model and connectivity requirements.
Field sensor gateways require communication with centralized collection servers (North-South traffic) but should never communicate directly with each other or corporate admin systems (East-West traffic).
Physical exposure makes remote field devices vulnerable to local compromise.
2
Evaluate isolation mechanisms for preventing lateral movement.
Microsegmentation applies fine-grained security policies down to individual device interfaces or workloads, blocking horizontal traversal.
Standard VLANs without microsegmentation or explicit ACLs allow devices on the same segment to communicate freely.
3
Select the optimal architectural decision.
Combining microsegmentation for East-West restriction with stateful rules for North-South flow limits compromise radius effectively.
This enforces Zero Trust network principles by assuming any endpoint may be breached.

Key Concept

Microsegmentation and Lateral Traffic Control
Question 588Question

A software developer is designing a web application search feature that queries a back-end database using user-supplied input. Which of the following software development practices is the most effective method to prevent SQL injection vulnerabilities in this application?

Show answer & explanation

Answer: Utilizing parameterized queries and prepared statements

Answer

Utilizing parameterized queries and prepared statements is the most effective method to prevent SQL injection vulnerabilities.
Utilizing parameterized queries and prepared statements ensures that the database engine treats user input strictly as data parameters rather than executable SQL commands, effectively neutralizing injection attempts.

Step-by-Step Solution

1
Identify the core vulnerability mechanism
SQL injection occurs when malicious user input alters the intended database query logic.
Understanding how untrusted data interacts with database execution helps determine the appropriate security control.
2
Evaluate secure coding techniques for database access
Prepared statements handle user input separately from the SQL statement parameters, ensuring the database engine treats input strictly as data variables rather than executable code.
This structural separation ensures input cannot manipulate the database command structure regardless of content.

Key Concept

SQL Injection Prevention via Parameterized Queries
Question 589Question

An organization is deploying Zero Trust Architecture (ZTA) across its network infrastructure. When an employee attempts to access a sensitive human resources portal, which functional component is responsible for evaluating the user's identity, device posture, and enterprise policies to determine whether access should be granted?

Show answer & explanation

Answer: Policy Decision Point (PDP)

Answer

Policy Decision Point (PDP)
The Policy Decision Point (PDP) serves as the logical brain in Zero Trust Architecture. It evaluates access requests against organizational security rules, user attributes, device health, and environmental signals to decide whether access should be allowed or denied.

Step-by-Step Solution

1
Analyze the role required in the scenario
The scenario asks for the component that evaluates policies and contextual signals to make an access determination.
Zero Trust separates policy decision-making from policy enforcement.
2
Map the required functionality to standard Zero Trust architecture components
The Policy Decision Point (PDP) processes input signals against security policies to yield an access decision, whereas the Policy Enforcement Point (PEP) applies that decision to the data connection.
Identifying the PDP as the decision-making brain distinguishes it from enforcement mechanisms.

Key Concept

Policy Decision Point (PDP) in Zero Trust Architecture
Estimated Time:45s
Question 590Question

During a post-incident analysis of a compromised legacy industrial control jump server, security auditors discover that attackers leveraged an unquoted service path vulnerability combined with permissive folder write permissions to execute arbitrary code with SYSTEM privileges. The jump server cannot be immediately decommissioned or upgraded due to operational uptime dependencies. Which of the following mitigation strategies provides the MOST effective immediate technical control to prevent execution of unauthorized binaries in these writable paths while preserving host stability?

Show answer & explanation

Answer: Implement application allowlisting policies enforcing path and hash-based rules via AppLocker or WDAC.

Answer

Implementing application allowlisting policies enforcing path and hash-based rules via AppLocker or Windows Defender Application Control (WDAC).
Application allowlisting controls, such as Microsoft AppLocker or Windows Defender Application Control (WDAC), prevent untrusted binaries from executing regardless of file location or service privilege levels. By defining strict hash or path rules, any unauthorized binary dropped into an unquoted service directory will be blocked from launching, directly mitigating the privilege escalation threat on legacy systems without requiring disruptive software updates.

Step-by-Step Solution

1
Analyze the vulnerability vectors
Identified local file-system level privilege escalation (unquoted service path + permissive write access).
Understanding the attack mechanism is necessary to choose a control at the appropriate architectural layer.
2
Evaluate host-level versus network-level controls
Network firewalls and perimeter IPS cannot inspect or restrict local process creation or binary execution on the operating system.
Eliminates network-focused options that fail to remediate local host execution vulnerabilities.
3
Select preventative hardening technique for legacy environments
Application allowlisting (AppLocker/WDAC) restricts execution strictly to approved cryptographic hashes or trusted paths.
Allows legitimate legacy services to execute while blocking unauthorized binaries placed in writable unquoted service paths without requiring immediate service re-architecture.

Key Concept

Application Allowlisting and Host Hardening Mitigations
Question 591Question

Network monitoring alerts show that a malicious binary on an infected host is actively scanning neighboring subnets over TCP port 445 and automatically exploiting a remote code execution vulnerability on adjacent systems. The malware spreads from machine to machine across the network without requiring any user action, social engineering, or credential theft, after which it encrypts local files and issues a ransom prompt. Which of the following malware classifications best describes this threat?

Show answer & explanation

Answer: Worm

Answer

The threat is best classified as a Worm because it self-propagates across subnets via network vulnerabilities without requiring user intervention.
The correct answer identifies the malware as a worm because the primary indicator of compromise is autonomous, network-wide self-propagation via unpatched vulnerability exploitation without requiring user interaction.

Step-by-Step Solution

1
Analyze the primary propagation mechanism described in the telemetry.
The payload autonomously scans subnets and exploits network ports to infect remote machines without human assistance.
Propagation characteristics distinguish self-replicating malware from user-assisted malicious code.
2
Compare the observed network behavior against standard malware definitions.
Autonomous network spreading across vulnerabilities matches the core definition of a worm (even when combined with ransomware payloads).
Trojans, rootkits, and logic bombs rely on execution triggers, user interaction, or stealth concealment rather than automated network replication.

Key Concept

Worm propagation vs Trojan and fileless delivery mechanisms
Question 592Question

Match each enterprise host or infrastructure security scenario to the underlying vulnerability or architectural weakness it represents.

Click a left item, then click its matching right item

Items

An embedded storage controller accessible via Telnet and HTTP across the general user workstation VLAN.
A legacy enterprise server running an operating system that has reached End-of-Life (EOL) without extended security updates.
A hypervisor management interface directly reachable from all non-administrative employee subnets.
A network switch deployed into production retaining factory-configured administrative login accounts.

Matches

Show answer & explanation

Answer

The scenarios match their respective security weaknesses as follows: Telnet and HTTP management maps to Cleartext Management & Insecure Protocols; End-of-Life OS maps to Unsupported / Legacy System; hypervisor interface accessible to user subnets maps to Improper Network Segmentation; and factory login accounts map to Default Configuration & Credentials.
Each scenario directly maps to its primary host and infrastructure vulnerability category: Telnet and HTTP communicate without transport encryption (Cleartext Management & Insecure Protocols); EOL systems lack vendor patch support (Unsupported / Legacy System); hypervisors accessible across general user subnets lack network isolation (Improper Network Segmentation); and factory administrative logins leave systems exposed to unauthorized access (Default Configuration & Credentials).

Step-by-Step Solution

1
Analyze each scenario's technical properties and security flaw.
Identify cleartext transport protocols (Telnet/HTTP), unpatched software lifecycle status (EOL), flat network exposure of host management, and unmanaged factory credentials.
Categorizing the specific technical failure allows mapping each host and infrastructure risk to standard security vulnerability categories.
2
Map the technical failures to their core host and infrastructure vulnerability classifications.
Connect cleartext management traffic to insecure protocols, EOL status to unsupported systems, unrestricted hypervisor routing to improper segmentation, and factory logins to default configurations.
Correlate host lifecycle, network access boundaries, and credential baselines against established enterprise security weakness classifications.

Key Concept

Host, Network, and Architecture Vulnerabilities
Question 593Question

A digital media broadcasting network is migrating its video processing pipeline to a cloud-native architecture using a serverless Function-as-a-Service (FaaS) compute layer paired with object storage for asset ingestion. The security engineering team must establish governance over operational tasks according to the cloud shared responsibility model. Which TWO of the following operational tasks remain the sole security responsibility of the broadcasting network?

Select all that apply

Show answer & explanation

Answer: Managing resource access policies and Identity and Access Management (IAM) permissions for stored video assets; Validating, sanitizing, and patching vulnerabilities within the custom application code and integrated libraries loaded into the functions

Answer

Managing resource access policies and IAM permissions for stored video assets, along with validating and patching custom application code and third-party dependencies deployed into serverless functions, remain the sole security responsibility of the enterprise customer.
Under the cloud shared responsibility model for serverless (FaaS) and managed object storage environments, the Cloud Service Provider (CSP) abstracts and manages the underlying host infrastructure, operating system, container runtime execution layer, and physical security. However, data governance, identity and access management (IAM) policy definition, and the security of application code (including code sanitization and third-party dependency vulnerabilities) remain strictly the responsibility of the customer.

Step-by-Step Solution

1
Analyze the cloud service model referenced in the scenario.
The infrastructure uses Function-as-a-Service (FaaS / Serverless) compute and object storage.
Determining the service model establishes the boundaries between customer and provider responsibilities.
2
Differentiate between CSP infrastructure responsibilities and customer operational responsibilities in FaaS.
The CSP manages host OS, hypervisor, runtime engine, physical hardware, and facility security. The customer manages data classification, IAM access rules, and application code security.
FaaS abstracts server and container administration away from the customer, but code logic and access governance never shift to the cloud vendor.
3
Select the responsibilities attributable exclusively to the customer.
Configuring IAM access policies for stored data assets and securing customer-written code and dependencies are the two customer duties.
These tasks directly safeguard customer-owned assets and data within the shared responsibility matrix.

Key Concept

Shared Responsibility Model in Serverless (FaaS) Architectures
Question 594Question

An industrial engineering firm operates a critical water treatment facility utilizing legacy Programmable Logic Controllers (PLCs) within an Operational Technology (OT) control zone. The organization must transmit continuous operational metrics to a cloud-based Enterprise Resource Planning (ERP) analytics platform. The security architecture team must ensure that telemetry data moves out of the OT environment while physically preventing any inbound control signals, command injection, or unauthorized network traffic from reaching the legacy PLCs. Which of the following network segmentation designs best achieves this objective?

Show answer & explanation

Answer: Deploying a unidirectional security gateway (data diode) at the OT-to-IT boundary to physically restrict data flow exclusively outbound toward a staging broker in the enterprise DMZ.

Answer

Deploying a unidirectional security gateway (data diode) at the OT-to-IT boundary to physically restrict data flow exclusively outbound toward a staging broker in the enterprise DMZ.
Deploying a unidirectional security gateway (data diode) provides physical, optical enforcement of one-way network traffic flow. This permits operational metrics to leave the OT environment while making it physically impossible for incoming signals, commands, or exploit payloads to reach legacy PLCs.

Step-by-Step Solution

1
Analyze the security and operational requirements
Identified the requirement for one-way outbound data egress (OT telemetry to cloud analytics) with zero possibility of inbound network traffic, command injections, or reverse connections to legacy PLCs.
Legacy OT/ICS devices often lack modern security controls and patch capabilities, making any inbound communication path a high-risk vector for cyber-attacks.
2
Evaluate candidate network isolation and segmentation technologies
Standard firewalls and jump servers permit bidirectional IP layer communication. Data diodes enforce unidirectional transmission at the physical layer (Layer 1).
Physical enforcement via optical transmitters and receivers prevents any protocol-level return path or handshake from traversing back into the protected segment.
3
Select the optimal architecture matching the strict boundary constraint
Confirmed that a data diode paired with a DMZ staging broker satisfies continuous telemetry export while enforcing absolute physical isolation against inbound traffic.
This design adheres to strict OT/IT segmentation standards (such as IEC 62443 / Purdue Model Level 3 to Level 4 separation).

Key Concept

Unidirectional Network Gateways (Data Diodes) and OT/IT Network Segmentation
Question 595Question

A security administrator must perform regular vulnerability assessments on production enterprise servers hosting critical database applications. The organization requires detailed visibility into missing OS security patches and host configuration compliance, but must avoid destabilizing active production services or triggering target account lockouts. Which vulnerability testing approach should the administrator implement to meet these requirements?

Show answer & explanation

Answer: Run a credentialed vulnerability assessment using a dedicated read-only service account.

Answer

Run a credentialed vulnerability assessment using a dedicated read-only service account.
Credentialed vulnerability assessments utilize valid account credentials to access local system resources directly. This allows the assessment scanner to read system patch levels, registry configurations, and installed software indices safely without triggering network intrusion alarms or brute-force account lockout thresholds.

Step-by-Step Solution

1
Analyze the operational requirements provided in the scenario.
Identified key requirements: high-accuracy detection of OS/software missing patches, verification of internal system configurations, zero risk of account lockouts, and minimal service impact.
Vulnerability assessment techniques vary in aggressiveness, resource usage, and internal system visibility.
2
Compare credentialed scanning against uncredentialed and dynamic testing techniques.
Credentialed scanning logs directly into the target operating system via a low-privileged read-only account, querying installed packages and configuration files without injecting active exploit payloads.
Logging in locally provides comprehensive internal patch visibility while avoiding service disruption or brute-force account lockouts.

Key Concept

Credentialed vs. Uncredentialed Vulnerability Assessment Methods
Question 596Question

Match each observed wireless attack indicator on the left with its corresponding attack classification on the right.

Click a left item, then click its matching right item

Items

Captive portal clone broadcasting an identical corporate SSID with a stronger RSSI on an unapproved channel alongside injected frame drops
Unsolicited OBEX push messages containing text or contact cards received on mobile endpoints over short-range 2.4 GHz wireless links
A high-frequency burst of 802.11 management frames (subtype 0x000C) forcing wireless clients off the access point
Capture logs demonstrating repeated M4 and M6 message failures during automated PIN registration attempts against an AP

Matches

Show answer & explanation

Answer

1. Captive portal clone broadcasting identical SSID -> Evil Twin Attack; 2. Unsolicited OBEX push messages -> Bluejacking; 3. Burst of 802.11 management subtype 0x000C frames -> Wireless Disassociation Attack; 4. M4/M6 failure messages during PIN registration -> WPS Brute-Force Attack.
Each indicator uniquely aligns with its attack mechanism: Evil Twins impersonate known SSIDs with stronger RSSI; Bluejacking uses OBEX to deliver unsolicited media; Disassociation attacks utilize 802.11 management frames (subtype 0x000C); and WPS brute-forcing triggers M4/M6 handshake errors during PIN validation.

Step-by-Step Solution

1
Analyze the indicator describing an unauthorized access point copying a legitimate network's SSID with higher signal strength.
Identify that spoofing a legitimate SSID to intercept victim traffic defines an Evil Twin attack.
Evil Twins trick client devices into auto-associating due to higher signal strength.
2
Examine the short-range wireless payload involving OBEX push protocol messages.
Match OBEX messaging with Bluejacking.
Bluejacking involves sending unsolicited business cards or text messages via Bluetooth without gaining unauthorized data access.
3
Inspect the 802.11 frame subtype 0x000C metric.
Associate subtype 0x000C (Deauthentication) with a Wireless Disassociation attack.
Spoofed 802.11 deauthentication management frames force targeted endpoints off the wireless network.
4
Identify the protocol failures during M4/M6 handshake messages.
Link WPS PIN handshake message failures to WPS Brute-Force attacks.
WPS exchanges use specific message sequences (M1 through M8); failures at M4/M6 occur when testing invalid 4-digit PIN halves.

Key Concept

Identifying wireless attack signatures and protocols from technical packet indicators and log anomalies.
Question 597Question

During an infrastructure security review at an industrial design firm, security analysts discover that several senior hardware engineers were infected with malware after visiting a popular, highly niche third-party CAD community forum. Investigation reveals that threat actors compromised the forum server weeks earlier and modified its code to selectively deliver an exploit payload only to visitors originating from the design firm's corporate IP address range. Which social engineering vector did the threat actor primarily execute to target these specific employees?

Show answer & explanation

Answer: Watering hole attack

Answer

Watering hole attack
The correct answer is a watering hole attack. In a watering hole scenario, attackers identify sites frequently visited by members of a targeted group or enterprise, compromise one or more of those websites, and set up exploits to infect visitors connecting from the target organization's network.

Step-by-Step Solution

1
Analyze the attack mechanism described in the incident scenario.
The adversary targeted a trusted, third-party website frequently visited by employees of a targeted organization rather than interacting directly with victims.
Identifying the medium and interaction method isolates the social engineering attack category.
2
Evaluate the targeting and filtering behavior.
The web server code was modified to execute malicious payloads specifically against visitors coming from the victim firm's IP address range.
Strategic targeting of specific enterprise IP ranges via a compromised shared resource is the hallmark of a watering hole tactic.
3
Map the observed technique to standard social engineering definitions.
Compromising a site where targets naturally aggregate to deliver tailored exploits defines a watering hole attack.
Differentiates this passive web compromise vector from active communication vectors like spear phishing or pretexting.

Key Concept

Watering Hole Attack Identification and Indicators
Estimated Time:2m 0s
Question 598Question

During an application security assessment of an enterprise document ingestion pipeline, an analyst reviews crash logs and source code snippets from a C/C++ processing engine that parses uploaded XML metadata and binary graphics. The analysis reveals two distinct flaws:

1. Submitting a specially crafted payload containing `<!ENTITY xxe SYSTEM "file:///etc/passwd">` causes the engine to return confidential system files in the API response.
2. Submitting an image file with an inflated metadata length field causes the application to write incoming payload bytes past the allocated dynamic memory buffer, leading to process memory corruption and instability.

Which of the following software vulnerabilities are present in this ingestion pipeline? (Select TWO).

Select all that apply

Show answer & explanation

Answer: XML External Entity (XXE) injection caused by parsing untrusted XML input with enabled external entity resolution; Heap-based buffer overflow resulting from unchecked memory writes beyond allocated buffer boundaries during metadata parsing

Answer

The application suffers from an XML External Entity (XXE) vulnerability due to improper XML parser entity resolution, and a heap-based buffer overflow due to missing boundary checks during dynamic memory writing.
The first issue stems from an improperly configured XML parser that processes external entity declarations (`<!ENTITY ... SYSTEM ...>`), leading directly to XML External Entity (XXE) injection and unauthorized local file disclosure. The second issue occurs because the application fails to validate the size of incoming binary data against allocated dynamic memory, causing a heap-based buffer overflow when parsing image metadata.

Step-by-Step Solution

1
Analyze the first payload vulnerability scenario involving XML parsing.
The payload uses `<!ENTITY xxe SYSTEM ...>` to request local files from the operating system, which is the classic indicator of an XML External Entity (XXE) injection flaw.
XML parsers that do not disable external entity references (DTD processing) allow attackers to exfiltrate files or perform Server-Side Request Forgery.
2
Analyze the second code execution/crash scenario involving memory parsing.
Writing data past the end of a dynamically allocated memory structure based on an untrusted header length field indicates a heap-based buffer overflow.
Without strict bounds checking on dynamic memory operations in C/C++, arbitrary payload bytes overflow memory boundaries, leading to corruption or code execution.
3
Synthesize the findings to select the correct set of vulnerabilities.
XML External Entity (XXE) injection and heap-based buffer overflow are the two confirmed vulnerabilities present in the scenario.
Both findings directly align with input validation and memory safety flaws in software applications.

Key Concept

Application and Software Vulnerabilities (XXE and Buffer Overflows)
Question 599Question

A security administrator is reviewing findings from a static application security testing (SAST) tool scan on an enterprise web portal. The scan identified several software flaws caused by improper handling of user input. Which of the following software security practices directly mitigate input validation and injection vulnerabilities such as Cross-Site Scripting (XSS) and SQL Injection (SQLi)? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Implementing contextual output encoding before rendering user input in web pages; Utilizing parameterized queries for all back-end database operations

Answer

The effective mitigations for input validation and injection flaws are implementing contextual output encoding and utilizing parameterized queries.
Contextual output encoding converts potentially harmful characters (such as HTML tag delimiters) into safe display representations before rendering in the browser, directly mitigating Cross-Site Scripting (XSS). Parameterized queries force the database interpreter to handle user input strictly as data values separate from the SQL query syntax, directly preventing SQL Injection (SQLi).

Step-by-Step Solution

1
Analyze the vulnerability types identified in the scenario
The target vulnerabilities are Cross-Site Scripting (XSS) and SQL Injection (SQLi), both of which arise from improper handling of user-supplied input.
Identifying the root cause ensures appropriate application-level security controls are selected.
2
Evaluate application-layer mitigation mechanisms
Contextual output encoding prevents browser execution of malicious scripts (mitigating XSS), while parameterized queries (prepared statements) ensure database engines treat input strictly as data parameters rather than executable SQL commands (mitigating SQLi).
These controls target input sanitization and command separation directly within application code.
3
Exclude ineffective network and authentication controls
Layer 3 firewalls and multi-factor authentication address network traffic routing and identity verification respectively, neither of which alters how application code processes input payloads.
Distinguish between infrastructure/access management controls and software development defenses.

Key Concept

Application Input Sanitization and Parameterization Mitigations
Estimated Time:1m 0s
Question 600Question

An enterprise cloud application utilizes a service mesh architecture to handle communication between internal microservices. To reduce authentication overhead and improve performance, a DevOps engineer proposes issuing a persistent session token after an initial mTLS handshake, allowing subsequent microservice calls to bypass per-request authorization checks. Which of the following statements best explains why this proposed design violates core Zero Trust Architecture principles?

Show answer & explanation

Answer: It creates implicit trust within the internal communications boundary by assuming prior authentication remains valid for subsequent transactions without continuous verification.

Answer

The proposed design violates Zero Trust Architecture principles because it establishes implicit trust across subsequent requests within the service mesh by assuming prior authentication remains valid without continuous per-request evaluation.
Zero Trust Architecture (ZTA) mandates that no implicit trust is granted based on past authentication or internal network positioning. Every transaction and inter-service call must be individually evaluated and authorized continuously in real time using contextual signals.

Step-by-Step Solution

1
Analyze the core proposal in the scenario.
The engineer proposes issuing a persistent session token after an initial mTLS handshake to bypass authorization for subsequent calls.
Identifying the mechanism helps determine which architectural security boundary or tenet is being altered.
2
Evaluate the proposal against Zero Trust Architecture (ZTA) core tenets (e.g., NIST SP 800-207).
ZTA dictates that all resource access must be explicitly verified and dynamically authorized on a per-request basis regardless of network location or previous authentication states.
Zero Trust operates under the premise of 'never trust, always verify' and assumes the internal network is always compromised.
3
Identify the primary architectural failure in the proposal.
Bypassing per-request authorization grants implicit trust to subsequent requests based on state stored from a past check, directly violating the continuous verification tenet.
Allowing persistent trust without evaluating real-time context on every request creates an attack window if a session token or microservice is compromised.

Key Concept

Continuous Explicit Verification and Elimination of Implicit Trust in Zero Trust Architecture
Estimated Time:2m 30s
PreviousPage 30 / 112Next
All practice questions — CompTIA Security+ | Examkin