CompTIA CySA+ CS0-004 · Updated 2026

Free CompTIA CySA+ Practice Exam (2026)

Full-length CySA+ mock exams with the same number of questions and time as the real exam. SOC analyst scenarios across all 4 CS0-004 domains, answers explained, and your score by domain. Still useful if you sit CS0-003 before it retires in December 2026.

2. Choose a mode

85 questions · 2 hours 45 min · same as the real exam

100% free · no signup · progress saved on your device
You have an unfinished attempt on this set.
--:--:-- Answered 0/85 · Score 0

Your score by topic

Questions 1–10Page 1 of 9
🏆

Question 1Vulnerability Management

Ashford Group just acquired a regional company and connected its network to the corporate WAN. No accurate inventory exists for the new sites. Before scheduling vulnerability scans, what should the analyst do FIRST?

Correct answer: A. Run a discovery scan to identify live hosts and services across the new address ranges
Discovery builds the asset inventory that defines scan scope, credentials and schedules, so it comes first. A full credentialed scan cannot be planned well when the team does not know which hosts exist or what operating systems they run.
Question 2Incident Response

Fairhaven Credit's email security gateway detonated an attachment in a sandbox, found that it launched a malicious script, and quarantined the message before it reached any inboxes. At which Cyber Kill Chain stage did the defenses break the attack?

Correct answer: C. Delivery
Delivery is the transmission of the weaponized payload to the target, and the gateway stopped the message during that transmission. Weaponization happened earlier on the attacker's side when the malicious file was built, so defenders cannot directly block it.
Question 3Security Operations

A network engineer at Delmont Credit Union set all core switches to debug-level logging while troubleshooting and never changed them back. SIEM licensing costs have tripled and analysts struggle to find meaningful events. What is the BEST corrective action?

Correct answer: D. Restore a standard logging level and use debug only when needed
Debug level produces very high volumes of low-value messages and should be enabled only temporarily for troubleshooting. Restoring a normal level cuts cost and noise while keeping useful events. Removing switch logs from the SIEM would also cut cost, but it would blind analysts to legitimate network security events.
Question 4Security Operations

On Monday morning, Elmhurst College's edge router shows outbound traffic jump from about 300 Mbps to 2.4 Gbps. The top talkers are 18 computer lab PCs, each sending a constant stream of small UDP packets with random payloads to the same external IP address. What is the MOST likely explanation?

Correct answer: D. The lab PCs are bots taking part in a DDoS attack
Many hosts suddenly sending sustained, high-rate streams of small, random UDP packets to one outside target matches botnet participation in a denial-of-service attack. An operating system update or video streaming would mostly raise inbound download traffic, not outbound floods aimed at a single address.
Question 5Reporting & Communication

Galloway Payments is preparing for its annual PCI DSS assessment, and the assessor asks for vulnerability management documentation. Which report BEST meets the assessor's needs?

Correct answer: B. Scan results mapped to each PCI requirement, with dates and rescans
Auditors and assessors need evidence tied to specific control requirements, such as dated quarterly scans and passing rescans. A risk score dashboard is useful for executives but does not prove that each requirement was met.
Question 6Vulnerability Management

Dovetail Hotels placed its only vulnerability scanner in the corporate user VLAN. Scans of the payment card segment return no live hosts, even though dozens of payment terminals and servers are known to be there. The segment is protected by strict firewall rules. What is the BEST way to get accurate results?

Correct answer: B. Place a scanner inside the payment segment or permit only the scanner through the firewall
Network segmentation correctly blocks most traffic, so the scanner needs a presence in the segment or a narrowly scoped rule that permits only its traffic. Removing firewall rules for scans would weaken the very segmentation that protects cardholder data.
Question 7Incident Response

An analyst at Summit Ridge Energy is documenting an intrusion with the Diamond Model. She has recorded the attacker's persona, the targeted SCADA engineers and the staging servers used. She now needs to record the custom loader and the exploit for an unpatched VPN flaw. Which core feature do these belong to?

Correct answer: D. Capability
In the Diamond Model, capability covers the tools and techniques the adversary uses, such as malware and exploits. Infrastructure is the set of systems used to deliver or control those capabilities, like the staging servers she already recorded.
Question 8Security Operations

During an investigation on a Windows 10 workstation at Kessler Architects, the analyst learns the attacker's tool has already been deleted. The analyst wants evidence showing that the executable ran, how many times it ran and when it last ran. Which location is MOST likely to provide this?

Correct answer: C. C:\Windows\Prefetch
Prefetch files on Windows workstations record an executable's name, run count and recent run times, and they remain after the program itself is deleted. The drivers\etc folder holds the hosts file and similar network configuration, not execution history.
Question 9Security Operations

A network access control report at Juniper Ridge Schools flags a device plugged into a wall jack in a library study room. Its MAC address prefix belongs to a maker of single-board computers, it is not in the asset inventory, and the port's 802.1X enforcement is in monitor-only mode. The device is sending ARP requests across the staff VLAN. What is the BEST next step?

Correct answer: B. Disable the switch port and locate the device
An unknown, unmanaged device on an internal network is a rogue device, and a small single-board computer in a public area could be a covert implant probing the network. Disabling the port contains it while staff find and examine it, whereas approving its MAC address would legitimize a device nobody can account for.
Question 10Reporting & Communication

