CompTIA Security+ Practice Test
328 free CompTIA Security+ practice questions with answers and explanations.
No signup required.
The CompTIA Security+ exam is administered by CompTIA, with 90 scored questions and a time limit of 1 hour 30 minutes.
About these practice questions
These are original study questions written from published exam objectives—not recalled, copied, or confidential live-exam items. Always confirm current coverage with the official sources linked on this page.
Browse all questions & answers
Loading the remaining 228 questions…
General Security Concepts
15 questions1. A security team wants to ensure that a message received from a partner organization can be proven to have come from that partner and not been altered in transit, in a way the partner cannot later deny sending. Which security concept best describes this combined guarantee?
- A. Confidentiality
- B. Non-repudiation
- C. Availability
- D. Obfuscation
Show answer & explanation
Answer: B
Non-repudiation combines integrity and authentication (typically via digital signatures) so the sender cannot deny having sent the message. Confidentiality only protects against disclosure, availability ensures access to systems/data, and obfuscation merely hides data's meaning without providing proof of origin or authorship.2. An organization designs its network so that a compromised web server cannot directly reach the internal database tier without passing through additional inspection points, even if perimeter defenses fail. This design philosophy is best described as which of the following?
- A. Security through obscurity
- B. Least functionality
- C. Defense in depth
- D. Fail-open design
Show answer & explanation
Answer: C
Defense in depth layers multiple independent controls so that failure of one does not expose the whole environment. Security through obscurity relies on secrecy rather than layered controls, least functionality is about disabling unneeded services/ports, and fail-open design intentionally permits access on failure, which is the opposite of this scenario.3. A company implements a policy requiring that no single employee can both create a vendor in the accounting system and approve payments to that vendor. Which control concept does this best illustrate?
- A. Separation of duties
- B. Job rotation
- C. Mandatory vacation
- D. Least privilege
Show answer & explanation
Answer: A
Separation of duties splits critical tasks between multiple people to prevent a single person from committing fraud unilaterally. Job rotation and mandatory vacation are detective controls that expose fraud over time by moving people between roles or forcing absence, and least privilege limits the access a single account has rather than dividing a process across roles.4. A manufacturing firm runs a legacy production controller that cannot support multifactor authentication, and the vendor will not release an update. Rather than accept the exposure, the security team restricts the controller to a dedicated management VLAN reachable only from a monitored jump host and enables enhanced session logging. How should the VLAN and jump host restriction be classified?
- A. A corrective control, because it repairs the weakness created by the missing authentication feature
- B. A detective control, because session logging records who accessed the controller
- C. A compensating control, because it substitutes an alternative safeguard where the intended control cannot be implemented
- D. A deterrent control, because attackers are discouraged by the additional monitoring
Show answer & explanation
Answer: C
A compensating control is deployed when the primary or required control cannot be implemented on a system; it provides a comparable level of protection by other means. Here MFA is the required control, the legacy controller cannot support it, and network restriction plus a monitored jump host substitutes for it. Detective is the most tempting distractor because the scenario does mention enhanced session logging, but logging is only one part of the response and it merely records events after they occur. The classification question asks about the VLAN and jump host restriction, which actively prevents unauthorized reachability rather than discovering misuse afterward, so detective does not describe the control being asked about.5. A data center perimeter is fitted with prominent signage announcing that the area is under continuous video surveillance and that trespassers will be prosecuted. The signs themselves do not stop anyone from climbing the fence. Which control type do the signs represent?
- A. Deterrent
- B. Preventive
- C. Detective
- D. Directive
Show answer & explanation
Answer: A
A deterrent control discourages a threat actor from attempting an action by raising the perceived cost or likelihood of being caught, without physically blocking the action. Signage warning of surveillance and prosecution is the classic example. Preventive is the tempting wrong choice because signage is placed at the perimeter alongside preventive measures such as fences, but a preventive control physically or logically stops the act from occurring; a sign cannot stop anyone who chooses to ignore it, which the stem states explicitly. Detective would describe the cameras themselves, not the notice about them.6. A security manager publishes a mandatory standard instructing all developers that production database credentials must be retrieved from the enterprise secrets manager at runtime and must never appear in source code. The standard establishes expected behavior but relies on people and later audits to enforce it. Which control type does the published standard represent?
- A. Preventive, because it stops credentials from being committed to the repository
- B. Compensating, because it substitutes for a secrets scanning tool the organization has not purchased
- C. Corrective, because it tells developers how to remediate hardcoded credentials
- D. Directive, because it instructs personnel on the required course of action
Show answer & explanation
Answer: D
Directive controls guide or mandate behavior through policy, standards, and procedures; enforcement depends on personnel compliance rather than on a technical mechanism. A written standard on credential handling is directive. Preventive is the most tempting answer because the intent of the standard is to prevent hardcoded secrets, but intent does not determine the control type. A preventive control would be a pre-commit hook or repository scanner that actually blocks the commit. The stem states the standard relies on people and later audits, which is precisely the distinction between directing behavior and preventing it.7. An application stores user passwords by running each password with its unique random value through a deliberately slow, repeated hashing function configured with a high iteration count. An architect asks why a fast general purpose hash was not used instead, since both produce a fixed length digest. What is the primary security benefit of the slow, high iteration approach?
- A. It ensures that two users who choose the same password produce different stored digests
- B. It raises the computational cost of each guess, making large scale offline cracking far slower
- C. It allows the original password to be recovered by the application during a help desk reset
- D. It encrypts the password so that the stored value can be decrypted only with the server key
Show answer & explanation
Answer: B
Key stretching intentionally makes password hashing expensive so that an attacker who steals the password store must spend far more time per candidate guess, cutting offline cracking throughput by orders of magnitude. Option A is the most tempting distractor because it describes a real and valuable property of the scheme described, but that property is delivered by the unique random value, the salt, and not by the iteration count; salting defeats precomputed tables and stops identical passwords from sharing a digest, while iteration count is what raises the per guess cost. Options C and D misstate hashing entirely: hashing is one way, so the plaintext cannot be recovered or decrypted, which is the point of storing a digest rather than the password.8. A browser must decide whether a presented TLS certificate has been revoked. The security team wants clients to query the issuing authority about one specific certificate at the moment of connection, instead of downloading and parsing a large periodically published list of every revoked serial number. Which mechanism meets that requirement?
- A. Online Certificate Status Protocol
- B. Certificate revocation list
- C. Certificate signing request
- D. Key escrow retrieval
Show answer & explanation
Answer: A
OCSP lets a client ask the certificate authority for the real time status of a single certificate, returning good, revoked, or unknown, which avoids the bandwidth and staleness problems of a bulk list. A certificate revocation list is the strongest distractor because it also answers the revocation question, but a CRL is exactly the large periodically published list the stem rules out; between publication intervals it can be stale. A certificate signing request is what an applicant submits to obtain a certificate and has nothing to do with revocation status.9. An organization operates dozens of internal web services on separate hostnames within a single domain and wants one certificate to secure all of them so it does not have to request and renew a separate certificate for every hostname. Which certificate type addresses this requirement?
- A. A self signed certificate installed on each host
- B. A root certificate authority certificate
- C. A wildcard certificate
- D. An extended validation certificate
Show answer & explanation
Answer: C
A wildcard certificate is issued for a name such as an asterisk followed by the domain, so it validates any single level subdomain of that domain and can be deployed across many hosts under one issuance and renewal cycle. A self signed certificate is the most tempting alternative because it is free and easy to issue internally, but it still has to be created and distributed per host and, more importantly, is not chained to a trusted authority, so clients raise warnings unless the certificate is manually trusted everywhere. An extended validation certificate changes the identity vetting level, not the number of hostnames covered.10. A company encrypts every employee laptop with full disk encryption. Legal counsel is concerned that if an employee is terminated or becomes unavailable, the company will be unable to read business records on that device. Which cryptographic practice directly addresses counsel's concern?
- A. Increasing the symmetric key length used by the disk encryption software
- B. Enabling perfect forward secrecy on the endpoint management channel
- C. Requiring a trusted platform module on every laptop
- D. Implementing key escrow so a recovery key is held by an authorized custodian
Show answer & explanation
Answer: D
Key escrow stores a copy of the encryption or recovery key with a trusted third party or internal custodian so the organization retains lawful access to its own data when the primary key holder is unavailable. A trusted platform module is the most tempting distractor because TPMs are genuinely part of most full disk encryption deployments, but a TPM seals the key to that specific machine and to its boot state, which makes recovery harder rather than easier when the user cannot authenticate. Longer keys and forward secrecy improve cryptographic strength but do nothing to restore organizational access.11. An investigator finds that an employee under suspicion emailed ordinary looking vacation photographs to an external address every Friday. Forensic analysis shows each image file is slightly larger than expected and contains proprietary design data embedded within the pixel data itself. Which technique was used?
- A. Tokenization
- B. Steganography
- C. Data masking
- D. Salting
Show answer & explanation
Answer: B
Steganography conceals data inside another file, commonly an image or audio file, so that the carrier appears entirely normal and the existence of the hidden message is not apparent. That is exactly what the slightly oversized photographs with embedded design data describe. Data masking is the most tempting wrong answer because it is also an obfuscation technique, but masking replaces sensitive values with fictitious ones so the data can be used safely in a lower trust environment; it hides the value, not the existence of a second payload. Salting adds random input to a hash and does not conceal anything inside a file.12. In a zero trust deployment, one component evaluates identity, device posture, and contextual signals against policy and reaches a verdict for each access request, while a separate component sits in the traffic path and actually permits or blocks the session based on that verdict. What is the component that enforces the verdict in the traffic path called?
- A. Policy engine
- B. Policy administrator
- C. Policy enforcement point
- D. Adaptive identity provider
Show answer & explanation
Answer: C
The policy enforcement point sits in the data plane, receives the decision, and allows, denies, or terminates the session. The policy engine is the strongest distractor because it is the component that actually makes the decision, and candidates frequently conflate deciding with enforcing; the stem separates the two roles deliberately and asks for the one in the traffic path. The policy administrator is the control plane element that communicates the engine's decision and establishes or tears down the connection, but it is not itself the in line enforcement device.13. A software publisher wants customers to be able to confirm that a downloaded installer genuinely came from the publisher and was not modified after release. The publisher generates a hash of the installer and performs a cryptographic operation on it before distribution. Which key is used to create the signature, and which key do customers use to verify it?
- A. The publisher signs with the customer's public key; customers verify with their own private key
- B. The publisher signs with its own private key; customers verify with the publisher's public key
- C. The publisher signs with its own public key; customers verify with the publisher's private key
- D. The publisher signs with a shared symmetric key distributed with the installer
Show answer & explanation
Answer: B
A digital signature is produced by encrypting a hash of the content with the signer's private key, and anyone holding the signer's public key can verify it, which proves both integrity and origin. Option C is the classic trap because it names the right two keys but reverses their roles; signing with a public key would let anyone forge a signature, since public keys are by definition distributed openly. Option D fails because a symmetric key shipped with the installer would be available to any attacker who downloads it, so it could not prove origin and would provide no non repudiation.14. A government agency is worried that an adversary is recording encrypted traffic today with the intention of decrypting it years later if the server's long term certificate key is ever compromised. Which property of a TLS key exchange configuration prevents past recorded sessions from being decrypted under that scenario?
- A. Certificate pinning of the server certificate in the client
- B. Using a longer RSA modulus for the server certificate key
- C. Mutual TLS requiring client certificates on every connection
- D. Perfect forward secrecy through ephemeral session keys
Show answer & explanation
Answer: D
Perfect forward secrecy uses ephemeral key exchange so that each session's symmetric key is derived from short lived values that are discarded afterward and never recoverable from the long term certificate key. Compromising the server key later therefore does not unlock previously captured sessions. Option B is the most tempting choice because a longer key does make direct factoring harder, but it does nothing about the stated threat: if the long term key is eventually compromised by any means, every session that used it for key transport can still be decrypted regardless of its length. Pinning and mutual TLS address impersonation and authentication, not retrospective decryption.15. Before adopting a new security framework, an organization documents each control the framework requires, records which of those controls it currently has in place and to what degree, and produces a prioritized list of the shortfalls that remain. What is this activity called?
- A. A business impact analysis
- B. A penetration test
- C. A gap analysis
- D. A quantitative risk assessment
Show answer & explanation
Answer: C
A gap analysis compares a desired or required control state against the current state and enumerates the differences so remediation can be prioritized, which is exactly the described sequence. A business impact analysis is the most tempting alternative because it also produces a prioritized output, but its subject is the operational and financial consequence of losing a process, expressed through metrics such as recovery objectives, not the presence or absence of framework controls. A quantitative risk assessment assigns monetary loss values to risks and likewise does not inventory control coverage.
Threats, Vulnerabilities, and Mitigations
27 questions16. A user reports that after clicking a link in an email from what appeared to be their bank, they were prompted to enter credentials on a page that looked identical to the real banking site. Which type of attack does this describe?
- A. Phishing
- B. Pretexting
- C. Tailgating
- D. Watering hole attack
Show answer & explanation
Answer: A
Phishing uses a fraudulent message, typically email, that impersonates a trusted entity to trick the victim into entering credentials on a fake site. Pretexting involves a fabricated scenario used in a direct social engineering conversation rather than a spoofed website, tailgating is physically following someone through a secured door, and a watering hole attack compromises a legitimate site the victim is expected to visit rather than sending a direct impersonation email.17. During a code review, a developer finds that a web application builds SQL queries by directly concatenating user-supplied form input into the query string. Which vulnerability class does this represent?
- A. SQL injection
- B. Buffer overflow
- C. Cross-site scripting
- D. Race condition
Show answer & explanation
Answer: A
Concatenating unvalidated user input directly into a SQL statement lets an attacker alter the query's logic, which is the definition of SQL injection; the fix is parameterized queries or prepared statements. Cross-site scripting injects script into pages viewed by other users, buffer overflow involves writing past allocated memory bounds, and a race condition exploits timing between concurrent operations, none of which describes unsafely built SQL strings.18. An analyst notices a single internal workstation making thousands of DNS requests per minute to random-looking subdomains of an unfamiliar domain, spread evenly throughout the day. This pattern is most consistent with which of the following?
- A. A misconfigured DHCP lease renewal
- B. Command-and-control traffic using DNS tunneling from malware on the host
- C. A normal software update check
- D. A legitimate content delivery network lookup
Show answer & explanation
Answer: B
High-volume queries to random-looking subdomains are a classic indicator of DNS tunneling used by malware to exfiltrate data or receive commands from a command-and-control server, since DNS is often allowed outbound even when other channels are restricted. DHCP renewal, software updates, and CDN lookups do not generate high-volume randomized subdomain queries to a single unfamiliar domain.19. A threat actor gains initial access to a low-privilege account, then exploits a misconfigured service to gain administrator rights on the same host. Which term describes this second stage of the attack?
- A. Privilege escalation
- B. Lateral movement
- C. Pivoting
- D. Footprinting
Show answer & explanation
Answer: A
Privilege escalation is gaining higher-level permissions than originally granted, exactly as described. Lateral movement and pivoting involve moving to other hosts or network segments rather than escalating rights on the same machine, and footprinting is early reconnaissance performed before any access is gained.20. A ransomware variant encrypts victim files and also exfiltrates a copy of sensitive data before demanding payment, threatening to publish the data if the ransom is not paid. This dual-pressure tactic is best described as which of the following?
- A. Double extortion
- B. Typosquatting
- C. Credential stuffing
- D. Business email compromise
Show answer & explanation
Answer: A
Double extortion combines encryption with data theft and the threat of public leak, adding a second layer of pressure beyond just withholding decryption. Typosquatting involves registering misspelled domain names, credential stuffing reuses breached credentials at scale, and business email compromise is a targeted social-engineering fraud scheme, none of which match the encrypt-plus-leak-threat pattern described.21. A security researcher discovers a flaw in a widely used library for which no patch currently exists and no public exploit has been observed in the wild. How should this vulnerability be classified?
- A. A zero-day vulnerability
- B. A known-exploited vulnerability
- C. A false positive
- D. A compensating control
Show answer & explanation
Answer: A
A zero-day is a vulnerability that is unknown to the vendor or unpatched, meaning defenders have had zero days to prepare a fix. It is not a known-exploited vulnerability unless active exploitation is confirmed, it is not a false positive since the flaw is real, and a compensating control is a mitigation technique, not a category of vulnerability.22. An attacker sets up a rogue wireless access point with the same SSID as a coffee shop's legitimate network, hoping nearby devices will auto-connect to it instead. What is this technique called?
- A. Deauthentication flood only
- B. ARP poisoning
- C. Bluejacking
- D. Evil twin attack
Show answer & explanation
Answer: D
An evil twin is a rogue access point impersonating a legitimate SSID to lure victims into connecting so traffic can be intercepted. Bluejacking targets Bluetooth devices with unsolicited messages, ARP poisoning manipulates layer-2 address tables on an existing network rather than impersonating an SSID, and a deauthentication flood alone only disconnects clients without impersonating the network.23. A penetration tester is hired under a signed agreement that defines scope, timing, and systems that are off-limits, and the tester operates entirely within that agreement. Which term describes this type of testing engagement?
- A. Authorized (white-box or black-box) penetration testing
- B. An advanced persistent threat campaign
- C. Hacktivism
- D. Insider threat activity
Show answer & explanation
Answer: A
A signed rules-of-engagement agreement defining scope and boundaries is the hallmark of authorized penetration testing, regardless of whether the tester has prior system knowledge (white-box) or not (black-box). An advanced persistent threat is an unauthorized, often nation-state-affiliated long-term intrusion; hacktivism is unauthorized activity motivated by ideology; and insider threat activity originates from a trusted person acting outside authorized bounds.24. A cloud tenant runs an untrusted workload inside a virtual machine on a shared host. Researchers demonstrate that a flaw in the hypervisor's device emulation lets code inside that guest execute instructions in the hypervisor context and reach memory belonging to other tenants' guests on the same host. Which vulnerability does this describe?
- A. Resource reuse, where deprovisioned storage is reallocated without sanitization
- B. Virtual machine escape
- C. VM sprawl caused by unmanaged instance creation
- D. Side loading of an unsigned guest kernel module
Show answer & explanation
Answer: B
Virtual machine escape is the breach of the isolation boundary a hypervisor is supposed to enforce, letting guest code execute at the hypervisor layer and reach other guests, which is the most severe class of virtualization vulnerability. Resource reuse is the closest distractor because it also results in one tenant obtaining another tenant's data, but it does so passively through recycled memory or storage that was not sanitized before reallocation, with no compromise of the hypervisor. VM sprawl is an operational management problem that increases attack surface but does not itself cross the isolation boundary.25. A network daemon copies a client supplied string into a fixed length stack allocated array without checking the string's length. A researcher submits an oversized input and gains execution of code of their choosing on the server. Which vulnerability class does this represent, and which mitigation most directly addresses the root cause?
- A. Race condition, mitigated by adding file locking around the copy operation
- B. Injection flaw, mitigated by using parameterized queries
- C. Buffer overflow, mitigated by bounds checking the input before the copy
- D. Insecure deserialization, mitigated by signing serialized objects
Show answer & explanation
Answer: C
Writing beyond the end of a fixed length buffer overwrites adjacent stack memory, including saved return addresses, which is what allows arbitrary code execution; validating and bounding the length before the copy removes the root cause. Option B is tempting because both are input handling failures and candidates group them together, but a parameterized query defends against an interpreter parsing attacker data as commands, and there is no query or interpreter here. Compiler and platform defenses such as stack canaries, address space layout randomization, and non executable stacks raise the difficulty of exploitation but do not fix the missing length check itself.26. A privileged utility verifies that a path supplied by the user points to a file the user owns, and a moment later opens that same path with elevated rights to write to it. An attacker replaces the path with a symbolic link to a protected system file in the interval between the two operations and gains write access to it. Which vulnerability class has been exploited?
- A. Improper error handling that leaks the file system layout
- B. Directory traversal through unsanitized path separators
- C. Memory injection into the privileged process address space
- D. A time of check to time of use race condition
Show answer & explanation
Answer: D
A time of check to time of use flaw arises when a program validates a resource and then acts on it as a separate, non atomic step, allowing an attacker to substitute the resource in the window between the two. The fix is to bind the check and the use to the same resource handle rather than re-resolving the name. Directory traversal is the most tempting distractor because the exploit also ends with access to a file outside the intended scope, but traversal succeeds because the path itself was never sanitized; here the path was checked correctly and passed validation, and the defect is purely the timing gap between validation and use.27. Authentication logs show a single source address attempting exactly two logons against each of 4,000 different corporate accounts over a six hour period, using the same two seasonal passwords each time. No individual account reached its lockout threshold. Which attack technique does this pattern indicate?
- A. Brute force attack against a single privileged account
- B. Password spraying
- C. Credential stuffing using a breached password database
- D. Rainbow table attack against captured hashes
Show answer & explanation
Answer: B
Password spraying tries a very small number of common passwords across a very large number of accounts specifically so that no account accumulates enough failures to trip lockout, which matches the two attempts per account across 4,000 accounts. Credential stuffing is the closest distractor because it also targets many accounts, but stuffing replays username and password pairs harvested from a breach elsewhere, so each account would be tried with its own leaked password rather than the same two seasonal guesses. A brute force attack concentrates many guesses on one account and would rapidly trigger lockout, and a rainbow table attack is performed offline against stolen hashes, producing no authentication log entries at all.28. Several engineers at a defense contractor are infected within the same week. Investigation finds none of them received a malicious email; instead all of them routinely visit a small industry standards blog that was compromised weeks earlier and now serves an exploit kit to visitors from that contractor's address range. Which attack technique does this describe?
- A. Business email compromise
- B. Typosquatting
- C. Watering hole attack
- D. On-path attack
Show answer & explanation
Answer: C
A watering hole attack compromises a legitimate third party site that the intended victims are known to frequent, then serves malicious content from it, often filtered to the target organization's address range as described here. Typosquatting is the most tempting distractor because it also involves victims reaching a hostile site through the browser, but typosquatting depends on the victim mistyping a domain and landing on a lookalike; in this scenario the engineers reached the correct, legitimate site, which had itself been compromised. Business email compromise is ruled out explicitly, since no malicious email was involved.29. An accounts payable clerk receives an email that appears to come from the chief financial officer's genuine address, referencing an acquisition the clerk knows is underway, and instructing that a wire be sent to new banking details before end of day with a warning to keep the matter confidential. Which attack is being attempted?
- A. Smishing
- B. Credential harvesting via a spoofed login portal
- C. Business email compromise
- D. Watering hole attack
Show answer & explanation
Answer: C
Business email compromise targets an employee with financial authority using a message that appears to originate from a trusted executive, exploits authority and urgency, and seeks a fraudulent funds transfer rather than malware execution. Credential harvesting is the tempting wrong answer because both start with a deceptive email, but a harvesting attack drives the victim to a fake login page to capture a password; here there is no link or portal, and the requested action is the wire itself. Smishing is ruled out because the delivery channel is email rather than SMS.30. A retailer discovers that a domain differing from its own by a single transposed letter has been registered and is hosting a near identical storefront that collects card details from customers who mistype the address. Which technique is the adversary using?
- A. DNS poisoning of the retailer's authoritative name servers
- B. Domain hijacking of the retailer's registrar account
- C. Pharming through modified client host files
- D. Typosquatting
Show answer & explanation
Answer: D
Typosquatting registers a domain that is a plausible misspelling of a legitimate one and relies on user typing errors to deliver visitors to attacker infrastructure. DNS poisoning is the strongest distractor because its effect on the victim looks similar, sending users to a hostile site, but poisoning corrupts resolution for the correct domain name; here the retailer's real domain still resolves correctly and a separate lookalike domain was registered. Domain hijacking would mean the attacker seized control of the retailer's actual domain registration, which the stem does not describe.31. A developer who was passed over for promotion inserts code into a payroll application that checks each night whether their own employee record still exists, and if it does not, begins deleting archived transaction tables. The code lies dormant and harmless while the developer remains employed. Which type of malicious code is this?
- A. Worm
- B. Logic bomb
- C. Trojan
- D. Rootkit
Show answer & explanation
Answer: B
A logic bomb is dormant code that executes its payload only when a defined condition is met, such as a date, an event, or, as here, the absence of a specific account. A trojan is the most tempting alternative because both hide malicious functionality inside otherwise legitimate software, but a trojan's defining trait is that it deceives the user into installing or running it by masquerading as something desirable; this code was placed directly into an application the developer was authorized to modify, and its defining trait is the trigger condition. A worm self propagates across hosts, which is absent here.32. An endpoint agent reports a clean scan, but network telemetry shows the host beaconing to a known command and control address. Booting the machine from external trusted media and examining the disk offline reveals malicious drivers and files that were invisible to every tool run on the live system. Which malware characteristic best explains this discrepancy?
- A. A rootkit is subverting operating system calls to hide its artifacts from on-host tools
- B. The malware is polymorphic and rewrites its own code so its signature changes on each execution
- C. The malware is fileless and executes entirely from memory through a scripting host
- D. The endpoint agent's signature database has not been updated recently
Show answer & explanation
Answer: A
A rootkit operates at or below the operating system boundary and intercepts the calls that enumerate files, processes, and registry keys, so on host tools receive falsified results while an offline examination of the same disk sees the real contents. That asymmetry between live and offline analysis is the diagnostic clue. Option C is the tempting distractor because fileless malware also evades file scanning, but fileless malware leaves nothing on disk, whereas offline analysis here found malicious drivers and files present. An out of date signature database would fail equally in both live and offline scanning and would not explain the difference.33. An attacker positioned on a wireless network intercepts the negotiation between a client and a server and strips the strongest cipher suites from the client's offer, causing both parties to settle on an obsolete protocol version with known weaknesses that the attacker can then break. Which attack has been performed?
- A. Downgrade attack
- B. Birthday attack
- C. Replay attack
- D. Pass the hash attack
Show answer & explanation
Answer: A
A downgrade attack manipulates protocol negotiation so the endpoints agree on a weaker algorithm or version than either was capable of using, which is why servers should refuse deprecated versions outright rather than negotiating them. A replay attack is the most tempting distractor because both require the attacker to sit on the traffic path, but replay captures valid data and retransmits it later to impersonate a legitimate action; nothing is retransmitted here, and the compromise comes from the weakened cipher agreement. A birthday attack targets hash collision probability and is unrelated to negotiation.34. A web application accepts a filename in a query parameter and returns the contents of that file from a documents folder. A tester submits a value containing repeated parent directory sequences and successfully retrieves the server's password file from outside the documents folder. Which vulnerability was exploited?
- A. Cross site request forgery
- B. Server side request forgery
- C. Directory traversal
- D. Cross site scripting
Show answer & explanation
Answer: C
Directory traversal, also called path traversal, abuses unsanitized relative path input so that file access escapes the intended base directory and reaches arbitrary files on the host. Server side request forgery is the strongest distractor because it also makes the server fetch a resource the attacker names, but SSRF causes the server to issue a network request to an attacker chosen URL, typically to reach internal services; here the server is reading directly from its own file system by path. Cross site scripting and cross site request forgery both execute in the victim's browser and do not read server files.35. A support forum saves user submitted signatures to its database and renders them without encoding whenever any visitor views a thread. An attacker places script in their signature; every subsequent reader of that thread silently transmits their session cookie to the attacker. Which specific vulnerability variant is this?
- A. Reflected cross site scripting, because the script is echoed back in the response
- B. DOM based cross site scripting, because the browser modifies the page after load
- C. Cross site request forgery, because actions are performed using the victim's session
- D. Stored cross site scripting, because the payload is persisted server side and served to every viewer
Show answer & explanation
Answer: D
Stored cross site scripting persists the payload in server side storage so it executes for every user who loads the affected content, without any interaction from the attacker after submission, which is why it is the most damaging variant. Reflected cross site scripting is the classic trap here because both execute script in a victim's browser, but reflected attacks require each victim to follow a crafted link that carries the payload in the request; no link delivery occurs in this scenario since the signature is served from the database to everyone. Cross site request forgery does not inject script at all; it induces the browser to submit a state changing request.36. During an outage the network team observes an enormous volume of DNS responses arriving at the victim's public address from thousands of legitimate open resolvers. Each response is far larger than the query that produced it, and the queries carried the victim's address as the source. Which attack characteristic does this describe?
- A. A protocol exhaustion attack that leaves half open connections on the target
- B. An amplified reflected distributed denial of service attack
- C. A slow application layer attack that ties up worker threads
- D. An on-path attack that intercepts and rewrites DNS responses
Show answer & explanation
Answer: B
Reflection means the attacker spoofs the victim's address as the source so third party servers direct their replies to the victim; amplification means the reply is substantially larger than the request, multiplying the attacker's bandwidth. Both traits appear here. Option A is the tempting distractor because it is also a volumetric denial of service pattern, but a half open connection flood consumes connection state on the target through incomplete handshakes and does not involve third party reflectors or size amplification. Option D is wrong because nothing is being intercepted or altered; the resolvers are answering normally to a forged source address.37. An attacker steals a valid session token from a user's browser and presents it to the application from a different device. The application accepts it and serves the victim's account without prompting for credentials or a second factor. Which control most directly prevents a stolen token from being usable in this way?
- A. Requiring multifactor authentication at every initial logon to the application
- B. Enforcing account lockout after a small number of failed authentication attempts
- C. Binding the session token to client context and expiring it quickly so replay is rejected
- D. Hashing stored passwords with a salted, computationally expensive algorithm
Show answer & explanation
Answer: C
The defect exploited is that a bearer token remains valid regardless of who presents it or from where, so the defense is to shorten the token's usable window and tie it to context such as the originating client, causing a replayed token to fail validation. Multifactor authentication is the most tempting distractor because it is the reflexive answer to account takeover, but it is exercised only when a session is created; the attacker here never authenticates at all and instead inherits a session the legitimate user already established after completing every factor. Lockout thresholds and password hashing are likewise never reached, because no password is guessed, submitted, or cracked.38. A cloud access audit reveals that a marketing team has been paying for and using an unapproved file sharing service to exchange customer lists with an agency. No one in IT provisioned it, no data protection agreement exists, and the data is outside all corporate monitoring. Which risk category does this situation represent?
- A. An advanced persistent threat established by an external actor
- B. A malicious insider deliberately exfiltrating regulated data
- C. Shadow IT
- D. A supply chain compromise introduced through a trusted vendor's update
Show answer & explanation
Answer: C
Shadow IT is technology procured and used by business units without the knowledge or approval of the IT and security functions, which places data outside sanctioned controls, monitoring, and contractual protections. The malicious insider option is the most tempting because the outcome, corporate data sitting in an uncontrolled external service, resembles exfiltration, but insider threat classification turns on intent; the marketing team is trying to do its job and has no intent to harm the organization. Treating it as malicious would also drive the wrong response, which is provisioning a sanctioned alternative and tightening procurement rather than pursuing an investigation.39. A hospital's imaging workstations run a narrow, unchanging set of vendor applications and are repeatedly infected by novel malware variants that signature based antivirus fails to recognize on first encounter. Which mitigation technique is most appropriate for these particular endpoints?
- A. Increase the frequency of antivirus signature updates to hourly
- B. Deploy a host based intrusion detection system in alert only mode
- C. Require users to complete additional phishing awareness training each quarter
- D. Enforce an application allow list so only explicitly approved executables can run
Show answer & explanation
Answer: D
An allow list permits only enumerated, approved software to execute and blocks everything else by default, so an unknown variant is stopped regardless of whether a signature exists. It is especially well suited to fixed function endpoints whose approved software set rarely changes, as described. Option A is the most tempting because faster updates feel like the direct fix, but signature based detection is inherently reactive and cannot match a variant no vendor has yet analyzed, which is exactly the failure mode stated. Detection in alert only mode does not block execution, and awareness training does not address malware that these fixed function workstations encounter outside of user email behavior.40. An employee receives a telephone call from someone claiming to be from the corporate service desk, who states that a security patch failed on the employee's laptop and asks the employee to read back the multifactor code that was just sent to their phone. Which social engineering technique is being used?
- A. Shoulder surfing
- B. Smishing
- C. Vishing
- D. Tailgating
Show answer & explanation
Answer: C
Vishing is voice phishing: social engineering conducted over a telephone call, typically combining impersonation of a trusted internal function with manufactured urgency to extract credentials or one time codes. Smishing is the most tempting distractor because a text message does appear in the scenario, but the text is the legitimate multifactor code sent by the company's own system; the attacker's delivery channel and the deception both occur on the phone call. Shoulder surfing requires physical proximity to observe the screen or keypad, and tailgating is unauthorized physical entry behind an authorized person.41. New laptops arrive from the manufacturer preloaded with trial utilities, vendor toolbars, and promotional applications that nobody in the organization requested. The software is not malicious, but it consumes resources, expands the patchable surface, and is not covered by any internal support agreement. What is this software called?
- A. Spyware
- B. Ransomware
- C. Bloatware
- D. Trojan
Show answer & explanation
Answer: C
Bloatware is unnecessary preinstalled software shipped by a manufacturer that provides no value to the organization while consuming resources and adding unpatched, unsupported code to the attack surface, which is why removing it is part of a standard imaging and hardening baseline. Spyware is the tempting distractor because both are unwanted and both may be removed by the same tooling, but spyware is defined by covertly collecting and transmitting information about the user; the stem states explicitly that the software is not malicious. Ransomware encrypts data for extortion, which is not described.42. While reconstructing an intrusion, an analyst finds that authentication events for one file server are continuous until a four hour window on the night of the compromise, after which they resume normally. Nothing in the change record explains a service restart or a collection outage during that window. How should the analyst interpret this observation?
- A. As a false positive produced by the correlation rules in the monitoring platform
- B. As a routine log rotation artifact requiring no further investigation
- C. As an indicator of compromise consistent with an adversary clearing logs to conceal activity
- D. As evidence that the server was offline and therefore could not have been involved in the intrusion
Show answer & explanation
Answer: C
Missing logs are themselves an indicator of compromise: adversaries frequently clear or truncate event records during the anti forensics stage, and an unexplained gap bounded by normal activity on both sides is a strong signal, which is why forwarding logs to a write protected central collector matters. Option B is the most tempting because rotation genuinely does create gaps in local files, but rotation is scheduled, recurring, and would produce comparable gaps at other times rather than a single unexplained window aligned with the intrusion. Option D inverts the reasoning, since a truly offline server would show a corresponding gap in network and infrastructure telemetry as well.
Security Architecture
22 questions43. An organization wants to reduce the attack surface of its servers by removing unused services, closing unnecessary ports, and disabling default accounts. This overall practice is best described as which of the following?
- A. Hardening
- B. Threat hunting
- C. Fuzzing
- D. Steganography
Show answer & explanation
Answer: A
Hardening is the process of reducing a system's attack surface by disabling unnecessary services, closing unused ports, and removing default accounts. Fuzzing is a testing technique that feeds malformed input to find bugs, threat hunting is proactively searching for signs of compromise, and steganography hides data within other files, none of which describe reducing exposed attack surface.44. A company wants to segment its industrial control systems from the corporate IT network so that a breach on one side cannot easily reach the other, while still allowing limited, tightly controlled data flow between them. Which architecture concept addresses this need?
- A. Network segmentation with a controlled boundary (e.g., a demilitarized zone or jump host)
- B. Flat network architecture
- C. Full-mesh VPN between all hosts
- D. Disabling all firewalls between zones for performance
Show answer & explanation
Answer: A
Segmentation with a controlled boundary isolates sensitive OT/ICS systems from the general corporate network while permitting tightly controlled, monitored data flow across a well-defined chokepoint. A flat network provides no isolation, a full mesh VPN would multiply direct paths between all systems rather than restrict them, and removing firewalls between zones eliminates the very boundary the scenario requires.45. A cloud architecture team wants to ensure that even if an attacker compromises one microservice's credentials, they cannot query the internal database directly, because all data access must first traverse an API gateway that enforces authentication and authorization on every request. This design principle is best known as which of the following?
- A. Zero trust architecture
- B. Implicit trust model
- C. Perimeter-only security
- D. Air-gapped network
Show answer & explanation
Answer: A
Zero trust assumes no implicit trust for any user, device, or service regardless of network location, requiring continuous verification of every request, which matches the gateway enforcing authentication/authorization on every call. An implicit trust model is the opposite, assuming internal traffic is safe; perimeter-only security relies solely on a network edge boundary; and an air-gapped network is physically isolated with no connectivity at all, which does not match a cloud API gateway design.46. A payments company needs a way to accept credit card numbers for recurring billing without storing the actual card number in its database, replacing it with a non-sensitive placeholder value that maps back to the real number only within a secure vault. Which technique does this describe?
- A. Tokenization
- B. Hashing with no salt
- C. Data masking on display only
- D. Symmetric encryption of the entire database
Show answer & explanation
Answer: A
Tokenization substitutes sensitive data with a non-sensitive token that has no exploitable value outside the secure vault that maps it back to the original, which is exactly the recurring-billing scenario described. Unsalted hashing is not reversible so it cannot be mapped back for legitimate reuse, display-only masking still leaves the real number stored elsewhere, and encrypting the whole database still stores the actual card number, just protected differently, rather than replacing it with a token.47. A hospital is designing redundancy for its patient records system and wants to ensure that if the primary data center becomes unavailable, a secondary site can take over with minimal data loss and downtime. Which concept category does this planning fall under?
- A. Resilience and recovery (e.g., high availability, failover, backups)
- B. Data classification
- C. Least privilege enforcement
- D. Vulnerability scanning
Show answer & explanation
Answer: A
Planning for failover to a secondary site with minimal data loss and downtime is core to resilience and recovery architecture, encompassing high availability, replication, and disaster recovery. Data classification concerns labeling data sensitivity, least privilege concerns access rights scoping, and vulnerability scanning identifies weaknesses rather than ensuring continued operation after an outage.48. An organization stores encryption keys used to protect its database in a dedicated hardware appliance specifically designed to generate, store, and manage cryptographic keys with tamper-resistant protections. What is this appliance called?
- A. Hardware security module (HSM)
- B. Load balancer
- C. Jump server
- D. Proxy server
Show answer & explanation
Answer: A
An HSM is a dedicated, tamper-resistant hardware device built to generate, store, and manage cryptographic keys securely, isolating key material from general-purpose servers. A load balancer distributes traffic across servers, a jump server is a hardened intermediary for administrative access, and a proxy server relays and can filter client requests, none of which are purpose-built for cryptographic key custody.49. An inline security appliance protects a bank's payment authorization path. Leadership determines that permitting uninspected transactions is unacceptable under any circumstance, even if it means the payment service is unavailable while the appliance is down. How should the appliance's failure mode be configured, and what is the operational consequence?
- A. Fail-open, so traffic continues to pass uninspected and availability is preserved
- B. Fail-closed, so traffic is blocked when the appliance fails, trading availability for confidentiality and integrity
- C. Fail-open, because inline devices cannot be configured to block on failure without a bypass switch
- D. Fail-closed, which preserves availability because a redundant path is automatically created
Show answer & explanation
Answer: B
A fail-closed configuration denies traffic when the device cannot inspect it, which enforces the stated priority that uninspected transactions are never acceptable, at the cost of an outage during appliance failure. Option A is the most tempting because fail-open is the common default in many deployments and it protects the business from downtime, but it does exactly what leadership prohibited by allowing uninspected payments through. Option D is wrong because fail-closed does not create redundancy by itself; achieving both inspection and availability requires a separate high availability pair, not a change of failure mode.50. Administrators need to reach management interfaces in a restricted server zone. The design requires that no administrator workstation ever connects to those interfaces directly, that all administrative sessions originate from one hardened, heavily logged intermediary, and that the zone's firewall accepts management traffic only from that single host. Which component is being described?
- A. A reverse proxy
- B. A load balancer with session affinity
- C. A network tap
- D. A jump server
Show answer & explanation
Answer: D
A jump server, also called a bastion host, is a single hardened, monitored system that administrators authenticate to first and from which all administrative connections into a protected zone originate, collapsing the firewall rule set to one permitted source. A reverse proxy is the most tempting distractor because it is also an intermediary that other systems connect through, but a reverse proxy fronts published application services for external clients; it is not an interactive administrative pivot and does not provide the session logging and account controls the scenario requires. A network tap only copies traffic for monitoring and carries no sessions.51. A company publishes three internal applications to the internet. Security requires that external clients never reach the application servers directly, that TLS be terminated and inspected at a single enforcement point, and that the application servers' real addresses stay hidden. Which device placement satisfies these requirements?
- A. A reverse proxy in the screened subnet, in front of the application servers
- B. A forward proxy on the internal network, controlling employee outbound browsing
- C. A network tap mirroring traffic to an intrusion detection sensor
- D. A host based firewall on each application server
Show answer & explanation
Answer: A
A reverse proxy accepts inbound connections on behalf of internal servers, terminates and inspects TLS, and conceals back end addressing, which is precisely the published application pattern described. A forward proxy is the most tempting distractor because both are called proxies and both inspect TLS, but a forward proxy serves internal clients making outbound requests and has no role in protecting inbound published services. A network tap is passive and cannot terminate connections, and host based firewalls filter per server without providing a single inspection point or hiding the servers.52. An online retailer keeps being hit by injection and cross site scripting attempts against its shopping cart. The existing perimeter firewall already filters by port, address, and application identity, but the attacks arrive inside ordinary HTTPS requests to the cart's published endpoints. Which additional control is designed for this specific problem?
- A. A stateful packet filtering firewall applied to the server subnet
- B. A unified threat management appliance replacing the perimeter firewall
- C. A web application firewall inspecting HTTP request content against the application's expected input
- D. A network based intrusion detection system in monitor only mode
Show answer & explanation
Answer: C
A web application firewall parses HTTP requests and evaluates parameters, headers, and body content against rules describing valid application input, which is what catches injection and scripting payloads carried inside otherwise legitimate requests. Option B is the most tempting because a unified threat management appliance bundles many functions and feels like a superset, but its consolidated inspection is broad rather than application aware, and it does not model a specific application's expected parameters. Option D fails the requirement outright because detection in monitor only mode raises an alert without blocking the request, and option A operates below the application layer entirely.53. A team is placing a network sensor on a core link. The requirement is that the sensor must never be able to interrupt production traffic, must add no latency, and must survive its own failure without affecting the link. Which deployment satisfies these constraints?
- A. Inline between the core switch and the router, in prevention mode
- B. Out of band, receiving a copy of traffic from a tap or mirror port
- C. Inline in prevention mode with a hardware bypass module that keeps the link up if the sensor fails
- D. As a transparent bridge terminating and re-originating each session
Show answer & explanation
Answer: B
A passive, out of band sensor receives a copy of traffic from a tap or mirror port, so production packets never traverse the sensor and its failure or overload cannot affect the link, at the cost of being able only to detect rather than block. Option C is the most tempting because a hardware bypass module does protect against total device failure, but the sensor is still inline in the packet path during normal operation, which adds latency and gives it the ability to interrupt traffic, both of which the requirements forbid. Option D likewise places the device in the path.54. A firm runs a customer database on virtual machines it provisions from a cloud provider, and separately subscribes to a hosted email and collaboration suite. Under the shared responsibility model, how does the firm's obligation to patch the guest operating system differ between these two services?
- A. The provider patches the guest operating system in both cases, since it owns the underlying hardware
- B. The firm patches the guest operating system in both cases, since it is the data owner
- C. The firm patches neither, because operating system patching is always a provider responsibility in public cloud
- D. The firm patches the guest operating system on its provisioned virtual machines, while the provider patches it for the hosted suite
Show answer & explanation
Answer: D
In an infrastructure service the customer is issued a virtual machine and owns everything from the guest operating system upward, including its patching. In a software service the customer receives only the application, so the provider owns the operating system, platform, and application maintenance while the customer retains responsibility for its data, identities, and access configuration. Option B is the most tempting because data ownership does remain with the firm in both models and candidates over extend that principle, but data ownership does not confer operating system access in a software service; the firm has no ability to patch a host it cannot reach.55. A cloud team repeatedly finds that manually built environments drift apart, so that a security group corrected in one environment reappears misconfigured in another. They decide to define every network, host, and permission in version controlled declarative templates and to rebuild environments only from those templates. Which practice are they adopting, and what is its principal security benefit?
- A. Infrastructure as code, which makes configurations reviewable, repeatable, and consistently enforced across environments
- B. Containerization, which isolates each workload in its own namespace
- C. Serverless computing, which removes the operating system from the customer's responsibility
- D. Software defined networking, which separates the control plane from the data plane
Show answer & explanation
Answer: A
Infrastructure as code expresses environment definitions as templates that can be peer reviewed, versioned, scanned before deployment, and applied identically everywhere, which eliminates the configuration drift and repeated misconfiguration described. Software defined networking is the most tempting distractor because it also brings programmability to infrastructure, but it addresses how network forwarding decisions are centralized and abstracted, not how full environment definitions are authored, reviewed, and reproduced. Containerization and serverless change the workload packaging and hosting model without themselves preventing drift in the surrounding configuration.56. An architect must host two workloads belonging to different customers with a strict requirement that a kernel level vulnerability exploited by one workload must not expose the other. One proposal packages each workload in a container on a shared host; the other places each in a separate virtual machine. Which assessment is correct?
- A. Virtual machines provide the stronger boundary, because containers on a host share that host's kernel
- B. The boundaries are equivalent, because both use namespaces enforced by the hypervisor
- C. Containers provide the stronger boundary, because each container has its own kernel
- D. Containers provide the stronger boundary, because their smaller image size reduces the attack surface
Show answer & explanation
Answer: A
Containers share the host kernel and are separated by namespaces and control groups, so a kernel level compromise can affect every container on that host. Virtual machines each run their own kernel with separation enforced by the hypervisor, which is a stronger isolation boundary for this specific threat. Option D is the most tempting because reduced image size is a genuine container security advantage and candidates generalize it, but a minimal image reduces the software inventory inside the container without changing the fact that all containers depend on one shared kernel, which is the exact boundary the requirement concerns.57. A water utility runs supervisory control equipment whose vendor certifies the software only in its current version; applying the operating system vendor's patches voids support and risks halting treatment processes that cannot be interrupted. The equipment has documented vulnerabilities. What is the appropriate architectural response?
- A. Apply all outstanding patches immediately, accepting the vendor support loss because unpatched vulnerabilities always outweigh availability
- B. Treat the systems as unpatchable and wrap them in compensating controls such as restricted zones, strict allow listed flows, and dedicated monitoring
- C. Accept the risk formally and take no further technical action, since the vendor prohibits changes
- D. Connect the systems to the corporate patch management server so patches can be staged for a future maintenance window
Show answer & explanation
Answer: B
Operational technology commonly cannot be patched on the enterprise cycle because of vendor certification and process continuity constraints, so the recognized approach is to reduce exposure around the device: place it in a tightly restricted zone, permit only explicitly required flows, and monitor it closely. Option A is the tempting answer for candidates who treat patching as an absolute, but in a process control environment an unplanned halt can have safety consequences, and vendor certification loss can leave the utility unable to obtain support at all. Option C is inadequate because accepting risk without compensating controls leaves a known vulnerable system fully exposed.58. A distributed company is replacing its hub and spoke branch connectivity. It wants identity aware policy, secure web gateway, and data loss inspection delivered from cloud points of presence so that remote users and branches receive the same enforcement without backhauling traffic to headquarters. Which model is being described?
- A. A site to site IPSec mesh between all branch firewalls
- B. A traditional remote access VPN concentrator at headquarters
- C. Software defined wide area networking alone
- D. Secure access service edge
Show answer & explanation
Answer: D
Secure access service edge converges wide area connectivity with cloud delivered security services, applying identity and context aware policy at distributed points of presence so that branch and remote users receive equivalent enforcement without backhauling. Option C is the strongest distractor because software defined wide area networking is genuinely a component of this design, but on its own it optimizes and orchestrates transport selection; it does not by itself provide the secure web gateway, identity aware policy, and data loss inspection the requirement names. A VPN concentrator at headquarters reintroduces exactly the backhaul the company is eliminating.59. Two organizations connect their networks over the public internet using IPSec. Requirement one is that the original IP headers of the protected traffic must not be visible to anyone observing the link. Requirement two is that the gateways, not the end hosts, perform the encryption. Which IPSec mode meets both requirements, and why?
- A. Transport mode, because it protects the payload while leaving the original header for gateways to route on
- B. Tunnel mode, because it encapsulates the entire original packet, including its headers, inside a new packet addressed between the gateways
- C. Transport mode with Authentication Header, because it authenticates the full original header
- D. Tunnel mode with Authentication Header only, because encapsulation alone provides confidentiality
Show answer & explanation
Answer: B
Tunnel mode encapsulates the whole original packet, headers included, within a new packet whose outer addresses are the two gateways, which conceals internal addressing and suits gateway to gateway deployment. Option A is the most tempting because transport mode is genuinely used for IPSec and does encrypt the payload, but it preserves the original IP header in the clear, violating requirement one, and it is designed for host to host protection rather than gateway enforcement. Option D fails because Authentication Header provides integrity and authentication but no encryption, so encapsulation without Encapsulating Security Payload leaves the inner packet readable.60. A cloud architect is told that records gathered from residents of one country must be stored and processed only on infrastructure physically located inside that country's borders, and the platform must refuse to replicate them to any other region. Which data protection method implements this constraint?
- A. Tokenization of the identifying fields before storage
- B. Full disk encryption of every storage volume
- C. Geographic restriction of storage and replication regions
- D. Static masking of the records in lower environments
Show answer & explanation
Answer: C
Geographic restriction, sometimes implemented as region pinning or geofencing, constrains where data may physically reside and where it may be replicated, which is the direct control for a residency obligation. Encryption is the most tempting distractor because it is the reflexive answer to any data protection requirement and it does protect confidentiality, but an encrypted copy replicated to another region is still stored in that region and still violates the residency constraint. Tokenization and masking alter the values rather than the location and likewise do not satisfy a requirement expressed in terms of physical placement.61. An organization contracts for alternate facility space that provides floor area, power, cooling, and network drops, but contains no installed servers, no software, and no copy of the production data. Recovery would require shipping and building equipment before operations could resume. Which recovery site type has been contracted?
- A. Hot site
- B. Cold site
- C. Warm site
- D. Mobile recovery unit
Show answer & explanation
Answer: B
A cold site supplies only the physical environment, so it is the cheapest option and carries the longest recovery time because hardware, software, and data must all be brought in and built before use. A warm site is the most tempting distractor because both are cheaper than a hot site and both require work before cutover, but a warm site already contains installed hardware and often periodically refreshed data, needing only current data restoration and start up. The stem states explicitly that no servers, software, or data are present, which excludes warm.62. A hospital wing must never lose electrical power to its monitoring equipment. Engineers install a battery unit that carries the load instantly on utility failure, plus a diesel unit that starts within seconds and can run for days. Why are both required rather than either alone?
- A. The battery bridges the seconds the generator needs to start, and the generator sustains the load far longer than the battery can
- B. The generator conditions power quality while the battery unit protects against voltage surges only
- C. Regulations require two independent utility feeds, and these two units together provide them
- D. The battery unit is a backup for the generator and engages only if the generator fails to start
Show answer & explanation
Answer: A
An uninterruptible power supply provides immediate, seamless transfer but has limited runtime, whereas a generator has effectively unlimited runtime but requires time to start and reach stable output. Together they cover both the instantaneous and the sustained requirement. Option D is the most tempting because it also pairs the two devices and sounds like sensible redundancy, but it inverts the sequence: if the battery only engaged after the generator failed to start, the load would already have dropped during the generator's start interval, defeating the requirement for uninterrupted power.63. A research organization maintains an offline root signing system that has no network interface attached to any network, exchanges data only through media that is manually scanned and controlled, and sits in a separately locked enclosure. Which isolation approach is in use?
- A. Logical segmentation using virtual local area networks
- B. Microsegmentation enforced by host based policy
- C. An air gap providing physical isolation
- D. A screened subnet between two firewalls
Show answer & explanation
Answer: C
An air gap is physical isolation: no network path exists at all, so data crosses only by deliberate manual transfer, which is why it is reserved for the highest value assets such as offline signing keys. Logical segmentation is the most tempting distractor because it also separates systems and is far more common, but virtual local area networks and access lists still depend on a shared physical network and on the correct configuration of shared devices, so a misconfiguration or switch compromise can bridge the separation. An air gap has no such shared path to misconfigure.64. A company is labeling its information assets. One dataset is a proprietary manufacturing process whose value depends entirely on remaining unknown to competitors and which is protected by no filing or registration. Which data type best describes it?
- A. Regulated data
- B. Public data
- C. Human readable financial data
- D. Trade secret
Show answer & explanation
Answer: D
A trade secret derives its value from secrecy itself and is protected by the owner's own confidentiality measures rather than by registration, which is what distinguishes it from other intellectual property. Regulated data is the most tempting distractor because it is also highly sensitive and heavily protected, but regulated data is classified that way because an external law or standard imposes handling requirements on it, such as payment card or health information; the manufacturing process in this scenario carries no such external mandate, and its protection obligation arises purely from the business's own interest in confidentiality.
Security Operations
28 questions65. A SOC analyst is reviewing an alert and needs to determine whether the flagged behavior is actually malicious or simply an unusual but legitimate administrative action. Which step in the incident response process does this triage activity belong to?
- A. Detection and analysis
- B. Eradication
- C. Lessons learned
- D. Containment
Show answer & explanation
Answer: A
Determining whether an alert represents a true positive versus benign activity is part of the detection and analysis phase, which occurs before any response action is taken. Eradication removes confirmed malicious artifacts after an incident is validated, lessons learned occurs after the incident closes, and containment limits spread only after malicious activity has been confirmed, all of which come after the triage step described.66. During an active incident, the response team isolates an infected workstation from the network by disabling its switch port, preventing the malware from spreading further while preserving the machine for forensic review. Which incident response phase does this action represent?
- A. Identification only, with no action taken
- B. Preparation
- C. Containment
- D. Post-incident reporting
Show answer & explanation
Answer: C
Isolating an infected host to stop lateral spread while preserving evidence is the definition of containment. Preparation happens before an incident occurs and involves building capability and plans, post-incident reporting occurs after the incident is resolved, and identification is simply recognizing that an incident occurred, which is distinct from actively isolating the host.67. An investigator collecting evidence from a compromised server must capture data in order of how quickly it would be lost if the system were powered off, starting with the most volatile. Which of the following correctly reflects that order of volatility?
- A. Disk, then backups, then RAM, then CPU registers
- B. RAM, then backups, then disk, then CPU registers
- C. Backups, then disk, then RAM, then CPU registers
- D. CPU registers and cache, then RAM, then disk, then backups
Show answer & explanation
Answer: D
The order of volatility for digital forensics begins with the most transient data (CPU registers/cache), followed by RAM, then local disk storage, and finally offline backups or archival media, which persist the longest. The other options reverse or scramble this sequence, which would risk losing the most fragile evidence before it is captured, violating proper forensic procedure.68. A security team wants a documented, unbroken record of who handled a piece of digital evidence, when, and for what purpose, from collection through court presentation. Which forensic concept requires this documentation?
- A. Chain of custody
- B. Data minimization
- C. Legal hold
- D. Non-repudiation
Show answer & explanation
Answer: A
Chain of custody is the chronological documentation showing who collected, handled, and analyzed evidence, ensuring its integrity and admissibility. Data minimization limits the amount of personal data collected/retained, a legal hold suspends normal data destruction when litigation is anticipated, and non-repudiation proves the origin of a message rather than tracking evidence handling.69. A SIEM correlates login attempts across multiple systems and flags an account that authenticated from two geographically distant countries within a ten-minute window. Which detection capability does this best illustrate?
- A. Impossible travel detection via log correlation
- B. Data loss prevention content inspection
- C. Static application security testing
- D. Vulnerability scanning
Show answer & explanation
Answer: A
Correlating login timestamps and geolocation across systems to flag physically implausible travel between logins is a classic SIEM use case for impossible travel detection, useful for spotting compromised credentials. DLP inspects data content for policy violations, static application security testing analyzes source code for flaws before runtime, and vulnerability scanning identifies unpatched weaknesses, none of which involve correlating authentication geolocation and timing.70. A security engineer configures a tool that intercepts and can automatically block network traffic matching known attack signatures, rather than only alerting on it. Which type of tool is being described?
- A. Intrusion prevention system (IPS)
- B. Intrusion detection system (IDS) operating passively
- C. Vulnerability scanner
- D. Packet sniffer with no blocking capability
Show answer & explanation
Answer: A
An IPS sits inline with traffic and can actively block or drop packets matching malicious signatures or behavior, unlike a passive IDS which only alerts without intervening. A vulnerability scanner assesses systems for weaknesses rather than inspecting live traffic, and a plain packet sniffer captures traffic for analysis but has no enforcement capability.71. An organization wants to reduce the risk that a compromised employee laptop can be used to move malware into the on-premises data center by requiring the device to prove it has current patches and an active antivirus agent before it is granted network access. Which technology enforces this kind of check?
- A. Network access control (NAC) with posture assessment
- B. A stateless packet filter with no inspection
- C. A simple content delivery network
- D. An email gateway spam filter
Show answer & explanation
Answer: A
NAC solutions perform posture assessment, checking device compliance such as patch level and antivirus status, before granting or restricting network access, exactly matching the scenario. A stateless packet filter only inspects header fields without evaluating device health, a CDN caches and distributes content rather than gating network admission, and a spam filter screens email content and is unrelated to device posture checks.72. A company's vulnerability management program prioritizes patching a finding not just by its raw severity score but also by whether it is being actively exploited in the wild and whether the affected system is internet-facing. This prioritization approach is best described as which of the following?
- A. Risk-based vulnerability prioritization
- B. Patching purely alphabetically by system name
- C. Ignoring all vulnerabilities below CVSS 9.0
- D. Patching only after an audit finding forces it
Show answer & explanation
Answer: A
Risk-based prioritization weighs exploitability, exposure (e.g., internet-facing), and business context alongside a base severity score to decide what to remediate first, rather than relying on severity alone. Alphabetical patching ignores risk entirely, ignoring anything below a fixed CVSS threshold discards context like active exploitation, and waiting for an audit finding is reactive rather than a structured prioritization method.73. A retail company wants to detect after the fact whether an employee accessed customer records they had no legitimate business reason to view. Which control provides this capability?
- A. Audit logging with regular log review
- B. Full-disk encryption
- C. Rate limiting on the login API
- D. Network time synchronization alone
Show answer & explanation
Answer: A
Audit logs capture who accessed which records and when, and periodic review of those logs allows detection of unauthorized or unnecessary access after the fact. Full-disk encryption protects data at rest from offline theft but doesn't record who viewed live records, rate limiting only throttles authentication attempts, and time synchronization ensures accurate timestamps but by itself does not detect inappropriate access.74. A vulnerability scan of a server fleet reports a short list of findings, all of them network service banners. The security team believes many host level issues, such as missing local patches and weak registry settings, are being missed. Which change to the scan configuration would most improve the completeness of the results?
- A. Increase the scan frequency from monthly to weekly so findings are reported sooner
- B. Scan from a source inside the same subnet as the targets to avoid firewall filtering
- C. Supply the scanner with valid administrative credentials so it can authenticate to each host
- D. Expand the port range so the scanner probes all ports rather than only the common ones
Show answer & explanation
Answer: C
A credentialed scan authenticates to the target and enumerates installed packages, patch levels, and local configuration directly, which reveals the host level findings that an unauthenticated scan can only infer from exposed services. Option D is the most tempting because widening the port range genuinely does find more listening services, but it still only observes the host from the outside, so missing local patches and registry settings that expose no network service remain invisible. Changing frequency or scan origin affects timeliness and network reachability, not the depth of inspection.75. An enterprise wants employees to authenticate once to the corporate identity provider and then reach a third party human resources web application without a second logon, with the identity provider asserting the user's identity and group membership to that application. Separately, a mobile app must obtain limited, scoped permission to read a user's calendar without ever receiving the user's password. Which pair of standards fits these two requirements respectively?
- A. RADIUS for the web application single sign-on, and Kerberos for the delegated calendar access
- B. SAML for the web application single sign-on, and OAuth for the delegated calendar access
- C. OAuth for the web application single sign-on, and SAML for the delegated calendar access
- D. LDAP for the web application single sign-on, and TACACS+ for the delegated calendar access
Show answer & explanation
Answer: B
SAML carries signed authentication assertions and attributes from an identity provider to a service provider, which is the standard pattern for federated browser based single sign-on. OAuth is an authorization framework that issues scoped access tokens so an application can act on a resource on the user's behalf without handling the user's credentials. Option C is the classic trap because it names the correct two standards but assigns each to the other's job. LDAP is a directory access protocol rather than a federation standard, and RADIUS and TACACS plus serve network and device administration authentication.76. A global firm needs access decisions that depend simultaneously on the requester's department, the sensitivity label of the record, the time of day, and whether the device is corporate managed. Its current model assigns permissions purely by job title, which forces the creation of a new job title for each combination. Which access control model directly supports the required decision logic?
- A. Attribute based access control
- B. Role based access control with additional roles defined
- C. Discretionary access control delegated to record owners
- D. Mandatory access control using fixed clearance labels
Show answer & explanation
Answer: A
Attribute based access control evaluates policies over attributes of the subject, the object, the action, and the environment, so conditions such as department, record sensitivity, time, and device posture combine in a single policy without multiplying identities. Option B is the most tempting because adding roles is the natural incremental fix and role based control is far more widely deployed, but that is exactly the role explosion the stem describes as the problem, since each new attribute combination requires another role. Discretionary control puts the decision with individual owners, and mandatory control applies fixed clearance labels that cannot express device or time conditions.77. A company is retiring a batch of solid state drives from servers that held regulated data. The drives are self encrypting and will be returned to the leasing company rather than destroyed. A technician proposes running a magnetic degausser over them. What is the correct assessment and alternative?
- A. Degaussing is correct and sufficient, because it erases all storage media regardless of technology
- B. Degaussing is ineffective on flash based media; destroying the encryption key so the stored ciphertext becomes unrecoverable is the appropriate method
- C. Degaussing is unnecessary because deleting the file system partition table removes all recoverable data
- D. Degaussing is required by policy for any drive leaving the premises, and physical shredding must also be performed
Show answer & explanation
Answer: B
Degaussing works by disrupting a magnetic field and therefore has no effect on solid state media, which store data as electrical charge in flash cells. For a self encrypting drive that must be returned intact, cryptographic erase, which destroys the media encryption key so all remaining ciphertext is unrecoverable, is both effective and non destructive. Option D is the most tempting because it sounds appropriately rigorous and destruction is genuinely the strongest sanitization method, but shredding is incompatible with the stated requirement to return the drives to the lessor. Deleting a partition table removes only the map to the data, leaving the data itself intact.78. A company has already published records that list its authorized sending servers and has configured its outbound mail to carry a cryptographic signature. Spoofed mail claiming to come from the company is still being delivered to partners, because receiving systems have no instruction on what to do when those checks fail. Which additional email authentication mechanism supplies that instruction and returns reports to the domain owner?
- A. Sender Policy Framework
- B. DomainKeys Identified Mail
- C. Secure Multipurpose Internet Mail Extensions
- D. Domain-based Message Authentication, Reporting, and Conformance
Show answer & explanation
Answer: D
DMARC builds on the other two mechanisms by publishing the domain owner's policy for handling messages that fail authentication and alignment, such as quarantine or reject, and by requesting aggregate and forensic reports back to the domain owner. Sender Policy Framework is the most tempting distractor because it is the record listing authorized sending servers, but the stem states that record already exists; SPF publishes who may send and produces a pass or fail result without telling the receiver what to do with a failure. DomainKeys Identified Mail supplies the signature, which the stem also states is already in place.79. A financial services firm wants to identify and stop messages and uploads that contain account numbers matching a defined pattern before they leave the corporate boundary, whether the channel is email, web upload, or removable media. Which technology is purpose built for this requirement?
- A. Security information and event management
- B. File integrity monitoring
- C. Data loss prevention
- D. Network access control
Show answer & explanation
Answer: C
Data loss prevention inspects content in motion, at rest, and in use against classification rules and patterns, and can block or quarantine a transfer that would move regulated data outside policy across email, web, and removable media channels. A security information and event management platform is the most tempting alternative because it also sees a great deal of activity and can alert on it, but it correlates log records after the fact rather than inspecting message content in the transfer path, so it cannot stop the transfer. File integrity monitoring watches for changes to files, not for their egress.80. After a breach in which an attacker replaced a system binary with a backdoored version that continued to function normally, a team wants automatic notification whenever a protected system file's contents change outside of an approved maintenance window. Which control provides this?
- A. Antivirus scanning on a nightly schedule
- B. File integrity monitoring using a stored baseline of cryptographic hashes
- C. A host based firewall restricting inbound connections
- D. Full disk encryption of the system volume
Show answer & explanation
Answer: B
File integrity monitoring records a cryptographic hash of each protected file and alerts when a recomputed hash no longer matches the baseline, which detects modification regardless of whether the replacement is recognized as malicious. Antivirus is the most tempting distractor because it is also a scanning control on the same host, but it detects files that match known malicious patterns; a custom backdoor built for one target will not match a signature, and the stem states the replaced binary continued to function normally. Encryption protects data if the disk is removed and does nothing about authorized changes made on a running system.81. A scanner reports that a server is vulnerable to a flaw in a library. An analyst verifies that the affected library version is not present on that server and that the reported service is not installed. Separately, a different server is confirmed compromised through a weakness the same scanner reported as clean. How should these two outcomes be classified?
- A. Both are false positives
- B. Both are false negatives
- C. The first is a false negative and the second is a false positive
- D. The first is a false positive and the second is a false negative
Show answer & explanation
Answer: D
A false positive is a reported finding that does not actually exist, which describes the first server where the library and service are absent. A false negative is a real weakness the tool failed to report, which describes the second server that was compromised through an issue reported as clean. Option C is the classic trap because the two terms are easily transposed under time pressure; the reliable check is that the label always describes what the tool said, so a positive report that turns out to be untrue is a false positive, and silence that turns out to conceal a real issue is a false negative. False negatives are the more dangerous of the two because nothing prompts investigation.82. A confirmed high severity vulnerability affects a revenue critical application, but the only available patch breaks a required integration and the vendor's fix is months away. The business decides to keep the system running with additional restrictions while tracking the issue formally. Which vulnerability management response does this represent?
- A. A documented exception with compensating controls, recorded with an owner and a review date
- B. A false positive determination closing the finding
- C. Risk avoidance, since the vulnerable function will no longer be used
- D. Validation through rescanning to confirm remediation
Show answer & explanation
Answer: A
When a finding cannot be remediated on the normal cycle, the correct response is a formally approved exception that documents the business justification, records the compensating controls, assigns an owner, and sets a review date so the acceptance does not become permanent by neglect. Option C is the most tempting because both involve a decision not to patch, but avoidance means ceasing the activity that creates the exposure entirely, and the stem states the system keeps running. Option B is wrong and dangerous, because the finding is described as confirmed; closing a real vulnerability as a false positive removes it from tracking without reducing the risk.83. An operations team has applied patches to close a batch of reported findings and has updated the tracking system to closed. The security manager refuses to sign off on the remediation cycle until one more step is completed. Which step is the manager requiring?
- A. Rescanning the affected systems to verify the findings no longer appear
- B. Filing an exception for each closed finding
- C. Subscribing to an additional commercial threat intelligence feed
- D. Re-prioritizing the remaining backlog by severity score
Show answer & explanation
Answer: A
Validation closes the loop in vulnerability management: a rescan or equivalent verification confirms that the applied change actually removed the finding, since patches can fail to install, be rolled back, or require a restart that never happened. Option D is the most tempting because prioritization is a genuine and adjacent step in the same lifecycle, but it governs what to work on next rather than proving that completed work succeeded. Option B is incorrect because an exception is used when a finding will not be remediated, which is the opposite of the situation described.84. A monitoring platform generates roughly 9,000 alerts per day from one rule, and analysts have begun closing them in bulk without reading them because the overwhelming majority stem from a scheduled backup job's authentication pattern. Which response best addresses the underlying operational problem?
- A. Route the rule's output to an archive index so analysts no longer see it
- B. Reduce the platform's log retention period to lower the volume of matched events
- C. Tune the rule to exclude the known benign backup pattern while still alerting on that behavior from any other source
- D. Disable the rule entirely, since analysts are already ignoring its output
Show answer & explanation
Answer: C
Alert tuning refines a rule so it stops firing on a specifically identified benign condition while preserving detection of the same behavior in every other context, which restores analyst trust without creating a blind spot. Option D is the most tempting because it produces the same immediate relief from noise and analysts are already ignoring the alerts, but disabling the rule removes detection of genuinely malicious instances of that behavior, converting an alert fatigue problem into a coverage gap. Archiving the output has the same effect while hiding it, and retention changes affect storage of records rather than which conditions raise an alert.85. In a classified processing environment, every file carries a sensitivity label and every user carries a clearance. The operating system itself decides access by comparing the two, and a file's creator is explicitly forbidden from granting another user access to a file whose label exceeds that user's clearance. Which access control model is in force?
- A. Rule based access control
- B. Mandatory access control
- C. Discretionary access control
- D. Role based access control
Show answer & explanation
Answer: B
Mandatory access control enforces a system wide policy of labels and clearances that individual users, including the owner of an object, cannot override, which is why it is used in classified environments. Discretionary access control is the direct opposite and is the most tempting distractor because it is the familiar model on ordinary file systems, where the owner sets permissions and may grant access to whomever they choose; the stem specifically forbids that, which rules it out. Role based control groups permissions by job function and does not use clearance comparison at all.86. A review finds that fourteen engineers hold standing membership in a domain administrators group, though each of them needs that level of access only a few times per quarter. Security wants to eliminate the standing membership without blocking legitimate emergency work. Which privileged access management approach achieves this?
- A. Rotate the shared administrator password on a monthly schedule
- B. Require the engineers to use longer passphrases on their administrative accounts
- C. Grant elevation just in time, on approved request and for a bounded window, after which membership is automatically removed
- D. Move all fourteen accounts into a separate organizational unit with stricter group policy
Show answer & explanation
Answer: C
Just in time privileged access grants elevation only on an approved request and only for a limited period, after which entitlement is revoked automatically, which shrinks the window in which a compromised account carries administrative power from continuous to minutes. Option A is the most tempting because credential rotation is a real privileged access management practice and does limit the life of a stolen secret, but the engineers still hold standing membership between rotations, so a compromise at any moment still yields immediate administrative rights. Stronger passphrases and stricter policy on the accounts do not change the standing entitlement at all.87. A portal requires users to supply a password and then answer three preselected personal security questions before access is granted. An auditor states that this does not satisfy the organization's multifactor authentication requirement. Why is the auditor correct?
- A. Because security questions transmit in cleartext and multifactor authentication requires encryption of every factor
- B. Because multifactor authentication requires at least three separate credentials to be presented
- C. Because security questions are not unique to the individual and therefore cannot be an authentication factor at all
- D. Because both the password and the security answers are things the user knows, so only one factor category is represented
Show answer & explanation
Answer: D
Multifactor authentication requires credentials drawn from different categories, namely something you know, something you have, and something you are. A password and a security answer are both knowledge, so presenting them together is multi step single factor authentication regardless of how many items are supplied. Option B is the most tempting because candidates equate more credentials with more factors, but the requirement is about category diversity rather than count; adding a fourth knowledge question would still not satisfy it, while adding one hardware token would.88. An audit finds that staff who transferred between departments over three years retained the entitlements from every prior role, so several now hold combinations that would let one person complete a transaction end to end. Which recurring identity governance practice is designed to catch this accumulation?
- A. Periodic access attestation, in which managers review and certify each subordinate's entitlements
- B. Requiring a password change at fixed intervals for every account in the directory
- C. Federating the corporate directory with the organization's cloud applications
- D. Identity proofing performed at the time of hire to confirm the new employee's identity
Show answer & explanation
Answer: A
Access attestation, also called recertification, requires an accountable reviewer to periodically confirm that each user's entitlements still match their current duties, and to revoke what no longer applies, which is the standard defense against privilege creep from internal transfers. Option D is the most tempting because identity proofing is a genuine and important identity lifecycle step, but it verifies who a person is at enrollment and never revisits what they may access afterward, so it cannot detect entitlements accumulated years later. Password rotation and federation change how credentials are managed, not what permissions an identity holds.89. An employee is dismissed at 10 a.m. Building access is revoked at once, but the network account is left enabled because the manager wants time to retrieve project files from the mailbox. That evening the account is used from an external address to download a client list. Which identity lifecycle failure is responsible?
- A. Failure to de-provision the account promptly upon termination
- B. Inadequate identity proofing during the original onboarding process
- C. Lack of a federation trust between the directory and the mail platform
- D. Absence of a password complexity standard for departing users
Show answer & explanation
Answer: A
De-provisioning must disable authentication at the moment employment ends; data retrieval is accomplished by delegating the mailbox or exporting it administratively, which requires no active user account. Leaving the account enabled preserves exactly the access the termination was meant to remove. Option D is the most tempting because the abuse involved a logon and passwords feel like the relevant control, but the account's password was presumably valid and known to its legitimate owner, so no complexity rule would have prevented that person from using it; the defect is that a valid credential was still accepted after the person's authorization ended.90. A school district must block student browsers from reaching gambling and adult sites without maintaining a hand written list of individual domains, and must allow staff to reach research sites that a broad block would otherwise catch. Which capability of an enterprise web filter meets this need?
- A. Blocking by destination IP address ranges in the perimeter firewall
- B. Certificate pinning enforced in the managed browser
- C. Content categorization with group specific policy, using vendor maintained category feeds
- D. Rate limiting outbound sessions per client device
Show answer & explanation
Answer: C
Content categorization applies a continuously updated vendor classification of sites into categories, so policy is written once against a category rather than against individual domains, and different rules can be bound to different user groups such as students and staff. Option A is the most tempting because address based blocking is a genuine perimeter technique and feels equivalent, but modern sites sit behind shared hosting and content delivery networks, so a single address may serve many unrelated sites, making address blocking both over broad and quickly stale. Rate limiting and certificate pinning address performance and impersonation, not site classification.91. A security team wants malware on a compromised endpoint to be unable to resolve its command and control domains, and additionally wants a list of which internal hosts attempted those lookups so infected machines can be located. Which control provides both outcomes?
- A. Blocking outbound port 53 at the perimeter firewall for all internal hosts
- B. Enabling full packet capture on the internet uplink
- C. Deploying host based encryption on all endpoints
- D. DNS filtering that answers known malicious domains with a sinkhole address and logs the requesting client
Show answer & explanation
Answer: D
A DNS sinkhole intercepts resolution for known malicious domains, returns a controlled address so the malware never reaches its infrastructure, and records the internal client that asked, which simultaneously blocks the channel and identifies infected hosts. Option A is the most tempting because it also stops external resolution, but blanket blocking of outbound resolution breaks name resolution for every legitimate purpose unless internal resolvers are permitted, and it produces a generic denial rather than an attributable record of which host sought which malicious domain. Full packet capture provides evidence but blocks nothing.92. A network team monitors switches and routers using a management protocol whose earlier versions authenticate with a community string sent in the clear and provide no encryption of the retrieved values. An auditor requires that management queries be authenticated and confidential. What is the correct remediation?
- A. Migrate to version 3 of the protocol, which adds authentication and encryption of the management traffic
- B. Change the community string to a long random value and continue using the existing version
- C. Restrict management queries to a dedicated virtual local area network and continue using the existing version
- D. Disable monitoring entirely and rely on syslog forwarding from each device
Show answer & explanation
Answer: A
Version 3 of the simple network management protocol introduces a user based security model with authentication and privacy, which is the only option that actually satisfies both the authentication and confidentiality requirement in the protocol itself. Option B is the most tempting because a long random community string does raise the guessing bar, but the string is still transmitted in the clear, so anyone able to observe the traffic simply reads it, and the retrieved data remains unencrypted. Option C reduces who can observe the traffic without meeting the stated requirement, and would at best be a compensating control rather than remediation.
Security Program Management and Oversight
8 questions93. A new regulation requires a company to formally document acceptable levels of risk that leadership is willing to accept without further mitigation. Which governance artifact captures this?
- A. Risk appetite/tolerance statement
- B. Incident response playbook
- C. Network diagram
- D. Change management ticket
Show answer & explanation
Answer: A
A risk appetite or tolerance statement formally documents the level of risk an organization's leadership is willing to accept, guiding decisions about which risks require further mitigation. An incident response playbook details technical response steps, a network diagram documents topology, and a change management ticket records a specific proposed change, none of which capture organizational risk tolerance.94. A company evaluating a new cloud vendor requires the vendor to complete a detailed questionnaire and provide an independent audit report before signing a contract. This activity is best categorized under which of the following?
- A. Third-party/vendor risk management
- B. Business continuity planning
- C. Change management
- D. Asset inventory management
Show answer & explanation
Answer: A
Requiring questionnaires and independent audit evidence (such as a SOC 2 report) before onboarding a vendor is core to third-party/vendor risk management, assessing supply chain risk before granting access or trust. Business continuity planning addresses maintaining operations during disruptions, change management governs internal system modifications, and asset inventory management tracks organizational assets, none of which describe vetting an external vendor's security posture.95. An organization's security policy requires every proposed infrastructure change to be documented, reviewed by a designated approval body, tested where feasible, and have a rollback plan before implementation. This process is known as which of the following?
- A. Change management
- B. Onboarding process
- C. Data classification
- D. Penetration testing
Show answer & explanation
Answer: A
Change management formalizes the review, approval, testing, and rollback planning required before implementing changes to reduce the risk of unintended outages or security gaps. Data classification labels information by sensitivity, penetration testing simulates attacks to find weaknesses, and onboarding covers bringing new employees or systems into the organization, none of which describe the structured change-approval workflow described.96. A compliance officer must determine which specific regional data protection law applies to a company's processing of customer data collected from European Union residents. Which concept describes identifying and applying the correct set of legal requirements based on where data subjects reside?
- A. Regulatory/jurisdictional requirements (e.g., data protection regulations like GDPR)
- B. Business impact analysis
- C. Vulnerability scanning cadence
- D. Security awareness training frequency
Show answer & explanation
Answer: A
Identifying which regional or national laws (such as GDPR for EU residents) govern data handling based on data subject location is a matter of regulatory and jurisdictional compliance. A business impact analysis assesses the operational effect of disruptions, vulnerability scanning cadence concerns technical testing frequency, and awareness training frequency concerns employee education scheduling, none of which relate to determining applicable data protection law.97. An organization's leadership must decide how much time systems can be down after a disruption before the business is severely impacted, a figure that then drives investment in redundant infrastructure. Which metric are they defining?
- A. Annualized loss expectancy (ALE)
- B. Mean time between failures (MTBF)
- C. Single loss expectancy (SLE)
- D. Recovery time objective (RTO)
Show answer & explanation
Answer: D
RTO defines the maximum acceptable duration of downtime after a disruption before unacceptable business impact occurs, directly informing decisions about redundancy and failover investment. MTBF measures average time between failures of a component, ALE estimates yearly expected monetary loss from a risk, and SLE estimates the monetary loss from a single occurrence of a risk event, none of which define an acceptable downtime duration.98. A company's data governance policy assigns each dataset an owner responsible for approving access requests, a custodian responsible for day-to-day technical protection, and a classification label determining handling rules. Which security domain does establishing these roles and labels fall under?
- A. Security program management and oversight (data governance)
- B. Cryptographic key exchange
- C. Wireless network configuration
- D. Malware analysis
Show answer & explanation
Answer: A
Defining data owners, custodians, and classification labels as part of formal policy is data governance, a component of security program management and oversight. Cryptographic key exchange concerns securely establishing shared keys between parties, wireless network configuration concerns radio-based network setup, and malware analysis examines malicious code behavior, none of which involve assigning organizational data roles and classification policy.99. A multinational company must reconcile conflicting encryption export restrictions between two countries where it operates before deploying a new encrypted messaging feature. This consideration falls primarily under which concept?
- A. Legal and regulatory compliance considerations that vary by jurisdiction
- B. Physical security control selection
- C. Endpoint detection and response tuning
- D. Password complexity policy
Show answer & explanation
Answer: A
Reconciling differing national encryption export laws before deploying a feature across jurisdictions is a legal and regulatory compliance consideration tied to where the company operates. Physical security controls address facility protections, endpoint detection and response concerns host-based threat monitoring, and password complexity policy governs authentication requirements, none of which relate to cross-border legal restrictions on cryptography.100. A reliability review reports two figures for a storage array: the average interval between successive failures of the repairable unit, and the average time taken to restore it to service once a failure occurs. A manager wants to know which figure should be driven down by improving the on-call spare parts program. Which figure, and why?
- A. Mean time to repair, because spare parts availability shortens the restoration interval rather than changing how often failures occur
- B. Mean time between failures, because holding spares reduces the stress placed on the remaining components
- C. Recovery time objective, because it is the same quantity expressed contractually
- D. Annualized rate of occurrence, because spare parts change the expected yearly failure count
Show answer & explanation
Answer: A
Mean time to repair measures how long restoration takes, so anything that removes delay from the repair process, such as having spares on hand, reduces it directly. Mean time between failures describes the reliability of the hardware itself and is improved by better components or reduced load, not by parts logistics. Option C is the most tempting because a recovery time objective is also a duration and the two are frequently confused, but it is a business target that leadership sets for acceptable downtime, whereas mean time to repair is an observed measurement of actual repair performance; the target does not change simply because spares are stocked.
2026 statistics
Key facts: CompTIA Security+ exam
- Questions
- 90
- Time limit
- 1h 30m
- Passing score
- 750 (on a scale of 100-900)
- Governing body
- CompTIA
This free CompTIA Security+ practice test has 328 original questions written to CompTIA's official content outline, last checked against it on September 9, 2026, 100 of them listed on this page and the rest loaded by the drill. Every question shows a worked explanation, and nothing here requires a signup.
The questions are grouped under five outline areas: General Security Concepts, Threats, Vulnerabilities, and Mitigations, Security Architecture, Security Operations and Security Program Management and Oversight.
How the CompTIA Security+ practice bank covers the outline
328 questions across 5 outline areas — the same areas the page's sections use.
Counts are the live question bank, grouped by the outline area each question was written to.
Exam format and study resources
More in this family
CompTIA certifications
In the same family
More in this category
- Google Cloud Certified - Associate Cloud EngineerPractice questions →
- Google Cloud Certified - Cloud Digital LeaderPractice questions →
- Certified Information Systems AuditorPractice questions →
- Certified Information Security ManagerPractice questions →
- ISC2 Certified in Cybersecurity (CC)Practice questions →
- Project Management Professional (PMP)Practice questions →
- Microsoft Certified: Power BI Data Analyst Associate (Exam PL-300)Practice questions →
- Salesforce Certified Platform AdministratorPractice questions →
- HashiCorp Certified: Terraform Associate (004)Practice questions →
Get a free CompTIA Security+ study plan
A week-by-week plan plus new practice questions, straight to your inbox.
Official sources
Primary documents used to verify the exam details shown on this page.
- CompTIA Security+ (SY0-701) Certification Exam Objectives (Version 5.0)CompTIAassets.ctfassets.net
- CompTIA Security+ Certification PageCompTIAcomptia.org
- Occupational Employment and Wage Statistics, May 2025 — Information Security Analysts (SOC 15-1212)U.S. Bureau of Labor Statisticsbls.goveffective May 31, 2025
- CISSP Certification Exam OutlineISC2isc2.org
- Renewing CompTIA Security+ with Multiple ActivitiesCompTIAcomptia.org
- CompTIA — Pearson VUEPearson VUEpearsonvue.com
- Schedule Your CompTIA ExamCompTIAcomptia.org
- CompTIA Certification Retake PolicyCompTIAcomptia.org
- CISSP Experience RequirementsISC2isc2.org
- ISC2 Exam Pricing — CISSP registration feeISC2isc2.org
- CompTIA Candidate Testing PoliciesCompTIAcomptia.orgeffective July 20, 2026
Last verified against the official exam content outline:
Frequently asked questions
Is the CompTIA Security+ a hard exam?
CompTIA does not publish pass rates for Security+, so there is no official figure for how many candidates fail. CompTIA does say the exam uses multiple-choice and performance-based question types, and the performance-based items are where most people feel the difficulty. CompTIA recommends a minimum of 2 years of experience in IT administration with a focus on security before you sit it. Working through the 328 questions here with the topic filter shows you which of the five outline areas feels hard for you personally.
Is CompTIA Security+ worth it in 2026?
Security+ maps to a wide set of government roles: CompTIA lists DoD 8140 work roles for it including cyber defense analyst, incident responder, vulnerability analyst, security control assessor, system administrator, network specialist, systems planner, IT project manager, information security manager, and secure software assessor. The current SY0-701 version is not about to disappear either, since CompTIA has set its English retirement date for June 11, 2027. Everything on this page is written to that SY0-701 outline, so what you practice now is what you will be tested on.
What is the best practice test for CompTIA Security+?
The best practice test is one that follows the current SY0-701 outline and explains every answer. This page gives you 328 original questions, each with a worked explanation, organized under the same five domains CompTIA lists for the exam: General Security Concepts; Threats, Vulnerabilities, and Mitigations; Security Architecture; Security Operations; and Security Program Management and Oversight. You can filter by topic, then run a review pass over only the questions you missed. There is no signup and no card, and none of the items reproduce official exam questions.
How can I prepare for the CompTIA Security+ exam?
Start from CompTIA's recommended background: CompTIA Network+ and two years of experience working in a security or systems administrator job role. Then work the question bank here one outline area at a time using the topic filter, reading the worked explanation on every item and not just the ones you miss. Finish with the review pass over missed questions to close your gaps before you schedule. Because CompTIA uses multiple-choice and performance-based question types, practice explaining why each wrong option fails rather than only spotting the right one.
What happens if I fail Security+ and want to retake it?
CompTIA does not require any waiting period between your first and second attempt. Before a third or any later attempt, CompTIA requires you to wait at least 14 calendar days. Use that gap to rerun the review pass on this page over the outline areas where you missed the most, so your next attempt targets the weak spots instead of repeating the whole bank.