General Security Concepts

268 questions

Question 101Question

An IT infrastructure team plans to implement a centralized Privileged Access Management (PAM) solution to manage administrative access across corporate servers. To comply with formal change management policies and minimize operational and security risks, in which sequence should the team perform the following change control steps?

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct sequence begins with documenting the change request and rollback plan, followed by obtaining CAB approval, testing in a staging environment, and finally deploying to production during an approved maintenance window.
A standard change management lifecycle follows a strict sequence: initial creation and risk/rollback documentation, formal evaluation and authorization by the Change Advisory Board (CAB), non-production staging validation to test functionality and rollback procedures, and finally, scheduled production implementation with post-change verification.

Step-by-Step Solution

1
Document change details, risk assessment, impact analysis, and rollback plan.
A completed formal change request is established.
Risk and operational dependencies must be fully understood and documented prior to evaluation.
2
Submit the documentation to the Change Advisory Board (CAB) for authorization.
Formal CAB approval is granted.
Governance policy requires authorized sign-off before changes can be tested or scheduled.
3
Execute the change within a dedicated staging environment.
Successful functional testing and validation of the rollback procedure in staging.
Testing mitigates the risk of unexpected outages and validates the backout plan safely.
4
Deploy to the production environment during an approved maintenance window.
The PAM system is successfully deployed in production with post-change verification.
Executing during authorized maintenance minimizes user impact and fulfills change control requirements.

Key Concept

Standard Change Control Workflow Lifecycle
Question 102Question

A security administrator is evaluating the AAA implementation for a new enterprise remote access gateway. During connection establishment, the gateway verifies user credentials against an Active Directory domain controller, applies dynamic firewall rules to restrict network access based on role attributes, enforces bandwidth throttling policies according to user subscription tiers, and writes start/stop session timestamps to a central syslog server.

Which of the following operational activities performed by the gateway represent the Authorization pillar of AAA? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Applying dynamic firewall rules to restrict network access based on role attributes; Enforcing bandwidth throttling policies according to user subscription tiers

Answer

Applying dynamic firewall rules to restrict network access based on role attributes, and enforcing bandwidth throttling policies according to user subscription tiers.
Authorization dictates the specific rights, privileges, and resource access levels allowed for a validated user. Applying dynamic firewall rules based on user role attributes enforces network perimeter permissions, while enforcing bandwidth limits based on user tiers controls resource utilization rights. Both functions explicitly manage permitted access bounds.

Step-by-Step Solution

1
Define the core responsibility of the Authorization pillar in AAA.
Authorization determines the specific permissions, resource access rights, and operational boundaries granted to an identity after authentication.
Differentiating between identity proofing (Authentication), access control (Authorization), and activity logging (Accounting) is required to categorize each activity.
2
Evaluate each system action in the gateway scenario against AAA definitions.
Credential verification proves identity (Authentication). Writing session timestamps records session metrics for auditing (Accounting). Dynamic firewall rules and bandwidth throttling define what network resources and performance limits the identity is allowed to use (Authorization).
Actions that control or restrict access permissions map to Authorization.
3
Identify the two actions representing Authorization.
Applying dynamic firewall rules based on role attributes and enforcing bandwidth throttling policies based on user tiers.
Both mechanisms enforce permissions and resource usage parameters for authenticated users.

Key Concept

Authentication, Authorization, and Accounting (AAA) Framework
Estimated Time:1m 15s
Question 103Question

A systems administrator is configuring bulk storage encryption for a enterprise cloud file server holding sensitive financial records. The organization requires a cryptographic mechanism that delivers high-speed symmetric data encryption while simultaneously calculating an authentication tag to ensure confidentiality and data integrity during high-throughput disk operations. Which of the following cryptographic algorithms and modes BEST fulfills these requirements?

Show answer & explanation

Answer: AES-256 in Galois/Counter Mode (GCM)

Answer

AES-256 in Galois/Counter Mode (GCM) is the optimal choice because it is a symmetric block cipher mode offering high-speed authenticated encryption (AEAD), satisfying both confidentiality and integrity requirements for bulk storage.
AES-256 in Galois/Counter Mode (GCM) is an Authenticated Encryption with Associated Data (AEAD) cipher mode. It provides strong confidentiality via symmetric bulk encryption and simultaneous data integrity authentication via a Galois field multiplication tag, fulfilling all scenario requirements with minimal latency.