The vulnerability program manager at Quarry Hill University wants to show whether a new automated patching tool has reduced risk over the past four quarters. Which report type BEST supports this goal?

Correct answer: C. A trend report of open critical and high findings per quarter
Trend reporting compares the same measures across time, which shows whether the program improved after a change. A point-in-time report only shows the current state and cannot show direction.
Question 11Vulnerability Management

A widely reported remote code execution flaw was published 10 days ago. Ellery Insurance's scan last night found no instances, but a manual check confirmed several vulnerable servers. The analyst notices the scanner's plugin feed was last updated three weeks ago. What should the analyst do?

Correct answer: A. Update the scanner's plugin feed or signatures, confirm the new checks loaded, and rescan
A scanner can only detect vulnerabilities its checks know about, so an outdated feed produces false negatives for newly published flaws. The manual results are confirmed, so labeling them false positives would leave real vulnerabilities untracked.
Question 12Incident Response

Logs at Ashford Medical Group show that an attacker used a stolen help desk account to open RDP sessions from a compromised workstation to four internal file servers. Which MITRE ATT&CK tactic BEST describes this activity?

Correct answer: B. Lateral Movement
Using remote services such as RDP to move from one internal system to others is the Lateral Movement tactic. The stolen account is not being used to gain higher permissions on a single host, so Privilege Escalation does not fit what the logs show.
Question 13Vulnerability Management

Calloway Consulting wants an independent auditor to certify its information security management system, including how it manages technical vulnerabilities. Which standard defines the requirements the company will be certified against?

Correct answer: A. ISO/IEC 27001
ISO/IEC 27001 sets the requirements for an information security management system and is the standard organizations are certified against, with Annex A listing controls such as management of technical vulnerabilities. ISO/IEC 27002 gives guidance on implementing those controls but is not a certification standard.
Question 14Security Operations

Which statement BEST describes a key security difference between containers and virtual machines?

Correct answer: C. Containers share the host operating system kernel, while VMs each run their own
Containers isolate processes but share the host kernel, so a kernel flaw or a privileged container can expose the host and its other containers. Virtual machines run separate guest kernels on a hypervisor, which gives stronger isolation, so the claim that VMs share the host kernel is reversed.
Question 15Incident Response

Crescent Harbor Port Authority wants a security testing methodology that covers people, physical sites, wireless signals, telecommunications and data networks. Leadership also wants results expressed as measurable operational security metrics. Which methodology BEST meets these needs?

Correct answer: D. OSSTMM
OSSTMM is a peer-reviewed methodology that tests operational security across human, physical, wireless, telecommunications and data network channels and produces quantified results. The OWASP guide is limited to web application testing, so it cannot cover physical or human channels.
Question 16Security Operations

A Zeek log at Meridian Shipping shows a DMZ server holding a long-lived session to an external host on TCP 443. No TLS handshake appears in the session, and Zeek's protocol detection labels the traffic as SSH. What is the MOST likely explanation?

Correct answer: D. SSH traffic disguised on a port normally used for HTTPS
Port 443 is expected to carry TLS, so a session with no handshake that is identified as SSH means SSH is running on a port chosen to blend in with web traffic. An older cipher suite would still produce a TLS handshake, which is exactly what the log shows is missing.
Question 17Reporting & Communication

The board at Meridale Credit Union asks whether IT is meeting its policy of fixing critical vulnerabilities within 15 days. The security team tracks every finding's open and close dates. Which metric answers the board's question MOST directly?

Correct answer: A. Percentage of critical findings closed within 15 days
SLA compliance rate shows exactly how often critical findings are fixed within the promised window. A raw count of open findings changes with scan scope and asset growth, so it does not say whether the 15-day target is being met.
Question 18Vulnerability Management

An external Nmap scan of Brookfield Dental's public IP range shows 445/tcp open on a file server. The server is meant to share files only with staff at the main office. What should the analyst recommend FIRST?

Correct answer: B. Block SMB traffic from the internet at the perimeter firewall
SMB should not be exposed to the internet, and blocking it at the perimeter removes the exposure immediately. Moving the service to another port is security through obscurity, since scanners can still find and identify it.
Question 19Incident Response

EDR at Thornfield Robotics flags PowerShell launching encoded commands, but scans find no malicious files on disk. Analysts suspect the payload runs only inside a legitimate process. Which evidence source is MOST likely to contain the malicious code?

Correct answer: D. A memory capture of the running system
Fileless malware lives in memory, often injected into legitimate processes, so a memory capture can reveal the injected code, decoded scripts and active connections. A disk image would likely miss it, because the payload was never written to the file system.
Question 20Security Operations

Ransomware at Pellham County Hospital spread from one infected file server to 60 other servers in the same flat data center network within an hour. The architecture team wants to limit east-west movement between workloads, even those on the same subnet. Which approach BEST achieves this?

Correct answer: C. Microsegmentation with workload-level policies
Microsegmentation applies granular policies to individual workloads, so traffic between servers is blocked unless explicitly allowed, even within one subnet. Putting all servers into one VLAN still leaves them free to talk to each other, which is how the ransomware spread.
Question 21Security Operations

EDR at Calloway Pharmacy flags this process chain on a pharmacist's PC: OUTLOOK.EXE > WINWORD.EXE > powershell.exe -nop -w hidden -enc SQBFAFgA... What makes this chain MOST suspicious?

