General Security Concepts

268 questions

Question 121Question

An enterprise security team is categorizing various security controls according to CompTIA Security+ framework classifications. Match each security control implementation on the left with its corresponding control category and functional type on the right.

Click a left item, then click its matching right item

Items

Developing and enforcing an enterprise Information Security Policy that specifies mandatory data handling rules.
Deploying web application firewalls (WAF) to automatically block SQL injection attempts against web applications.
Restoring system configurations and databases from isolated backups following a malware encryption incident.
Installing high-visibility warning signs along the perimeter fencing of a secure data center facility.

Matches

Show answer & explanation

Answer

Developing security policies matches Managerial Category / Directive Type; Web application firewalls match Technical Category / Preventive Type; Restoring systems from backups matches Operational Category / Corrective Type; Installing perimeter warning signs matches Physical Category / Deterrent Type.
Each control is correctly classified based on CompTIA Security+ standards: Enterprise policies are governance-driven (Managerial) rules (Directive); WAFs are technology safeguards (Technical) that proactively block attacks (Preventive); data restoration is a procedural task (Operational) that remedies post-incident damage (Corrective); and physical warning signs are tangible facility measures (Physical) meant to discourage intruders (Deterrent).

Step-by-Step Solution

1
Analyze control implementation mechanisms to determine their primary category (Managerial, Technical, Operational, or Physical).
Policies reflect Managerial governance; WAFs reflect Technical software; backup restoration reflects Operational procedures; warning signs reflect Physical facility controls.
Control categories are defined by how the security control is implemented and administered.
2
Determine the functional goal of each control (Preventive, Deterrent, Detective, Corrective, Compensating, or Directive).
Policies direct behavior; WAFs prevent attacks; backups correct damage post-incident; warning signs deter potential intruders.
Functional types are classified by the control's purpose in the security incident lifecycle.
3
Combine the identified category and functional type for each security control to complete the matching pairs.
All four controls are accurately mapped to their unique dual-axis classifications.
Each control satisfies exactly one category and one functional type combination provided.

Key Concept

Dual-axis classification of security controls by category (Managerial, Technical, Operational, Physical) and functional type (Preventive, Deterrent, Detective, Corrective, Compensating, Directive).
Question 122Question

A security architect is establishing cryptographic standards for an enterprise API service. The service requirements specify that past session communications must remain secure even if the server's long-term private key is compromised in the future. Additionally, incoming API requests must provide proof of origin and data integrity that cannot be denied by the sender. Which of the following cryptographic mechanisms should the architect implement to satisfy these security requirements? (Select TWO).

Select all that apply

Show answer & explanation

Answer: Ephemeral Elliptic Curve Diffie-Hellman (ECDHE) key exchange for session establishment; Asymmetric digital signatures attached to request payloads

Answer

The architect should implement Ephemeral Elliptic Curve Diffie-Hellman (ECDHE) key exchange and asymmetric digital signatures attached to request payloads.
Ephemeral Elliptic Curve Diffie-Hellman (ECDHE) key exchange provides Perfect Forward Secrecy (PFS) by generating unique key pairs for each session, preventing future key compromises from decrypting past traffic. Asymmetric digital signatures ensure data integrity and non-repudiation, guaranteeing that the request originated from the specified sender and was not altered in transit.

Step-by-Step Solution

1
Analyze the requirement for protecting past session communications against future private key compromise.
Identified the need for Perfect Forward Secrecy (PFS).
Perfect Forward Secrecy ensures that session keys are not derived from long-term secret keys. Ephemeral Diffie-Hellman key exchanges (such as ECDHE) generate temporary keys per session to achieve this.
2
Analyze the requirement for proof of origin and data integrity that cannot be denied by the sender.
Identified the need for non-repudiation and integrity verification.
Digital signatures combine hashing (for integrity) with asymmetric private key signing (for non-repudiation), ensuring the sender cannot deny creating the request.

Key Concept

