SaveMyCert
Log in
5 of 5 free questions left today·for 10 a day
CS0-004 practice

CS0-004 sample questions — 25 answered and explained

25 CS0-004 sample questions written to the official CompTIA Cybersecurity Analyst (CySA+) exam guide, grouped by exam domain and weighted like the real exam. Each shows the correct answer, why every other option is wrong, and the lesson that teaches it. None of them repeat the examples on the other CS0-004 practice pages.

On this page
25
answers included
Full bank
599
on the practice page
Domains
4
weighted like the exam
Free, no account
5/day
a free account allows 10 a day

Domain 1: Security Operations

34% of the CS0-004 exam, so 9 of the 25 questions on this page.

Question 1Security Operations

While building a baseline of normal Windows 11 process behavior for threat-hunting rules, an analyst records the expected parent of each core system process. Which TWO parent-child relationships are normal on a healthy system? (Select TWO.)

Choose TWO.

  • a
    svchost.exe started by services.exe Correct

    The Service Control Manager (services.exe) launches the svchost.exe service hosts.

  • b
    lsass.exe started by services.exe

    lsass.exe is started by wininit.exe; an lsass.exe under services.exe deserves investigation.

  • c
    services.exe started by winlogon.exe

    services.exe is started by wininit.exe in session 0; winlogon.exe handles interactive sign-in in user sessions and should not be its parent.

  • d
    lsass.exe started by wininit.exe Correct

    On modern Windows, wininit.exe starts lsass.exe during boot.

  • e
    services.exe started by svchost.exe

    services.exe is itself started by wininit.exe; it is the parent of svchost.exe, not its child.

The concept

Knowing normal process parentage is the baseline for spotting masquerading processes.

Why that’s the answer

At boot, wininit.exe starts services.exe (the Service Control Manager) and lsass.exe; services.exe then starts every svchost.exe. Malware often names itself svchost.exe or lsass.exe, so a wrong parent (winlogon.exe for services.exe, services.exe for lsass.exe) is a strong lead. Each distractor swaps one link in that chain.

How to reason it out
  1. Recall the boot chain: wininit.exe starts services.exe and lsass.exe.
  2. Recall that services.exe starts the svchost.exe instances.
  3. Check each pair against that chain.
  4. Select the two pairs that match it.

Exam tip: wininit.exe starts services.exe and lsass.exe; services.exe starts svchost.exe.

CySA+ System and Network Architecture: Logging, OS, Cloud, IAM, Encryption and OT — the lesson that teaches this.

Question 2Security Operations

An orchestrator automatically replaces unhealthy application containers. During an investigation, the SOC finds that a compromised container was terminated and replaced, and the application logs it had written were gone. Which design change BEST preserves this evidence in future?

Choose one.

  • a
    Have containers write logs to stdout and ship them to a central log platform Correct

    Logs leave the container as they are produced, so they survive when the orchestrator destroys the container.

  • b
    Have containers write logs to a file inside the container's own writable layer

    The writable layer is destroyed with the container, which is exactly how the logs were lost.

  • c
    Raise the replica count so failed containers are replaced more quickly

    Faster replacement improves availability but destroys the old container's data just the same.

  • d
    Take a nightly snapshot of each container host's disk for later analysis

    A nightly snapshot misses any container created and destroyed between snapshots.

The concept

Containers are ephemeral, so their logs must be shipped off the container.

Why that’s the answer

Containers are designed to be disposable and are rebuilt from immutable images, so anything written inside a container's writable layer disappears when it is replaced. Writing to stdout/stderr (or a logging sidecar/agent) and forwarding to a central platform keeps the evidence. Host snapshots and replica counts do not capture short-lived containers.

How to reason it out
  1. Note that the orchestrator destroys and replaces containers.
  2. Recognize that data inside a container dies with it.
  3. Choose continuous forwarding off the container.

Exam tip: Treat containers as disposable: ship their logs out continuously or lose them.

CySA+ System and Network Architecture: Logging, OS, Cloud, IAM, Encryption and OT — the lesson that teaches this.

Question 3Security Operations

A hosting provider must run untrusted workloads from two different customers on the same physical server. The security architect recommends separate virtual machines on a bare-metal hypervisor rather than containers on one host. Which statement BEST explains the stronger isolation of the VM approach?

Choose one.

  • a
    Each VM receives dedicated physical CPU cores, while containers share cores

    Hypervisors normally share physical cores between VMs, so this is not the isolation difference.

  • b
    Each VM runs its own guest kernel, while containers share the host's kernel Correct

    A kernel exploit in a container can reach the host and every other container; a VM's kernel compromise is still contained by the hypervisor.

  • c
    Each VM image is signed when built, while container images are left unsigned

    Container images can be signed and verified; signing is about provenance, not runtime isolation.

  • d
    Each VM disk is encrypted at rest, while container volumes stay unencrypted

    Either can be encrypted at rest, and encryption at rest does not separate running workloads.

The concept

Virtualization and containerization isolate at different layers.

Why that’s the answer

Containers are isolated processes on one shared host kernel, using namespaces and control groups. A kernel vulnerability or container escape can therefore affect the host and its other containers. VMs each run their own guest operating system and kernel, separated by the hypervisor, so the attacker must also break the hypervisor (a VM escape). CPU allocation, image signing and disk encryption are real controls but not the source of that boundary.

How to reason it out
  1. Identify the threat: one untrusted tenant attacking another.
  2. Compare what the two workloads share.
  3. Recognize that containers share a kernel and VMs do not.
  4. Choose the kernel-isolation statement.

Exam tip: Containers share the host kernel; VMs each have their own behind a hypervisor.

CySA+ System and Network Architecture: Logging, OS, Cloud, IAM, Encryption and OT — the lesson that teaches this.