Step-by-Step Solution

1
Identify the primary operational constraint and functional requirements
The scenario requires bulk data encryption (requiring symmetric encryption for speed), confidentiality, and integrity (requiring authenticated encryption).
Bulk disk storage operations require high-throughput symmetric ciphers due to performance overhead of asymmetric ciphers.
2
Evaluate candidate cryptographic algorithms for bulk data encryption
AES (Advanced Encryption Standard) is the standard symmetric block cipher for high-speed bulk data-at-rest encryption.
Asymmetric ciphers (such as RSA) and hashing functions (such as HMAC or SHA-3) cannot fulfill high-throughput encryption requirements.
3
Select the appropriate cipher mode of operation
Galois/Counter Mode (GCM) provides Authenticated Encryption with Associated Data (AEAD), outputting both ciphertext and an authentication tag.
AEAD modes guarantee data confidentiality while verifying data integrity without requiring separate hash passes.

Key Concept

Authenticated Encryption with Associated Data (AEAD) via AES-GCM
Question 104Question

A security engineer is establishing a secure mutual TLS (mTLS) framework between microservices operating within air-gapped container clusters. During deployment testing, client microservices fail TLS handshakes because they cannot reach external certificate revocation lists (CRLs) or online responders to check server certificate validity. Additionally, security compliance mandates that private keys must originate exclusively within the local trusted execution environment of each microservice during certificate enrollment. Which of the following solutions should the engineer implement to resolve the revocation validation failures and satisfy the key generation compliance requirement? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Configure server-side microservices to utilize OCSP stapling, enabling them to include a time-stamped, CA-signed revocation status assertion directly within the TLS handshake.; Ensure each client microservice generates its asymmetric key pair locally inside its local hardware security module and submits only the public key within the Certificate Signing Request (CSR) to the CA.

Answer

The security engineer should enable OCSP stapling on the server-side microservices and require each client microservice to generate its key pair locally inside its hardware security module prior to submitting a CSR.
Enabling OCSP stapling resolves the revocation checking issue in air-gapped environments because the server periodically retrieves the signed OCSP response and delivers it directly to the client during the TLS handshake, eliminating the need for client outbound access. Furthermore, generating key pairs locally within an HSM and submitting only the public key in the Certificate Signing Request (CSR) ensures the private key never leaves the client boundary.

Step-by-Step Solution

1
Analyze the certificate revocation validation failure in an isolated, air-gapped network segment.
Identify that clients cannot initiate outbound connections to check CRL or OCSP endpoints external to the cluster.
Air-gapped environments block direct internet or cross-segment egress traffic from client nodes.
2
Select a revocation mechanism that delivers status proof without client-initiated outbound traffic.
Implement OCSP stapling on server microservices.
The server periodically fetches the signed OCSP response from the CA/responder and appends ('staples') it to the TLS handshake, allowing the client to verify revocation offline.
3
Evaluate the key generation requirement for certificate enrollment.
Enforce local key generation within the microservice's local hardware security module (HSM) / secure enclave before creating the Certificate Signing Request (CSR).
Submitting a CSR with a locally generated public key guarantees the private key is never exposed or transferred across network boundaries.

Key Concept

PKI Certificate Lifecycle & Revocation Optimization (OCSP Stapling and CSR Key Management)
Estimated Time:2m 0s
Question 105Question

An organization deploys a centralized Privileged Access Management (PAM) solution to govern administrator access to production databases. When a database administrator requests a session, the PAM system first verifies their identity using a hardware token and PIN. Next, the PAM system evaluates an access policy matrix to determine if the session occurs within an approved maintenance window and applies a restricted read-only role for that specific database instance. Finally, the proxy engine writes a cryptographic audit log of all executed SQL queries. Which pillar of the Security AAA framework is being implemented when the PAM system evaluates the policy matrix to grant the restricted read-only role?

Show answer & explanation

Answer: Authorization

Answer

Authorization is the AAA pillar responsible for evaluating access policies and applying permission restrictions based on user roles and environmental context.
Evaluating an access policy matrix to assign specific roles, rights, or conditions (such as limiting permissions to a read-only role during specific maintenance windows) is the core function of Authorization within the AAA security framework.

Step-by-Step Solution