Perfect Forward Secrecy and Digital Signatures
Question 123Question

An organization updates its enterprise defense baseline to satisfy compliance requirements. As part of this initiative, the security team deploys an inline Network Intrusion Prevention System (NIPS) to automatically drop unauthorized network traffic, and publishes an updated Acceptable Use Policy (AUP) mandating clean desk and screen lock procedures for all staff members.

Which of the following statements correctly classify these security controls according to CompTIA Security+ categories and functional types? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: The inline NIPS is classified as a technical category control with a preventive functional type.; The Acceptable Use Policy is classified as a managerial category control with a directive functional type.

Answer

The inline Network Intrusion Prevention System (NIPS) is a technical category control with a preventive functional type, and the Acceptable Use Policy (AUP) is a managerial category control with a directive functional type.
The inline Network Intrusion Prevention System (NIPS) relies on software and hardware mechanisms to automatically inspect and drop unauthorized traffic before it breaches the perimeter, classifying it as a technical control with a preventive functional type. The Acceptable Use Policy (AUP) is an administrative document created by leadership to mandate user behavior and compliance, classifying it as a managerial control with a directive functional type.

Step-by-Step Solution

1
Analyze the inline NIPS mechanism.
It relies on hardware/software technology to function (Technical category) and actively stops unauthorized packets before entering the network (Preventive type).
Technical controls execute via automated hardware/software logic, while preventive controls actively inhibit security policy violations.
2
Analyze the Acceptable Use Policy (AUP).
It is an administrative governance document established by leadership (Managerial category) that mandates required employee compliance and behavior (Directive type).
Managerial controls focus on policy, oversight, and governance, while directive controls instruct individuals on mandatory operational practices.

Key Concept

Classification of security mechanisms by primary category (technical, managerial, operational, physical) and functional type (preventive, detective, corrective, deterrent, compensating, directive).
Question 124Question

A security analyst is reviewing the transport layer cryptographic configuration for a high-security financial microservice. The service requirements dictate that even if an adversary compromises the server's long-term private key in the future, previously intercepted session traffic must remain unencrypted and unreadable. Which cryptographic mechanism should be implemented to satisfy this requirement?

Show answer & explanation

Answer: Perfect Forward Secrecy utilizing ephemeral key exchange mechanisms such as ECDHE

Answer

Perfect Forward Secrecy utilizing ephemeral key exchange mechanisms such as ECDHE
The correct option specifies Perfect Forward Secrecy (PFS) with ephemeral key exchange (such as ECDHE). PFS ensures that session keys are generated dynamically for each communication session and deleted afterwards. Even if an attacker obtains the server's long-term private key in the future, they cannot calculate past session keys or decrypt previously intercepted traffic.

Step-by-Step Solution

1
Analyze the core security requirement stated in the scenario
Identified requirement: Protecting past recorded traffic from decryption if long-term server private keys are compromised in the future.
This requirement specifically describes the property of Perfect Forward Secrecy (PFS).
2
Evaluate cryptographic mechanisms against the PFS requirement
Ephemeral Diffie-Hellman key exchanges (e.g., ECDHE) generate temporary, single-session keys that are discarded after use, ensuring that compromised long-term private keys cannot decrypt past sessions.
Static key exchange algorithms (like RSA static exchange) decrypt secrets directly using the long-term private key, failing the requirement.
3
Select the option that implements ephemeral key exchange
The option specifying Perfect Forward Secrecy utilizing ephemeral key exchange mechanisms (ECDHE) directly fulfills the requirement.
It prevents retrospective decryption of intercepted communication streams.

Key Concept

Perfect Forward Secrecy (PFS) and Ephemeral Key Exchange
Question 125Question

A security engineer is updating the organization's cryptographic policy to cover emerging operational scenarios including IoT deployments, cloud analytics, secure password storage, and covert communication detection. Match each cryptographic concept on the left with its primary operational characteristic or security use case on the right.

Click a left item, then click its matching right item