Question 4Security Operations

A team moves a file-processing job from a virtual machine to the cloud provider's serverless functions. The SOC's detections for that job relied on the EDR agent installed on the old VM. Which approach BEST keeps visibility into the new workload?

Choose one.

  • a
    Collect the provider's function execution and API audit logs into the SIEM Correct

    With serverless there is no customer-managed host, so the provider's execution and audit logs become the telemetry source.

  • b
    Install the EDR agent on the provider-managed hosts that execute the functions

    The provider manages those hosts; customers cannot install agents on them in a serverless model.

  • c
    Keep the old VM running with its EDR agent to watch the job's traffic

    The function no longer runs on that VM, so its agent sees none of the job's activity.

  • d
    Run weekly authenticated vulnerability scans against the functions' hosts

    There is no customer-accessible host to scan, and scans would not provide activity monitoring.

The concept

Cloud-native services shift visibility from host agents to provider logs.

Why that’s the answer

In serverless (function-as-a-service) the provider runs the operating system and runtime, so host-based tools such as EDR agents and authenticated scans have nothing to attach to. Detection moves to the provider's function logs, API/control-plane audit logs and configuration data, ingested into the SIEM. The distractors try to keep the host-based model that no longer applies.

How to reason it out
  1. Note the shift from a VM to serverless functions.
  2. Recall who manages the underlying host in serverless.
  3. Rule out host-based tooling.
  4. Choose provider logs fed to the SIEM.

Exam tip: No host, no agent: monitor serverless through the provider's execution and audit logs.

CySA+ System and Network Architecture: Logging, OS, Cloud, IAM, Encryption and OT — the lesson that teaches this.

Question 5Security Operations

An organization runs dozens of internal microservices, each implementing its own authentication and logging in a different way. The SOC wants consistent authentication enforcement, rate limiting and one source of access logs for calls to the services, without rewriting each service. Which architecture change BEST meets this?

Choose one.

  • a
    Place an API gateway in front of the services Correct

    An API gateway centralizes authentication, rate limiting and access logging for every API behind it.

  • b
    Place a web application firewall with API protection rules in front of the services

    A WAF with API rules filters malicious requests and can log, but it does not authenticate callers or apply per-client rate quotas for each service.

  • c
    Publish an OpenAPI specification for each service and validate requests against it in CI

    A specification documents the contract and catches drift before deployment, but it enforces nothing at runtime and produces no access logs.

  • d
    Place a network load balancer in front of the services

    A network load balancer spreads traffic across instances but does not authenticate callers or log API requests.

The concept

APIs are an attack surface best governed at a single enforcement point.

Why that’s the answer

An API gateway sits in front of the services and applies the same authentication and authorization checks, quotas/rate limits and logging to every call, so individual services do not need to be rewritten. A WAF with API rules is the tempting near-twin: it inspects requests for attacks, but enforcing caller identity and quotas for each API is the gateway's job. A published specification is design-time documentation, and a load balancer only spreads traffic.

How to reason it out
  1. List the requirements: authentication, rate limiting, central access logs.
  2. Note the constraint: no change to each service.
  3. Separate runtime enforcement from design-time documentation and attack filtering.
  4. Pick the component built to enforce all three in front of the services.

Exam tip: Consistent API authentication, rate limiting and logging = API gateway.

CySA+ System and Network Architecture: Logging, OS, Cloud, IAM, Encryption and OT — the lesson that teaches this.

Question 6Security Operations

A developer plans to sign users in to a web app by checking that the app received an OAuth 2.0 access token for them. The security analyst recommends adding OpenID Connect instead of relying on the access token alone. Which statement BEST explains why?

Choose one.

  • a
    OAuth 2.0 relies on XML assertions; OpenID Connect replaces them with compact JSON web tokens

    XML assertions describe SAML, not OAuth 2.0.

  • b
    OAuth 2.0 sends tokens unprotected; OpenID Connect adds TLS to protect tokens between parties

    Both depend on TLS for transport protection; OIDC does not add transport encryption.

  • c
    OAuth 2.0 suits on-premises apps; OpenID Connect extends the same tokens to cloud applications

    Neither protocol is tied to on-premises or cloud deployment.

  • d
    OAuth 2.0 grants access to resources; OpenID Connect adds an ID token that proves identity Correct

    OAuth 2.0 grants a client access to resources; OIDC adds a signed ID token that states who the user is and how they authenticated.

The concept

Authorization (what a client may access) is different from authentication (who the user is).

Why that’s the answer

OAuth 2.0 is a delegated authorization framework: an access token tells a resource server what the client may do, not reliably who the user is. OpenID Connect is an identity layer on OAuth 2.0 that issues an ID token (a signed JWT) with the user's identity and authentication details. SAML is the XML-based federation protocol, and transport protection comes from TLS in all of them.

How to reason it out
  1. Identify the goal: signing users in (authentication).
  2. Recall that OAuth 2.0 is an authorization framework.
  3. Recall that OIDC adds identity via the ID token.
  4. Reject statements that describe SAML or TLS.

Exam tip: OAuth 2.0 authorizes; OpenID Connect authenticates on top of it.

CySA+ System and Network Architecture: Logging, OS, Cloud, IAM, Encryption and OT — the lesson that teaches this.

Question 7Security Operations

Since Monday, users at one branch office cannot sign in to the Active Directory domain, while other sites are unaffected. Branch computers resolve and reach the domain controllers, and the same users sign in normally at headquarters. The domain controllers log event ID 4771 for the branch computers with failure code 0x25, and the branch's events land in the SIEM several minutes after related headquarters events. What is the MOST likely cause?

