CS0-004 CompTIA Cybersecurity Analyst (CySA+) exam badge

CompTIA

CompTIA Cybersecurity Analyst (CySA+) (CS0-004) practice questions

★★★★★★ 4.4 80 reviews — aggregated from community votes by visitors who practiced this bank

Questions
101
Exam length
165 min
Passing score
750
  • Instant feedback per question
  • Explanation for every option
  • Free, no signup

Domain coverage 4 domains

  • Security Operations (34%)
  • Vulnerability Management (26%)
  • Incident Response and Management (24%)
  • Reporting and Communication (16%)

Sample questions 11 of 101 shown

  1. Q1
    Which of the following is the most important reason why tactics, techniques, and procedures (TTP) are beneficial to a defensive strategy?
    1. TTP provides useful insights on the hash values and internet protocol addresses attributed to an attacker.
    2. TTP provides useful insights on an attacker's indicators of compromise.
    3. TTP provides useful insights on the tools used by an attacker.
    4. TTP provides useful insights on the strategy and behavior of an attacker.
    TTPs describe how an adversary operates — the strategy, behavior, and repeatable methods used across campaigns — which is why they sit at the top of the Pyramid of Pain and are the most valuable defensive target. A and B are wrong because hashes, IP addresses, and other IoCs are atomic indicators, not TTPs; detecting them is cheap for an attacker to evade by simply changing the artifact. C is wrong because "tools" is a separate, lower layer of the Pyramid of Pain: an adversary can swap tooling while keeping the same underlying behavior. Defenses built around behavior force the attacker to relearn and re-engineer their whole approach.
  2. Q2
    A cybersecurity analyst receives an unstructured text document that contains advanced persistent threat (APT)-related indicators of compromise (IoCs). The analyst needs to extract the IPv4 addresses. Which of the following is the best tool to accomplish this task?
    1. CyberChef
    2. Wireshark
    3. Zeek
    4. Open Cyber Threat Intelligence (OpenCTI)
    CyberChef is the CS0-004 decoding/parsing tool for exactly this job: it applies regular expressions, extraction, and transform operations to unstructured text, so an analyst can pull IPv4 patterns out of a document without manual review. Wireshark and Zeek are wrong because they analyze packets and network traffic, not a static text file. OpenCTI is wrong because it stores, correlates, and manages intelligence objects after extraction — it is a destination for IoCs, not a parser for raw text.
  3. Q3
    Which of the following best describes why operational technology (OT) devices use compensating controls?
    1. Industrial control systems use significant network bandwidth.
    2. Outage windows are usually scheduled.
    3. Traditional IT security solutions may not be compatible.
    4. OT devices are typically not encrypted.
    OT/ICS/SCADA equipment is designed for availability, safety, and long service life, so endpoint agents, aggressive scanning, host firewalls, and modern authentication often cannot be installed and may even disrupt the process; compensating controls (segmentation, allowlisting, passive monitoring, jump hosts) fill that gap. A is wrong because bandwidth consumption is not the defining constraint. B is wrong because scheduled outage windows actually enable maintenance rather than forcing alternative controls. D is wrong because lack of encryption is a possible weakness, not the reason an entire class of security controls is unavailable.
  4. Q4
    A public threat intelligence report includes indicators of compromise (IoCs) for threat actors. The threat actors are exploiting a zero-day vulnerability that the vendor has not fixed. Which of the following techniques should be used until a patch is available?
    1. Sinkholing
    2. Eradication techniques
    3. Continuous monitoring
    4. Evidence acquisition
    With no vendor patch, the organization cannot remove the vulnerability, so the correct interim measure is to continuously monitor for the published IoCs to detect and respond to exploitation attempts as soon as they appear. A is a common distractor: sinkholing only redirects known malicious domains/C2 and does nothing about exploitation of the vulnerable service itself. B is wrong because eradication presupposes an identified, removable artifact and a patched root cause. D is wrong because evidence acquisition is a forensic preservation activity, not a defensive technique that reduces exposure while waiting for a fix.
  5. Q5
    The Chief Information Security Officer wants to improve internal security measures by continuously validating and verifying access to the production environment. Which of the following concepts best describes this practice?
    1. Secure access service edge
    2. Next-generation firewall
    3. Zero Trust
    4. Privileged access management
    Zero Trust eliminates implicit trust and requires continuous verification of identity, device posture, and context for every access request, which matches "continuously validating and verifying access." A (SASE) is a network/security architecture for distributed access, not the validation principle itself. B is a specific inline inspection device. D governs elevated accounts and credential checkout but does not describe the continuous, per-session verification model.
  6. Q6
    Which of the following allows an organization to leverage AI in various forms while protecting business objectives and data?
    1. Usage policies
    2. Prompt engineering
    3. Non-disclosure agreement
    4. Incident response policy
    AI usage policies define approved tools, permitted data classifications, prohibited submissions (PII, secrets), and mandatory human review — the governance control that lets a SOC adopt AI without exposing data. B (prompt engineering) improves output quality but is a technique, not a governance control. C (NDA) binds a specific counterparty and only covers one relationship. D (incident response policy) governs handling security incidents, not routine AI use.
  7. Q7
    A security operations center analyst is using the command line to display specific traffic. The analyst uses the following command: $tshark -r file.pcap -Y "http or udp". Which of the following will the command line display?
    1. Encrypted web requests and Domain Name System (DNS) traffic
    2. Unencrypted web requests and DNS traffic
    3. Neither encrypted nor unencrypted web and DNS traffic
    4. Both encrypted and unencrypted web and DNS traffic
    The display filter http matches only parsed, plaintext HTTP (the HTTP protocol dissector cannot decode TLS-encrypted HTTPS), and udp includes DNS, which normally runs over UDP/53. So the filter shows unencrypted web requests and DNS traffic. A and D are wrong because encrypted HTTPS on TCP/443 is not decoded as http. C is wrong because both the HTTP dissector and the UDP protocol filter do match packets in the capture.
  8. Q8
    Which of the following network architectures would best implement a perimeter-less network topology?
    1. Hybrid cloud networks
    2. Secure access service edge
    3. Cloud-native computing
    4. Content delivery networks
    SASE converges networking (SD-WAN) and security (ZTNA, CASB, SWG, FWaaS) into a cloud-delivered service where access is granted per identity and session rather than at a fixed corporate perimeter — the definition of a perimeter-less topology. A describes where workloads run, not an access architecture. C describes how applications are built. D distributes content to edge caches and does not address identity-driven access control.
  9. Q9
    A security architect works with a client on security operations center (SOC) capabilities. The security architect wants to ensure the log correlation and investigation activities are accurate across the infrastructure. Which of the following is the best for the client to implement?
    1. Network Time Protocol (NTP)
    2. Zero Trust Network Access (ZTNA)
    3. Account federation
    4. Secure access service edge (SASE)
    5. Application programming interfaces (APIs)
    Accurate correlation and timeline reconstruction require every log source to share a common clock; NTP (RFC 5905) is the protocol that synchronizes distributed system clocks, so inconsistent timestamps do not make one attack look like disconnected events. B (ZTNA) controls access by identity, C (federation) addresses identity interoperability, and D (SASE) bundles network/security services — none synchronize time. E (APIs) can integrate tools, but integrated data is still uncorrelatable if each system's timestamps disagree.
  10. Q10
    There is an alert coming from the security information and event management system. Which of the following is the first task an analyst should complete?
    1. Contact the incident coordinator to communicate the vulnerability.
    2. Conduct remediation activities within the recovery phase.
    3. Escalate the issue to the help desk team.
    4. Perform triage activities that will identify the risk.
    A SIEM alert is an indication requiring validation, not a confirmed incident. Triage establishes whether the activity is malicious or benign, identifies affected assets and accounts, and sets severity and the correct escalation path before any response. A is premature because escalation before validation creates unnecessary noise; B is wrong because recovery occurs after detection, analysis, containment, and eradication; C is wrong because the help desk is not the correct routing target for an unvalidated security event.
  11. Q11
    A SOC analyst investigates the results of a password spray test. The analyst must identify Linux systems that have successful and unsuccessful logins with username "User1" and create an output report named "linux-events" of all the events to a flat file. The analyst issues ls /var/log/. Which of the following commands should the analyst use to meet the report output requirements?
    1. cat /var/log/sssd | grep "User1" > linux-events.txt
    2. cat /var/log/faillog.log | grep "User1" > linux-events.txt
    3. cat /var/log/syslog | grep "User1" > linux-events.txt
    4. cat /var/log/auth.log | grep "User1" > linux-events.txt
    /var/log/auth.log on Debian/Ubuntu-style Linux records both accepted and rejected authentication events (SSH, PAM, sudo), so cat ... | grep "User1" > linux-events.txt produces the required flat-file report covering successful and unsuccessful logins. A is wrong because sssd is a service-specific path, not the general authentication log. B is wrong because a faillog-oriented source only covers failures. C is wrong because syslog is a broad general-purpose log and is less precise than the dedicated authentication log.