1
Analyze the action described in the target phase of the scenario.
The target phase evaluates an access policy matrix, checks environmental conditions (approved maintenance window), and assigns specific rights (restricted read-only role).
Identifying the functional behavior helps categorize it into one of the AAA components.
2
Differentiate between AAA pillars.
Authentication verifies identity (token/PIN). Authorization grants specific access permissions and roles based on context. Accounting logs and tracks activity (recording SQL queries).
Matching the scenario activity to definitions confirms the correct classification.
3
Select the matching AAA pillar.
Evaluating policy to grant specific permissions and restrict roles is explicitly the function of Authorization.
Authorization enforces access control parameters following successful authentication.

Key Concept

Authentication, Authorization, and Accounting (AAA) framework responsibilities
Question 106Question

Match each cryptographic primitive or mechanism to its primary operational security function in an enterprise environment.

Click a left item, then click its matching right item

Items

Ephemeral Diffie-Hellman (ECDHE)
Hash-based Message Authentication Code (HMAC)
Cryptographic Salt with PBKDF2
Cipher Block Chaining (CBC) Mode

Matches

Show answer & explanation

Answer

Ephemeral Diffie-Hellman matches providing perfect forward secrecy; HMAC matches message integrity and authenticating origin; Cryptographic Salt with PBKDF2 matches protecting password stores against rainbow tables; Cipher Block Chaining Mode matches block-level sequential data confidentiality.
Ephemeral Diffie-Hellman provides key exchange with forward secrecy; HMAC ensures keyed message integrity and authentication; Salting prevents precomputed hash lookup attacks on credentials; CBC mode encrypts data blocks in sequence using feedback from previous blocks.

Step-by-Step Solution

1
Analyze Ephemeral Diffie-Hellman (ECDHE)
Identified requirement for session key isolation and forward secrecy.
Ephemeral key exchanges produce unique keys per session that do not depend on long-term private keys.
2
Analyze Hash-based Message Authentication Code (HMAC)
Identified requirement for message integrity combined with authentication using a shared secret.
Standard hashing only provides integrity; HMAC adds a secret key to provide origin verification.
3
Analyze Cryptographic Salt with PBKDF2
Identified requirement for password hashing defense against precomputed tables.
Salting adds random data per user password to defeat rainbow table lookups.
4
Analyze Cipher Block Chaining (CBC) Mode
Identified requirement for block cipher confidentiality via chaining.
CBC mode uses XOR operations with preceding blocks to randomize ciphertexts of repeating plaintext.

Key Concept

Cryptographic Primitives and Operational Security Functions
Question 107Question

An enterprise security engineer is auditing identity lifecycle management and access control workflows across the organization. Match each operational access activity on the left with its corresponding identity management or AAA (Authentication, Authorization, and Accounting) component on the right.

Click a left item, then click its matching right item

Items

A remote worker enters their user principal name (UPN) into a VPN client login window to claim an identity.
An Identity Provider verifies a user's identity by validating a FIDO2 hardware security key challenge-response.
A network access server checks an Active Directory group membership policy to assign dynamic VLAN permissions to a connected device.
A centralized SIEM ingests RADIUS session logs containing connection start times, total bytes transferred, and disconnect reasons.

Matches

Show answer & explanation

Answer

Entering a UPN maps to Identification; validating FIDO2 credentials maps to Authentication; enforcing dynamic VLAN access rights maps to Authorization; and recording connection metrics and duration maps to Accounting.
Each operational scenario directly aligns with a specific phase in identity and access governance: entering a UPN claims an identity (Identification); verifying FIDO2 credentials proves the claim (Authentication); evaluating group policies to set network privileges grants access boundaries (Authorization); and recording session metrics to SIEM maintains an audit log (Accounting).

Step-by-Step Solution

1
Analyze the first scenario (entering UPN).
Providing a username or UPN asserts a claim of identity without proof.
Identification is the process of presenting an identity claim to a system.
2
Analyze the second scenario (FIDO2 hardware key validation).
Cryptographically verifying the claim proves identity authentic state.
Authentication is the verification step that tests presented credentials.
3
Analyze the third scenario (group membership policy for dynamic VLAN assignment).
Determining privileges and applying access restrictions based on policy.
Authorization determines what rights, permissions, and resources an authenticated identity can access.
4
Analyze the fourth scenario (logging RADIUS connection start/end metrics).
Recording resource consumption and session duration for auditability.
Accounting monitors, tracks, and logs user activity and resource usage.