Items

Key Stretching
Homomorphic Encryption
Lightweight Cryptography
Steganography

Matches

Show answer & explanation

Answer

Key Stretching matches with intentionally increasing CPU/memory costs to slow down brute-force attacks; Homomorphic Encryption matches with executing computations directly on ciphertext without decryption; Lightweight Cryptography matches with optimizing ciphers for resource-constrained IoT devices; Steganography matches with concealing secret data within innocuous carrier files.
Key Stretching intentionally adds computational cost to mitigate password cracking; Homomorphic Encryption enables computations on ciphertext without prior decryption; Lightweight Cryptography reduces hardware and power requirements for IoT devices; Steganography hides payloads inside innocent carrier files.

Step-by-Step Solution

1
Analyze the operational objective of Key Stretching.
Identify that functions like PBKDF2 or bcrypt introduce computational delay (work factor) during key generation or hashing to thwart offline dictionary attacks.
Slowing down hash calculations directly mitigates rapid brute-forcing.
2
Analyze Homomorphic Encryption capabilities.
Recognize that it preserves confidentiality during data processing by enabling mathematical operations directly on encrypted values.
This secures data-in-use during cloud analytics.
3
Analyze Lightweight Cryptography constraints.
Identify that algorithms such as ASCON or PRESENT are tailored specifically for small silicon footprints and microcontrollers with low memory and power availability.
Standard ciphers like AES-256 can be too resource-intensive for small embedded hardware.
4
Analyze Steganography features.
Determine that steganography hides data within cover media (e.g., LSB insertion in images) to prevent observation of the transmission.
Unlike standard encryption which makes data unreadable, steganography hides the presence of the data altogether.

Key Concept

Cryptographic Concepts and Specialized Implementation Paradigms
Estimated Time:1m 30s
Question 126Question

An enterprise facility installs biometric fingerprint readers on all access doors leading into its main server room to explicitly prevent unauthorized personnel from physically touching server hardware. How should the security team classify this access mechanism based on CompTIA Security+ control category and functional type definitions?

Show answer & explanation

Answer: Physical category and Preventive functional type

Answer

Physical category and Preventive functional type
The classification as Physical and Preventive is correct because physical door access hardware restricts tangible access to facilities (Physical category) and actively blocks unauthorized personnel from gaining entry (Preventive functional type).

Step-by-Step Solution

1
Determine the security control category based on implementation domain
Because fingerprint scanners are physical hardware devices securing tangible facility infrastructure (server room doors), the control falls into the Physical category.
Control categories distinguish between Technical (logical/software), Managerial (administrative/policy), Operational (human processes), and Physical (facility/tangible) security elements.
2
Determine the functional control type based on intended operation
Because the mechanism actively denies entry to unauthenticated individuals, it serves a Preventive function.
Preventive controls aim to deter or actively stop security breaches before they occur, unlike Detective controls which identify active or past incidents.

Key Concept

Classification of security controls by category (Technical, Managerial, Operational, Physical) and functional type (Preventive, Detective, Corrective, Deterrent, Compensating, Directive).
Question 127Question

An organization is updating its credential storage architecture to protect user account passwords against offline precomputed table attacks. System analysis reveals that many users select identical plaintext passwords, which currently results in identical stored hash values within the credential database. Which of the following cryptographic techniques should the security administrator implement to ensure that identical passwords produce distinct stored hashes?

Show answer & explanation

Answer: Salting each password with a unique, randomly generated value prior to running the hashing algorithm

Answer

Salting each password with a unique, randomly generated value prior to running the hashing algorithm ensures that identical plaintext passwords produce distinct hash values.
Salting involves appending a unique, random value to a password before hashing. This ensures that even if two users choose the exact same plaintext password, their resulting stored hashes will be completely different. Consequently, precomputed rainbow table attacks become ineffective because the attacker would need to build a distinct precomputed table for every unique salt value.

Step-by-Step Solution