Choose one.

  • a
    Replication delays have left stale password hashes on the domain controller that serves the branch

    A stale password produces failure code 0x18 (bad password), not 0x25, and would not shift the branch's log timestamps.

  • b
    The branch computers' clocks differ from the domain controllers' by more than the Kerberos skew tolerance Correct

    Failure code 0x25 is KRB_AP_ERR_SKEW (clock skew too great); the offset in the SIEM shows the same drift. Active Directory allows five minutes by default.

  • c
    The domain controllers' LDAPS certificate expired, so branch computers fail to bind to them securely

    Kerberos pre-authentication does not use the LDAPS certificate, and the same users sign in to the same domain controllers from headquarters.

  • d
    A password-spraying attack against branch accounts has triggered account lockouts across the branch

    Spraying produces bad-password failures (0x18) and lockouts that would block those accounts at every site, not only at the branch.

The concept

Time synchronization supports authentication, not just log correlation.

Why that’s the answer

Kerberos messages carry timestamps to prevent replay, so the KDC rejects requests from clients whose clocks differ from its own by more than the maximum tolerance (five minutes by default in Active Directory). Event 4771 with failure code 0x25 (KRB_AP_ERR_SKEW) is the domain controller saying exactly that, and the branch's events arriving minutes out of step in the SIEM confirm the drift. Stale passwords and password spraying produce bad-password failures (0x18), and the LDAPS certificate plays no part in Kerberos sign-in. The fix is to restore the branch's time source and keep every site in one NTP hierarchy.

How to reason it out
  1. Note the scope: one site, the same users succeed elsewhere.
  2. Decode event 4771 failure code 0x25 as clock skew too great.
  3. Connect it to the branch's timestamps arriving minutes out of step in the SIEM.
  4. Rule out causes that would give bad-password codes or affect every site.

Exam tip: Kerberos failure 0x25 means clock skew; AD allows five minutes by default.

CySA+ System and Network Architecture: Logging, OS, Cloud, IAM, Encryption and OT — the lesson that teaches this.

Question 8Security Operations

A company has 40 domain administrators whose standing privileged accounts are used every day. Leadership wants administrators to hold elevated rights only while performing approved tasks, every privileged session recorded, and no administrator to know the privileged passwords. Which approach BEST meets all three requirements?

Choose one.

  • a
    Time-limited admin group membership on approval, with sessions launched through a PAM proxy that injects vaulted credentials and records each session Correct

    Rights exist only for the approved task, the proxy injects credentials the administrator never sees, and every session is recorded.

  • b
    Time-limited admin group membership on approval, with each admin checking out the vaulted password and connecting through a recording jump host

    Elevation is just in time and sessions are recorded, but checking out a password shows it to the administrator.

  • c
    Permanent Domain Admins membership, with sessions launched through a PAM proxy that injects vaulted credentials and records each session

    Credentials stay hidden and sessions are recorded, but the rights remain standing.

  • d
    Time-limited admin group membership on approval, with credentials injected from a vault and admin logon events forwarded to the SIEM

    Elevation is just in time and passwords stay hidden, but logon events record that a session started, not what the administrator did in it.

The concept

Privileged access management removes standing privilege and controls how privileged credentials are used.

Why that’s the answer

PAM platforms grant elevation just in time and remove it afterwards, inject credentials from a vault so users never see them (rotating them after use), and proxy and record privileged sessions. Each distractor delivers two of the three: password checkout reveals the secret to the administrator, permanent group membership is standing privilege, and logon events are not session recording. Only the option combining time-limited membership with a credential-injecting, recording proxy meets all three.

How to reason it out
  1. List the three requirements: no standing rights, recorded sessions, unknown passwords.
  2. Map each mechanism to the requirement it delivers.
  3. Note that password checkout reveals the password and logon events are not recordings.
  4. Choose the option that meets all three.

Exam tip: PAM = just-in-time elevation + vaulted, rotated credentials + recorded sessions.

CySA+ System and Network Architecture: Logging, OS, Cloud, IAM, Encryption and OT — the lesson that teaches this.

Question 9Security Operations

A developer committed a production database password to a Git repository. Security wants to stop static credentials from appearing in application code and configuration, and to limit how long any leaked database credential stays usable. Which TWO actions BEST meet these goals? (Select TWO.)

Choose TWO.

  • a
    Have applications retrieve credentials at runtime from a secrets vault Correct

    The credential is no longer stored in code or config; the application fetches it with its own identity when it runs.

  • b
    Issue dynamic database credentials that expire after a short lease Correct

    Credentials generated per application or session expire on their own, so a leaked one is useful only briefly.

  • c
    Encrypt the application's credential file with a key kept in the same repository

    Anyone who can read the repository can read the key and decrypt the password.

  • d
    Make the Git repository private so just the development team can read it

    Access is narrowed, but the static password still sits in the history and never expires.

  • e
    Rotate the database password each quarter and load it from an environment variable

    The password leaves the code but stays static between rotations, so a leaked copy remains usable for months.

The concept

Secrets management keeps credentials out of code and makes them short-lived.

Why that’s the answer

A secrets manager (vault) stores credentials centrally, controls and audits access, and lets applications retrieve them at runtime, which removes them from code and configuration. Dynamic secrets go further: the vault creates a unique, time-limited database credential on request and revokes it on expiry, shrinking the window in which a leak is useful. Periodic rotation into an environment variable is the tempting near-twin, but the credential is still static between rotations. The other distractors keep the static secret in the repository or protect it in a way the leak bypasses.

How to reason it out
  1. Separate the two goals: no static secrets in code, short useful life.
  2. Match runtime retrieval from a vault to the first goal.
  3. Match dynamic, expiring credentials to the second.
  4. Reject options that leave the static secret in the repository.