Key Concept

Authentication, Authorization, and Accounting (AAA) Framework and Identification
Question 108Question

A security engineer is designing an authentication microservice for an enterprise web application. The security policy requires storing user credentials in a manner that mitigates offline brute-force and precomputed rainbow table attacks if the credential database is compromised. Which of the following cryptographic techniques should the engineer implement to satisfy this requirement?

Show answer & explanation

Answer: Apply a salted key-stretching hashing algorithm with an adjustable work factor.

Answer

Apply a salted key-stretching hashing algorithm with an adjustable work factor.
Applying a salted key-stretching password hashing algorithm (such as Argon2, PBKDF2, or bcrypt) satisfies both requirements. Salting appends a unique random value to each password before hashing to defeat precomputed rainbow tables. Key stretching applies a high work factor through repeated iterations to slow down offline brute-force dictionary attacks.

Step-by-Step Solution

1
Identify the threat vectors described in the scenario.
The requirements explicitly call for protection against precomputed rainbow table attacks and high-speed offline brute-force attacks.
Rainbow table attacks rely on precomputed tables of standard hashes, while brute-force attacks test millions of password combinations per second.
2
Evaluate the cryptographic mechanism required to counter precomputed lookup tables.
Adding a unique random salt to each user password ensures that two identical passwords produce different hashes, rendering precomputed tables ineffective.
Salting forces an attacker to compute a custom lookup table for every individual user salt.
3
Evaluate the cryptographic mechanism required to slow down offline brute-force cracking.
Key-stretching algorithms (such as Argon2, PBKDF2, or bcrypt) execute multiple iterations to artificially increase the computational time required per hash calculation.
Slowing down hash generation significantly increases the time required for an attacker to test candidate passwords.

Key Concept

Salted Key-Stretching Hash Functions for Password Protection
Estimated Time:1m 30s
Question 109Question

A security analyst is investigating a breach where an adversary captured encrypted TLS traffic traversing an enterprise network. Months later, the adversary obtained the web server's private key and successfully decrypted all historical session data. Which of the following cryptographic mechanisms should be implemented to ensure that a future compromise of the server's private key does not expose previously recorded encrypted session communications?

Show answer & explanation

Answer: Perfect forward secrecy utilizing ephemeral key exchange mechanisms

Answer

Perfect forward secrecy utilizing ephemeral key exchange mechanisms
Perfect forward secrecy (PFS) ensures that compromise of a long-term private key does not compromise past session keys. By generating disposable ephemeral key pairs for each session (such as with ECDHE), past session keys cannot be computed retroactively even if an attacker acquires the server's long-term private key.

Step-by-Step Solution

1
Analyze the vulnerability described in the security incident.
Recorded historical TLS sessions were decrypted after an attacker obtained the server's long-term static private key.
The static key exchange mechanism allowed the server's long-term private key to decrypt stored session keys.
2
Identify the required cryptographic security property.
The architecture requires a mechanism where compromise of long-term keying material does not compromise past session keys.
This specific security goal is defined as Perfect Forward Secrecy (PFS).
3
Select the implementation mechanism that provides Perfect Forward Secrecy.
Ephemeral key exchange algorithms (such as ECDHE or DHE) generate temporary, disposable key pairs per session.
Because ephemeral keys are discarded immediately after session key derivation, compromise of the long-term server key cannot decrypt recorded past traffic.

Key Concept

Perfect Forward Secrecy and Ephemeral Key Exchange
Question 110Question

A network security engineer is auditing the AAA implementation for an enterprise 802.1X wireless network backed by a central RADIUS server. Which of the following statements correctly describe how authentication, authorization, or accounting functions operate in this deployment? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: The RADIUS server performs authentication by validating user-provided credentials against a centralized directory service.; Accounting functions capture session start/stop timestamps and data transfer volumes to provide historical audit logs.

Answer

The RADIUS server performs authentication by validating user-provided credentials against a centralized directory service, and accounting functions capture session start/stop timestamps and data transfer volumes to provide historical audit logs.
Authentication is correctly described by the statement where RADIUS validates credentials against a central directory to verify identity. Accounting is correctly described by the statement where session duration and network consumption metrics are logged for compliance and auditing purposes.

Step-by-Step Solution