1
Identify the primary threat described in the scenario
The system is vulnerable to offline precomputed table (rainbow table) attacks because identical plaintext passwords yield identical stored hashes.
Precomputed tables rely on looking up known hash outputs for common plaintext strings.
2
Evaluate the mechanism required to randomize hash output for identical inputs
Cryptographic salting appends a unique, random string of bits to each password input before the hashing function executes.
Because the input to the hash function becomes unique per user account (Password+SaltPassword + Salt), two identical passwords will result in completely different hash digest values.
3
Select the cryptographic technique matching the requirement
Cryptographic salting directly resolves duplicate hash entries and renders precomputed rainbow tables useless.
An attacker would have to compute a separate table for every unique salt value, making precomputation computationally infeasible.

Key Concept

Cryptographic Salting and Hashing
Estimated Time:1m 15s
Question 128Question

An enterprise security team is auditing organizational controls against the CompTIA Security+ framework. Match each implemented security control on the left to its corresponding dual-axis classification (Control Category / Functional Type) on the right.

Click a left item, then click its matching right item

Items

Deploying an inline Web Application Firewall (WAF) to drop malicious HTTP payloads
Conducting enterprise risk assessments and updating corporate information security policies
Executing automated script tasks to re-image compromised endpoints and restore configurations from known good baselines
Installing biometric retina scanners on access doors leading into data center facilities

Matches

Show answer & explanation

Answer

The controls are correctly matched as follows: Inline Web Application Firewall matches Technical / Preventive; Enterprise risk assessments and security policy updates match Managerial / Directive; Automated endpoint re-imaging scripts match Technical / Corrective; Biometric retina scanners on facility doors match Physical / Preventive.
Each security mechanism aligns with its specific framework classification: Technical controls utilize hardware/software technologies, Managerial controls establish administrative policies and risk frameworks, and Physical controls protect facilities and tangible assets. Functionally, Preventive controls impede security events, Directive controls specify mandatory actions, and Corrective controls repair damage or restore functionality.

Step-by-Step Solution

1
Determine the primary control category (Technical, Managerial, Operational, Physical) for each item.
Inline WAF and endpoint restoration scripts use technology (Technical); policies and risk assessments use administration/governance (Managerial); retina scanners on physical doors protect tangible property (Physical).
Control categories reflect how a control is implemented within an environment.
2
Determine the functional control type (Preventive, Deterrent, Detective, Corrective, Compensating, Directive) for each item based on its operational purpose.
Inline WAF blocks traffic before entry (Preventive); policies establish required behaviors (Directive); re-imaging scripts repair compromised systems (Corrective); retina scanners stop physical entry (Preventive).
Functional types describe what goal the control accomplishes in response to security risk.
3
Combine category and functional type to form dual-axis pairs and match to right-hand items.
All left items map uniquely to their corresponding dual-axis right-side designations.
Proper classification requires accurate pairing of implementation axis and functional goal.

Key Concept

Security Control Categories and Types
Question 129Question

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 130Question

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 131Question

A cloud development team integrates an automated scanner into a continuous integration and continuous deployment (CI/CD) pipeline to check Infrastructure-as-Code (IaC) templates for misconfigurations. When the scanner identifies high-risk security flaws, it automatically terminates the build job, stopping non-compliant infrastructure from being deployed into the live cloud environment. According to security control classifications, which category and functional type pair best describes this automated scanner gate?

Show answer & explanation

Answer: Technical and Preventive

Answer

Technical and Preventive
The option specifying 'Technical and Preventive' is correct because the scanner relies on software automation and system logic to enforce security policies (Technical category) and actively prevents misconfigured code from being deployed into the live environment (Preventive functional type).

Step-by-Step Solution