Correct answer: A. Word launched hidden PowerShell with an encoded command
Office applications rarely need to start PowerShell, and the -nop, -w hidden and -enc flags skip profiles, hide the window and obscure the command, a pattern common in malicious macros. Outlook opening Word is normal when a user opens an attachment, so that link alone is not the concern.
Question 22Vulnerability Management

While testing Quillon Mortgage's customer portal with Burp Suite, an analyst changes the loanId value in an intercepted request from 10482 to 10483. The server returns another customer's loan documents. Which fix BEST addresses this weakness?

Correct answer: C. Check on the server that the logged-in user is authorized to view each requested record
This is broken access control, specifically an insecure direct object reference, and the fix is to verify on the server that the session's user is authorized for every object requested. Encoding or hiding the identifier only obscures it, and a tester can still decode or modify it.
Question 23Reporting & Communication

An audit at Whitcomb County found 40 high-risk vulnerabilities that cannot all be fixed before the next audit cycle because of staffing limits. The auditor asks how the county will track progress on closing them. What should the security team produce?

Correct answer: A. A plan of action and milestones with owners and dates
A plan of action and milestones lists each weakness, the responsible owner, the planned steps, and target dates, so progress can be measured. Accepting the risk on every finding avoids the work and is not appropriate for high-risk items the county intends to fix.
Question 24Incident Response

Halvorsen Retail's legal team expects a lawsuit from a customer whose data was exposed in a recent breach. The retention policy automatically deletes email and VPN logs after 30 days, and some relevant records are already 25 days old. What should happen FIRST?

Correct answer: B. Issue a legal hold that suspends deletion of the relevant records
A legal hold suspends normal retention and deletion for records that may be relevant once litigation is reasonably expected. Waiting for the lawsuit to be filed would let the automatic policy destroy evidence, which can lead to spoliation penalties.
Question 25Vulnerability Management

A Scout Suite report for Halvorsen Robotics flags a cloud security group that allows inbound SSH on port 22 from 0.0.0.0/0. The group is attached to a bastion host used by six administrators who work from two office locations. Which recommendation BEST reduces the exposure?

Correct answer: A. Limit the rule to the offices' public IP ranges or use a managed session access service
Limiting the source to known office ranges, or using a managed session service, removes the internet-wide exposure while preserving administrator access. Changing the port only hides the service and does not limit who can connect.
Question 26Security Operations

What is the defining characteristic of software-defined networking (SDN) that makes it useful for automated security responses such as quarantining a host?

Correct answer: C. A central controller manages forwarding separately from the data plane
SDN separates the control plane, which decides how traffic flows, from the data plane that forwards it, with a centralized programmable controller. That lets security tools push policy changes such as isolating a host through an API. Encryption between switches is not what defines SDN.
Question 27Security Operations

While reviewing EDR telemetry at Westbrook Capital, an analyst sees 7z.exe compress 2,400 files from a finance share into a password-protected archive named 'cache01.tmp' in C:\ProgramData\. The archive is split into 100 MB parts, and the same host later opens many outbound connections to a file-sharing site. What does this activity MOST likely represent?

Correct answer: B. Data staged and split for exfiltration
Gathering many sensitive files into a password-protected, split archive with a misleading name in an unusual folder, then sending data out, is a typical exfiltration staging pattern. Ransomware encrypts files in place on the share, while this activity copied them into a new archive and then transferred data externally.
Question 28Reporting & Communication

Bayfield City shares a 911 dispatch system with the neighboring county under a memorandum of understanding. The MOU requires 30 days' notice and joint approval before any change to the system. A scan finds a high-severity vulnerability on the dispatch server. How should the analyst handle the remediation timeline?

Correct answer: D. Start the MOU change process and report the delay as an inhibitor
An MOU is a formal agreement, so the analyst must follow its change process and report it as a documented inhibitor that explains the longer timeline. Patching without joint approval violates the agreement and could disrupt a shared critical service.
Question 29Incident Response

A responder at Everly Credit Services must image a hard drive removed from a suspect's workstation. Opposing counsel is expected to argue that the drive was altered during collection. Which tool should the responder use when connecting the drive to the forensic workstation?

Correct answer: A. A hardware write blocker
A hardware write blocker allows reads from the drive but stops any writes, so the original evidence is not changed when it is attached. File carving is an analysis technique for recovering data and offers no protection during acquisition.
Question 30Vulnerability Management

Under CVSS v3.1, a vulnerability in a hypervisor lets code running inside a guest virtual machine affect the host and other guests. How should the analyst set the Scope metric?

Correct answer: B. Changed, because exploitation affects resources under a different security authority
In CVSS v3.1, Scope is Changed when exploiting a flaw in one component lets the attacker affect resources governed by a different security authority, as in a guest-to-host escape. Sharing physical hardware does not place the guest and host in the same security scope.
Question 31Security Operations

Attackers using adversary-in-the-middle phishing kits have stolen session cookies from several employees at Northgate Media, even though push-notification MFA was enabled. Which authentication change would BEST resist this technique?

Correct answer: A. FIDO2 passkeys that are cryptographically bound to the site origin
FIDO2 authenticators sign a challenge that includes the website origin, so the credential will not work on a look-alike proxy domain. SMS and app-based codes can be typed into the phishing page and relayed in real time, so they do not stop adversary-in-the-middle attacks.
Question 32Incident Response