Answer all 101 questions with instant feedback →

Reader reviews 80 ratings

4.4 ★★★★★★ Based on 80 ratings
  • These CompTIA exam dumps for CS0-004 saved me weeks of study time. The questions cover every domain thoroughly.

    ★★★★★ Jessica W.

  • The CS0-004 questions were tougher than the actual exam, which honestly made me more confident. Great prep tool.

    ★★★★★★ Brandon L.

  • Best CS0-004 prep I’ve found online. The question pool is deep and the randomized practice mode keeps you on your toes.

    ★★★★★★ Mason T.

  • My boss asked me to get the CS0-004 cert for work. This was the best study tool I found. Passed in three weeks.

    ★★★★★★ Austin P.

  • I was nervous about the CS0-004 exam because it had been years since my last cert. These questions got me back on track fast.

    ★★★★★★ Aurora C.

  • Was on the fence about buying the CS0-004 practice test, but man am I glad I did. Nailed my certification today.

    ★★★★★ Tyler M.

Log in to rate this exam and leave a review.

Frequently asked questions

Is CS0-004 the version to book, and what happens to CS0-003 in December 2026?

CS0-004 (V4) launched on June 23, 2026 and is the version to prepare for. The English CS0-003 exam retires on December 22, 2026, with Japanese, Portuguese and Spanish V3 versions following on March 23, 2027. Both codes award the same CompTIA CySA+ certification, but the weights changed from 33/30/20/17 to 34/26/24/16 — incident response gained four points and vulnerability management lost four — so a V3 question bank will misrepresent the paper you sit. Every item here is mapped to V4 objectives, including the AI-in-the-SOC material V3 never tested.

