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.
1. Choose a set
2. Choose a mode
85 questions · 2 hours 45 min · same as the real exam
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
Which statement BEST describes a key security difference between containers and virtual machines?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
What is the defining characteristic of software-defined networking (SDN) that makes it useful for automated security responses such as quarantining a host?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
When should a lessons learned meeting for a major incident ideally take place?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
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?
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.
The real CySA+ exam at a glance
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
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.