Exam tip: Fetch secrets from a vault at runtime and prefer dynamic, expiring credentials.

CySA+ System and Network Architecture: Logging, OS, Cloud, IAM, Encryption and OT — the lesson that teaches this.

Domain 2: Vulnerability Management

26% of the CS0-004 exam, so 6 of the 25 questions on this page.

Question 10Vulnerability Management

A scanner in the corporate user VLAN scans the payment segment through an internal firewall. The report shows:Host Open ports Findings Auth 10.60.1.11 443 1 (Low) Failed 10.60.1.12 443 0 Failed 10.60.1.13 443 1 (Low) FailedAdministrators say these servers run SSH, SMB and database services. What is the MOST likely explanation?

Choose one.

  • a
    A firewall rule is filtering what the scanner can reach Correct

    The scanner sits outside the segment, so it sees only what the firewall allows (443 here), and credential checks over SMB/SSH fail on every host.

  • b
    The segment's servers are hardened and expose just HTTPS

    Administrators confirm other services are running; the scan cannot see them because of the path it took, not because they are absent.

  • c
    The scan template excluded the SSH and SMB ports

    The authentication failures show the scanner tried local checks, and the same pattern on every host points to the network path.

  • d
    The scanner's credentials have expired on the segment's hosts

    Expired credentials would explain the failed logins but not why every non-HTTPS port appears closed.

The concept

Segmentation affects scan visibility: a scanner outside a segment sees only what the firewall permits.

Why that’s the answer

The scanner and targets are in different segments separated by a firewall. Every host shows only 443, and authenticated checks fail on every host, which fits a rule that permits HTTPS and blocks SMB and SSH. The usual fixes are a scanner engine inside the segment or a narrowly scoped firewall rule for the scanner's address. Credentials alone or the template cannot explain the identical port picture across all hosts.

How to reason it out
  1. Note where the scanner sits relative to the firewall.
  2. Compare the open ports with the firewall rule.
  3. Explain both the missing ports and the authentication failures with one cause.

Exam tip: Scanning across a firewall measures the firewall: place scanners per segment.

CySA+ Vulnerability Scanning Methods: Planning, Scan Types and Baselines — the lesson that teaches this.

Question 11Vulnerability Management

A company has six network security zones, including an OT zone and a payment zone. A central scanner must assess all zones weekly with credentialed scans. The network team wants to keep the number of inter-zone firewall rules to a minimum. Which design BEST meets these requirements?

Choose one.

  • a
    Permit the central scanner to reach each port in each zone

    This works but adds broad any-port rules into each zone, which the network team wants to avoid, and makes the scanner a high-value pivot.

  • b
    Scan each zone from outside using its permitted service ports

    This keeps rules minimal but sees only exposed services, so credentialed checks fail and the weekly assessment is incomplete.

  • c
    Rotate the scanner's network connection to each zone in turn

    Moving one scanner between zones bypasses the segmentation design and creates a manual change every week.

  • d
    Place a scan engine in each zone managed by one central console Correct

    Each engine scans locally across all needed ports and needs only one management connection to the console, so inter-zone rules stay minimal.

The concept

Segmentation shapes scanner placement: distributed engines avoid wide firewall exceptions while preserving coverage.

Why that’s the answer

Both full credentialed coverage and minimal firewall changes are required. A central scanner with any-port access achieves coverage but needs wide rules into each zone. Scanning only permitted ports keeps rules small but loses coverage. Per-zone scan engines report to a central manager over a single management connection, satisfying both constraints. Physically moving a scanner between zones defeats the segmentation itself.

How to reason it out
  1. List the two constraints: full credentialed coverage and minimal inter-zone rules.
  2. Eliminate options that meet only one.
  3. Choose distributed engines with one management path per zone.

Exam tip: Many zones, few rules: one scan engine per zone, one console.

CySA+ Vulnerability Scanning Methods: Planning, Scan Types and Baselines — the lesson that teaches this.

Question 12Vulnerability Management

A merchant's security team runs its own external vulnerability scan of the internet-facing payment pages every quarter with a commercial scanner, and every scan is clean. During the PCI DSS assessment, the assessor says the external scanning requirement is not met. What is the MOST likely reason?

Choose one.

  • a
    The external scans were not run monthly by the merchant's own team

    PCI DSS requires external scans at least once every three months, so quarterly is the right frequency.

  • b
    The external scans were not run with credentials on the web servers

    The authenticated-scanning requirement applies to internal scans; external ASV scans test exposure from the internet.

  • c
    The external scans were not run from inside the cardholder data environment

    A scan from inside the CDE is an internal scan; the external requirement is about the internet-facing view.

  • d
    The external scans were not run by a PCI SSC Approved Scanning Vendor Correct

    PCI DSS requires quarterly external scans to be performed by an ASV approved by the PCI SSC, not by the merchant's own team.

The concept

PCI DSS regulatory scanning: external scans are quarterly and must be performed by an Approved Scanning Vendor.

Why that’s the answer

PCI DSS v4.0.1 requirement 11.3.2 requires external vulnerability scans at least once every three months, performed by a PCI SSC Approved Scanning Vendor, with passing results. Frequency is already correct here, so the gap is who performed the scan. Authenticated scanning is an internal-scan requirement, and scans from inside the CDE are internal scans.

How to reason it out
  1. Check frequency: quarterly meets the requirement.
  2. Check performer: external scans need an ASV.
  3. Separate internal-scan rules from external-scan rules.

Exam tip: PCI external scans: every quarter, by an ASV.

CySA+ Vulnerability Scanning Methods: Planning, Scan Types and Baselines — the lesson that teaches this.

Question 13Vulnerability Management

A compliance analyst is writing the internal vulnerability scanning procedure for a company's cardholder data environment under PCI DSS v4.0.1. Which TWO requirements must the internal scanning schedule satisfy? (Select TWO.)