1
Differentiate between the three distinct pillars of AAA in network security.
Authentication proves identity, Authorization determines allowed rights and access controls, and Accounting logs user activity.
Establishing accurate function definitions allows proper evaluation of the scenario statements.
2
Evaluate identity verification mechanisms.
The statement describing the RADIUS server checking user credentials against a directory service represents identity verification (Authentication).
Credential validation against an authoritative directory service is the fundamental mechanism of authentication.
3
Evaluate session tracking mechanisms.
The statement describing logging session timestamps and data bandwidth usage represents resource tracking (Accounting).
Capturing session metrics and activity logs provides auditability and non-repudiation.

Key Concept

Authentication, Authorization, and Accounting (AAA)
Question 111Question

A security engineer is updating the cryptographic specifications for an enterprise file ingest service. The system baseline requires high-throughput data confidentiality for large batch data uploads, alongside digital non-repudiation and origin verification for administrative policy manifests submitted with each batch. Which TWO cryptographic algorithms or mechanisms should the security engineer implement to satisfy these specific operational requirements?

Select all that apply

Show answer & explanation

Answer: AES-GCM (Advanced Encryption Standard in Galois/Counter Mode) for high-speed symmetric bulk data encryption; ECDSA (Elliptic Curve Digital Signature Algorithm) for signing administrative policy manifests

Answer

The correct cryptographic implementation consists of using symmetric authenticated encryption (AES-GCM) for rapid bulk data confidentiality and asymmetric digital signatures (ECDSA) to provide non-repudiation and origin authentication for administrative manifests.
AES-GCM is the industry standard symmetric block cipher mode for fast, authenticated encryption of high-volume data payloads. ECDSA provides strong asymmetric digital signatures with compact key sizes, fulfilling the requirement for non-repudiation and sender authenticity on administrative manifest files.

Step-by-Step Solution

1
Identify the high-throughput confidentiality requirement for bulk data.
Symmetric ciphers are optimized for processing large volumes of data quickly. AES-GCM provides bulk stream confidentiality along with authenticated encryption.
Asymmetric algorithms incur prohibitive performance overhead when encrypting large payloads.
2
Identify the non-repudiation and origin verification requirement for administrative manifests.
Asymmetric digital signatures, such as ECDSA, allow the sender to sign content using a private key, enabling receivers to verify origin and integrity using the corresponding public key.
Digital signatures guarantee non-repudiation because only the private key owner could have produced the signature.

Key Concept

Selecting Appropriate Cryptographic Algorithms for Confidentiality vs. Non-Repudiation
Question 112Question

A system administrator configures a central Linux bastion host that allows external contractors to connect via SSH using public key cryptography. Access control policies successfully restrict contractors from accessing unapproved file directories or running root-level processes. However, during a post-incident review, security auditors discover that while login timestamps and initial connection attempts were recorded, there are no log records detailing the specific commands executed or configuration files modified by contractors during their active sessions. Which pillar of the AAA framework is deficient in this configuration?

Show answer & explanation

Answer: Accounting

Answer

Accounting is the deficient pillar because it handles tracking, auditing, and logging of actions performed by authenticated users during their session.
Accounting is the pillar of AAA that maintains detailed log trails of actions, command history, file access, and resource consumption during an authenticated user's session. Since the organization failed to record command execution and configuration changes made by contractors, the accounting mechanism is deficient.

Step-by-Step Solution

1
Analyze the scenario requirements against the three pillars of AAA (Authentication, Authorization, Accounting).
Identified that SSH key identity verification functions correctly (Authentication) and access permissions restrict directory access (Authorization).
Separating functioning AAA controls isolates the missing functional requirement.
2
Evaluate the identified operational deficiency.
The system lacks detailed logging of specific commands executed and files modified during active sessions.
Session tracking and detailed command/audit logging fall directly under event recording.
3
Map the deficiency to the correct AAA pillar.
Accounting is responsible for audit logs, command tracking, session duration, and resource utilization monitoring.
Without audit logs detailing user actions, accounting controls are incomplete.

Key Concept

Authentication, Authorization, and Accounting (AAA) Framework
Estimated Time:1m 15s
Question 113Question

A security engineer is updating enterprise cryptographic standards across various operational systems. Match each cryptographic algorithm or mechanism on the left to its primary operational security capability on the right.

Click a left item, then click its matching right item

Items

