Investigations and evidence

10 free practice questions for the CompTIA® Security+® (SY0-801) exam, from the operations domain. Pick an answer, then open the explanation to check it.

Every question is original and written for Gapwise with AI. Two separate AI reviewers answered each one without seeing the answer key and checked it against the cited public sources. These are not real exam questions.

Question 1

A server in a locked equipment room recorded an interactive logon at its local console by a senior administrator's account at 01:40 on Sunday. That console can be used only from inside the room. The administrator says they were at home all weekend. Which data source would BEST help corroborate or refute that statement?
  1. A. Domain controller authentication records for the account
  2. B. Process activity records from the server's endpoint agent
  3. C. Flow records from the equipment room's access switch
  4. D. Badge reader records for the equipment room door
Show the answer and explanation

Answer: D. Badge reader records for the equipment room door

When a logical access event needs a physical explanation, correlate it with physical access records. NIST SP 800-53 notes that matching a person's logical access with evidence that they were present at the facility can help investigations. Here the console logon could only happen inside the room, so the door's badge records are the deciding evidence. Memory hook: logical logs say which account acted; physical logs say which badge was there.

Why each option is right or wrong

  • A. Incorrect. These records would confirm that the account authenticated and when. They can't show which person typed the credentials, so they add little beyond the logon the server already recorded.
  • B. Incorrect. Endpoint telemetry shows what ran after the logon, which helps scope the activity. It still attributes actions to the account, not to the person sitting at the console.
  • C. Incorrect. Flow records summarize network conversations by address, port, and volume. A local console logon creates no flow that identifies a person, so they can't speak to who was in the room.
  • D. Correct. The logon required someone inside the room. Door access records show which badges entered around 01:40, which can place the administrator, or someone else, at the console.

Reference

Question 2

A payroll clerk is suspected of opening executives' salary records in the company's cloud-hosted human resources (HR) application. Users reach it only over Hypertext Transfer Protocol Secure (HTTPS), and the company's web proxy does not decrypt Transport Layer Security (TLS) traffic. Which data source would BEST show which employee records the clerk opened?
  1. A. The web proxy's request log for the clerk's workstation
  2. B. Flow records between the clerk's workstation and the HR application
  3. C. The HR application's user activity log
  4. D. The host firewall log on the clerk's workstation
Show the answer and explanation

Answer: C. The HR application's user activity log

Application logs capture what only the application can see: who requested which record and what it returned. NIST SP 800-92 notes that for applications reached over encrypted connections, much of this information can only be logged by the application itself. The proxy log is the tempting choice, but without TLS inspection it sees only that a connection happened. Pick the source that sits where the data is decrypted and interpreted.

Why each option is right or wrong

  • A. Incorrect. Without TLS decryption, the proxy sees the destination host but not the URL paths or record identifiers inside the session. It can show the clerk used the HR application, not which records were opened.
  • B. Incorrect. Flow records show that the workstation and the service exchanged data, and how much. They hold no application content, so they can't name the records viewed.
  • C. Correct. The application is the only component that sees decrypted requests and knows which record each one returned. Its activity log can tie the clerk's account to specific employee records and times.
  • D. Incorrect. A host firewall log records connections that were allowed or blocked on the workstation. It would show connections to the HR service but nothing about records inside the application.

References

Question 3

One employee at a law firm reports a suspicious message with an attachment named statement_0912.html. The security team needs a list of every internal mailbox that received a message with that attachment during the past week. Which data source would BEST provide that list?
  1. A. Delivery logs from the email server
  2. B. The reporting employee's endpoint antimalware log
  3. C. The internal Domain Name System (DNS) resolver's query log
  4. D. Connection logs from the perimeter firewall
Show the answer and explanation

Answer: A. Delivery logs from the email server

Communication logs, such as those kept by email servers, track who sent what to whom. NIST SP 800-92 notes that email servers can log the sender, recipients, subject, and attachment names of each message. That lets responders find every recipient, including people who haven't opened the attachment yet. DNS and endpoint logs only reveal users who have already interacted with it.