Choose TWO.

  • a
    Have an Approved Scanning Vendor run each scan

    An ASV is required for external scans; internal scans are run by qualified personnel, internal or external.

  • b
    Scan at least once every three months Correct

    Requirement 11.3.1 requires internal scans at least once every three months.

  • c
    Run each scan from an internet-facing vantage point

    An internet vantage point defines an external scan, which is a separate requirement.

  • d
    Scan after any significant change to the environment Correct

    Requirement 11.3.1.3 requires internal scans after any significant change.

  • e
    Scan once a year alongside the annual penetration test

    Annual frequency is the penetration-testing cadence, not the internal scanning cadence.

The concept

Regulatory requirements set scan frequency and triggers: PCI DSS internal scans are quarterly and after significant change.

Why that’s the answer

PCI DSS v4.0.1 requires internal vulnerability scans at least once every three months (11.3.1) and after any significant change (11.3.1.3), with high-risk and critical findings resolved and rescanned. The ASV requirement and the internet vantage point belong to external scans (11.3.2), and annual testing is the penetration-test cadence (11.4).

How to reason it out
  1. Separate internal from external scanning requirements.
  2. Recall the internal frequency and the change trigger.
  3. Reject requirements that belong to external scans or penetration testing.

Exam tip: PCI internal scans: quarterly and after every significant change.

CySA+ Vulnerability Scanning Methods: Planning, Scan Types and Baselines — the lesson that teaches this.

Question 14Vulnerability Management

An analyst prepares for a PCI DSS v4.0.1 assessment. Internal quarterly scans of the cardholder data environment are run without credentials because a past credentialed scan locked out a service account. The assessor asks how requirement 11.3.1.2 is met. Which action BEST addresses the gap?

Choose one.

  • a
    Rescan with an ASV and attach the passing report to the internal scan evidence

    An ASV scan is the external requirement and does not show authenticated internal scanning.

  • b
    Rescan without credentials monthly and record the higher frequency as compensation

    Unauthenticated scans more often still cannot see local patch levels and configuration, which is what the requirement targets.

  • c
    Rescan with a dedicated scan account that has sufficient privileges Correct

    Requirement 11.3.1.2 calls for authenticated internal scans with sufficient privileges; a dedicated, properly managed account fixes the lockout cause.

  • d
    Rescan with the domain administrator account that does not lock out after failures

    It would authenticate, but it puts a highly privileged credential in the scanner, contrary to how scan accounts should be managed.

The concept

Credentialed scanning and regulation: PCI DSS v4.0.1 requires authenticated internal scans with properly managed credentials.

Why that’s the answer

Requirement 11.3.1.2 (in effect since 31 March 2025) requires internal scans to be authenticated with sufficient privileges, and the accounts used to be managed per requirement 8.2.2. The lockout was a credential-management problem, so the fix is a dedicated scanning account with appropriate privileges, not dropping authentication. ASV reports cover external scans, frequency does not replace depth, and a domain admin account is excessive privilege for a scanner.

How to reason it out
  1. Identify the requirement as authenticated internal scanning.
  2. Treat the lockout as a credential-management issue to fix, not a reason to stop authenticating.
  3. Choose the option with sufficient but controlled privileges.

Exam tip: PCI v4 internal scans must be authenticated: fix the scan account, don't drop it.

CySA+ Vulnerability Scanning Methods: Planning, Scan Types and Baselines — the lesson that teaches this.

Question 15Vulnerability Management

The CISO asks what an attacker on the internet could find on the company's public IP range, as seen before any internal controls apply. The scan must reflect the attacker's starting position. Which scan should the analyst run?

Choose one.

  • a
    An internal scan from the server VLAN

    An internal scan sees services the perimeter blocks, which overstates what an internet attacker can reach.

  • b
    An external scan from an internet host Correct

    An external scan starts where the attacker starts, so it shows exactly which services are reachable through the perimeter.

  • c
    An agent-based scan of the DMZ servers

    Agents report what is installed on each host, not what an outside attacker can reach through the firewall.

  • d
    A credentialed scan from the DMZ subnet

    Scanning from inside the DMZ with credentials bypasses the perimeter and the attacker's lack of access.

The concept

External scans assess the perimeter from an attacker's position on the internet; internal scans assess what lies behind it.

Why that’s the answer

The vantage point determines what a scan sees. To model an internet attacker, the scanner must sit outside the perimeter with no credentials. Internal, agent-based and credentialed scans all add access the attacker would not have.

How to reason it out
  1. Identify the attacker's position: on the internet, no access.
  2. Pick the scan whose vantage point matches it.

Exam tip: Want the attacker's view? Scan from outside.

CySA+ Vulnerability Scanning Methods: Planning, Scan Types and Baselines — the lesson that teaches this.

Domain 3: Incident Response and Management

24% of the CS0-004 exam, so 6 of the 25 questions on this page.

Question 16Incident Response and Management

For a beaconing event, an analyst's Diamond Model record notes that the beacon originated on the compromised laptop and terminated at the actor's server. Which meta-feature holds this information?

Choose one.

  • a
    Result

    Result records the outcome, such as success, failure or unknown, not which way the traffic went.

  • b
    Phase

    Phase places the event in the intrusion sequence (often a kill chain phase), not its flow between features.

  • c
    Direction Correct

    Direction records which way the event flowed, for example victim-to-infrastructure or infrastructure-to-victim.

  • d
    Methodology

    Methodology labels the general class of activity, such as spear-phishing or a port scan, not its direction.

The concept

Diamond Model meta-features: timestamp, phase, result, direction, methodology and resources.

Why that’s the answer

