CCS Practice Test

CCS Domain 2: Secure by Design

42% of the ISACA CCS exam, about 50 of 120 questions. 12 subtopics in two parts, 173 questions in our practice bank.

13 free Domain 2 questions here, 173 in the full bank.

Start Domain 2 questions

2A. Technologies and Integrations

Operating System

14 questions in the bank. Practice Domain 2

What does the exam mean by a hardened operating system? One that runs only what its role needs and is configured to a published baseline. NIST SP 800-123 tells administrators to remove or disable unneeded services, applications and network protocols; CIS Benchmarks give the setting-by-setting version for Windows, Linux and macOS. If the stem says nobody uses a service, removing it beats monitoring it: a service that is not there cannot be exploited.

What if a system cannot be patched? NIST SP 800-40 Rev. 4 treats patching as routine maintenance, tested on a representative group before broad rollout. Windows 10 support ended October 14, 2025; devices still on it need the paid Extended Security Updates program, replacement, or isolation that limits who can reach them.

Which OS controls stop lateral movement?

WeaknessControl
Same local admin password on every PCWindows LAPS rotates a unique password per device
Pass-the-hash / pass-the-ticket from memoryCredential Guard isolates LSA secrets with virtualization-based security
Shared admin accountNamed accounts so every action is attributable
Root-run script writable by usersWrite access only for equally privileged accounts

What evidence should the host produce? Know a few Windows Security event IDs: 4625 is a failed logon and 1102 means the audit log was cleared, so a run of 4625s, a success, then 1102 reads as brute force followed by anti-forensics. PowerShell script block logging records the content of scripts that run. Forward logs to a central collector (SP 800-92) so an attacker with admin rights cannot erase the only copy, and use file integrity monitoring against a known-good baseline to catch unauthorized changes.

What if a security module blocks a legitimate application? Fix the narrow cause, such as one SELinux file label or policy rule, and keep the control enforcing for everything else.

Where candidates slip

  • Choosing to add monitoring for a service nobody uses: least functionality says remove or disable it, which deletes the attack path instead of watching it.
  • Setting SELinux to permissive or turning off a host control to fix one application: correct the specific label, rule or exclusion and leave enforcement on.
  • Relying on logs kept only on the compromised host: an administrator-level attacker can clear them (event 1102), so central forwarding is the evidence-preserving answer.
  • Picking 'patch every server now' for a business-critical fleet: test on a representative subset under change management, then roll out.

Endpoint Security

14 questions in the bank. Practice Domain 2

Antivirus or EDR? Signature antivirus matches known files. EDR records process, file, registry and network behavior, so it can flag fileless and hash-changing malware and lets responders isolate a device remotely while its telemetry stays available. When a stem says the sample's hash changes on every run, the behavior-based control is the answer.

ControlStopsDoes not stop
Full disk encryptionData exposure from a lost or stolen device that is powered offMalware on a running, unlocked laptop
Application allowlisting (NIST SP 800-167)Unapproved executablesAbuse of approved tools and interpreters
Tamper protectionMalware or users switching off antivirus settings outside central managementThe initial infection
Centrally managed host firewallInbound connections and user changes to rulesA user running a malicious attachment

Why does encryption change the outcome of a lost laptop? HIPAA breach notification covers "unsecured" PHI, defined in 45 CFR 164.402 as PHI not rendered unusable, unreadable or indecipherable by a method HHS specifies. Encryption that meets that guidance, with the key not compromised, changes the legal consequence. Plan key recovery before encrypting: escrowed BitLocker recovery keys keep a locked drive from becoming an availability incident.

How do you roll out allowlisting without breaking work? Run in audit mode, review what would have been blocked, then enforce. A path rule is only as strong as the folder's write permissions: allowing anything under a user-writable folder allows anything a user drops there.

What about personal phones and Zero Trust? On BYOD, app protection policies protect corporate data inside managed apps and can wipe just that data. Under NIST SP 800-207, device health feeds each access decision, for example conditional access that requires a compliant device.

Where candidates slip

  • Choosing 'reimage the laptop' while EDR shows live malware: isolate it through EDR first so spread stops and evidence survives.
  • Assuming full disk encryption protects a device stolen while unlocked: it protects data at rest, not a running session.
  • Fixing slow scans with a broad folder or process exclusion: tune as narrowly as possible so malware has nowhere to hide.
  • Enforcing allowlisting on day one: audit mode first, or the rollout blocks legitimate software and gets rolled back.

Networking Systems (e.g., firewall, segmentation, protocols)

28 questions in the bank. Practice Domain 2

NIST zero trust logical components: subjects reach enterprise resources only through a policy enforcement point controlled by the policy engine and policy administrator, fed by threat intelligence, logs, PKI, ID management and SIEM
Zero trust in one picture: no implicit trust from network location; every access passes a policy enforcement point that the policy decision point controls. Source: NIST SP 800-207, Figure 2.

What does a sound firewall policy look like? NIST SP 800-41 Rev. 1 recommends default deny: permit only the traffic that is needed, in both directions. Egress filtering matters because a compromised server that can open any outbound connection can download tools and exfiltrate data. In a rule review, an "any to RDP 3389" inbound rule outranks shadowed or unused rules.

Firewall typeDecides onBlind to
Packet filterAddresses, ports, protocol of each packetConnection state and content
Stateful inspectionWhether a packet belongs to an allowed connectionApplication content
Application firewall / proxyProtocol content (e.g. HTTP requests)Encrypted payloads it cannot decrypt