Analysts at Pemberton Shipping are building a timeline from firewall logs recorded in UTC, a Linux server logging in Pacific time and a Windows host whose clock drifted four minutes. Events appear to happen in an impossible order. What should the analysts do FIRST?

Correct answer: D. Convert all timestamps to UTC and correct for the clock drift
Correlating events across sources requires a common time reference, so analysts convert everything to UTC and correct for known drift. Discarding the drifted host's logs would throw away evidence that is still usable once the four-minute offset is applied.
Question 33Vulnerability Management

A vulnerability in the document viewer used by Ostrava Media can be exploited only if an employee opens a specially crafted file received by email. Which CVSS base metric captures this requirement?

Correct answer: A. User Interaction
User Interaction measures whether a person other than the attacker must take an action, such as opening a file, for the exploit to succeed. Attack Complexity covers conditions beyond the attacker's control in the target environment, not actions taken by a victim.
Question 34Security Operations

The application log for Cobalt Ridge Bank's loan portal shows 1,800 requests in 15 minutes from one IP address. Each request hits /search with parameter values containing quotes and phrases such as OR 1=1, and many return HTTP 500 database errors. What does this pattern MOST likely indicate?

Correct answer: C. Automated SQL injection probing of the search feature
A high volume of requests from one source carrying SQL syntax, combined with database errors, points to automated SQL injection testing. Cross-site scripting would show script tags or JavaScript in the parameters, not SQL logic meant to alter a database query.
Question 35Reporting & Communication

Fenwick Plastics runs an injection molding line 24 hours a day, six days a week. A critical patch for the line's HMI workstations requires a reboot that would stop production for 45 minutes, and the plant manager objects to an unplanned stop. What should the analyst recommend?

Correct answer: A. Patch during the weekly shutdown and add interim controls until then
Business process interruption is a common inhibitor, and the usual answer is to patch in a planned maintenance window while compensating controls reduce risk until then. A permanent exemption leaves the vulnerability open indefinitely and is not a reasonable trade for a 45-minute stop.
Question 36Incident Response

A compromised virtual machine at Quarry Lane Software is running in a public cloud. The team wants to cut it off from the network immediately but keep it running so they can capture memory. Which action BEST meets this goal?

Correct answer: D. Assign a quarantine security group that permits only forensic access
Swapping the instance's security group for a deny-all quarantine group cuts off attacker traffic while the instance keeps running, so memory and other volatile data stay intact. Stopping the instance to move it would clear its memory and lose the evidence the team wants.
Question 37Vulnerability Management

A vendor confirms that attackers are actively exploiting an unpatched flaw in the VPN appliance used by Merriweather Foods. No patch will be available for at least a week, but the vendor has published a configuration workaround. What should the analyst recommend FIRST?

Correct answer: B. Apply the vendor's workaround and increase monitoring of the appliance until a patch ships
With a zero-day under active exploitation, compensating controls such as the vendor workaround and closer monitoring reduce risk until a fix exists. Waiting a week would leave an internet-facing system exposed to a flaw that attackers are already using.
Question 38Security Operations

Calder Analytics monitors its data center with a physical network tap at the core switch. An internal investigation reveals malicious traffic between two virtual machines on the same hypervisor host that never appeared in the tap's captures. What is the BEST way to close this visibility gap?

Correct answer: C. Monitor traffic at the hypervisor's virtual switch layer
Traffic between VMs on the same host passes through the hypervisor's virtual switch and never reaches physical network hardware. Mirroring or monitoring at the virtual switch captures this east-west traffic. A larger buffer on the physical tap cannot capture packets that never cross it.
Question 39Security Operations

A phishing report at Tavira Medical contains a link that the email client displays as 'northbank.com', the bank the clinic uses for payroll. In the raw message source, the link's hostname starts with 'xn--' followed by a string of letters and digits. What does this MOST likely indicate?

Correct answer: B. A homoglyph domain built from look-alike characters
The 'xn--' prefix marks Punycode, the ASCII form of an internationalized domain name, so the link likely uses Unicode look-alike characters to imitate the real bank domain. A URL shortener hides the destination behind a different short domain and would not display as the bank's own name.
Question 40Reporting & Communication

At Castellan Media, every patch must go through a change advisory board that meets once a month. A vulnerability that is being actively exploited in the wild was found on public web servers, but the next meeting is 25 days away. What is the BEST course of action?

Correct answer: D. Use the emergency change process defined in the change policy
Organizational governance can slow remediation, so mature change programs include an emergency change path for urgent risks like actively exploited flaws. Skipping approval entirely bypasses governance and can cause unmanaged outages.
Question 41Incident Response

While investigating unauthorized API activity, the team at Juno Biotech learns that the cloud provider keeps the default management event history for only 90 days. The suspicious activity started about 80 days ago. What should the team do FIRST?

Correct answer: B. Export the relevant audit logs to immutable, access-controlled storage
Copying the logs to immutable storage preserves them before the retention window deletes the earliest events, and it protects them from tampering. Asking the provider to change default retention may not be possible and would not happen fast enough to save the oldest records.
Question 42Vulnerability Management

During a scheduled maintenance window, the team at Cobalt Transit applies an operating system patch to its dispatch servers. Afterward, the dispatch application fails to start, and the window closes in 40 minutes. What should the team do?

Correct answer: C. Execute the documented rollback plan to restore service, then investigate the failure
A rollback plan exists so the team can restore a critical service within the approved window when a change fails. The vulnerability stays open for a short time and can be covered by compensating controls until a retest, while an extended dispatch outage is not acceptable.
Question 43Security Operations