1
Determine the primary control category based on execution mechanism.
Because the control is implemented through automated software, security scripts, and CI/CD tooling rather than human processes or administrative policies, it belongs to the Technical (Logical) category.
Technical controls utilize hardware, software, or firmware mechanisms to enforce security rules.
2
Determine the functional control type based on the operational objective.
Because the pipeline gate halts execution to ensure insecure code never reaches the live production environment, its objective is to prevent security incidents from taking place.
Preventive controls stop unauthorized actions or vulnerabilities before impact occurs.
3
Synthesize category and functional type into the combined classification.
The control is classified as Technical and Preventive.
Combines technological execution (Technical) with proactive intervention (Preventive).

Key Concept

Security Control Categories and Functional Types
Question 132Question

A enterprise healthcare organization is deploying an S/MIME solution for secure email communications. The compliance team mandates that encrypted emails must remain recoverable by security auditors if an employee leaves the company. However, the legal team requires that digitally signed emails strictly maintain legal non-repudiation. Which of the following public key infrastructure (PKI) key management configurations should the security team implement to satisfy both requirements?

Show answer & explanation

Answer: Escrow the private key designated for email decryption on a secure server, while keeping the digital signature private key under the user's sole control on the local system without escrow.

Answer

Escrow the private key designated for email decryption on a secure server, while keeping the digital signature private key under the user's sole control on the local system without escrow.
In enterprise PKI environments, separating encryption certificates from digital signature certificates is standard practice. The private key used for decrypting S/MIME emails can be safely escrowed so that the organization can recover encrypted files and emails if needed. Conversely, the private key used for digital signatures must remain under the exclusive control of the owner and never be escrowed, preserving strict legal non-repudiation.

Step-by-Step Solution

1
Analyze the compliance requirement for data recovery.
Email confidentiality relies on asymmetric encryption where messages are encrypted with the recipient's public key. Decrypting archived emails requires access to the corresponding private key, making key escrow appropriate for decryption keys.
Escrowing decryption keys guarantees that business correspondence remains readable even if keys are lost or employees depart.
2
Analyze the legal requirement for non-repudiation.
Non-repudiation proves that a specific individual authored or authorized a signed document. If any third party possesses a copy of the signing private key, the key owner can repudiate the signature.
Digital signature private keys must never be escrowed to ensure sole control by the key holder.
3
Select the configuration that balances both requirements.
Separate dual-key pairs should be issued: one key pair for encryption/decryption (with escrow) and one key pair for digital signatures (without escrow).
This dual-certificate deployment satisfies both data availability and non-repudiation mandates.

Key Concept

Dual Key Pair Management and Key Escrow vs Non-Repudiation in PKI
Estimated Time:1m 30s
Question 133Question

A security analyst is evaluating enterprise security mechanisms to classify them according to CompTIA Security+ functional control types. Which of the following examples correctly pair a security control with its primary functional control type? (Select TWO).

Select all that apply

Show answer & explanation

Answer: Motion sensors installed in a server room to alert security personnel upon unauthorized physical entry function as a detective control.; Security policies mandating annual employee security awareness training prior to system access function as a directive control.

Answer

The motion sensors functioning as a detective control and security policies functioning as a directive control are the two correct functional control pairings.
Motion sensors detect physical intrusion events and alert monitoring staff, which satisfies the definition of a detective control. Security policies mandating security awareness training establish required behaviors and compliance expectations, satisfying the definition of a directive control.

Step-by-Step Solution

1
Analyze each security control scenario against the functional control categories defined by CompTIA Security+ (preventive, detective, corrective, deterrent, compensating, directive).
Motion sensors detect motion and alert security (detective). Organizational security training policies mandate behavior (directive). An inline NIPS actively blocks malicious traffic (preventive). A honeypot observes threat actor activity (detective).
Functional control types are categorized by their operational objective during an security event lifecycle.
2
Identify the two accurate control and functional type combinations.
Motion sensors as detective controls and security policies as directive controls are correct.
An inline NIPS is misclassified as detective when its active blocking role makes it preventive, and a honeypot is misclassified as preventive when its decoy logging function makes it detective.

Key Concept