How many questions are on CS0-004, how long is it, and what does 750 actually mean?

A maximum of 85 questions in 165 minutes, mixing multiple choice with performance-based questions that drop you into a log view or simulated console. You need 750 on CompTIA's 100-900 scale — a scaled score, not 750 points, not 83% correct, and not a fixed number of items. Delivery is through Pearson VUE test centers or online proctoring. CompTIA's launch FAQ listed USD 425 for a voucher and some 2026 US store listings show USD 439 after a price change, so confirm the current figure when you buy.

What is actually new in the V4 blueprint compared with CS0-003?

CompTIA added a dedicated objective on AI in security operations — SOC use cases, risks (hallucinated findings, sensitive-data exposure, training-data poisoning, malicious prompts) and governance through usage policies. It also expanded EPSS-based vulnerability prioritization, SBOM and software supply chain risk, ZTNA and SASE architectures, XDR and SOAR automation, and cloud/hybrid and identity telemetry. Shared V3 fundamentals — SIEM and EDR analysis, credentialed scanning, the incident response lifecycle, chain of custody — remain valid, which is why older material still has practice value if it is re-mapped to the V4 weights.

Which CS0-004 topics cost candidates the most marks?

Four traps recur. Ranking a CVSS 9.8 on an isolated lab host above a KEV-listed, actively exploited flaw on an internet-facing payment server; treating a non-credentialed scan's banner guesses as a complete patch picture; jumping to eradication or a rebuild before isolating the host and preserving volatile evidence; and accepting an AI-generated incident summary without checking it against the original logs. The exam also separates the Pyramid of Pain levels cleanly — TTPs are durable behavior, while hashes, IPs and domains are atomic indicators — so read what the stem is actually asking for.

How should I run a CS0-004 mock exam when the paper mixes PBQs with multiple choice?

Put the performance-based items first in your own review, even though flagging them and returning later is the better test-day tactic. A timed CS0-004 mock exam over the full 165 minutes exposes the real bottleneck: reading a netstat or SIEM excerpt, deciding what the evidence supports, and moving on in about two minutes. Practise that triage on log correlation, scan-output interpretation and containment-order scenarios, then use the explanation for every miss — including the ones you guessed right — to check whether your reasoning or just your luck held up.

Is the CS0-004 PDF download useful for performance-based log and scan review?

Log excerpts and scanner output travel surprisingly well on paper, because the skill being tested is reading evidence rather than clicking a console. The CS0-004 PDF download packages the same practice questions and answer explanations as the online bank, so the KEV-versus-CVSS comparison, the Diamond Model versus MITRE ATT&CK distinction, or the containment-before-eradication sequence can be re-worked on a commute or anywhere without a stable connection. Use it as the review pass; keep the timed run online.

How long does CySA+ last, and what are the retake and renewal rules?

The certification is valid for three years and is renewed through CompTIA's continuing education program — 60 CEUs per cycle — or automatically by earning a higher-level CompTIA certification. CySA+ is approved for DoD Directive 8140.03M work roles, which is why it appears in federal job requirements. Under CompTIA's standard retake policy there is no waiting period after a first failed attempt, but a 14-calendar-day wait applies after a second failure, and each attempt needs its own voucher; check the current policy before scheduling a retake.

Free study resources

Community-verified analysis of 6 questions from real test-taker discussions — 2 deep analyses and 0 FAQs.