The security team at Wexford Travel wants to learn quickly if any public certificate authority issues a TLS certificate for its domains without approval. Such a certificate could indicate a phishing setup or a compromised registrar account. Which source should the team monitor?

Correct answer: A. Certificate transparency logs
Publicly trusted certificate authorities submit issued certificates to public certificate transparency logs, so monitoring them reveals unexpected certificates for the organization's domains. The internal CA's revocation list only covers certificates the company issued itself.
Question 44Vulnerability Management

An analyst at Pemberton Clinics wants vulnerability scores to reflect that an affected database stores regulated patient records, which makes confidentiality especially important to the organization. Which group of CVSS metrics should the analyst adjust?

Correct answer: D. Environmental metrics
Environmental metrics let an organization adjust a score for its own setting, including security requirements such as high confidentiality for patient data. Base impact metrics describe the flaw itself and stay the same in every environment.
Question 45Incident Response

Malware is found on an HMI workstation that controls a packaging line at Northfield Foods. Shutting it down would halt production, and the vendor does not support endpoint agents on it. What is the BEST containment option?

Correct answer: A. Segment the HMI with ACLs that permit only required control traffic
Segmentation with tight access control lists limits what the malware can reach while the line keeps running, which balances containment against production needs. Leaving the HMI unchanged until a planned outage allows the infection to spread or cause damage in the meantime.
Question 46Security Operations

An analyst at Fairhaven Hospital needs to record all traffic between a suspect Linux server and 203.0.113.50 so it can be reviewed later in Wireshark. The server has no graphical interface. Which command BEST meets this need?

Correct answer: C. tcpdump -i eth0 -w suspect.pcap host 203.0.113.50
The -w option writes raw packets to a pcap file that Wireshark can open, and the host filter limits the capture to traffic to or from that IP. The -r option reads an existing capture file instead of recording a new one, so it would not collect any traffic.
Question 47Reporting & Communication

The SOC at Delmar Freight measures response as the time from detection to containment. Last month's four incidents took 2, 4, 6, and 12 hours. What mean time to respond should appear in the monthly metrics report?

Correct answer: D. 6 hours
Mean time to respond is an average, so 24 total hours divided by four incidents equals 6 hours. Five hours is the median of the values, which is a different statistic.
Question 48Security Operations

At Bramley Foods, a production storage bucket in the company's public cloud account was deleted overnight. The incident lead needs to know which identity made the API call, from what IP address and at what time. Which log source is MOST useful?

Correct answer: D. The cloud provider's control plane audit logs
Control plane audit logs, such as AWS CloudTrail, record management API calls with the calling identity, source IP and timestamp. Flow logs show network connections between addresses, but not which identity performed an API action like deleting a bucket.
Question 49Vulnerability Management

A penetration test of Wrenfield Credit's online banking site shows that a malicious web page can make a logged-in customer's browser submit a funds transfer without the customer's knowledge. Which mitigation BEST addresses this weakness?

Correct answer: B. Require anti-CSRF tokens on state-changing requests and set the SameSite attribute on cookies
Cross-site request forgery relies on the browser automatically sending session cookies, so an unpredictable per-request token and SameSite cookies let the server reject forged requests. Output encoding addresses cross-site scripting, which is a different weakness.
Question 50Incident Response

At Bramwell Accounting, analysts find a keylogger on 15 workstations that captured domain credentials. The IT manager wants to reset all affected passwords immediately, before the malware is removed. Why is this sequence a problem?

Correct answer: C. The keylogger could capture the new passwords as users type them
If the keylogger is still running, users typing new passwords hand them straight to the attacker, so credentials should be reset after the malware is removed or from clean systems. Resetting passwords does not destroy disk or memory evidence on the infected hosts.
Question 51Security Operations

Hollis Manufacturing detonates a suspicious attachment in its sandbox, and the report shows no network activity, no file changes and a clean verdict. Static analysis of the same file finds checks for virtualization artifacts and a 20-minute sleep timer. What is the BEST next step?

Correct answer: D. Rerun it with a longer runtime and anti-evasion settings
Checks for virtual machine artifacts and a long sleep are common sandbox evasion tricks, so a clean result from a short run does not prove the file is safe. Rerunning with a longer runtime and anti-evasion settings, or on bare metal, gives it a chance to show real behavior, while releasing it trusts a result the malware was built to fake.
Question 52Reporting & Communication

The weekly KPI dashboard at Arbor Valley Hospital shows that SIEM alert volume dropped 70 percent overnight, and no tuning changes were made. The SOC director wants to report this as an improvement. What should the analyst do FIRST?

Correct answer: C. Confirm that all log sources are still sending data to the SIEM
A sudden drop in alert volume with no tuning changes often means a log source or collector stopped forwarding data. Reporting it as success before validating ingestion could hide a real visibility gap.
Question 53Vulnerability Management

Code review of Halcyon Legal's document portal shows that the download feature builds a file path by appending a user-supplied filename to /var/app/docs. A scanner confirmed that the feature can return files outside that folder. Which fix BEST prevents this?

Correct answer: B. Resolve the canonical path and reject any request that falls outside the documents folder
Canonicalizing the path resolves encodings and relative segments, so the application can verify that the final location stays inside the allowed directory. Removing ../ a single time is easy to bypass with nested or encoded sequences.
Question 54Incident Response