Security Control Functional Types
Estimated Time:1m 30s
Question 134Question

Following a compliance audit, an enterprise identifies a legacy core mainframe application that cannot natively support multi-factor authentication (MFA) or modern encryption protocols. To address the vulnerability without replacing the application, the security team deploys an isolated jump host requiring hardware token MFA and places an inline proxy in front of the mainframe to encrypt all transient sessions. Which of the following functional control types is best demonstrated by this implementation?

Show answer & explanation

Answer: Compensating control

Answer

The implementation represents a compensating control because it provides an alternative technical mechanism to satisfy security requirements when native controls cannot be supported.
The selection of a compensating control is correct because placing a secondary gateway (MFA jump host and inline proxy) around a legacy system provides an alternative technical barrier that meets organizational authentication and encryption policy requirements when the primary host cannot support those features natively.

Step-by-Step Solution

1
Analyze the operational limitation presented in the scenario.
The core legacy mainframe system lacks native support for required security controls (MFA and session encryption).
Identifying the inability to deploy standard primary controls establishes the need for an alternate security measure.
2
Evaluate the mechanism chosen by the security team.
The team introduced an external MFA jump host and an inline encryption proxy to mitigate the exposure.
This alternative mechanism fulfills the security objective without directly altering the underlying legacy application.
3
Map the mechanism to CompTIA Security+ functional control types.
Controls designed to achieve the intent of a primary security requirement when primary controls are infeasible are classified as compensating controls.
Compensating controls specifically substitute for standard measures to achieve equivalent risk mitigation.

Key Concept

Security Control Functional Types: Compensating Controls
Question 135Question

A security systems engineer is deploying mutual TLS (mTLS) for communication between internal microservices. During testing, client microservice instances fail to authenticate to target API gateways. Inspection of the certificate validation logs reveals that the client certificates were rejected because their Extended Key Usage (EKU) attribute is configured exclusively for "Server Authentication" (1.3.6.1.5.5.7.3.1) rather than "Client Authentication" (1.3.6.1.5.5.7.3.2). Which of the following actions should the security engineer take to resolve the authentication failures while adhering to PKI best practices?

Show answer & explanation

Answer: Generate a new Certificate Signing Request (CSR) requesting the Client Authentication EKU extension and submit it to the Certificate Authority for issuance.

Answer

Generate a new Certificate Signing Request (CSR) requesting the Client Authentication EKU extension and submit it to the Certificate Authority for issuance.
Generating a new Certificate Signing Request (CSR) with the Client Authentication EKU extension directly addresses the root cause of the mTLS handshake failure. PKI certificates explicitly define their intended applications via Key Usage and Extended Key Usage fields; client-side mTLS endpoints require the Client Authentication object identifier (1.3.6.1.5.5.7.3.2) to pass validation.

Step-by-Step Solution

1
Analyze the error log
Identified that the client certificate lacks the required Client Authentication EKU extension.
During a TLS handshake, mutual authentication requires the client certificate to explicitly allow client identity verification.
2
Determine the proper PKI issuance workflow
Create a updated CSR with the correct Extended Key Usage extension requested.
Certificate attributes such as EKU cannot be modified post-issuance; a new CSR must be signed by the CA.
3
Deploy and test the newly issued certificate
The client microservice presents a valid certificate containing Client Authentication EKU, resolving the mTLS handshake failure.
The API gateway trusts the CA and successfully verifies the EKU field during peer authentication.

Key Concept

Extended Key Usage (EKU) extensions in PKI certificate issuance
Question 136Question

An enterprise security policy requires software developers to digitally sign compiled binaries using a dedicated Hardware Security Module (HSM) USB token. Which of the following represents the correct sequential order of steps required to obtain and prepare the code signing certificate on the hardware token, from first to last?

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct sequence begins with generating the asymmetric key pair on the HSM token, followed by generating the Certificate Signing Request (CSR), submitting the CSR to the Certificate Authority (CA) for signing, and finally importing the signed certificate onto the HSM token to bind it with the stored private key.
The standard PKI enrollment workflow follows a logical sequence. First, the asymmetric key pair must be generated directly on the target device (HSM) so the private key remains secure. Second, a CSR is built using the generated public key and subject metadata. Third, the CSR is submitted to the CA for verification and digital signature issuance. Finally, the resulting signed certificate is installed back onto the HSM to bind with the private key.