Galois/Counter Mode (AES-GCM)
Elliptic Curve Diffie-Hellman Ephemeral (ECDHE)
Password-Based Key Derivation Function 2 (PBKDF2)
Hash-based Message Authentication Code (SHA-256 HMAC)

Matches

Show answer & explanation

Answer

Galois/Counter Mode (AES-GCM) pairs with authenticated encryption for bulk data confidentiality and integrity; Elliptic Curve Diffie-Hellman Ephemeral (ECDHE) pairs with temporary session key negotiation for perfect forward secrecy; Password-Based Key Derivation Function 2 (PBKDF2) pairs with salting and repeated iterations for password cracking mitigation; SHA-256 HMAC pairs with secret-key hashing for origin authentication and payload integrity.
Each cryptographic primitive aligns strictly with its defined operational role: AES-GCM performs authenticated bulk encryption, ECDHE manages ephemeral key exchange for perfect forward secrecy, PBKDF2 performs key stretching to secure stored passwords, and SHA-256 HMAC provides keyed integrity and origin verification.

Step-by-Step Solution

1
Evaluate Galois/Counter Mode (AES-GCM)
Identified as an authenticated encryption cipher mode.
GCM mode pairs symmetric encryption with built-in authentication tag generation to achieve confidentiality and integrity simultaneously.
2
Evaluate Elliptic Curve Diffie-Hellman Ephemeral (ECDHE)
Identified as an ephemeral key exchange protocol.
The ephemeral nature of ECDHE key generation ensures independent session keys, establishing perfect forward secrecy.
3
Evaluate Password-Based Key Derivation Function 2 (PBKDF2)
Identified as a password hashing and key stretching function.
PBKDF2 introduces salt and thousands of pseudorandom iterations to slow down dictionary and brute-force cracking attempts on stored credentials.
4
Evaluate SHA-256 HMAC
Identified as a keyed message authentication mechanism.
HMAC combines a shared secret key with the SHA-256 hash function to confirm message integrity and authenticate sender origin.

Key Concept

Cryptographic Primitives and Operational Capabilities
Estimated Time:1m 30s
Question 114Question

An organization is updating its enterprise access control policy to comply with strict security standards. Match each operational security task to the corresponding AAA (Authentication, Authorization, and Accounting) or Identification function it represents.

Click a left item, then click its matching right item

Items

A network access server validates a user's digital certificate and smart card PIN against the central identity provider during domain logon.
A database gateway checks an enterprise role matrix to permit read-only query execution on financial records.
A centralized syslog server records administrative session timestamps, executed PowerShell commands, and egress data volume.
A web portal prompts an incoming visitor to enter their unique username before initiating any credentials verification.

Matches

Show answer & explanation

Answer

Task 1 maps to Authentication; Task 2 maps to Authorization; Task 3 maps to Accounting; Task 4 maps to Identification.
Each task directly corresponds to a fundamental identity and AAA principle: entering a username claims an identity (Identification); checking certificates and PINs verifies that claim (Authentication); evaluating role-based query permissions determines access rights (Authorization); and recording command execution and timestamps provides accountability and auditability (Accounting).

Step-by-Step Solution

1
Analyze Task 1
The process of verifying proof of identity (smart card PIN and certificate) corresponds to Authentication.
Authentication is the verification of a claimed identity using credentials.
2
Analyze Task 2
Determining what actions or data access a verified identity is allowed to perform corresponds to Authorization.
Authorization enforces access control permissions and privilege limitations.
3
Analyze Task 3
Logging actions, command usage, and session metrics for auditability corresponds to Accounting.
Accounting focuses on tracking resource utilization and maintaining audit trails.
4
Analyze Task 4
Providing a unique identifier (username) to claim an identity corresponds to Identification.
Identification is the initial statement of who a user or system claims to be.

Key Concept

Core Pillars of Identification, Authentication, Authorization, and Accounting (AAA)
Question 115Question

Following an assessment of remote access risks, a network administrator mandates that all system administrators must use hardware security keys to perform multi-factor authentication when logging into administrative portals. Which of the following combinations correctly identifies the control category and functional control type of the hardware security keys?

Show answer & explanation

Answer: Technical control executed as a preventive functional type

Answer

Technical control executed as a preventive functional type
Hardware security keys are technical (logical) controls because they rely on hardware and cryptographic software mechanisms to verify identity. They function as a preventive control type because they block unauthorized access to systems before an intruder can gain entry.