Why each option is right or wrong

  • A. Correct. Email servers can record the sender, recipients, subject, and attachment names of each message. Searching for the attachment name returns every mailbox that received it, whether or not anyone opened it.
  • B. Incorrect. That log covers one laptop. Even if it flagged the file, it can't list deliveries to anyone else's mailbox.
  • C. Incorrect. DNS logs would show hosts that looked up a domain linked to the attachment, which happens only after someone opens it. Recipients who never opened it would be missed.
  • D. Incorrect. A firewall log shows connections from sending mail servers by address and port. It doesn't record recipients or attachment names.

References

Question 4

A network intrusion detection system (NIDS) alerts on an exploit attempt against a workstation at 14:22. The perimeter firewall log shows the connection was allowed. The analyst must learn whether the exploit succeeded and whether a user was logged on to the workstation at the time. Which data source would BEST answer both questions?
  1. A. The NIDS sensor's alert history for the past month
  2. B. Flow records for the workstation's subnet
  3. C. The workstation's operating system logs
  4. D. The perimeter firewall's denied-connection log
Show the answer and explanation

Answer: C. The workstation's operating system logs

Network sources such as a NIDS and a firewall show that an attack crossed the wire, not what happened on the target. NIST SP 800-92 describes this case: after a network device detects an attack on a host, that host's operating system logs can show whether a user was logged on and whether the attack succeeded. Pair network detections with endpoint logs to confirm impact.

Why each option is right or wrong

  • A. Incorrect. Older alerts show whether the source has attacked before. Like the current alert, they describe traffic on the wire, not the result on the host.
  • B. Incorrect. Flow records add byte counts and timing for the connection. They can hint at a follow-on transfer, but they can't show logon state or what ran on the host.
  • C. Correct. Host operating system logs record logons, process and service events, and security events on that machine. They can show whether a user was logged on at 14:22 and whether the exploit had an effect.
  • D. Incorrect. The firewall allowed this connection, so its denied log won't contain it. Even the allowed entry shows only addresses, ports, and the allow decision.

Reference

Question 5 Multiple answers

A full packet capture holds a workstation's Transport Layer Security (TLS) 1.3 sessions with an unfamiliar server. The organization has no way to decrypt them. Which TWO details can the analyst still learn from the capture? (Select two.)
  1. A. The IP addresses and ports of both endpoints
  2. B. The URL paths and query strings that were requested
  3. C. The contents of files the workstation uploaded
  4. D. When each session ran and how much data it carried
  5. E. The password typed into the server's login form
Show the answer and explanation

Answers: A. The IP addresses and ports of both endpoints; D. When each session ran and how much data it carried

TLS protects what is said, not who talks, when, or how much. A capture of TLS 1.3 traffic still shows the endpoints' addresses and ports, packet times, and data volumes, which supports timelines and spotting large uploads. Request paths, form fields, and file contents stay encrypted unless the analyst has the keys or a decrypting proxy. Memory hook: encrypted traffic still travels in an envelope with an address, a postmark, and a weight.

Why each option is right or wrong

  • A. Correct. TLS encrypts the application data, not the IP and TCP headers that carry it. Monitors on the encrypted path can still see the source and destination addresses and ports.
  • B. Incorrect. Paths and query strings travel inside the encrypted HTTP requests. Without the session keys, the capture shows only ciphertext where they would be.
  • C. Incorrect. Uploaded files are application data, which TLS encrypts after the handshake. Their contents can't be read from the capture without the keys.
  • D. Correct. Packet timestamps and sizes stay visible. TLS doesn't hide the length of the data it sends, so the analyst can see when transfers happened and roughly how large they were.
  • E. Incorrect. A login form's password is sent in an encrypted HTTP request. Unlike legacy cleartext protocols, a TLS session doesn't expose it to a passive capture.

References

Question 6