Step-by-Step Solution

1
Generate the asymmetric key pair inside the secure boundary of the HSM USB token.
A public key is exposed for request generation, while the private key is retained in non-exportable hardware storage.
For high-assurance security like code signing, private key generation must occur locally on the cryptoprocessor to prevent key exposure.
2
Construct a Certificate Signing Request (CSR) incorporating the public key and organizational subject attributes.
A standardized PKCS#10 CSR file is created.
The Certificate Authority requires a formal CSR containing the public key and identity data to construct the certificate.
3
Submit the CSR to the internal or commercial Certificate Authority (CA).
The CA validates the identity, signs the public key using its private key, and issues an X.509 certificate.
The CA serves as the trusted third party that validates the identity and digitally signs the certificate.
4
Import the issued X.509 certificate back into the HSM token container.
The certificate is bound to the matching private key stored on the hardware token.
Binding the signed public certificate with the private key on the HSM completes the PKI enrollment lifecycle and enables signing tools to operate.

Key Concept

Public Key Infrastructure (PKI) Certificate Signing Request (CSR) and Hardware-Based Key Lifecycle
Question 137Question

An enterprise deploys host-based agent software on all employee workstations to continuously monitor volatile memory for anomalous activity and automatically generate alerts for the security operations center upon identifying suspicious API calls. According to CompTIA Security+, which control category and functional type combination does this host-based monitoring software represent?

Show answer & explanation

Answer: Technical category and Detective functional type

Answer

The host-based monitoring software represents a Technical control category and a Detective functional type.
The correct response identifies the host-based software agent as a Technical control because it relies on software logic operating on the system. Furthermore, its function of continuously observing memory behaviors and emitting alerts classifies it as a Detective control type designed to discover security threats.

Step-by-Step Solution

1
Determine the security control category.
Because the mechanism is an automated software agent executing on host hardware to analyze system memory, it falls under the Technical (Logical) category.
Technical controls are implemented through software, hardware, or firmware logic.
2
Determine the functional control type.
Because the software monitors for anomalous events and raises alerts for analyst inspection without modifying system configuration or restoring files, its function is Detective.
Detective controls identify and signal malicious activity or policy violations during or after execution.

Key Concept

Security Control Categories and Types
Estimated Time:1m 0s
Question 138Question

A systems administrator needs to request and deploy a new SSL/TLS certificate for an enterprise web application using an internal Certificate Authority (CA). Arrange the steps of the certificate enrollment and deployment process in the correct chronological order from first to last.

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct chronological sequence for certificate enrollment and deployment is: 1) Generate the public/private key pair locally on the web server, 2) Create the Certificate Signing Request (CSR), 3) Submit the CSR to the internal Certificate Authority, 4) The Certificate Authority signs the request and issues the X.509 certificate, and 5) Install the certificate and intermediate chain on the web server and bind it to port 443.
The PKI enrollment lifecycle follows a logical progression starting with local key generation to ensure private key protection. The public key is then packaged into a CSR containing subject parameters and sent to a CA. The CA validates the identity, signs the request using its private key, and returns an X.509 certificate. Finally, the certificate and intermediate trust chain are installed and bound to the server's web service.

Step-by-Step Solution