Step-by-Step Solution

1
Determine the control category by evaluating how the control is implemented.
Hardware security keys rely on technology, cryptography, and automated software/hardware enforcement rather than administrative policies or human operational procedures, classifying them as a Technical control.
Technical controls (also known as logical controls) use hardware, software, or firmware mechanisms to enforce security rules.
2
Determine the functional control type by analyzing the objective of the mechanism.
Multi-factor authentication via hardware security keys stops unauthorized users from gaining access to administrative portals before any unauthorized access occurs, classifying it as a Preventive control type.
Preventive controls aim to deter or prevent security incidents from happening.

Key Concept

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

A lead security architect is designing an automated archival service for high-throughput system audit logs stored at rest. The security policy mandates strong bulk data confidentiality and authenticated integrity while minimizing computational latency for multi-gigabyte log archives. Which of the following cryptographic mechanisms best fulfills these requirements?

Show answer & explanation

Answer: Advanced Encryption Standard (AES) operating in Galois/Counter Mode (GCM)

Answer

Advanced Encryption Standard (AES) operating in Galois/Counter Mode (GCM) is the correct choice because symmetric ciphers deliver high-speed bulk data encryption, and GCM mode provides authenticated encryption for confidentiality and integrity.
AES in Galois/Counter Mode (GCM) is a symmetric cipher providing authenticated encryption (AEAD). It delivers high-speed confidentiality for large file volumes along with built-in integrity checking.

Step-by-Step Solution

1
Analyze the core operational security requirements.
The requirement specifies bulk data encryption at rest requiring confidentiality, high throughput (low latency), and authenticated integrity.
Bulk storage encryption requires symmetric algorithms because asymmetric algorithms are too slow for large files.
2
Evaluate symmetric cipher modes against asymmetric and hashing primitives.
AES is a symmetric block cipher capable of high-performance bulk processing. Galois/Counter Mode (GCM) adds authenticated encryption (AEAD) to verify data integrity alongside confidentiality.
AES-GCM satisfies both confidentiality and integrity requirements with hardware acceleration on modern processors.

Key Concept

Symmetric vs. Asymmetric Encryption and Authenticated Cipher Modes
Estimated Time:1m 30s
Question 117Question

A security analyst is reviewing internal security mechanisms to ensure they are properly classified according to CompTIA Security+ control categories. Which of the following mechanisms are classified as technical security controls? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Configuring a Host-based Intrusion Prevention System (HIPS) agent to block malicious memory execution attempts.; Enforcing 802.1X Network Access Control (NAC) on network switches to dynamically authenticate connecting devices.

Answer

Configuring a Host-based Intrusion Prevention System (HIPS) agent and Enforcing 802.1X Network Access Control (NAC) are both technical security controls.
Technical controls (also known as logical controls) consist of software, hardware, firmware, or network protocol mechanisms implemented to safeguard systems and data. Configuring a Host-based Intrusion Prevention System (HIPS) to block malicious process execution and enforcing 802.1X Network Access Control (NAC) to dynamically validate connection attempts both rely directly on automated software logic and network technology to enforce access rules.

Step-by-Step Solution

1
Define technical control category characteristics according to security frameworks.
Technical (logical) controls are safeguards executed through computer hardware, software, firmware, or network protocols.
Control categorization depends on the execution mechanism used to enforce security.
2
Evaluate each option against the technical control definition.
HIPS software and 802.1X network authentication operate automatically via system software and network devices (technical). Biometric door locks guard physical entry (physical), while facility security walk-through audits are procedural tasks performed by personnel (operational).
Distinguishing between technology-enforced, physical facility-enforced, and human-procedural controls yields the correct technical safeguards.

Key Concept

Security Control Categories (Technical, Operational, Physical, Managerial)
Estimated Time:1m 15s
Question 118Question

A security administrator is evaluating enterprise cryptographic standards across various system modules. Match each cryptographic algorithm or mechanism on the left with its primary operational security application on the right.

Click a left item, then click its matching right item

Items

PBKDF2 (Password-Based Key Derivation Function 2)
ECDHE (Elliptic Curve Diffie-Hellman Ephemeral)
HMAC-SHA256
AES-CBC with PKCS#7 Padding

Matches

Show answer & explanation