Ransomware encrypted Fenwick Legal's document servers on March 20. Investigation shows the attacker first gained access and planted a backdoor on February 26. Nightly backups are kept for 60 days. Which backup should the team restore from?

Correct answer: C. A backup from before February 26, scanned before it is restored
Backups taken after February 26 likely contain the attacker's backdoor, so restoring them would bring the attacker back. The March 19 backup has the least data loss, but it is not known-good because the compromise was already present.
Question 55Security Operations

Tilden Health's application logs include full Social Security numbers, and those logs are forwarded to a SIEM that many analysts and a managed service provider can access. Compliance asks the SOC to reduce exposure without losing the ability to correlate events by patient. What is the BEST approach?

Correct answer: A. Replace the numbers with consistent tokens before ingestion
Tokenizing sensitive values at ingestion keeps the real numbers out of the SIEM, while a consistent token still lets analysts link events for the same patient. Full-disk encryption protects stored data from physical theft, but every authorized SIEM user would still see the numbers in clear text.
Question 56Vulnerability Management

A scan of Ironbridge Publishing's legacy PHP site shows that a page parameter is passed directly to an include statement, and the server will load a script hosted on an outside domain. Which change BEST mitigates this remote file inclusion risk?

Correct answer: B. Disable allow_url_include and map page parameter values to an allowlist of local files
Turning off remote URL includes stops PHP from loading code from other servers, and an allowlist ensures the parameter can only select approved local pages. Moving the include into another file does not change the fact that user input controls what gets loaded.
Question 57Incident Response

Attackers exploited a flaw in a customer portal at Ironwood Mutual. The vendor says a patch will not be available for three weeks, but the business needs the portal back online after recovery. Which action BEST reduces risk until the patch is released?

Correct answer: A. Use a WAF rule to virtually patch the flaw, with added monitoring
A WAF rule acts as a compensating control or virtual patch, blocking the exploit path while the real fix is pending, and added monitoring catches attempts to bypass it. Antivirus scans of the server would not stop the application flaw from being exploited again.
Question 58Security Operations

The SOC at Tamarack Utilities wants one alert when a single account fails VPN login more than 20 times within 10 minutes and then succeeds from the same source IP. On their own, failed and successful logons are far too noisy to alert on. Which capability BEST meets this requirement?

Correct answer: C. A SIEM correlation rule tied to a time window
A correlation rule links related events, here many failures followed by a success from one source, inside a defined time window, turning noisy single events into one high-confidence alert. File integrity monitoring tracks changes to files on a system and cannot tie authentication events into a sequence.
Question 59Reporting & Communication

After a ransomware incident, Kestrel Medical's IR lead finishes a detailed technical report with IoCs, exploited weaknesses and admin account names. Several department heads ask for copies. How should the report be handled?

Correct answer: D. Mark it confidential and limit the full version to need-to-know
A technical incident report reveals weaknesses and account details that would help a future attacker, so it should be classified and shared only with those who need it. Department heads can receive a summary instead of the full version.
Question 60Security Operations

An incident response firm finds that attackers spent 14 months inside Ardent Aerospace's engineering network. They used custom malware, moved slowly to avoid detection and exfiltrated only design files for a defense program. No ransom was demanded. Which threat actor type is MOST likely responsible?

Correct answer: D. Nation-state advanced persistent threat
Long dwell time, custom tooling, stealth and theft of defense-related intellectual property are hallmarks of a nation-state APT focused on espionage. Organized crime groups seek profit and usually monetize access quickly through ransomware, fraud or selling data.
Question 61Vulnerability Management

A security review of Thornbury Telecom's account portal finds that the session identifier assigned before login stays the same after the user authenticates. Which change BEST addresses this weakness?

Correct answer: A. Issue a new session identifier immediately after successful authentication
Keeping the pre-login identifier allows session fixation, where an attacker who planted or learned that ID inherits the authenticated session. Regenerating the ID at login breaks that link, while URL-based session IDs would make leakage even more likely.
Question 62Incident Response

The CISO at Rosewood Hotels wants to confirm that executives, legal, PR and IT understand their roles during a ransomware incident. The exercise must not affect production systems and should be low cost. Which type of exercise is MOST appropriate?

Correct answer: B. A tabletop exercise
A tabletop exercise is a discussion-based walkthrough of a scenario, which is ideal for checking roles and decisions without touching live systems. A full interruption test actually shuts down primary operations, so it is costly and risky for this goal.
Question 63Security Operations

Two analysts at Pemberton Logistics each collect a copy of 'invoice_viewer.exe' from different infected hosts. Both copies have the same file name and size, but their SHA-256 values differ. What is the MOST accurate conclusion?

Correct answer: D. Their contents differ, even if only by a few bytes
A cryptographic hash is computed only from a file's contents, so different SHA-256 values mean the bytes differ, as with repacked or polymorphic malware. File system timestamps are metadata kept outside the file content, so they do not change the hash.
Question 64Vulnerability Management

A software composition analysis report shows that Grayson Freight's customer app depends on a web framework version that reached end of life last year. The maintainers no longer publish security fixes for that version. What is the BEST long-term remediation?

Correct answer: C. Plan and complete an upgrade to a supported, maintained version of the framework
End-of-life components receive no security patches, so any flaw found in the future will stay open permanently. A lack of reported CVEs does not mean the code is safe, only that new issues will never be fixed by the maintainers.
Question 65Reporting & Communication