Direction captures the path of an event between features, with values such as victim-to-infrastructure, infrastructure-to-victim or bidirectional. A beacon from the laptop to the actor's server is victim-to-infrastructure. Result, phase and methodology describe outcome, sequence position and class of activity.

How to reason it out
  1. Identify what is being recorded: who initiated the connection and toward whom.
  2. Match it to the meta-feature describing flow between features.
  3. Rule out outcome (result), sequence (phase) and activity class (methodology).

Exam tip: Which way did it flow? Direction. Did it work? Result.

CySA+ CS0-004 Attack Methodology Frameworks: Cyber Kill Chain, Diamond Model and MITRE ATT&CK — the lesson that teaches this.

Question 17Incident Response and Management

An analyst notes that a malware family receives commands from its server encoded in DNS TXT records, which is why blocking its HTTP traffic had no effect. The analyst wants to record this capability-to-infrastructure relationship using the extended Diamond Model. Which element BEST fits?

Choose one.

  • a
    Technology meta-feature Correct

    The extended model's technology meta-feature connects capability and infrastructure: the technology that lets the malware use its infrastructure, here DNS.

  • b
    Social-political meta-feature

    The social-political meta-feature connects adversary and victim: the needs, intent and relationship that explain why the victim was targeted.

  • c
    Methodology meta-feature

    Methodology labels the general class of the event, such as spear-phishing. It does not describe the link between capability and infrastructure.

  • d
    Resources meta-feature

    Resources lists what the event depended on, such as software, knowledge or funds, not how the capability talks to its infrastructure.

The concept

The extended Diamond Model adds two meta-features across the diamond: social-political (adversary to victim) and technology (capability to infrastructure).

Why that’s the answer

The observation is about how the capability communicates over its infrastructure, using DNS rather than HTTP. That is the technology meta-feature, which also explains why blocking HTTP left the channel open. Social-political links the other axis (adversary and victim), and methodology and resources are standard meta-features that describe different things.

How to reason it out
  1. Identify the two features being linked: capability and infrastructure.
  2. Recall which extended meta-feature spans that axis: technology.
  3. Check the other axis (adversary and victim) belongs to social-political.

Exam tip: Technology links capability to infrastructure; social-political links adversary to victim.

CySA+ CS0-004 Attack Methodology Frameworks: Cyber Kill Chain, Diamond Model and MITRE ATT&CK — the lesson that teaches this.

Question 18Incident Response and Management

Over six months the SOC has investigated 14 separate intrusions. They share a custom loader, a domain registrant email address and working-hours patterns, and the team wants to treat them as one tracked adversary set, weighted by confidence. In Diamond Model terms, what should the analysts build?

Choose one.

  • a
    An activity group Correct

    An activity group clusters events and activity threads that share features or processes, weighted by confidence, to track a likely common adversary.

  • b
    An activity thread

    An activity thread chains events of one intrusion in causal order along its phases. It does not cluster separate intrusions.

  • c
    An activity-attack graph

    An activity-attack graph overlays observed activity threads on possible attack paths to plan defenses, not to group intrusions by similarity.

  • d
    A single multi-victim event

    A Diamond event is one action at one point in time. Fourteen intrusions over six months cannot be one event.

The concept

Diamond Model analysis builds from events to activity threads (one intrusion, in order) to activity groups (clusters of similar events and threads).

Why that’s the answer

The analysts are clustering many separate intrusions by shared features (loader, registrant email, timing) into one confidence-weighted set to track: an activity group. Threads describe the ordered steps of a single intrusion, and activity-attack graphs support defensive planning.

How to reason it out
  1. Note the scope: 14 separate intrusions, not one.
  2. Note the goal: cluster by shared features with confidence weighting.
  3. Match clustering across intrusions to activity groups; ordered steps within one to threads.

Exam tip: Thread = one intrusion in order; group = many intrusions clustered by similarity.

CySA+ CS0-004 Attack Methodology Frameworks: Cyber Kill Chain, Diamond Model and MITRE ATT&CK — the lesson that teaches this.

Question 19Incident Response and Management

Evidence shows a hack-for-hire crew ran the intrusion that stole a manufacturer's product designs, and that a competing firm paid the crew and received the stolen files. An analyst wants the Diamond Model to capture both parties without merging them. Which distinction does the model provide for this?

Choose one.

  • a
    Adversary operator and adversary customer Correct

    The operator is the party that carries out the intrusion (the crew); the customer is the party that benefits from it (the competing firm).

  • b
    Victim persona and victim asset

    This splits the victim side into the targeted people or organization and the systems attacked. Both parties here are on the adversary side.

  • c
    Type 1 and Type 2 infrastructure

    Infrastructure types describe who controls the attack infrastructure, not who conducts or benefits from the intrusion.

  • d
    Capability capacity and adversary arsenal

    Capability capacity is the set of vulnerabilities one capability can exploit, and the adversary arsenal is the full set of capabilities an adversary holds. Neither separates the parties behind an intrusion.

The concept

The Diamond Model's adversary feature can be split into the adversary operator (who conducts the activity) and the adversary customer (who benefits from it).

Why that’s the answer

The hack-for-hire crew conducted the intrusion and the competitor commissioned and benefited from it. The model records them separately as operator and customer, so the analysis does not merge them into one adversary. The other pairs are real Diamond Model distinctions that belong to the victim, infrastructure and capability features.

How to reason it out
  1. Identify that both parties sit on the adversary vertex.
  2. Separate who performed the activity from who benefited.
  3. Map them to operator and customer.

Exam tip: Operator does the hacking; customer benefits from it.

CySA+ CS0-004 Attack Methodology Frameworks: Cyber Kill Chain, Diamond Model and MITRE ATT&CK — the lesson that teaches this.