Where do the boundaries go? Only internet-facing services sit in the DMZ; databases stay behind a second boundary. A VLAN becomes a security boundary only when traffic between VLANs is filtered. Microsegmentation applies policy between individual workloads, where lateral movement happens. Segmentation used to reduce PCI DSS scope must be tested to prove it isolates. In OT (SP 800-82 Rev. 3), corporate users reach plant data through a DMZ, and passive monitoring comes before inline blocking because availability comes first.

Which protocols should be replaced? Telnet with SSH, FTP with SFTP, SNMPv1/v2c with SNMPv3, unsigned LDAP binds with LDAP signing or LDAPS, SMBv1 removed. RFC 8996 says TLS 1.0 and 1.1 must not be used; SP 800-52 Rev. 2 requires TLS 1.2 for government systems and TLS 1.3 support from January 1, 2024. DNSSEC gives origin authentication and integrity but, per RFC 4033, no confidentiality. When a legacy protocol must stay, restrict which hosts can reach it.

How exposed may management interfaces be? CISA BOD 23-02 gives federal agencies 14 days to take an internet-exposed interface off the internet or put it behind Zero Trust access control enforced separately from the device. For Wi-Fi, 802.1X with individual credentials lets you revoke one user, and clients must validate the RADIUS server certificate.

Where candidates slip

  • Treating a new VLAN as isolation: without ACLs or firewall rules between VLANs, hosts can still reach each other.
  • Choosing inline IPS blocking for a plant network: in OT, observe passively first because a false positive can stop production.
  • Picking DNSSEC to keep DNS queries private: it authenticates answers but encrypts nothing.
  • Writing inbound rules only: without egress filtering a compromised DMZ host can still call out to its controller.

Application Systems (e.g., software, software development lifecycle [SDLC], DevSecOps)

27 questions in the bank. Practice Domain 2

Where does security enter the SDLC? At requirements and design, where a flaw costs a diagram change instead of a rewrite. Threat modeling (OWASP cheat sheet) walks data flows and trust boundaries; STRIDE maps each threat to the property it breaks: Spoofing to authentication, Tampering to integrity, Repudiation to non-repudiation, Information disclosure to confidentiality, Denial of service to availability, Elevation of privilege to authorization. NIST SP 800-218 (SSDF 1.1) groups practices as Prepare the Organization, Protect the Software, Produce Well-Secured Software and Respond to Vulnerabilities, including root-cause analysis so fixed bugs do not return.

TestLooks atMisses
SASTSource code, no running appRuntime configuration
DASTRunning app from outsideWhere in code the flaw is; unreached pages
IASTRunning app via an agent insideCode paths tests never exercise
SCADependencies, including transitive onesFlaws in your own code

None of them reliably finds missing business-logic checks; that takes design review and people.

Which OWASP Top 10:2025 risks drive questions? A01 Broken Access Control: authorize every object on the server. A03 Software Supply Chain Failures: pin versions, verify integrity, keep an SBOM so you can answer "are we affected?" fast. A05 Injection: parameterized queries separate data from commands; stripping characters does not. A10 Mishandling of Exceptional Conditions: fail closed. For XSS, encode output for its context and sanitize only content that must stay HTML.

What does DevSecOps add? Automated gates in the pipeline. Gates must be risk-based, blocking exploitable high-impact findings and ticketing the rest, or teams bypass them. Pipelines are non-human identities that need least privilege; secrets live in a vault, and a leaked secret is safe only after rotation. AI-written code and AI-suggested packages get the same review as any untrusted input. CISA Secure by Design asks vendors to ship secure defaults and eliminate whole vulnerability classes.

Where candidates slip

  • Answering 'add a penetration test before release' when the stem is at design stage: threat model now, because the earliest fix is the cheapest.
  • Choosing input sanitizing or a WAF as the fix for SQL injection: parameterized queries are the root-cause control.
  • Picking SAST to find a vulnerable open-source library version: that is SCA's job.
  • Deleting a leaked key from the repository history and stopping there: revoke and rotate it first, since copies already exist.

Virtualization and Containers

14 questions in the bank. Practice Domain 2

Which hypervisor type is safer for critical workloads? NIST SP 800-125 distinguishes bare-metal virtualization, where the hypervisor runs directly on hardware, from hosted virtualization, where it runs on top of a general-purpose OS that adds its own attack surface. The management plane (hypervisor console, vCenter-style manager) controls every guest, so access is restricted to authorized administrators, ideally on an isolated management network with MFA.

What makes virtual machines risky in practice? Sprawl: forgotten, unpatched VMs with no owner. Identify the owner before shutting one down. Snapshots, especially those that include memory, can hold credentials and keys, so protect them like the data inside. When rating a guest-escape flaw, ask what else shares that host.

Virtual machineContainer
IsolationOwn kernel per guest, enforced by the hypervisorShared host kernel, separated by namespaces and cgroups
Fixing a vulnerabilityPatch the guestRebuild the image, redeploy
Typical failureUnpatched, ownerless VMsPrivileged pods, vulnerable images, exposed secrets

What does SP 800-190 expect for containers? NIST SP 800-190 treats images as immutable: fix the image and redeploy rather than patching running containers. It recommends container-specific host operating systems and grouping containers by sensitivity so workloads of different sensitivity do not share a kernel. Pull only from trusted registries and verify image signatures before running.

Which Kubernetes controls appear in questions? The Pod Security Standards define Privileged, Baseline and Restricted profiles, enforced at admission. RBAC should grant rights at namespace level with RoleBindings rather than cluster-wide ClusterRoleBindings where possible. Secrets are stored unencrypted in etcd by default and base64 is only encoding, so enable encryption at rest and limit who can read Secrets or create Pods. A NetworkPolicy has no effect unless the network plugin enforces it: test that traffic is really blocked.