1
Generate asymmetric keys locally on the endpoint host
The private key stays securely on the server while the public key is made available for certification.
Generating keys locally prevents private key exposure during transmission across network channels.
2
Build the Certificate Signing Request (CSR)
A CSR file is generated containing the public key and server identification details.
The CSR serves as the standardized input needed by a CA to construct a signed public key certificate.
3
Transmit the CSR to the Certificate Authority
The CA receives the CSR and verifies domain control and identity credentials.
The CA requires formal submission of the request before performing verification checks.
4
CA signs and issues the X.509 certificate
A signed X.509 digital certificate is created using the CA's private key.
Digital signing creates a trusted relationship between the server's public key and the CA's root of trust.
5
Import certificate and bind to web service
The web server presents the valid certificate during TLS client negotiation.
Binding the certificate to port 443 completes deployment, allowing browsers to establish trust.

Key Concept

PKI Certificate Request, Issuance, and Deployment Lifecycle
Question 139Question

An organization observes significant latency during TLS handshakes because client browsers independently query an external Certificate Authority (CA) to check revocation status. Additionally, the privacy team raises concerns that direct client queries allow the CA to monitor user browsing activity. Which of the following features should the security administrator configure on the web server to reduce latency and address the privacy concern?

Show answer & explanation

Answer: Enable OCSP stapling on the web server so it periodically fetches signed status responses and appends them to the TLS handshake.

Answer

Enable OCSP stapling on the web server so it periodically fetches signed status responses and appends them to the TLS handshake.
Online Certificate Status Protocol (OCSP) stapling allows the web server to query the CA's OCSP responder at regular intervals, cache the time-stamped signed response, and staple it directly to the TLS handshake. This eliminates client-side round-trip delays and prevents the CA from tracking client IP addresses.

Step-by-Step Solution

1
Analyze performance and privacy constraints in certificate status checking
Identified direct client-to-CA OCSP queries as the root cause of latency and IP tracking concerns.
Client-initiated OCSP checks introduce additional round-trip times and expose user browsing destinations to the CA.
2
Evaluate PKI revocation optimization techniques
Selected OCSP stapling as the solution that shifts responder querying to the web server.
The server retrieves a signed, time-stamped OCSP response in advance and attaches (staples) it to the initial TLS handshake.
3
Confirm resolution of requirements
Verified that clients no longer contact the CA directly, eliminating extra latency and protecting client IP privacy.
Clients receive validated revocation status directly from the server during handshake setup.

Key Concept

Online Certificate Status Protocol (OCSP) Stapling
Question 140Question

A security administrator is optimizing the Public Key Infrastructure (PKI) architecture for an enterprise web portal that hosts services across multiple distinct domain names. The administrator must eliminate client-side OCSP lookup delays during TLS handshakes and consolidate multi-domain identity validation into a single digital certificate. Which of the following PKI mechanisms should the administrator implement to meet these objectives? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Enable OCSP stapling on the web servers to deliver a cached, signed revocation status response directly during the TLS handshake.; Include Subject Alternative Name (SAN) extension entries in the Certificate Signing Request to secure multiple distinct domain names under one certificate.

Answer

The correct options are enabling OCSP stapling on the web servers and using the Subject Alternative Name (SAN) extension in the Certificate Signing Request.
Enabling OCSP stapling shifts the burden of fetching certificate status from the client to the server, which caches a signed status response from the CA and staple it to the TLS handshake, reducing latency. Utilizing Subject Alternative Name (SAN) extensions allows an organization to secure multiple different domains and hostnames with a single certificate.

Step-by-Step Solution

1
Identify the mechanism that resolves client-side OCSP lookup delays during TLS handshakes.
OCSP stapling allows the web server to cache the CA's signed revocation response and present it to the client during the TLS handshake, eliminating extra client queries.
This offloads latency and protects client browsing privacy.
2
Identify the certificate extension designed for supporting multiple distinct fully qualified domain names (FQDNs).
The Subject Alternative Name (SAN) extension allows a single X.509 certificate to specify multiple hostnames and domain names.
This fulfills the requirement to consolidate multi-domain identity coverage into one certificate.

Key Concept

Public Key Infrastructure (PKI) Certificate Extensions and Revocation Protocols
PreviousPage 7 / 14Next