Question 20Incident Response and Management

An incident report tags the initial email with the MITRE ATT&CK identifier T1566.001. A new analyst asks what the part after the decimal point indicates. What does T1566.001 identify?

Choose one.

  • a
    A procedure tied to one named threat group

    Procedures are the specific ways groups or software implement a technique and are described in examples, not given their own suffix.

  • b
    A sub-technique of the Phishing technique Correct

    T1566 is Phishing; the .001 suffix marks a sub-technique, Spearphishing Attachment.

  • c
    The tactic under which Phishing is listed

    Tactics have TA-prefixed IDs (Initial Access is TA0001). A T-prefixed ID is a technique.

  • d
    A mitigation recorded for the Phishing technique

    Mitigations use M-prefixed IDs, such as M1017 User Training.

The concept

ATT&CK IDs: tactics TA####, techniques T####, sub-techniques T####.###, mitigations M####, groups G####, software S####, campaigns C####.

Why that’s the answer

A T-prefixed ID with a three-digit suffix is a sub-technique of the parent technique. T1566.001 is Spearphishing Attachment under T1566 Phishing. Tactics and mitigations have their own prefixes, and procedures are documented as examples rather than separate IDs.

How to reason it out
  1. Read the prefix: T means technique.
  2. Read the suffix: .### means a sub-technique of that technique.
  3. Rule out the other object types by their prefixes.

Exam tip: T#### is a technique; T####.### is one of its sub-techniques.

CySA+ CS0-004 Attack Methodology Frameworks: Cyber Kill Chain, Diamond Model and MITRE ATT&CK — the lesson that teaches this.

Question 21Incident Response and Management

An actor first got in by logging on to the VPN with a contractor's stolen password. Later, on the same jump host, it logged on with a domain administrator account it found in a script, to gain rights the contractor account lacked. Mapping each logon to ATT&CK's Valid Accounts technique, which tactics should be recorded, in order?

Choose one.

  • a
    Initial Access, then Credential Access

    Finding the password in a script is a Credential Access technique, but the logon that uses it to gain more rights is recorded under Privilege Escalation.

  • b
    Credential Access, then Privilege Escalation

    The first logon used a password to get in from outside, which is Initial Access. How the password was stolen would be a separate entry.

  • c
    Initial Access, then Privilege Escalation Correct

    Valid Accounts appears under several tactics. The VPN logon gave the first foothold (Initial Access); the admin logon raised rights (Privilege Escalation).

  • d
    Credential Access, then Initial Access

    Neither logon is Credential Access, and the second one happens inside the network, so it cannot be Initial Access.

The concept

In ATT&CK one technique can sit under several tactics; the tactic recorded is the adversary's goal at that step.

Why that’s the answer

Valid Accounts (T1078) is listed under Initial Access, Persistence, Privilege Escalation and Defense Evasion. The first logon's goal was getting in, and the second's was higher rights, so the tactics are Initial Access then Privilege Escalation. Harvesting the credentials is a separate Credential Access technique, which is why that near-twin is tempting.

How to reason it out
  1. For each logon, ask what the adversary was trying to achieve at that moment.
  2. First logon: get a foothold from outside, Initial Access.
  3. Second logon: obtain higher rights, Privilege Escalation.

Exam tip: The same technique maps to different tactics depending on the adversary's goal at that step.

CySA+ CS0-004 Attack Methodology Frameworks: Cyber Kill Chain, Diamond Model and MITRE ATT&CK — the lesson that teaches this.

Domain 4: Reporting and Communication

16% of the CS0-004 exam, so 4 of the 25 questions on this page.

Question 22Reporting and Communication

The remediation action plan gives critical findings a 15-day deadline. For missed deadlines, it escalates first to the owner's line manager and then to the CISO. A database owner has left a critical finding open for 30 days and has not answered two reminders. What should the analyst do NEXT?

Choose one.

  • a
    Send the owner a third reminder about the overdue finding

    Two reminders have already gone unanswered and the SLA is missed; another reminder repeats a step that failed instead of using the agreed escalation.

  • b
    Refer the overdue finding to the line manager and CISO together

    The plan sets an order: the line manager first, then the CISO. Involving both at once skips the first level's chance to act and spends the CISO's attention before it is needed.

  • c
    Record the overdue finding as a risk the owner has accepted

    Silence is not acceptance, and the analyst cannot accept risk for the owner. Recording it this way would hide an overdue critical finding.

  • d
    Refer the overdue finding to the owner's line manager Correct

    The deadline has passed and reminders have failed, so the next step is the first level of the plan's escalation path: the owner's line manager.

The concept

An action plan defines owners, deadlines and an escalation path, so missed remediation is pushed to the next level of authority in a predictable way.

Why that’s the answer

Escalation exists so overdue findings do not stall when an owner does not respond. The plan already says who comes next: the owner's line manager, then the CISO. Another reminder repeats what failed, bringing in the CISO at the same time skips the plan's order, and logging an acceptance nobody made hides the risk.

How to reason it out
  1. Confirm the deadline has passed and normal follow-up has failed.
  2. Follow the escalation path the action plan defines.
  3. Do not record a risk decision that the accountable person has not made.

Exam tip: Missed deadline plus no response means escalate along the plan's defined path.

CySA+ Vulnerability Management Reporting: Scan Reports, Scorecards, Action Plans and KPIs — the lesson that teaches this.

Question 23Reporting and Communication

A plant manager says a critical vulnerability on a production control server cannot be patched until the annual shutdown in seven months. Policy sets a 14-day SLA for critical findings. The analyst has documented network isolation as a compensating control. What is the BEST next step in the action plan?