A security operations center (SOC) dashboard charts the events received from each log source. A branch firewall that normally sends 3,000 to 5,000 events every hour, day and night, has sent none since 01:12. The authentication server shows an administrator login to that firewall at 01:09 from a workstation outside the network team. What should the analyst examine FIRST?
  1. A. Flow records of the branch's traffic after 01:12
  2. B. Configuration changes made on the firewall after 01:09
  3. C. The log collector's ingestion statistics for all sources
  4. D. The firewall's most recent vulnerability scan report
Show the answer and explanation

Answer: B. Configuration changes made on the firewall after 01:09

A dashboard shows trends, and a source that suddenly goes silent is itself a finding. Silence right after a privileged login from an unexpected workstation fits defense impairment: attackers disable logging or forwarding on network devices so later actions go unseen. ATT&CK's detection guidance for this behavior correlates a privileged login with a configuration commit that reduces visibility. Check the device's change records first, then restore logging.

Why each option is right or wrong

  • A. Incorrect. Flow records would show whether traffic kept moving after 01:12. They can't show why the firewall stopped sending events or what the administrator's session changed.
  • B. Correct. A privileged login followed by a sudden stop in logging fits an attacker turning off logging on the device. The change records show whether logging, authentication, authorization, and accounting (AAA), or other settings were altered.
  • C. Incorrect. A collector or licensing fault would usually affect many sources at once. One device going quiet three minutes after an unusual administrator login points to a change on that device.
  • D. Incorrect. A scan report lists known weaknesses as of the scan date. It can't show what was changed on the firewall during the night.

References

Question 7

A company updated the firmware on its virtual private network (VPN) gateways last week. Since then, the remote access panel of its security information and event management (SIEM) dashboard shows 'unknown' as the user for every VPN session. An analyst is investigating a 03:10 session from 198.51.100.83 and needs the account name. What should the analyst do FIRST?
  1. A. Review the gateway's original log entries for that session
  2. B. Record the session as anonymous, since no account was logged
  3. C. Look up the address in the Dynamic Host Configuration Protocol (DHCP) lease log
  4. D. Ask the vendor to roll the gateways back to the old firmware
Show the answer and explanation

Answer: A. Review the gateway's original log entries for that session

SIEM dashboards show parsed, normalized data, and normalization can introduce errors or lose fields, especially after a source changes its log format. The original source logs are the reference for checking what the SIEM shows. Here the gateway's own entries should still record the account, and the parser should then be fixed. Memory hook: when the dashboard and the device disagree, trust the device's original log.

Why each option is right or wrong

  • A. Correct. A log format change after a firmware update can break the SIEM's parser, so the username field is dropped or mapped wrongly. SIEMs normally leave the source logs unchanged, so the gateway's own entries should still name the account.
  • B. Incorrect. The 'unknown' value appeared for every session right after an update, which points to a parsing problem, not anonymous access. VPN gateways normally log the account for each session.
  • C. Incorrect. 198.51.100.83 is the remote client's public address. Internal DHCP lease records map internal addresses to devices, and they don't hold the VPN account name.
  • D. Incorrect. A rollback might fix future parsing, but it can't repair fields the SIEM already failed to parse. The account name is needed now, from records that already exist.

References

Question 8

At 14:05, an accounts payable clerk took a call on her desk phone, part of the company's Voice over Internet Protocol (VoIP) phone system. The caller claimed to be from the information technology (IT) help desk. At 14:11, endpoint detection and response (EDR) recorded a remote management tool being installed on her workstation. The company wants the caller's number and whether that number called other employees that day. Which source would BEST answer both questions?
  1. A. Call records kept by the VoIP system's call server
  2. B. The recent-calls list stored on the clerk's desk phone
  3. C. EDR telemetry from the clerk's workstation
  4. D. Flow records exported by the core router
Show the answer and explanation

Answer: A. Call records kept by the VoIP system's call server