Where candidates slip

  • Running 'apt-get upgrade' inside a live container: the next redeploy brings the flaw back, so rebuild the image.
  • Calling a Kubernetes Secret encrypted because the value is base64: it is encoded, and readable by anyone with API or etcd access unless encryption at rest is on.
  • Judging a container safe because it runs as a non-root user: privileged mode, host mounts or host namespaces still expose the node.
  • Deleting an unknown VM immediately: find its owner first, then decide under change management.

Cloud Systems

15 questions in the bank. Practice Domain 2

Who secures what? The provider's share grows from IaaS to SaaS, but Microsoft's shared responsibility page lists four things the customer always retains: data, endpoints, accounts and access management.

ModelCustomer securesProvider secures
IaaSGuest OS and patching, apps, network rules, identities, dataFacilities, hardware, hypervisor
PaaSApplication code and configuration, identities, dataOS and runtime as well
SaaSIdentities, access, tenant settings, data, endpointsThe application stack

What causes most cloud exposure, and how do you stop it? Misconfiguration and over-privileged identities. Where a risky setting is never needed, block it centrally, for example account-level S3 Block Public Access; CSPM then detects drift across accounts. Derive least privilege from observed usage and test before enforcing. Workloads should use roles with short-lived credentials, not stored access keys; IMDSv2 is session-oriented and closes the simple SSRF path to instance credentials.

How do you prove logs and keys are trustworthy? CloudTrail log file validation uses SHA-256 hashing and SHA-256 with RSA signing to show whether a log was modified or deleted. Confirm the logs you need are collected before an incident. AWS KMS enforces a 7–30 day waiting period (default 30) before deleting a key, because data encrypted under a deleted key is unrecoverable; check what depends on it first.

Does replication protect against ransomware? No. Replication faithfully copies deletions and corruption; versioning or point-in-time backups protect against bad writes. Keep copies inside data-residency limits.