Choose one.

  • a
    Approve the exception as the analyst and log the compensating control

    The analyst documents and recommends; accepting residual risk for the business belongs to the accountable risk owner, not the analyst.

  • b
    Mark the finding as a false positive until the annual shutdown period

    The vulnerability is real, so calling it a false positive misreports it and removes it from tracking for seven months.

  • c
    Keep the finding open and list it as an SLA breach in each weekly report

    Reporting a breach every week without a decision leaves the risk unowned; the plan should route it to the person who can accept or reject the exception.

  • d
    Submit an exception request to the accountable risk owner Correct

    A finding that will miss its SLA needs a formal exception decided by the person who owns the risk. The compensating control supports that request but does not replace the decision.

The concept

When remediation cannot meet the SLA, the action plan escalates to the accountable risk owner for a formal exception, documented with compensating controls and a review date.

Why that’s the answer

Two facts decide this. First, a compensating control lowers risk but does not close the finding or authorize missing the SLA. Second, only the accountable risk owner can accept the residual risk, so the analyst's job is to prepare and escalate the exception request. Self-approving, reclassifying the finding, or reporting a breach indefinitely all leave the decision unmade.

How to reason it out
  1. Recognise that the SLA cannot be met for a business reason.
  2. A compensating control supports an exception; it is not the decision.
  3. Route the exception to the accountable risk owner with an expiry or review date.

Exam tip: Analysts document exceptions; accountable risk owners approve them.

CySA+ Vulnerability Management Reporting: Scan Reports, Scorecards, Action Plans and KPIs — the lesson that teaches this.

Question 24Reporting and Communication

An action plan to fix a critical TLS library flaw on a web tier has three tasks: upgrade the library, upgrade the application framework that bundles it, then regression-test the customer portal. The framework vendor's compatible release is not due until next month. How should the action plan BEST handle this?

Choose one.

  • a
    Upgrade the library now and drop the framework upgrade from the plan

    The library is bundled with the framework, so upgrading it alone may break the application or simply be overwritten; dropping the dependency hides the real blocker.

  • b
    Raise a one-month risk exception and pause the plan until the vendor ships

    An exception documents the delay but adds no protection, and pausing the plan leaves a critical flaw exposed with nothing reducing the risk until the release arrives.

  • c
    Ask the vendor for an emergency hotfix and hold the plan until it arrives

    Asking the vendor is reasonable, but holding everything records no dependency or date and adds no interim mitigation while the team waits.

  • d
    Record the vendor release as a dependency and add an interim mitigation Correct

    The framework release gates the later tasks, so it belongs in the plan as a dependency with a date, while an interim mitigation reduces exposure until it arrives.

The concept

Action plans list dependencies: tasks, releases or approvals that must happen before a fix can proceed. Recording them explains delays and sets interim protection.

Why that’s the answer

The fix depends on an external release the team does not control. A good action plan records that dependency with its expected date, keeps the finding tracked, and adds an interim mitigation such as a WAF rule or disabling the affected feature. Upgrading a bundled component on its own risks breaking the application, while an exception or a request for a hotfix with everything on hold leaves the exposure unmitigated.

How to reason it out
  1. Find what blocks the fix: the vendor's framework release.
  2. Record the dependency with its owner and expected date.
  3. Reduce exposure in the meantime instead of waiting with no protection.

Exam tip: When a fix waits on something else, record the dependency and mitigate in the meantime.

CySA+ Vulnerability Management Reporting: Scan Reports, Scorecards, Action Plans and KPIs — the lesson that teaches this.

Question 25Reporting and Communication

Fixing a hypervisor vulnerability needs a host firmware update, and the firmware installs only after a new management agent is running on the host. Installing either the agent or the firmware takes a host out of service. Hosts carry customer VMs, so only one host can be out at a time, each host may leave service only once, and the agent must be confirmed working on a host before firmware is applied to it. Which action plan sequence is BEST?

Choose one.

  • a
    On each host in turn: agent, verify the agent, then firmware Correct

    This follows the dependency on every host, verifies the agent before firmware, takes one host out at a time and takes each host out only once.

  • b
    On each host in turn: firmware, then agent, then verify the host

    Firmware installs only once the agent is running, so this order fails at the first step on every host.

  • c
    On each host in turn: agent then firmware, then verify the cluster

    The order and pacing are right, but nothing confirms the agent works on a host before its firmware goes on; one check after the last host is too late.

  • d
    Agent on each host in turn and verify it, then firmware host by host

    Every requirement on order and verification is met, but each host leaves service twice, once per pass, which the stem rules out.

The concept

Dependencies in an action plan fix the order of tasks; operational constraints fix how many can run at once. A good plan respects both and adds checkpoints and owners.

Why that’s the answer

Three constraints combine. The dependency means the agent must be running and verified before firmware on each host. The availability constraint allows one host out at a time and each host out only once. Only the per-host sequence of agent, verification, then firmware meets all three. Firmware first breaks the dependency, a single check at the end skips the per-host verification, and two separate passes take each host out twice.

How to reason it out
  1. Map the technical dependency: agent, verify, then firmware.
  2. Apply the operational constraints: one host out at a time, each host out once.
  3. Check every option against all constraints, not just the obvious one.
  4. Choose the per-host sequence with a checkpoint before firmware.

Exam tip: Sequence remediation by dependency, pace it by operational constraint, and checkpoint each step.

CySA+ Vulnerability Management Reporting: Scan Reports, Scorecards, Action Plans and KPIs — the lesson that teaches this.

Keep going with CS0-004

CS0-004 practice by domain

CS0-004 sample questions: your questions

No. Real exam questions are confidential. These are original questions written to the skills in the official CS0-004 exam guide, so they test the same knowledge in the same style without being copies of the exam.

Source

The domains and weights on this page come from the official CS0-004 exam guide.