The final incident report at Ashgrove Retail must state the attacker's dwell time. Forensics shows initial access on March 2, the SOC detected the activity on April 13, and containment finished on April 15. What dwell time should the report list?

Correct answer: B. 42 days
Dwell time runs from initial compromise to detection: March 2 to April 13 is 42 days. Counting through containment gives 44 days, which mixes dwell time with response time.
Question 66Security Operations

A threat intelligence platform at Brookhaven Savings generates a high-priority alert about a new campaign exploiting a flaw in an industrial control system controller. The bank has no operational technology and does not use that vendor. Which intelligence quality factor does this alert fail?

Correct answer: C. Relevancy
Relevancy measures whether intelligence applies to the organization's assets, industry and threat profile. The report may be timely and accurate, but a bank with no industrial control systems cannot act on it.
Question 67Incident Response

An IDS at Fallbrook Logistics alerts on an exploit attempt for a known Apache Struts flaw against a web server. The analyst confirms the server runs a different framework, the request returned an error, and no follow-up activity occurred. How should the analyst classify this?

Correct answer: A. A security event with no impact, documented and closed
The attempt was real but could not succeed against software that is not present and caused no impact, so it is an event rather than an incident. Declaring full containment would waste response effort on an attack that failed.
Question 68Vulnerability Management

A credentialed scan of a Linux server at Mosswood Bank finds a shell script that runs every hour as root through cron. The script file is world-writable. What should the analyst recommend?

Correct answer: B. Make the script owned by root and writable only by root
Any user who can edit a script that root executes can run commands as root, which is a privilege escalation path. Restricting ownership and write permission to root removes that path, while running the script less often only slows the abuse.
Question 69Security Operations

Analysts at Ellison Healthcare switch between six consoles: SIEM, EDR, email security, firewall, ticketing and threat intel. Every investigation requires copying data between them by hand, and alerts are often missed. Which approach BEST addresses this problem?

Correct answer: A. Integrate the tools by API into a single pane of glass
API and webhook integrations let alerts and context from each tool flow into one console, a single pane of glass, which cuts manual copying and the chance of missing an alert. Splitting the consoles among analysts keeps the data siloed, so no one sees the full picture of an incident.
Question 70Reporting & Communication

A local reporter calls a SOC analyst at Kestrel Telecom asking about rumors of a data breach. The incident is still under investigation, and the IR plan names a designated spokesperson. How should the analyst respond?

Correct answer: C. Decline to comment and refer the reporter to the spokesperson
IR communication plans route media inquiries through a designated spokesperson, often in public relations, so messages are accurate, consistent, and reviewed by legal. Sharing even verified facts can release incomplete information and create legal exposure.
Question 71Incident Response

When should a lessons learned meeting for a major incident ideally take place?

Correct answer: B. Within a few days after the incident is resolved, while details are fresh
NIST guidance recommends holding the lessons learned meeting soon after the incident ends, while participants still remember what happened and why decisions were made. Waiting for an annual review lets details fade and delays fixes for the weaknesses the incident exposed.
Question 72Security Operations

The detection engineering team at Morrow Logistics keeps writing rules for file hashes and IP addresses from intel reports, but attackers change them within days. The team wants detections that stay useful longer and impose more cost on adversaries. What should the team focus on?

Correct answer: D. Behavior-based rules built on the adversary's TTPs
TTPs describe how an adversary operates, and they are much harder to change than hashes, IPs or domains, which sit low on the Pyramid of Pain. Switching to domains helps slightly, but attackers can still register new domains cheaply.
Question 73Vulnerability Management

Sablewood Retail retrains its product recommendation model every week using customer reviews and click data. Analysts notice that a group of new accounts has been submitting coordinated fake reviews that skew the model's output. Which control BEST mitigates this risk?

Correct answer: A. Validate training data sources and screen for anomalies before every retraining run
Data poisoning corrupts a model through its training inputs, so checking data provenance and filtering anomalous records before training addresses the cause. Encrypting the model protects its confidentiality but does nothing about corrupted training data.
Question 74Incident Response

After a breach at Vantage Point Credit, the team learns the attacker used a credential dumping tool that is recompiled for each target, so its hash changes every time. Which detection improvement would be MOST durable?

Correct answer: B. A behavior rule that alerts on processes reading LSASS memory
Detecting the behavior, such as an unusual process accessing LSASS memory, catches the technique no matter how the tool is recompiled or renamed. A hash blocklist only stops that exact build, which the attacker already changes for every target.
Question 75Vulnerability Management

Juniper Health is starting a new patient scheduling platform. The CISO wants to find design flaws, such as missing trust boundaries and weak authentication flows, when they are cheapest to fix. When should the team perform threat modeling?

Correct answer: D. During the design phase, before significant code is written
Threat modeling during design finds architectural weaknesses, such as insecure design, before they are built into the code, when changes cost the least. Waiting for a penetration test after deployment means flaws surface when fixing them requires rework in production.
Question 76Security Operations

Before closing a ticket, a Tier 1 analyst at Norcross Bank reviews an AI assistant's incident summary. It states the host 'downloaded payload.dll from 198.51.100.23 at 14:05,' but the analyst cannot find that IP or file anywhere in the proxy, DNS or EDR logs for the host. What is the MOST appropriate action?