What does a SOC 2 report prove? A Type 2 report tests operating effectiveness over a period (Microsoft's cover a rolling 12-month period); a Type 1 does not look back over time. Check the scope covers your service and that you operate the complementary controls the report assigns to customers.

Where candidates slip

  • Assuming the SaaS vendor handles user access reviews or MFA: identities and access stay with the customer in every model.
  • Choosing cross-region replication as the ransomware recovery answer: it replicates the encrypted files too; use versioned or point-in-time copies.
  • Accepting a SOC 2 Type 1 as proof that controls worked all year: only Type 2 tests operation over a period, and only for the systems in scope.
  • Detecting public buckets with alerts when the business never needs them public: a preventive, centrally enforced block is better.

Secure Integrations (e.g., APIs, MCPs, Third-party)

26 questions in the bank. Practice Domain 2

Which API flaws does the exam expect you to recognize? The OWASP API Security Top 10 2023:

RiskLooks likeFix
API1 Broken Object Level AuthorizationChanging an ID returns another customer's recordCheck ownership of every object on the server
API3 Broken Object Property Level AuthorizationClient adds "role":"admin" to a profile updateAllowlist writable properties
API4 Unrestricted Resource ConsumptionBots run up a paid SMS or AI billRate limits and spending caps
API5 Broken Function Level AuthorizationA normal user calls an admin endpointRole checks in the API, not hidden buttons
API9 Improper Inventory ManagementOld /v1 still live and unpatchedInventory and retire old versions
API10 Unsafe Consumption of APIsPartner data trusted and injectedValidate third-party data as untrusted

An API gateway adds authentication and rate limiting but cannot know who owns record 4512; object-level checks stay in the service.

Keys, tokens or OAuth? An API key identifies an application, not a person; if it must ship in a browser, restrict it by referrer and API. RFC 9700 says clients should not use the implicit grant and public clients must use PKCE. Sender-constrained tokens (RFC 8705 mutual TLS) make a stolen token useless alone. Verify every webhook's signature over the raw request body before acting.

What is special about MCP? The Model Context Protocol connects AI applications to tools and data. Its guidance says servers must not accept tokens not issued for them (no token passthrough), a human should be able to deny tool invocations, and tool annotations are untrusted unless the server is trusted. Grant each server the narrowest scope and its own credential.

How do third-party integrations fail? OAuth consent grants survive password resets, so revoke the grant itself and restrict user consent. When a connected vendor is breached, as in the 2025 Salesloft Drift incident, revoke and rotate the tokens it held.

Where candidates slip

  • Choosing 'hide the admin button for normal users' as the fix: the API must enforce the role check because attackers call endpoints directly.
  • Resetting a victim's password after consent phishing and closing the case: the malicious app's grant keeps working until it is revoked.
  • Letting an MCP server forward the user's token to a downstream API: each hop needs a token issued for that audience.
  • Treating data from a trusted partner's API as safe: validate it like any other external input.

2B. Information Lifecycle

Information Usage, Sharing, and Considerations (e.g., privacy, responsible AI usage)

9 questions in the bank. Practice Domain 2

What must be settled before information leaves the organization? Whether the disclosure is permitted at all: policy, contract, law and the purpose for which the data was collected. Only then pick the channel. Share the minimum fields the agreement and purpose need, and strip personal data recipients do not need to defend themselves (NIST SP 800-150).

How do Traffic Light Protocol labels limit sharing? FIRST TLP 2.0 labels are set by the source, and only the source can loosen them:

LabelRecipients may share with
TLP:REDNo one; individual recipients only
TLP:AMBER+STRICTTheir own organization, need-to-know
TLP:AMBERTheir organization and its clients, need-to-know
TLP:GREENTheir community, not public channels
TLP:CLEARAnyone; no limit on disclosure

TLP is a sharing marking, not a classification scheme or a handling rule for encryption.

What does responsible AI use mean for a practitioner? Before staff paste data into an AI tool, check what the provider may do with it: training, retention, location. Offer a sanctioned tool and technically block unsanctioned ones; a policy memo alone does not stop pasting. Enterprise assistants inherit existing access: Microsoft 365 Copilot only surfaces data the user can at least view, so overshared SharePoint sites become searchable. Fix permissions before rollout.

How do you judge AI output? As untrusted until verified. The OWASP LLM Top 10 2025 lists Misinformation (LLM09) and Sensitive Information Disclosure (LLM02). NIST AI RMF 1.0 organizes AI risk work into Govern, Map, Measure and Manage, and its trustworthiness characteristics start with valid and reliable. In practice: check summaries against the source document, and evaluate a tool on your own representative data, not vendor benchmarks.

Where candidates slip

  • Re-sharing a TLP:AMBER report on a public mailing list because it 'helps the community': only TLP:CLEAR goes public, and only the source can relax a label.
  • Choosing encryption for a data transfer before confirming the transfer is allowed: legitimacy and purpose come first, channel security second.
  • Answering 'issue an acceptable-use memo' when staff are already pasting data into a public chatbot: provide a sanctioned tool and enforce a technical block.
  • Forwarding an AI-generated incident summary without checking it against the logs: verify AI output before acting on or passing it on.

Information Classification

7 questions in the bank. Practice Domain 2

Who decides a classification? The information owner, the official with authority over the information (NIST glossary). Security advises and maintains the scheme; custodians implement the protections.

RoleResponsibility
OwnerAssigns and changes the classification, approves access
Custodian (IT, DBA)Applies controls: backups, encryption, access as approved
UserHandles data according to its label
SecurityDefines the scheme, advises, monitors compliance

How is a whole system rated? FIPS 199 rates each information type as low, moderate or high impact for confidentiality, integrity and availability, then assigns the system the highest value for each objective across all its information types, the high water mark. A system holding one high-confidentiality data set is a high-confidentiality system, however public the rest is.

Can harmless pieces add up to sensitive data? Yes. Aggregation means a combined set can need a higher label than any single element: an employee directory is internal, but joined with home addresses and salaries it is confidential. Classify the combination.

Does classification ever change? Over the data's life, and the owner makes the change. Quarterly results are confidential until published and public afterward; a merger plan drops in sensitivity once announced. Copies, exports and extracts inherit the source's label until the owner says otherwise.

Why do labels matter technically? DLP, encryption and access rules that act on labels protect only labeled data, so unlabeled shares are blind spots; default labels and automatic labeling close them. Over-classification is not free: when everything is "confidential", handling costs rise, sharing stalls and users stop taking labels seriously.

Where candidates slip

  • Having the security analyst or DBA set the classification: owners classify, custodians protect, security advises.
  • Rating a system by its most common data: it takes the highest impact level of any data it holds.
  • Leaving a spreadsheet export at a lower label than the database it came from: extracts inherit their source's classification.
  • Choosing 'label everything confidential to be safe': over-classification wastes protection effort and erodes compliance.

Information Storage

6 questions in the bank. Practice Domain 2

Which encryption layer stops which threat? Encryption at rest is only as good as the layer it runs at.

LayerProtects againstDoes not protect against
Disk or volume encryptionStolen drives and devicesAnyone using the running system
Database TDEStolen data files and backupsSQL injection, privileged database users
Application or field-levelDBAs and attackers reading tables directlyCompromise of the application that holds the keys
TokenizationExposure in every system that stores only tokensCompromise of the token vault

Where should keys live? Apart from the data they protect, in a KMS or HSM with separate access control, per the OWASP Cryptographic Storage Cheat Sheet. A key in a config file next to the database protects nothing once the server is compromised.

What is better than encrypting stored card or ID data? Not storing it. Tokenization replaces card numbers with tokens so most systems leave PCI DSS scope (PCI SSC tokenization guidelines). Beware partial protections: a truncated PAN plus an unsalted hash of the same PAN lets an attacker rebuild the full number, which is why PCI DSS requirement 3.5.1 demands extra controls when hashed and truncated versions coexist.

Do backups and copies need the same protection? Yes. Every copy carries the original's sensitivity. CISA's #StopRansomware Guide calls for offline, encrypted backups of critical data, tested regularly for availability and integrity. Test environments should use synthetic or masked data that looks real but is not.

Who protects data stored in SaaS? The provider runs the platform, but the customer still owns the data, its classification and who can reach it, including sharing links and external guests.

Where candidates slip

  • Answering 'enable TDE' to stop SQL injection data theft: the database decrypts for any query the application runs; fix the injection and consider field-level encryption.
  • Storing the encryption key on the same server or in the same backup set as the data: separate key custody or the encryption is cosmetic.
  • Copying production records into a test system 'temporarily': use synthetic or masked data, or the test system needs production-level controls.
  • Encrypting the primary database but leaving exports and backups in plaintext: protect every copy at the original's level.

Information Data Flow

6 questions in the bank. Practice Domain 2

Why map data flows before choosing controls? You cannot protect a path you do not know exists. NIST CSF 2.0 asks for maintained representations of internal and external network data flows (ID.AM-03) and inventories of data and metadata for designated data types (ID.AM-07). A data flow diagram is also the input to threat modeling: every flow that crosses a trust boundary is where authentication, authorization, validation and encryption decisions are made (OWASP Threat Modeling Cheat Sheet).

Diagram elementQuestion to ask
External entity (customer, vendor)How is it authenticated, and what may it send?
Process (app, API, script)What identity does it run as, and what can it reach?
Data storeWhat classification, who reads it, how is it encrypted?
Flow across a trust boundaryIs it encrypted, validated and logged?

Does internal traffic need encryption? Under Zero Trust, yes: NIST SP 800-207 states that all communication is secured regardless of network location, because network location alone does not imply trust. Cleartext database or replication traffic on the "trusted" LAN is a finding.

Can data cross a border without moving servers? Yes. The EDPB's Guidelines 05/2021 note that remote access from a third country, even just displaying personal data on a screen for support or administration, can be a transfer. A help desk abroad viewing EU records needs a transfer mechanism such as those in GDPR Article 46.

Why can DLP miss an exfiltration? Content inspection cannot judge what it cannot decrypt; without TLS inspection on the egress path, an upload over HTTPS passes unseen.

What do you do with an undocumented flow? Take it to the data owner. Silently blocking may break a business process; silently approving accepts risk you have no authority to accept.

Where candidates slip

  • Assuming data stays in the EU because the servers do: remote viewing from another country can be a transfer.
  • Treating traffic inside the corporate network as safe to leave unencrypted: Zero Trust secures every flow regardless of location.
  • Blocking a newly discovered data feed to a vendor on your own authority: notify the owner, who decides with the facts.
  • Expecting DLP to catch HTTPS uploads with no TLS inspection in place: it only sees ciphertext.

Information Retention and Disposal

7 questions in the bank. Practice Domain 2

How long should data be kept? As long as a law, contract or documented business need requires, and no longer. GDPR Article 5(1)(e), storage limitation, allows identifiable personal data to be kept no longer than necessary for its purposes. Data past its retention period is all risk and no value: it can be breached, subpoenaed and must be searched in discovery.

What overrides the retention schedule? A legal hold. Once litigation or an investigation is reasonably anticipated, relevant data must be preserved even if the schedule says delete. Under US Federal Rule of Civil Procedure 37(e), courts can impose measures when electronically stored information that should have been preserved is lost because reasonable steps were not taken. Suspend automated deletion for the held data, then resume when counsel lifts the hold.

Do retention rules reach backups? Yes, every copy: backups, exports, replicas, laptops. A backup retained for seven years quietly extends the life of data deleted from production after two.

How do you choose a sanitization method? NIST SP 800-88 Rev. 2 (September 2025) defines three methods; choose by data sensitivity, media type and where the device goes next.

MethodEffectMedia reusable?
ClearLogical overwrite or reset; resists simple, non-invasive recoveryYes
PurgeRecovery infeasible even with state-of-the-art lab techniquesYes
DestroyRecovery infeasible and the media can no longer store dataNo

Cryptographic erase is a purge technique that sanitizes the keys; the guide notes it is valid only if no sensitive data was ever stored on the media in plaintext. A vendor's certificate of sanitization is evidence only when its serial numbers reconcile with your asset inventory.

What happens to data when a cloud contract ends? Make the contract do the disposal. GDPR Article 28(3)(g) requires a processor to delete or return personal data at the controller's choice after services end; ask for written confirmation.

Where candidates slip

  • Running the scheduled purge while a legal hold is active: the hold suspends deletion for the covered data.
  • Deleting expired records from production but not from backups: retention applies to every copy.
  • Using cryptographic erase on a drive that held plaintext before encryption was enabled: that data is not covered, so purge or destroy instead.
  • Filing a disposal vendor's certificate without matching serial numbers to the inventory: an unreconciled certificate proves nothing.

Free Domain 2 questions

From the practice bank, with answers. In the practice test you get them one at a time with your score.

Question 1 · Domain 2, Secure Integrations

An insurance broker gives staff an AI assistant connected through MCP servers to their mailbox (read and send tools) and to a document share. Asked to summarize today's email, the assistant read a message from an outside sender with hidden text telling it to email the client list to an external address, and it did so. Which control would BEST have prevented the data from leaving?

  1. Add a system prompt line instructing the assistant to ignore any instructions that appear in email content
  2. Block the outside sender's domain at the email gateway so that its messages no longer reach staff
  3. Switch to a larger language model that is better at telling instructions apart from ordinary text
  4. Require the user to confirm each send-email call after seeing the recipients and attachments it will use
Show answer and explanation

Answer: D. This is indirect prompt injection: content returned by a tool steered the model. The MCP tools specification says clients should prompt for user confirmation on sensitive operations and show tool inputs to the user before calling the server to avoid malicious or accidental data exfiltration. OWASP likewise recommends human approval for high-risk actions.

Why the other options are not the best answer:

  • A. Prompt instructions are not a security boundary; indirect injection is designed to override them.
  • B. This stops one sender after the fact; the next injected message can come from any address.
  • C. A better model may reduce the rate of success but cannot guarantee it; the exfiltration path stays open.

Exam thinking: Put a human approval step in front of actions that send data out.

Source: Model Context Protocol specification 2026-07-28: Tools; OWASP Top 10 for LLM Applications 2025: LLM01 Prompt Injection

Question 2 · Domain 2, Operating System

During a quarterly review of a Linux reporting server at a credit union, a junior analyst collects the output in the exhibit. Which finding presents the GREATEST risk?

$ cat /etc/cron.d/nightly-export
15 2 * * * root /opt/finapp/bin/export.sh
$ ls -ld /opt/finapp/bin
drwxr-xr-x 2 finapp finapp 4096 Nov 30 18:04 /opt/finapp/bin
$ ls -l /opt/finapp/bin/export.sh
-rwxrwxrwx 1 finapp finapp 2210 Nov 30 18:04 /opt/finapp/bin/export.sh
  1. Any local user can edit a script that cron runs as root, allowing escalation to root
  2. The export job runs at 02:15, which is outside the hours when the monitoring team is staffed
  3. The bin directory belongs to the application account rather than to the root account itself
  4. The job is defined in /etc/cron.d instead of in the root account's personal crontab file
Show answer and explanation

Answer: A. The script is world-writable (rwxrwxrwx) yet is executed by cron as root, so any local account can insert commands that run with root privileges. MITRE ATT&CK lists cron abuse under privilege escalation and persistence. The directory ownership is a lesser issue because only the finapp account could exploit it, while the file permission exposes every user.

Why the other options are not the best answer:

  • B. Off-hours scheduling is normal for batch jobs and is a monitoring consideration, not a direct vulnerability.
  • C. Application ownership of the directory is a real but narrower weakness, since only the finapp account could abuse it.
  • D. Files in /etc/cron.d are a standard, supported location for system cron jobs and are not a weakness by themselves.

Exam thinking: Anything run with high privilege must be writable only by equally privileged accounts.

Source: MITRE ATT&CK T1053.003 Scheduled Task/Job: Cron

Question 3 · Domain 2, Endpoint Security

A law firm's signature-based antivirus raised no alert while an attacker used built-in tools such as PowerShell and WMI to run code in memory without writing new files to disk. Which capability would BEST close this gap?

  1. Hourly antivirus definition updates pushed to every endpoint
  2. A host firewall that blocks all inbound workstation connections
  3. Full disk encryption on every laptop and desktop in the firm
  4. EDR that records process and system behavior and flags misuse
Show answer and explanation

Answer: D. Fileless attacks that live off the land leave no new file for a signature to match. Endpoint detection and response continuously collects behavioral telemetry, such as process, network, registry, and file activity, and alerts on suspicious patterns, which lets analysts see and respond to misuse of legitimate tools.

Why the other options are not the best answer:

  • A. Fresher signatures still need a malicious file or known pattern to match; built-in tools are legitimate binaries.
  • B. Blocking inbound connections does not detect code that runs locally through trusted tools.
  • C. Disk encryption protects data at rest on lost devices and does nothing against running attacks.

Exam thinking: Behavior-based detection catches what signatures cannot see.

Source: Microsoft Learn: Overview of endpoint detection and response

Question 4 · Domain 2, Networking Systems

A city government is launching an online building permit service made of a web front end, an application server and a database that stores applicants' names, addresses and payment references. The network team has one perimeter firewall with a DMZ interface and an internal segment. Which placement BEST protects the applicant data?

  1. Put all three tiers in the DMZ so that internet-facing traffic never has to enter the internal network
  2. Put the web front end in the DMZ and the database on an internal segment that accepts only the app server
  3. Keep all three tiers on the internal network and publish the front end through a port forward on the firewall
  4. Put the web front end in the DMZ and allow the whole DMZ subnet to reach the internal database on any port
Show answer and explanation

Answer: B. A DMZ exists for the systems that must accept internet traffic, so only the front end belongs there. The database holding personal data should sit deeper, reachable only from the application tier on its database port. If the web server is compromised, the attacker still faces a firewall boundary before reaching the data.

Why the other options are not the best answer:

  • A. Placing the database in the DMZ puts personal data one hop from the internet with no further boundary.
  • C. A port forward lands internet traffic directly on the internal network, so a web compromise exposes everything there.
  • D. The tiering is right, but allowing any DMZ host on any port defeats the point of the internal boundary.

Exam thinking: Only internet-facing services go in the DMZ; keep data behind another boundary.

Source: NIST SP 800-41 Rev. 1, Guidelines on Firewalls and Firewall Policy

Question 5 · Domain 2, Application Systems

An online retailer's threat modeling session for a new loyalty-points feature has already applied STRIDE to its components and data flows. The product owner is now worried about customers who redeem one voucher twice by submitting two checkout requests at the same moment, or who return goods after spending the points they earned. Which technique would BEST extend the analysis to these concerns?

  1. Attack trees that start from the goal of taking over the database administrator account
  2. A LINDDUN review of the privacy harms that loyalty profiling could cause customers
  3. Misuse cases that explore steps performed out of order, repeatedly, or concurrently
  4. A CVSS v4.0 base score for every component shown in the team's data flow diagram
Show answer and explanation

Answer: C. The concerns are abuses of valid business workflows (race conditions and point refunds), not technical attacks on components. OWASP's Threat Modeling Cheat Sheet recommends misuse or abuse cases for this view, exploring actions performed out of order, repeatedly, concurrently, or for an unintended outcome. STRIDE alone tends to miss business-logic abuse.

Why the other options are not the best answer:

  • A. Attack trees suit a high-value attacker goal, but the chosen goal is unrelated to the voucher and refund abuse described.
  • B. LINDDUN analyzes privacy threats, which is a different concern from customers gaming the points rules.
  • D. CVSS scores the severity of known vulnerabilities; it does not identify new business-logic threats.

Exam thinking: Pick the threat modeling technique that matches the question being asked.

Source: OWASP Cheat Sheet Series: Threat Modeling Cheat Sheet

Question 6 · Domain 2, Virtualization and Containers

A county government is consolidating 30 physical servers, including its permit database and payroll application, onto two new hosts. One engineer proposes installing a desktop-class hypervisor on top of a full Windows Server installation so the team can keep its familiar tools on each host. From a security standpoint, which virtualization approach is BEST for these production hosts?

  1. Use the hosted hypervisor, and harden the Windows host OS against the CIS Benchmark before loading guests
  2. Use a bare-metal hypervisor, so no general-purpose host OS sits beneath the guests to attack or patch
  3. Use the hosted hypervisor, and enable its guest tools so administrators can move files between VMs
  4. Use containers on one shared host OS instead, because a shared kernel isolates payroll more strongly
Show answer and explanation

Answer: B. NIST SP 800-125 explains that a hosted (Type 2) hypervisor runs on top of a host OS, which adds complexity and vulnerabilities, while a bare-metal (Type 1) hypervisor replaces the host OS with a much smaller target; servers are most often virtualized this way. Hosted products also rarely have their own hypervisor access controls, so anyone who can run programs on the host can run the hypervisor. For consolidated production servers, bare metal is the more secure design choice.

Why the other options are not the best answer:

  • A. Hardening helps, but a full Windows host still adds a large attack and patching surface under every guest, plus weak hypervisor access control.
  • C. NIST notes that guest tools for sharing files and clipboards between guests and the host can become an attack vector, so enabling them weakens isolation.
  • D. NIST SP 800-190 states that the shared kernel gives container isolation that is not as high as hypervisor isolation, so this would weaken separation.

Exam thinking: Choose the architecture with the smallest attack surface beneath critical workloads.

Source: NIST SP 800-125, Guide to Security for Full Virtualization Technologies; NIST SP 800-190, Application Container Security Guide

Question 7 · Domain 2, Cloud Systems

A school district moved its student-information application to virtual machines on a public IaaS platform. A quarterly vulnerability scan shows the guest operating systems are missing four months of security updates. The system administrator says patching is now the cloud provider's job under the shared responsibility model. How should the security analyst respond?

  1. Agree, and open a support case asking the provider to apply the missing updates to the guest VMs
  2. Agree, provided the district turned on the provider's free automatic patching option during setup
  3. Disagree: in IaaS, the customer patches the guest OS and any software it installs on the instances
  4. Disagree: patching is split so the provider patches the guest kernel and the district the applications
Show answer and explanation

Answer: C. AWS describes IaaS compute as requiring the customer to perform all necessary security configuration, including management of the guest operating system with its updates and security patches; the provider is responsible for the host OS and virtualization layer down to the physical facilities. The district therefore owns the missing patches and should remediate them through its own patch process.

Why the other options are not the best answer:

  • A. The provider does not patch customer guest operating systems in IaaS; a support case would not close the gap.
  • B. Optional automation tools do not transfer accountability; the district still owns the guest OS patch level.
  • D. The guest kernel is part of the guest OS, which the customer manages; the provider patches its own hosts.

Exam thinking: Know which layer you own under each cloud service model.

Source: AWS: Shared Responsibility Model; Microsoft Learn: Shared responsibility in the cloud

Question 8 · Domain 2, Information Usage, Sharing, and Considerations

The marketing team at a software start-up wants to use the free consumer tier of a popular AI writing tool to draft press releases about products that have not been announced. The security analyst reviewing the request reads the tool's terms of use. Which finding should be the GREATEST concern?

  1. The terms let the provider keep user prompts and use them to train future models
  2. The free tier has no single sign-on, so staff must create separate personal accounts
  3. Generated text may contain factual errors that editors must catch before publishing
  4. The provider processes requests in data centers located in more than one country
Show answer and explanation

Answer: A. The prompts would contain unannounced product details, so the greatest risk is confidentiality: content kept by the provider and used for training can later surface in output to other users. OWASP lists this unintentional disclosure through user-supplied data as a core LLM risk and recommends terms that let users opt out of training use.

Why the other options are not the best answer:

  • B. Separate accounts complicate offboarding and are worth noting, but they do not expose the unreleased product information the way training use does.
  • C. Factual errors are a real generative AI risk, but human editing before publication already addresses it in this workflow.
  • D. Multi-region processing matters mainly for personal data transfer rules; press release drafts are not personal data and location alone is not the main exposure.

Exam thinking: Before staff use an AI tool, check what the provider may do with what they type.

Source: OWASP Top 10 for LLM Applications 2025: LLM02:2025 Sensitive Information Disclosure; NIST AI 600-1, Artificial Intelligence Risk Management Framework: Generative AI Profile

Question 9 · Domain 2, Information Classification

A defense supplier's facilities team plans to upload one spreadsheet to a portal that all registered vendors can access. It combines items that were each published before: building floor plans from a planning application, guard shift-change times posted at the gate, and names of the security staff from a newsletter. Which concern is MOST important?

  1. Each item is already public, so the combined spreadsheet can keep a public classification
  2. Combined, the items may reveal more than any single one and need a higher classification
  3. The spreadsheet must be encrypted at rest before it is uploaded to the vendor portal
  4. The portal must log every download so that any later misuse can be investigated
Show answer and explanation

Answer: B. Information that has little sensitivity alone can become sensitive when aggregated, because the combination reveals patterns or helps an attacker plan. NIST SP 800-60 says that when aggregation raises sensitivity, the impact level should be set higher than any individual item would indicate. Floor plans, guard shift times and staff names together describe how to get past physical security.

Why the other options are not the best answer:

  • A. Classification must consider the combined effect, not just the status of each item on its own.
  • C. Encryption at rest does not help when the file is deliberately given to every vendor on the portal.
  • D. Download logging is detective and does not address whether this combination should be shared at all.

Exam thinking: Classify the combination, not just the pieces.

Source: NIST SP 800-60 Vol. 1 Rev. 1, Guide for Mapping Types of Information and Information Systems to Security Categories

Question 10 · Domain 2, Information Storage

During a review at a hotel chain, an analyst finds a reporting table that stores each card as an unsalted SHA-256 hash of the PAN. The same table also stores the first six and last four digits of each PAN for reporting. Which is the GREATEST concern?

  1. SHA-256 is a deprecated algorithm that is no longer approved for any purpose
  2. Customer service cannot reverse the hashes to recover PANs for issuing refunds
  3. The known digits let an attacker guess the remaining ones and match the hash
  4. The hashes take more storage space than the card numbers themselves would
Show answer and explanation

Answer: C. With ten of the digits known, only a few remain unknown, and the card number's check digit narrows them further. An attacker who obtains the table can compute candidate hashes quickly and recover the PAN. PCI SSC guidance warns that reconstructing PAN is relatively trivial when hashed and truncated versions of the same PAN are both available, and requires controls to stop them being correlated.

Why the other options are not the best answer:

  • A. SHA-256 remains an approved hash algorithm; the weakness is in how it is used here.
  • B. Not being able to reverse the hash is the intended property, not a security concern.
  • D. Storage size is not a security issue and does not compare with the risk of exposing PANs.

Exam thinking: Partial data plus an unsalted hash can rebuild the whole secret.

Source: PCI SSC Information Supplement: PCI DSS Tokenization Guidelines

Question 11 · Domain 2, Information Data Flow

An analyst at a health insurer reviews a packet capture taken on the internal network between the member portal and a back-end eligibility service in the same data center. The application team says encryption is unnecessary because this traffic never leaves the internal network. Which recommendation is BEST?

10.8.2.21:51344 -> 10.8.5.40:8080  TCP [PSH, ACK]
POST /eligibility/check HTTP/1.1
Host: elig.internal.example.com
Content-Type: application/json

{"memberId":"M4471902","ssn":"123-45-6789",
 "dob":"1984-03-12","plan":"PPO-Gold"}
  1. Accept the design, because the perimeter firewall already protects internal traffic
  2. Encrypt the traffic with TLS and have each side validate the other's certificate
  3. Move the eligibility service to its own VLAN so that fewer hosts can see its traffic
  4. Remove the SSN field from the service's request logs so that it is not stored there
Show answer and explanation

Answer: B. The capture shows Social Security numbers and dates of birth in cleartext HTTP. NIST SP 800-53 SC-8 applies transmission protection to internal as well as external networks, and Zero Trust holds that all communication is secured regardless of network location. TLS with certificate validation protects confidentiality and integrity and authenticates the endpoints.

Why the other options are not the best answer:

  • A. Network location alone does not imply trust; anyone or anything on the internal path could read this data.
  • C. Segmentation reduces who can reach the traffic but leaves the data readable on the wire.
  • D. Log hygiene addresses data at rest in logs, not the cleartext transmission shown.

Exam thinking: Encrypt sensitive data in transit on internal networks too.

Source: NIST SP 800-53 Rev. 5, Security and Privacy Controls for Information Systems and Organizations; NIST SP 800-207, Zero Trust Architecture

Question 12 · Domain 2, Information Retention and Disposal

The legal department of a US construction firm emails IT: a former subcontractor has threatened to sue over a project, and all email about that project must be preserved. Tonight the mail system's retention policy will automatically purge messages older than three years, including some project email. What should the IT administrator do FIRST?

  1. Let the purge run, since deletion under a written retention policy is always defensible
  2. Put the project mailboxes on legal hold so the purge skips them, then confirm to legal
  3. Export all project email to a USB drive and store it in the server room safe for now
  4. Suspend the purge company-wide until the lawsuit is filed and its scope is known
Show answer and explanation

Answer: B. Once litigation is reasonably anticipated, the duty to preserve overrides routine deletion. The committee notes to Federal Rule of Civil Procedure 37 describe intervening in routine operation of a system to prevent loss as a 'litigation hold'. Placing the relevant mailboxes on hold before tonight's purge preserves the evidence in place, and confirming to legal documents it.

Why the other options are not the best answer:

  • A. Routine deletion is not good faith once there is a duty to preserve the information.
  • C. An ad hoc USB export is incomplete, poorly controlled and weakens the integrity of the evidence.
  • D. Halting all deletion everywhere is broader than the duty requires and undermines the retention policy; holds should be scoped and can be widened by legal.

Exam thinking: A legal hold beats the retention schedule.

Source: Federal Rules of Civil Procedure Rule 37 and Committee Notes (Cornell LII)

Question 13 · Domain 2, Operating System

A food manufacturer runs six HMI workstations on Windows 10 version 1909 because the line vendor certifies its control software only on that build. Windows 10 support ended on October 14, 2025, and the devices cannot join the Extended Security Updates program, which requires version 22H2. A replacement line is budgeted for next fiscal year. Which action would BEST reduce the risk until then?

  1. Upgrade the workstations to Windows 10 22H2 so that they become eligible for paid Extended Security Updates
  2. Install a second antimalware engine on each workstation to compensate for the security patches it no longer receives
  3. Move the workstations into a restricted segment that permits only the network flows the production line needs
  4. Record a formal risk acceptance now and revisit the workstations when the replacement project begins next year
Show answer and explanation

Answer: C. The workstations are unpatchable assets: the OS is out of support and the vendor constraint rules out an upgrade. NIST SP 800-40 Rev. 4 advises long-term mitigations such as isolating unpatchable assets through segmentation so new vulnerabilities are harder to reach. Restricting flows to what the line needs shrinks the attack surface without breaking the certified build.

Why the other options are not the best answer:

  • A. Upgrading breaks the stated constraint that the vendor certifies its software only on build 1909, so it could stop production.
  • B. Extra antimalware engines do not fix unpatched OS vulnerabilities and add instability on control systems.
  • D. Accepting the risk with no mitigation leaves new exploits against the unsupported OS unaddressed for a year.

Exam thinking: If you cannot patch, isolate and reduce exposure.

Source: NIST SP 800-40 Rev. 4, Guide to Enterprise Patch Management Planning; Microsoft Learn: Extended Security Updates (ESU) program for Windows 10

The full bank has 160 more Domain 2 questions, drillable 20 at a time.

Drill Domain 2