This is voice phishing, and the call is the first piece of evidence. MITRE ATT&CK's detection guidance for spearphishing voice says to monitor call log records and audit VoIP and Session Initiation Protocol (SIP) logs, then correlate them with later events such as a remote management tool running. The call server's records cover every extension, so they answer both questions; the handset's list covers only one phone.

Why each option is right or wrong

  • A. Correct. The call server handles calls for every extension and logs the numbers and times of each call. Searching its records gives the caller's number and every other employee that number reached.
  • B. Incorrect. The handset's list may show the caller's number, but only for calls to that one phone. It can't show whether the number reached other employees.
  • C. Incorrect. EDR shows the tool's installation and activity on the workstation. The call never touched the workstation, so EDR holds no caller number.
  • D. Incorrect. Flow records can show the remote management tool's network connections. They carry addresses and ports, not the phone numbers of callers.

References

Question 9

A company's cloud audit log shows these actions by the reporting service's account, which normally only reads data.
02:14 CreateSnapshot volume=db-prod-01 result=success
02:21 ShareSnapshot snapshot=snap-7f3a with=account-999900001111 result=success
Account 999900001111 doesn't belong to the company. What is the MOST likely concern?
  1. A. The volume's data may now be readable from an outside account
  2. B. The snapshot altered or locked the data on the production volume
  3. C. Someone rolled the database back to hide evidence
  4. D. A scheduled backup ran under the normal retention policy
Show the answer and explanation

Answer: A. The volume's data may now be readable from an outside account

MITRE ATT&CK describes exfiltration by transferring data to another cloud account the adversary controls, including by creating backups and sharing them. Defenders who watch only for large network transfers can miss it, because the copy never leaves the provider. The cloud audit log is the evidence here. Next steps are to revoke the share, check whether the other account used it, and investigate how the reporting account was misused.

Why each option is right or wrong

  • A. Correct. A snapshot is a copy of the volume. Once it is shared, the other account can build its own volume from it and read the data without touching the company's network.
  • B. Incorrect. A snapshot is a point-in-time copy. Creating one doesn't change or lock the volume it copies.
  • C. Incorrect. Rolling back means restoring a volume from an earlier snapshot. These entries show a snapshot being created and shared, not restored.
  • D. Incorrect. Backups stay in the company's own accounts. A read-only reporting account sharing a copy with an unknown account at 02:21 isn't a backup.

References

Question 10 Multiple answers

A company's identity provider logged these entries for one account.
02:10:04 user=u5512 password=OK push=DENIED src=203.0.113.88
02:11:37 user=u5512 password=OK push=DENIED src=203.0.113.88
(14 similar entries follow until 02:31.)
02:33:12 user=u5512 password=OK push=APPROVED src=203.0.113.88
Which TWO conclusions do these entries BEST support? (Select two.)
  1. A. The attacker guessed many different passwords for the account
  2. B. The attacker already had the account's correct password
  3. C. The attacker tried one password against many different accounts
  4. D. The attacker holds the account's registered multifactor authentication (MFA) device
  5. E. The user approved a push request after repeated prompts
Show the answer and explanation

Answers: B. The attacker already had the account's correct password; E. The user approved a push request after repeated prompts

MITRE ATT&CK describes adversaries who have valid credentials but lack the second factor. They repeat sign-in attempts to bombard the user with push notifications until the user accepts one, a pattern called MFA fatigue. Here every password check passed and a push was finally approved for the same source address. Respond by resetting the password, revoking the new session, and moving to MFA that resists this abuse, such as number matching or phishing-resistant authenticators.

Why each option is right or wrong

  • A. Incorrect. Every attempt passed the password check. Guessing would show failed password checks.
  • B. Correct. The password check succeeded every time. Only the second factor stood in the way.
  • C. Incorrect. Every entry is for the same account. Spraying would show one or two attempts each against many accounts.
  • D. Incorrect. Whoever held the device denied 16 requests. An attacker holding it would have approved the first one.
  • E. Correct. After about 20 minutes of prompts, a request was approved on the registered device. This matches MFA fatigue, where a user gives in to repeated requests.

Reference