Explore / CompTIA CySA+ (CS0-004) Exam Prep / Practice questions
CompTIA CySA+ (CS0-004) practice questions
10 questions from the bank behind this course's timed mock. Free to read and to answer, no account needed, and each has its answer and an explanation. They belong to CompTIA CySA+ (CS0-004) Exam Prep.
Answer them one at a time →Read lesson 1 free
Question 1
A junior SOC analyst scores 72% correct on a CS0-004 practice set. They conclude they will pass the real exam because 750 is 'about 75%' and they are close. As their study mentor, what is the BEST advice?
- Tell them 750 is a scaled score on a 100-900 range, not a percentage, so they should not convert it and should aim to know every objective well
- Tell them the passing score is 750 out of 1000, so they need 75% correct on the real exam
- Tell them the passing score changes with the number of questions they get, so they should count questions on exam day
- Agree that 750 equals 75% correct, so they need about 3% more on practice sets before booking
Show the answer
Answer: A. Tell them 750 is a scaled score on a 100-900 range, not a percentage, so they should not convert it and should aim to know every objective well
The pass mark is 750 on a scaled range of 100 to 900. It is not a percentage, so working out a raw percentage target is misleading. Treating it as 75% correct is exactly the mistake the lesson warns about.
Question 2
A SOC analyst confirms that the private key for a public web server's TLS certificate was copied off the server during an intrusion. The certificate is still within its validity dates. The goal is to stop clients from trusting the stolen key as soon as possible. Which action BEST meets this goal?
- Revoke the certificate so it is published through CRL/OCSP, then issue a new certificate with a new key pair
- Replace the intermediate CA certificate in the chain of trust with the root CA certificate
- Wait for the certificate's notAfter date, since the 200-day cap means it will expire soon
- Add the server's host name to the certificate's Subject Alternative Name field
Show the answer
Answer: A. Revoke the certificate so it is published through CRL/OCSP, then issue a new certificate with a new key pair
Revocation through a CRL or OCSP tells clients that a certificate was cancelled before it expired, and a new key pair means the leaked key is no longer used. Waiting for expiry leaves attackers able to impersonate the server for the rest of the validity period, which could be months.
Question 3
A SOC analyst reviews an EDR alert on a Windows server that runs Microsoft IIS. The process tree shows w3wp.exe (PID 2244) starting cmd.exe, which then runs whoami and net group "Domain Admins" /domain. The analyst must state the most likely initial access method in the incident ticket. Which is the BEST conclusion?
- A web shell on the IIS server is running operating system commands
- Remote execution through WMI from another compromised host
- A malicious Office macro was opened by a user on the server
- A scheduled task created for persistence ran at system startup
Show the answer
Answer: A. A web shell on the IIS server is running operating system commands
w3wp.exe is the IIS worker process, and it should not start a command shell, so this parent–child pair points to a web shell. WMI remote execution would show wmiprvse.exe as the parent, not w3wp.exe.
Question 4
A SOC analyst blocked a malware file hash taken from a threat report. A week later the same group compromised another endpoint with a recompiled copy that has a new hash. Each time, Word launched powershell.exe with -EncodedCommand. The manager wants the response that will disrupt this group longest. Which action should the analyst take?
- Sinkhole the domain name the malware uses for its callback
- Write a detection for Office applications spawning PowerShell with encoded command lines
- Block the IP address of the group's command-and-control server at the perimeter firewall
- Add the new file hash to the EDR blocklist and share it with partner organisations
Show the answer
Answer: B. Write a detection for Office applications spawning PowerShell with encoded command lines
Detecting the behaviour targets the group's TTPs, which sit at the top of the Pyramid of Pain and are the hardest thing for them to change. Blocking the IP address or domain is a step up from a hash, but the group can still swap in new infrastructure easily.
Question 5
A security analyst at a regional sales company must report the OS patch level and jailbreak or root status of 600 company smartphones. Most of the sales staff work off-site and connect only now and then. Last quarter's network vulnerability scan found fewer than half of the devices. Which approach BEST meets the reporting requirement?
- Put a passive network sensor on a SPAN port at the head office to fingerprint mobile traffic
- Use a CSPM tool to assess the devices' security configuration
- Run a credentialed network vulnerability scan against the VPN address pool during business hours
- Use the MDM/UEM platform to report OS version, patch level, jailbreak or root status and installed apps, and enforce a minimum OS version as a compliance rule
Show the answer
Answer: D. Use the MDM/UEM platform to report OS version, patch level, jailbreak or root status and installed apps, and enforce a minimum OS version as a compliance rule
Mobile devices come and go from the network and are often off-site, so MDM/UEM is the reliable way to collect their patch level and jailbreak or root status and to enforce compliance. A network scan of the VPN pool still finds only the devices that happen to be connected at that moment, so it leaves the same gap.
Question 6
A vulnerability analyst is scoring a newly disclosed flaw in a web portal using CVSS v4.0. To exploit it, the attacker must lure an authenticated user to a malicious page. Simply loading the page triggers the exploit, and the victim does not need to click anything or run a file. Which User Interaction value should the analyst assign?
- UI:P
- UI:R
- UI:N
- UI:A
Show the answer
Answer: A. UI:P
In CVSS v4.0, Passive (P) covers limited victim involvement, such as browsing to a page, so UI:P is correct. UI:A (Active) would apply only if the victim had to click through or deliberately run something, and UI:R is a CVSS v3.1 value that does not exist in v4.0.
Question 7
A SOC analyst is writing the post-incident report for an APT intrusion. The evidence shows that after the initial foothold, the attacker dumped lsass.exe memory, used RDP to reach the file server, and escalated privileges on two more hosts before stealing data. Management wants one phased model of the whole attack lifecycle that shows the movement inside the network as its own stage of the attack. Which framework BEST meets this requirement?
- MITRE ATT&CK
- Unified Kill Chain
- Lockheed Martin Cyber Kill Chain
- Diamond Model of Intrusion Analysis
Show the answer
Answer: B. Unified Kill Chain
The Unified Kill Chain arranges its 18 phases into In, Through and Out cycles, and the Through cycle covers pivoting, discovery, privilege escalation and lateral movement. MITRE ATT&CK has tactics for this activity, but it is not a sequence, so it does not give the phased lifecycle management asked for.
Question 8
An incident responder at a defence contractor finds that an engineering workstation was compromised with a UEFI bootkit. The team already acquired evidence and reimaged the disk from the golden image. Two days later, EDR detects the same malicious kernel-level behaviour on that workstation. What is the BEST next step?
- Reimage the disk again from a newer golden image and reconnect the host
- Reflash the system firmware from the vendor's trusted image, or replace the hardware
- Apply a Clear sanitisation to the SSD under NIST SP 800-88 Rev. 2 and rebuild the OS
- Run a full EDR remediation scan and quarantine the detected driver
Show the answer
Answer: B. Reflash the system firmware from the vendor's trusted image, or replace the hardware
A UEFI implant lives in firmware, not on the disk, so it survives a reimage. It is removed only by reflashing the firmware from the vendor or replacing the hardware. Reimaging again or sanitising the drive still leaves the firmware untouched.
Question 9
An analyst is moving into recovery for a confirmed incident. The timeline shows encoded PowerShell launched by WINWORD.EXE on workstation FIN-WS07 on 3 October at 09:14. A malicious service was installed on file server FS01 on 5 October. These FS01 backups are available: 6 October, 4 October, 2 October and 25 September. Which backup should the analyst recommend restoring FS01 from?
- The 2 October backup
- The 4 October backup
- The 25 September backup
- The 6 October backup
Show the answer
Answer: A. The 2 October backup
A restore must come from a known-good backup taken before the first malicious timestamp in the incident, which is 3 October. The 2 October backup is the most recent one that meets that rule. The 4 October backup predates the FS01 service install, but the attacker already had a foothold by then, so it could hold changes the timeline has not yet shown.
Question 10
During weekly triage, a vulnerability analyst finds a critical, publicly exploited finding on a Linux server. The server is missing from the asset inventory, and no team will say it belongs to them. The analyst has no change authority over the server. What is the BEST next step?
- Record the missing ownership as a finding in its own right and escalate it so that an accountable system owner is assigned
- Mark the finding as accepted risk until an owner comes forward
- Apply the vendor patch directly, because a critical exploited flaw cannot wait for an owner
- Add the server to the next quarterly executive risk scorecard as a top risk
Show the answer
Answer: A. Record the missing ownership as a finding in its own right and escalate it so that an accountable system owner is assigned
An asset with no owner will never be patched, so the missing owner has to be escalated and fixed first. Patching it yourself skips the system owner's change approval, and the analyst has no change authority.
The full timed mock
85 questions in 165 minutes, with a pass mark of 80%. Each paper is drawn from a bank of questions written for the mock alone, and these 10 are left out of it. Full access opens it, with every level of the course.
LevelUpWith is independent of the organisation that sets this exam. These questions were written for this course; they are not taken from the exam.