Correct answer: D. Treat it as unverified and fix the ticket from raw logs
AI tools can produce plausible but invented details, so a finding the source data does not support must be treated as a possible hallucination and checked against raw logs before it drives action. Blocking the IP or declaring an infection based only on the summary would act on evidence that may not exist.
Question 77Reporting & Communication

Thornbury Credit is preparing to notify members whose data was stolen in a breach. The FBI agent working the case asks the company to delay the notice because it could tip off suspects the agency is tracking. What should the company do?

Correct answer: A. Document the request and delay notice as the law permits
Many breach notification laws allow a delay when law enforcement determines that notice would impede a criminal investigation, and the request should be documented, ideally in writing. Notifying right away ignores a legitimate legal exception and could compromise the investigation.
Question 78Security Operations

A SIEM rule at Pellham Biotech flags one workstation sending thousands of DNS TXT queries per hour to a single external domain. Each query has a long, random-looking subdomain, such as a91f3c7e2b...data.example-cdn.net. What is the MOST likely explanation?

Correct answer: C. Data exfiltration through DNS tunneling
High volumes of TXT queries with long encoded subdomains to one domain are a classic sign of DNS tunneling, where data is packed into the query names. CDN traffic uses short, readable hostnames and normal record types, so it does not produce this pattern.
Question 79Incident Response

A finance clerk at Marlow Industries wired $186,000 to a new vendor account after receiving an email that appeared to come from the CFO. Two hours later, the real CFO confirms he never sent the request. What should the company do FIRST?

Correct answer: A. Contact the bank's fraud team to request a wire recall
Recovering funds is time-sensitive, and banks have the best chance of freezing or reversing a fraudulent wire when contacted right away. Securing the CFO's account is also needed, but it does not bring back the money, and the recall window can close within hours.
Question 80Vulnerability Management

The infrastructure team at Lockhart Logistics reports that it has applied patches for 37 critical findings on its web servers. The analyst needs to close the related tickets. What should the analyst do FIRST?

Correct answer: B. Rescan the affected servers and confirm the vulnerabilities are resolved
A validation rescan provides evidence that each fix worked, since patches can fail, need a reboot or miss some hosts. Closing tickets on the team's word alone risks leaving critical vulnerabilities open without anyone noticing.
Question 81Security Operations

An analyst at Quintero Insurance wants a free public AI chatbot to help decode a suspicious PowerShell script found on a claims server. The script contains internal hostnames, a service account name and the path to a customer database. What should the analyst do?

Correct answer: B. Use an approved AI tool, or redact sensitive details first
Pasting internal hostnames, account names and data paths into a public AI service can expose them outside company control, because inputs may be stored or used for training. The analyst should use an approved tool with proper data handling or strip the sensitive details, since there is no basis for assuming a public chatbot keeps nothing.
Question 82Reporting & Communication

Two weeks after closing a credential stuffing incident, the IR manager at Pembrook Games holds a lessons-learned meeting with everyone who worked the case. What is the PRIMARY outcome this meeting should produce?

Correct answer: C. Improvement actions for controls and the IR plan
A lessons-learned review examines what worked and what failed so the team can improve controls, detection, and the IR plan. A blame-focused list discourages honest input and is not the goal of the review.
Question 83Security Operations

Orchard Valley Utilities has a small hunt team with time for one focused hunt this quarter. The environment includes a guest Wi-Fi network, a marketing web server and a billing database holding payment data for 300,000 customers. Leadership's top concern is a breach of customer payment data. Where should the team focus FIRST?

Correct answer: B. The billing database and the systems that can reach it
With limited resources, hunts should focus on business-critical assets where a compromise would cause the most harm, including the paths that lead to them. The internet-facing marketing server is a likely entry point, but hunting around the billing database covers attackers who arrive through any route.
Question 84Incident Response

Delmont Water is terminating a network administrator who has threatened to retaliate. He has domain admin rights, VPN access and knows the passwords for several shared device accounts. When should his access be removed?

Correct answer: D. As he is notified, with shared device passwords rotated as well
Removing all access, including shared credentials he knows, at the same time he is notified prevents a hostile insider from using remaining access to cause damage. Waiting until the end of the day gives him hours of privileged access after learning about the termination.
Question 85Vulnerability Management

Fairmont Games wants ongoing security testing of its public game platform by a large, diverse group of outside researchers. It wants to pay only for valid, unique findings rather than for time spent. Which program BEST fits these goals?

Correct answer: A. A bug bounty program with a defined scope and clear rules of engagement
A bug bounty program rewards outside researchers for each valid finding and provides continuous testing from many perspectives under a clear scope and rules. A penetration test is time-boxed and paid for effort, no matter how many issues are found.
100% pass or full refund

Pass CySA+ on your first attempt

Talk to an advisor on WhatsApp View CompTIA CySA+ Training

The real CySA+ exam at a glance

85questions
2h 45mtime limit
MCQmultiple choice
80%+aim for here

Score 80% or more on two different sets before you book the real exam. Need a plan for your weak topics? See how we help you pass, or get a full refund.

More free Cyber Security practice tests

See all 36 free practice tests →

Original practice questions written by CertOcean in the style of the CySA+ exam. They are not real exam questions. CySA+ and CompTIA are trademarks of their owners. Real exam format: up to 85 questions · 165 minutes · passing score 750 on a 100-900 scale · the real exam also has performance-based questions.