Answer

PBKDF2 matches with mitigating offline brute-force attacks via key stretching. ECDHE matches with providing perfect forward secrecy during key exchange. HMAC-SHA256 matches with verifying data integrity and authenticity via a shared key. AES-CBC with PKCS#7 matches with bulk symmetric confidentiality for block payloads.
Each cryptographic mechanism is accurately matched to its intended operational function based on core security engineering principles: PBKDF2 hardens password authentication via key stretching; ECDHE provides ephemeral session key establishment with forward secrecy; HMAC-SHA256 delivers keyed integrity and authentication; and AES-CBC provides bulk block cipher confidentiality.

Step-by-Step Solution

1
Analyze PBKDF2 function
Identified key stretching mechanism designed specifically to harden password hashes against brute-force attacks.
PBKDF2 applies salting and high iteration counts to increase computational cost per cracking attempt.
2
Analyze ECDHE mechanism
Identified ephemeral asymmetric key exchange algorithm providing perfect forward secrecy.
Ephemeral key generation guarantees that session keys are temporary and independent.
3
Analyze HMAC-SHA256 function
Identified keyed-hash message authentication code.
Combining a symmetric key with SHA-256 guarantees both integrity and message origin verification.
4
Analyze AES-CBC with PKCS#7 padding
Identified symmetric block cipher operating mode with padding.
AES-CBC encrypts 128-bit block units sequentially, requiring padding to fill incomplete final blocks.

Key Concept

Operational application of cryptographic primitives and key management mechanisms
Question 119Question

A software development firm is deploying an automated continuous integration pipeline to release signed application updates to enterprise clients. To meet regulatory compliance, the pipeline must ensure that the authenticity of the code publisher can be independently verified by third parties and that the publishing organization cannot repudiate the origin of the software package. Which of the following cryptographic mechanisms best fulfills these requirements?

Show answer & explanation

Answer: Applying a digital signature using the organization's private key

Answer

Applying a digital signature using the organization's private key best fulfills the requirement because asymmetric key pair signing uniquely identifies the origin and prevents non-repudiation.
A digital signature uses an asymmetric key pair where the creator signs data with their private key, and recipients verify it using the corresponding public key. Because only the owner possesses the private key, public verification guarantees both origin authenticity and non-repudiation.

Step-by-Step Solution

1
Identify the required cryptographic properties from the scenario requirements.
The scenario specifically demands origin authenticity, third-party verifiability, and non-repudiation.
Regulatory compliance mandates that the origin of compiled code cannot be denied by the author and must be verifiable by end users.
2
Evaluate symmetric vs. asymmetric mechanisms against non-repudiation constraints.
Symmetric techniques (such as shared keys or symmetric encryption) allow any keyholder to generate valid codes/hashes, failing non-repudiation.
Non-repudiation requires a unique asymmetric private key owned strictly by the publishing entity.
3
Select the appropriate cryptographic mechanism.
Digital signatures generate a hash of the binary encrypted with the publisher's private key, which anyone can verify using the matching public key.
This guarantees integrity, origin authentication, and non-repudiation simultaneously.

Key Concept

Digital Signatures and Non-Repudiation
Question 120Question

Following an unauthorized intrusion into a server facility, an enterprise security team installs physical key-locked USB port blockers directly onto all exposed server ports to restrict direct hardware access. According to CompTIA Security+ standards, which control category and functional type best describe this security mechanism?

Show answer & explanation

Answer: Physical category and preventive functional type

Answer

The control is classified under the Physical category and performs a Preventive functional type.
Physical controls are tangible barriers protecting hardware, assets, and facilities. Preventive controls proactively stop security incidents from occurring. Physical USB port locks fit both definitions because they are mechanical items that physically block unauthorized hardware connections.

Step-by-Step Solution

1
Determine the Control Category
The USB port blockers are physical, tangible hardware devices deployed to secure facility hardware.
Physical controls consist of tangible objects, barriers, and environmental mechanisms used to safeguard assets.
2
Determine the Functional Type
The blockers stop unauthorized USB insertion attempts before a connection can take place.
Preventive controls proactively block or deter unauthorized actions to keep security incidents from occurring.

Key Concept

Security Control Categories and Functional Types
PreviousPage 6 / 14Next
General Security Concepts Practice Questions — CompTIA Security+ — Page 6 | Examkin