CompTIA Security+ · Domain 4 of 5 · 28% of the exam

CompTIA Security+ Domain 4: Security Operations

56 free practice questions for Security Operations in the CompTIA Security+ (SY0-701) exam. Try each question first, then open "Show answer" for the correct option and explanation.

Security Operations practice questions

  1. Question 1. Which wireless security protocol uses Simultaneous Authentication of Equals (SAE) to resist offline password guessing?

    1. WPA3-Personal
    2. WPA2-Personal
    3. WEP
    4. WPS
    Show answer

    Answer: A. WPA3-Personal

    WPA3-Personal replaces the WPA2 pre-shared key handshake with SAE, which resists offline dictionary attacks.

  2. Question 2. An enterprise wants each Wi-Fi user to authenticate with their own directory credentials. What should it configure?

    1. WPA3-Personal with a long shared passphrase
    2. An open network with a captive portal
    3. WPA3-Enterprise with 802.1X and a RADIUS server
    4. WPS push-button pairing on each access point
    Show answer

    Answer: C. WPA3-Enterprise with 802.1X and a RADIUS server

    Enterprise mode authenticates each user individually through RADIUS, so access can be revoked per user.

  3. Question 3. Before deploying access points, a team measures signal strength across the building to find coverage gaps. What is this?

    1. A war driving exercise
    2. A site survey producing a heat map
    3. A penetration test
    4. A packet capture
    Show answer

    Answer: B. A site survey producing a heat map

    A site survey maps coverage and interference so access points can be placed well and signal leakage limited.

  4. Question 4. Which deployment model has the company buy and own the phone but allows reasonable personal use?

    1. BYOD (bring your own device)
    2. CYOD (choose your own device)
    3. COPE (corporate-owned, personally enabled)
    4. VDI (virtual desktop infrastructure)
    Show answer

    Answer: C. COPE (corporate-owned, personally enabled)

    COPE gives the company full ownership and control while allowing personal use. With BYOD the employee owns the device.

  5. Question 5. Which tool lets IT enforce passcodes, push apps, and remotely wipe company phones?

    1. Mobile device management (MDM)
    2. A web application firewall
    3. A SIEM
    4. A network tap
    Show answer

    Answer: A. Mobile device management (MDM)

    MDM centrally manages mobile device policies, apps, and security actions such as remote wipe.

  6. Question 6. A developer marks session cookies with the Secure and HttpOnly attributes. What does HttpOnly prevent?

    1. Client-side scripts reading the cookie
    2. The cookie being sent over HTTP instead of HTTPS
    3. The cookie being sent to other domains
    4. The cookie expiring when the browser closes
    Show answer

    Answer: A. Client-side scripts reading the cookie

    HttpOnly blocks JavaScript access, reducing cookie theft through XSS. Secure ensures the cookie is sent only over HTTPS.

  7. Question 7. A team wants to find flaws that only appear at runtime, such as authentication bypasses, by probing its staging web app from the outside. Which method fits?

    1. Static application security testing (SAST)
    2. Software composition analysis only
    3. Dynamic application security testing (DAST)
    4. Manual review of design documents
    Show answer

    Answer: C. Dynamic application security testing (DAST)

    DAST exercises the running application like an attacker would. SAST reviews source code without running it.

  8. Question 8. Why do vendors digitally sign their software packages?

    1. So the software runs faster after installation
    2. So the code cannot be reverse engineered
    3. So the software needs no further updates
    4. So users can verify the publisher and that the code hasn't been altered
    Show answer

    Answer: D. So users can verify the publisher and that the code hasn't been altered

    Code signing provides authenticity and integrity. It doesn't prove the code is free of vulnerabilities.

  9. Question 9. A security analyst opens a suspicious attachment in an isolated environment to observe its behavior. What is this environment called?

    1. A honeynet
    2. A DMZ
    3. A VLAN trunk
    4. A sandbox
    Show answer

    Answer: D. A sandbox

    A sandbox isolates untrusted code so its behavior can be observed without risking production systems.

  10. Question 10. Before disposing of old hard drives that held sensitive data, what should a company do?

    1. Delete the files and then empty the recycle bin
    2. Reformat the drives using a quick format
    3. Sanitize or destroy them, with a certificate of destruction
    4. Remove the asset labels and send them for recycling
    Show answer

    Answer: C. Sanitize or destroy them, with a certificate of destruction

    Deleting or quick formatting leaves data recoverable. Sanitization or physical destruction, with documentation, is required.

  11. Question 11. Why is an accurate asset inventory important to security?

    1. It replaces the need for vulnerability scanning
    2. You can't protect, patch, or monitor assets you don't know about
    3. It lets users install software without approval
    4. It allows backups to be skipped for small assets
    Show answer

    Answer: B. You can't protect, patch, or monitor assets you don't know about

    Asset inventory underpins vulnerability management, monitoring, and incident response.

  12. Question 12. A vulnerability scan reports a flaw, but manual checking shows the patch is installed. What is this?

    1. A false negative
    2. A true positive
    3. A false positive
    4. A true negative
    Show answer

    Answer: C. A false positive

    A false positive reports a problem that doesn't exist. A false negative misses a real problem.

  13. Question 13. Which is the MOST dangerous outcome of vulnerability scanning?

    1. A false positive, because it takes time to verify
    2. A true positive, because it must be fixed
    3. A false negative, because a real vulnerability goes unnoticed
    4. A true negative, because nothing is reported
    Show answer

    Answer: C. A false negative, because a real vulnerability goes unnoticed

    False negatives give false assurance. Credentialed scans and multiple methods help reduce them.

  14. Question 14. A scanner reports a flaw with a base score of 9.8 and the vector AV:N/AC:L/PR:N/UI:N. What does this vector indicate?

    1. It is remotely exploitable over the network, easily, with no privileges or user action
    2. It requires physical access and administrator rights to exploit
    3. It affects only availability and cannot leak any data
    4. It has already been patched by the vendor
    Show answer

    Answer: A. It is remotely exploitable over the network, easily, with no privileges or user action

    In a CVSS vector, AV:N means network attack vector, AC:L low complexity, PR:N no privileges required, and UI:N no user interaction.

  15. Question 15. What does a CVE identifier provide?

    1. A unique, public name for a specific known vulnerability
    2. A severity score for each vulnerability
    3. A patch for the affected software
    4. A list of attackers exploiting the flaw
    Show answer

    Answer: A. A unique, public name for a specific known vulnerability

    CVE IDs let tools and teams refer to the same vulnerability consistently.

  16. Question 16. Why might a vulnerability with a CVSS score of 7.5 be fixed before one with a score of 9.0?

    1. Lower scores are always fixed first by convention
    2. The 9.0 score means the vulnerability is theoretical
    3. CVSS scores are random and should be ignored
    4. It is on an internet-facing system and is being actively exploited
    Show answer

    Answer: D. It is on an internet-facing system and is being actively exploited

    Prioritization should consider exposure, asset value, and active exploitation, not only the base score.

  17. Question 17. After applying a patch, what should the team do to confirm remediation?

    1. Close the ticket without further checks
    2. Rescan to validate the vulnerability is resolved
    3. Disable the vulnerability scanner for that host
    4. Increase the CVSS score of the vulnerability
    Show answer

    Answer: B. Rescan to validate the vulnerability is resolved

    Validation, usually by rescanning, confirms the fix worked and nothing was missed.

  18. Question 18. Which type of scan logs in to hosts to check installed software and configuration more accurately?

    1. A non-credentialed scan
    2. A ping sweep
    3. A credentialed scan
    4. A banner grab
    Show answer

    Answer: C. A credentialed scan

    Credentialed scans see inside the system, finding more issues and fewer false positives than external-only scans.

  19. Question 19. A company pays outside researchers for responsibly reported vulnerabilities in its website. What is this program?

    1. A red team exercise
    2. A tabletop exercise
    3. A bug bounty program
    4. A threat feed subscription
    Show answer

    Answer: C. A bug bounty program

    Bug bounties reward external researchers for finding and reporting flaws under agreed rules.

  20. Question 20. Which source of threat intelligence uses publicly available information such as news, forums, and social media?

    1. Proprietary threat feeds
    2. Dark web purchases only
    3. OSINT
    4. Internal incident data only
    Show answer

    Answer: C. OSINT

    Open-source intelligence is freely available information collected and analyzed for security purposes.

  21. Question 21. What is the main purpose of a SIEM?

    1. Block malicious traffic at the network perimeter
    2. Encrypt sensitive data stored in databases
    3. Manage mobile devices and their installed apps
    4. Correlate logs from many sources to detect threats
    Show answer

    Answer: D. Correlate logs from many sources to detect threats

    A SIEM collects, normalizes, and correlates events across the environment for detection, investigation, and reporting.

  22. Question 22. Which protocol lets network devices send unsolicited alerts, called traps, to a management station?

    1. NetFlow
    2. SNMP
    3. Syslog over TLS only
    4. LDAP
    Show answer

    Answer: B. SNMP

    SNMP traps notify a manager of events such as interface failures. SNMPv3 adds authentication and encryption.

  23. Question 23. Which data source shows who talked to whom, when, and how much, without capturing full packet contents?

    1. Full packet captures
    2. NetFlow records
    3. Endpoint antivirus logs
    4. Application error logs
    Show answer

    Answer: B. NetFlow records

    NetFlow summarizes traffic flows, which is useful for spotting unusual connections and data volumes.

  24. Question 24. Which email authentication standard lists the servers allowed to send mail for a domain?

    1. DKIM
    2. SPF
    3. DMARC
    4. S/MIME
    Show answer

    Answer: B. SPF

    Sender Policy Framework is a DNS record listing authorized sending servers.

  25. Question 25. Which email mechanism adds a cryptographic signature to messages so recipients can verify they weren't altered?

    1. DKIM
    2. SPF
    3. MX records
    4. POP3
    Show answer

    Answer: A. DKIM

    DomainKeys Identified Mail signs messages with a key published in DNS.

  26. Question 26. Which email standard tells receiving servers what to do when SPF and DKIM checks fail and sends reports to the domain owner?

    1. DKIM
    2. SPF
    3. SMTP AUTH
    4. DMARC
    Show answer

    Answer: D. DMARC

    DMARC sets a policy (none, quarantine, or reject) and provides reporting, building on SPF and DKIM alignment.

  27. Question 27. Which tool alerts when critical system files are changed unexpectedly?

    1. Data loss prevention (DLP)
    2. File integrity monitoring (FIM)
    3. A web proxy
    4. A load balancer
    Show answer

    Answer: B. File integrity monitoring (FIM)

    FIM compares files against known-good hashes and reports changes.

  28. Question 28. A company wants to stop employees from emailing spreadsheets that contain customer card numbers. What should it deploy?

    1. File integrity monitoring
    2. Network access control
    3. A honeypot
    4. Data loss prevention (DLP)
    Show answer

    Answer: D. Data loss prevention (DLP)

    DLP inspects content leaving the organization and can block or alert on sensitive data.

  29. Question 29. Which capability checks a device's patch level and antivirus status before allowing it onto the network?

    1. Network access control (NAC) posture checks
    2. DNS filtering with a threat feed
    3. A web application firewall
    4. Port address translation on the router
    Show answer

    Answer: A. Network access control (NAC) posture checks

    NAC evaluates devices against policy and can quarantine non-compliant ones.

  30. Question 30. How does EDR improve on traditional signature-based antivirus?

    1. It relies only on a list of known file hashes
    2. It records endpoint behavior and supports investigation and response
    3. It works only on network devices, not endpoints
    4. It replaces the need for any security logs
    Show answer

    Answer: B. It records endpoint behavior and supports investigation and response

    EDR monitors behavior, detects suspicious activity, and gives responders tools to isolate hosts and investigate.

  31. Question 31. Which capability builds a baseline of normal user behavior and alerts on deviations such as unusual download volumes?

    1. User behavior analytics (UBA)
    2. Static code analysis
    3. DNS sinkholing
    4. Port security
    Show answer

    Answer: A. User behavior analytics (UBA)

    UBA (or UEBA) uses baselines and analytics to detect insider threats and compromised accounts.

  32. Question 32. A company blocks access to known malicious domains by refusing to resolve them. What is this?

    1. Geofencing
    2. Load balancing
    3. DNS filtering
    4. Port forwarding
    Show answer

    Answer: C. DNS filtering

    DNS filtering stops connections to bad domains before they start, across all applications.

  33. Question 33. Which access control model lets data owners decide who can access their files?

    1. Mandatory access control (MAC)
    2. Rule-based access control
    3. Discretionary access control (DAC)
    4. Attribute-based access control
    Show answer

    Answer: C. Discretionary access control (DAC)

    In DAC, owners set permissions. MAC uses system-enforced labels and clearances.

  34. Question 34. A military system assigns classification labels to data and clearances to users, and the system enforces access. Which model is this?

    1. Mandatory access control (MAC)
    2. Discretionary access control (DAC)
    3. Role-based access control (RBAC)
    4. Time-of-day restrictions
    Show answer

    Answer: A. Mandatory access control (MAC)

    MAC enforces access based on labels and clearances that users can't change.

  35. Question 35. Access is granted only if the user is in the finance department, using a managed device, during business hours. Which model is this?

    1. Discretionary access control (DAC)
    2. Mandatory access control (MAC)
    3. Attribute-based access control (ABAC)
    4. Role-based access control (RBAC) only
    Show answer

    Answer: C. Attribute-based access control (ABAC)

    ABAC evaluates multiple attributes of the user, resource, and environment in its policies.

  36. Question 36. Which authentication factor type is a fingerprint?

    1. Something you know
    2. Something you have
    3. Something you are
    4. Somewhere you are
    Show answer

    Answer: C. Something you are

    Biometrics are inherence factors. Passwords are knowledge factors and tokens are possession factors.

  37. Question 37. Which combination is true multifactor authentication?

    1. A password and a code from an authenticator app
    2. A password and a security question
    3. A PIN and a password
    4. Two different passwords
    Show answer

    Answer: A. A password and a code from an authenticator app

    MFA requires factors from different categories. A password and security question are both "something you know".

  38. Question 38. Which protocol lets a user sign in once to an identity provider and access many web applications through XML assertions?

    1. LDAP
    2. SAML
    3. Kerberos only
    4. RADIUS
    Show answer

    Answer: B. SAML

    SAML exchanges authentication assertions between an identity provider and service providers for web SSO.

  39. Question 39. A mobile app asks for permission to read a user's calendar from another service without receiving the user's password. Which standard is used?

    1. SAML 1.1
    2. OAuth 2.0
    3. NTLM
    4. TACACS+
    Show answer

    Answer: B. OAuth 2.0

    OAuth is an authorization framework that issues access tokens with limited scope.

  40. Question 40. Which privileged access management practice grants admin rights only for the time needed to complete a task?

    1. Permanent standing privileges
    2. Just-in-time access
    3. Shared administrator accounts
    4. Password reuse across systems
    Show answer

    Answer: B. Just-in-time access

    JIT access reduces standing privilege, limiting what an attacker can use if an account is compromised.

  41. Question 41. Where should a company store and rotate privileged account passwords for servers?

    1. In a password vault within a PAM solution
    2. In a shared spreadsheet on the file server
    3. In each administrator's browser
    4. Written inside the server rack
    Show answer

    Answer: A. In a password vault within a PAM solution

    A PAM vault controls, audits, and rotates privileged credentials.

  42. Question 42. What is the purpose of identity proofing during account creation?

    1. Setting the maximum password length for the account
    2. Assigning the account to a VLAN
    3. Verifying that people are who they claim to be before issuing credentials
    4. Encrypting the user's home directory
    Show answer

    Answer: C. Verifying that people are who they claim to be before issuing credentials

    Identity proofing checks documents or other evidence before an identity is provisioned.

  43. Question 43. Why should organizations regularly perform access reviews (attestation)?

    1. To reset every user's password each month
    2. To remove permissions users no longer need, preventing privilege creep
    3. To increase the number of users with admin rights
    4. To replace multifactor authentication
    Show answer

    Answer: B. To remove permissions users no longer need, preventing privilege creep

    Periodic reviews catch accumulated or orphaned access, supporting least privilege.

  44. Question 44. Which benefit is MOST associated with security automation and orchestration?

    1. Removal of the need for any security staff
    2. Faster, consistent responses to routine events
    3. Guaranteed prevention of all incidents
    4. Elimination of the need for logging
    Show answer

    Answer: B. Faster, consistent responses to routine events

    Automation speeds up repetitive tasks and enforces consistency, freeing analysts for complex work.

  45. Question 45. What is a key risk to consider before automating a security process?

    1. Automation always increases the number of alerts
    2. Automated processes cannot be documented
    3. Automation prevents integration with other tools
    4. A flawed script can cause widespread damage or outages quickly
    Show answer

    Answer: D. A flawed script can cause widespread damage or outages quickly

    Automation adds complexity and can become a single point of failure. Testing and oversight are needed.

  46. Question 46. What is the correct order of the incident response process?

    1. Detection, preparation, recovery, analysis, containment, lessons learned, eradication
    2. Containment, detection, preparation, eradication, analysis, recovery, lessons learned
    3. Preparation, detection, analysis, containment, eradication, recovery, lessons learned
    4. Analysis, containment, preparation, detection, recovery, eradication, lessons learned
    Show answer

    Answer: C. Preparation, detection, analysis, containment, eradication, recovery, lessons learned

    Preparation comes first and lessons learned last. Containment happens before eradication and recovery.

  47. Question 47. A compromised laptop is disconnected from the network but left powered on. Which incident response phase is this?

    1. Eradication
    2. Containment
    3. Recovery
    4. Lessons learned
    Show answer

    Answer: B. Containment

    Containment limits the spread. Keeping the device on preserves memory evidence for analysis.

  48. Question 48. During which incident response phase is malware removed and the exploited vulnerability fixed?

    1. Containment
    2. Preparation
    3. Eradication
    4. Detection
    Show answer

    Answer: C. Eradication

    Eradication eliminates the cause of the incident before systems are restored in recovery.

  49. Question 49. What is the main purpose of the lessons learned phase?

    1. Improve controls and procedures based on what happened
    2. Assign blame to the employee who clicked a link
    3. Delete all evidence from the incident
    4. Restore systems from backup
    Show answer

    Answer: A. Improve controls and procedures based on what happened

    A blameless review identifies improvements to prevent recurrence and speed up future responses.

  50. Question 50. Analysts proactively search logs for signs of an attacker that existing alerts have not detected. What is this activity?

    1. Vulnerability scanning
    2. Penetration testing
    3. Change management
    4. Threat hunting
    Show answer

    Answer: D. Threat hunting

    Threat hunting assumes a possible breach and looks for evidence that automated detection missed.

  51. Question 51. What does chain of custody document?

    1. The steps an attacker took during the incident
    2. Every person who handled evidence, when, and why
    3. The order in which systems are restored
    4. The list of patches applied after the incident
    Show answer

    Answer: B. Every person who handled evidence, when, and why

    Chain of custody shows evidence integrity, which is essential for legal proceedings.

  52. Question 52. Which evidence should be collected FIRST, according to the order of volatility?

    1. The hard disk's contents
    2. Archived backup tapes
    3. Printed copies of log reports
    4. CPU registers, cache, and RAM
    Show answer

    Answer: D. CPU registers, cache, and RAM

    The most volatile data disappears first, so it's collected first. Disk and archives persist longer.

  53. Question 53. Legal counsel instructs IT to preserve all email for a lawsuit and suspend normal deletion. What is this called?

    1. Data sanitization
    2. Data retention expiry
    3. A legal hold
    4. A right to be forgotten request
    Show answer

    Answer: C. A legal hold

    A legal hold overrides normal retention and deletion to preserve relevant data.

  54. Question 54. Why do forensic analysts create a bit-for-bit image of a drive and hash it?

    1. To speed up the suspect computer for analysis
    2. To analyze a copy while proving the original evidence is unchanged
    3. To encrypt the evidence for long-term storage
    4. To delete sensitive data from the original drive
    Show answer

    Answer: B. To analyze a copy while proving the original evidence is unchanged

    Working on a verified copy preserves the original, and matching hashes prove integrity.

  55. Question 55. Which data source is MOST useful to see exactly what content was sent in a suspicious network session?

    1. A full packet capture
    2. A NetFlow summary
    3. A firewall allow log entry
    4. A DHCP lease table
    Show answer

    Answer: A. A full packet capture

    Packet captures contain full payloads, allowing detailed analysis of what was transmitted.

  56. Question 56. What does root cause analysis aim to identify after an incident?

    1. The underlying reason the incident happened, so it can be prevented
    2. The name of the attacker for public disclosure
    3. The fastest way to restore from backup
    4. The cost of the incident to the nearest dollar
    Show answer

    Answer: A. The underlying reason the incident happened, so it can be prevented

    Fixing the root cause, not just the symptoms, prevents recurrence.

CompTIA and Security+ are trademarks or registered trademarks of CompTIA, Inc. These questions are original study material, not questions from the real exam.