Skip to content
Zurück zu den Lernmaterialien

50 Free CompTIA Security+ Practice Questions (SY0-701)

29. Juli 2026~17 min read

Preparing for the CompTIA Security+ certification? These 50 free practice questions cover all five domains of the SY0-701 exam.


Domain 1: General Security Concepts (Questions 1–12)

Question 1

What does "Confidentiality" in the CIA triad protect against?

a) Data modification by unauthorized parties
b) Unauthorized disclosure of data
c) Data becoming unavailable
d) Physical theft of devices

Show Answer

Answer: b) Unauthorized disclosure of data

Explanation: Confidentiality ensures that data is not disclosed to unauthorized parties. This is achieved through encryption, access controls, and data classification.

Question 2

Which authentication factor uses something the user has?

a) Password
b) Smart card
c) Fingerprint
d) PIN

Show Answer

Answer: b) Smart card

Explanation: Something you have factors include physical devices like smart cards, hardware tokens, or mobile phones used for authentication (e.g., receiving an SMS code).

Question 3

What is the Zero Trust security model?

a) Trust no one inside or outside the network; verify all requests
b) Trust everyone inside the network
c) Trust only administrators
d) Trust but verify

Show Answer

Answer: a) Trust no one inside or outside the network; verify all requests

Explanation: Zero Trust assumes no implicit trust based on network location. Every access request must be authenticated, authorized, and encrypted regardless of origin (internal or external).

Question 4

Which of the following is an example of defense in depth?

a) Using only a firewall for security
b) Implementing firewalls, antivirus, MFA, and encryption together
c) Relying on a single security solution
d) Disabling all security features

Show Answer

Answer: b) Implementing firewalls, antivirus, MFA, and encryption together

Explanation: Defense in depth uses multiple layers of security controls (administrative, technical, physical) so that if one layer fails, others still provide protection.

Question 5

Which type of cryptography uses the same key for encryption and decryption?

a) Asymmetric
b) Symmetric
c) Hashing
d) Elliptic curve

Show Answer

Answer: b) Symmetric

Explanation: Symmetric encryption uses a single shared key for both encryption and decryption (e.g., AES). Asymmetric uses public/private key pairs (e.g., RSA).

Question 6

What is the role of a hash function in cybersecurity?

a) Encrypting data
b) Ensuring data integrity by producing a fixed-size digest
c) Compressing data
d) Authenticating users

Show Answer

Answer: b) Ensuring data integrity by producing a fixed-size digest

Explanation: Hash functions (SHA-256, MD5) produce a fixed-size digest from input data. Any change in the input produces a different hash, making hashes useful for verifying data integrity.

Question 7

Which of the following is an example of a biometric authentication factor?

a) Password
b) Fingerprint
c) Smart card
d) Security token

Show Answer

Answer: b) Fingerprint

Explanation: Biometrics (fingerprint, retina scan, facial recognition, voice recognition) fall under "something you are" authentication factors.

Question 8

What is the primary purpose of Multi-Factor Authentication (MFA)?

a) Making passwords obsolete
b) Adding an extra layer of security beyond just a password
c) Speeding up login
d) Replacing all passwords

Show Answer

Answer: b) Adding an extra layer of security beyond just a password

Explanation: MFA requires two or more factors from different categories (knowledge, possession, inherence) to authenticate, significantly reducing the risk of credential compromise.

Question 9

What does "non-repudiation" mean in cybersecurity?

a) A user cannot be identified
b) A user cannot deny having performed an action
c) A user can deny their actions
d) A user cannot access the system

Show Answer

Answer: b) A user cannot deny having performed an action

Explanation: Non-repudiation ensures that someone cannot deny having performed a specific action (like signing a document or sending an email). Digital signatures provide non-repudiation.

Question 10

Which type of access control uses predefined rules based on subject and object labels?

a) Discretionary Access Control (DAC)
b) Mandatory Access Control (MAC)
c) Role-Based Access Control (RBAC)
d) Attribute-Based Access Control (ABAC)

Show Answer

Answer: b) Mandatory Access Control (MAC)

Explanation: MAC uses labels assigned to subjects (users) and objects (files) to control access based on security classification (e.g., Top Secret, Secret, Confidential). Users cannot override these rules.

Question 11

Which cryptographic algorithm is currently recommended for encrypting data at rest?

a) DES
b) 3DES
c) AES-256
d) RC4

Show Answer

Answer: c) AES-256

Explanation: AES-256 (Advanced Encryption Standard with 256-bit keys) is the industry standard for symmetric encryption. DES and 3DES are deprecated, and RC4 is considered insecure.

Question 12

What is the difference between identification and authentication?

a) They are the same
b) Identification is claiming an identity; authentication is proving it
c) Authentication is claiming; identification is proving
d) Both are optional

Show Answer

Answer: b) Identification is claiming an identity; authentication is proving it

Explanation: Identification is when a user claims an identity (e.g., "I am John"). Authentication is verifying that claim (e.g., providing a password to prove you are John).


Domain 2: Threats, Vulnerabilities & Mitigations (Questions 13–24)

Question 13

Which type of malware encrypts files and demands payment for decryption?

a) Virus
b) Worm
c) Ransomware
d) Trojan

Show Answer

Answer: c) Ransomware

Explanation: Ransomware encrypts the victim's files and demands a ransom payment (typically in cryptocurrency) to provide the decryption key.

Question 14

What is a man-in-the-middle (MITM) attack?

a) An attack where the attacker intercepts communication between two parties b) An attack that exploits SQL injection c) An attack that overwhelms a server with traffic d) An attack that steals physical devices

Show Answer

Answer: a) An attack where the attacker intercepts communication between two parties

Explanation: In a MITM attack, the attacker secretly relays and potentially alters communication between two parties who believe they're directly communicating with each other.

Question 15

Which attack exploits unsanitized user input in web applications to execute SQL commands?

a) XSS
b) CSRF
c) SQL Injection
d) Buffer overflow

Show Answer

Answer: c) SQL Injection

Explanation: SQL injection occurs when an attacker inserts malicious SQL statements into input fields (like login forms). Mitigated by parameterized queries and input validation.

Question 16

What is a DDoS attack?

a) An attack that accesses unauthorized files
b) An attack that overwhelms a target with traffic from multiple sources
c) An attack that steals passwords
d) An attack that installs malware

Show Answer

Answer: b) An attack that overwhelms a target with traffic from multiple sources

Explanation: A Distributed Denial of Service (DDoS) attack floods a target (server, network, application) with traffic from many distributed sources, making it unavailable to legitimate users.

Question 17

Which social engineering technique involves creating a sense of urgency or fear?

a) Phishing
b) Pretexting
c) Tailgating
d) Baiting

Show Answer

Answer: a) Phishing

Explanation: Phishing often creates urgency or fear (e.g., "Your account has been compromised, click here to reset your password") to trick victims into revealing sensitive information.

Question 18

What is the purpose of vulnerability scanning?

a) Actively exploiting vulnerabilities
b) Identifying potential security weaknesses without exploiting them
c) Patching systems
d) Monitoring network traffic

Show Answer

Answer: b) Identifying potential security weaknesses without exploiting them

Explanation: Vulnerability scanning automatically checks systems for known vulnerabilities (missing patches, misconfigurations, weak passwords) without causing damage. It's non-intrusive.

Question 19

Which type of attack exploits a previously unknown vulnerability?

a) Zero-day
b) Brute force
c) Dictionary attack
d) Watering hole

Show Answer

Answer: a) Zero-day

Explanation: A zero-day exploit targets a vulnerability that is unknown to the software vendor and has no available patch. These are the most dangerous as there is no defense available.

Question 20

What is the difference between a virus and a worm?

a) Viruses require human action to spread; worms self-replicate
b) Worms require human action; viruses self-replicate
c) There is no difference
d) Viruses are more dangerous than worms

Show Answer

Answer: a) Viruses require human action to spread; worms self-replicate

Explanation: Viruses need user action (opening a file, running a program) to spread. Worms self-replicate and spread automatically across networks without user interaction.

Question 21

What is cross-site scripting (XSS)?

a) Injecting malicious scripts into trusted websites
b) Scripting network configurations
c) Cross-platform scripting
d) Scripting SQL commands

Show Answer

Answer: a) Injecting malicious scripts into trusted websites

Explanation: XSS attacks inject malicious client-side scripts (usually JavaScript) into web pages viewed by other users. Mitigated by output encoding, CSP headers, and input validation.

Question 22

Which attack uses fraudulent phone calls to obtain sensitive information?

a) Phishing
b) Vishing
c) Smishing
d) Whaling

Show Answer

Answer: b) Vishing

Explanation: Vishing (voice phishing) uses phone calls to trick victims into revealing sensitive information. Smishing uses SMS/text messages, and whaling targets high-profile executives.

Question 23

What is a buffer overflow attack?

a) Writing more data to a buffer than it can hold, causing adjacent memory to be overwritten
b) Overflowing a network buffer
c) Filling up disk space
d) Overwhelming a CPU

Show Answer

Answer: a) Writing more data to a buffer than it can hold, causing adjacent memory to be overwritten

Explanation: Buffer overflow occurs when a program writes more data to a fixed-size buffer than it can hold. This can overwrite adjacent memory and enable code execution.

Question 24

Which method is most effective at preventing malware infections?

a) Antivirus software only
b) Application whitelisting combined with user training and updates
c) Disabling the internet
d) Using only open-source software

Show Answer

Answer: b) Application whitelisting combined with user training and updates

Explanation: Defense against malware requires multiple layers: application whitelisting (only approved software can run), regular patching, security awareness training, and antivirus.


Domain 3: Security Architecture (Questions 25–34)

Question 25

What is the purpose of a firewall?

a) Encrypting network traffic
b) Filtering network traffic based on rules
c) Managing passwords
d) Storing logs

Show Answer

Answer: b) Filtering network traffic based on rules

Explanation: A firewall filters incoming and outgoing network traffic based on predetermined security rules. It can be network-based (hardware) or host-based (software).

Question 26

What is the difference between IDS and IPS?

a) IDS detects intrusions; IPS detects and prevents intrusions in real-time
b) IDS prevents; IPS detects
c) They are the same
d) IDS is hardware; IPS is software

Show Answer

Answer: a) IDS detects intrusions; IPS detects and prevents intrusions in real-time

Explanation: IDS (Intrusion Detection System) monitors and alerts on suspicious activity. IPS (Intrusion Prevention System) monitors, alerts, and actively blocks detected threats in real-time.

Question 27

Which network segmentation technique isolates different network zones using VLANs?

a) Physical segmentation
b) Logical segmentation (VLAN)
c) Cloud segmentation
d) Air gapping

Show Answer

Answer: b) Logical segmentation (VLAN)

Explanation: VLANs (Virtual Local Area Networks) logically segment networks on the same physical switch, isolating traffic between different zones (e.g., DMZ, internal, guest).

Question 28

What is a DMZ in network security?

a) A demilitarized zone — a network segment that exposes external-facing services
b) A data management zone
c) A device management zone
d) A dark monitoring zone

Show Answer

Answer: a) A demilitarized zone — a network segment that exposes external-facing services

Explanation: A DMZ is a network segment that sits between the internet and the internal network, hosting public-facing services (web servers, mail servers) to isolate them from internal resources.

Question 29

Which cloud service model gives the customer the most control over the operating system and applications?

a) SaaS
b) PaaS
c) IaaS
d) DaaS

Show Answer

Answer: c) IaaS

Explanation: IaaS provides virtualized computing resources (VMs, storage, networking) where customers manage the OS, middleware, runtime, data, and applications — giving them the most control.

Question 30

What is a CASB (Cloud Access Security Broker)?

a) A tool for managing cloud costs
b) A security tool that sits between cloud users and cloud providers to enforce policies
c) A monitoring tool for on-premises networks
d) A type of cloud storage

Show Answer

Answer: b) A security tool that sits between cloud users and cloud providers to enforce policies

Explanation: A CASB acts as an intermediary between cloud users and cloud providers, enforcing security policies for data visibility, compliance, threat protection, and access control.

Question 31

What is the purpose of a SIEM system?

a) Storing database backups
b) Aggregating and analyzing security logs from multiple sources
c) Managing user accounts
d) Encrypting network traffic

Show Answer

Answer: b) Aggregating and analyzing security logs from multiple sources

Explanation: SIEM (Security Information and Event Management) systems collect, normalize, and analyze logs from multiple sources (firewalls, servers, applications) to detect security incidents.

Question 32

Which technology creates encrypted tunnels for secure communication over the internet?

a) VPN
b) VLAN
c) VPC
d) NACL

Show Answer

Answer: a) VPN

Explanation: VPN (Virtual Private Network) creates an encrypted tunnel between two endpoints (client-to-site or site-to-site), protecting data in transit over public networks.

Question 33

What is a HSM (Hardware Security Module)?

a) A hardware device for managing encryption keys
b) A hardware monitoring tool
c) A type of firewall
d) A storage device

Show Answer

Answer: a) A hardware device for managing encryption keys

Explanation: An HSM is a dedicated hardware device that securely generates, stores, and manages cryptographic keys. HSMs are tamper-resistant and FIPS 140-2/140-3 certified.

Question 34

What is the purpose of a TLS certificate?

a) Authenticating users
b) Encrypting data in transit and verifying server identity
c) Encrypting data at rest
d) Managing passwords

Show Answer

Answer: b) Encrypting data in transit and verifying server identity

Explanation: TLS (Transport Layer Security) certificates enable encrypted communication between clients and servers while also verifying the server's identity through certificate authorities (CAs).


Domain 4: Security Operations (Questions 35–44)

Question 35

What is the first step in the incident response process?

a) Containment
b) Eradication
c) Preparation
d) Identification

Show Answer

Answer: c) Preparation

Explanation: The first phase of the NIST incident response lifecycle is Preparation — having an incident response team, plan, tools, and training ready before an incident occurs.

Question 36

What is the purpose of digital forensics in incident response?

a) Deleting evidence
b) Collecting, preserving, and analyzing evidence for legal proceedings
c) Patching vulnerabilities
d) Restoring systems

Show Answer

Answer: b) Collecting, preserving, and analyzing evidence for legal proceedings

Explanation: Digital forensics involves the proper collection, preservation, analysis, and presentation of digital evidence following chain of custody procedures.

Question 37

What type of backup only copies data that has changed since the last full backup?

a) Full backup
b) Incremental backup
c) Differential backup
d) Mirror backup

Show Answer

Answer: b) Incremental backup

Explanation: Incremental backups copy only data changed since the last backup (full or incremental). They're fast and use minimal storage but require all incremental files for a full restore.

Question 38

What is the 3-2-1 backup rule?

a) 3 backups, 2 different locations, 1 offsite
b) 3 copies, 2 different media types, 1 offsite
c) 3 backups, 2 days, 1 hour
d) 3 copies, 2 locations, 1 day

Show Answer

Answer: b) 3 copies, 2 different media types, 1 offsite

Explanation: The 3-2-1 backup rule: keep three copies of data (1 production + 2 backups) on two different storage media types, with one copy stored offsite.

Question 39

Which type of recovery site has infrastructure ready but requires configuration to go live?

a) Hot site
b) Warm site
c) Cold site
d) Cloud site

Show Answer

Answer: b) Warm site

Explanation: A warm site has partially configured infrastructure (servers are installed but may need configuration, data restoration). RTO is longer than a hot site but shorter than a cold site.

Question 40

What is an RPO (Recovery Point Objective)?

a) Maximum acceptable time to restore operations
b) Maximum acceptable data loss measured in time
c) The cost of recovery
d) The location of backup data

Show Answer

Answer: b) Maximum acceptable data loss measured in time

Explanation: RPO (Recovery Point Objective) is the maximum acceptable amount of data loss measured in time (e.g., 4 hours). It determines backup frequency (more frequent backups = lower RPO).

Question 41

What is an RTO (Recovery Time Objective)?

a) Maximum acceptable time to restore operations
b) Maximum acceptable data loss
c) Time to identify an incident
d) Time to respond to a threat

Show Answer

Answer: a) Maximum acceptable time to restore operations

Explanation: RTO (Recovery Time Objective) is the maximum acceptable time that a service can be unavailable after a disaster before causing unacceptable business impact.

Question 42

Which of the following is a best practice for identity management?

a) Allowing users to share accounts
b) Implementing least privilege and role-based access control
c) Disabling password rotation
d) Using default passwords

Show Answer

Answer: b) Implementing least privilege and role-based access control

Explanation: Identity management best practices include individual accounts, least privilege, role-based access control (RBAC), regular access reviews, and strong password/MFA policies.

Question 43

What is a playbook in security operations?

a) A scripted response for handling specific security incidents
b) A training manual
c) A password manager
d) A firewall rule

Show Answer

Answer: a) A scripted response for handling specific security incidents

Explanation: A playbook documents step-by-step procedures for responding to specific security incidents (phishing, malware, ransomware, DDoS), ensuring consistent and effective response.

Question 44

What is the primary purpose of logging and monitoring?

a) Improving performance
b) Detecting security incidents and investigating issues
c) Reducing costs
d) Managing storage

Show Answer

Answer: b) Detecting security incidents and investigating issues

Explanation: Logging and monitoring enable detection of security incidents, suspicious behavior, and system issues. Effective logging requires centralized aggregation (SIEM) and alerting.


Domain 5: Security Program Management & Oversight (Questions 45–50)

Question 45

What is the difference between a policy and a procedure?

a) Policies define what (rules); procedures define how (step-by-step)
b) Policies define how; procedures define what
c) They are interchangeable
d) Procedures are more important than policies

Show Answer

Answer: a) Policies define what (rules); procedures define how (step-by-step)

Explanation: Security policies are high-level statements of management intent (what must be done). Procedures provide detailed step-by-step instructions (how to comply with policies).

Question 46

What is Business Continuity Planning (BCP)?

a) Planning how to continue operations during and after a disaster
b) Planning for daily operations
c) Planning for network upgrades
d) Planning for staff training

Show Answer

Answer: a) Planning how to continue operations during and after a disaster

Explanation: BCP identifies critical business functions and plans how to maintain them during and after a disruptive event. It focuses on keeping the business running.

Question 47

What is the difference between BCP and DRP?

a) BCP focuses on continuing business operations; DRP focuses on IT recovery
b) BCP focuses on IT recovery; DRP focuses on business operations
c) They are the same
d) DRP is a subset of BCP

Show Answer

Answer: a) BCP focuses on continuing business operations; DRP focuses on IT recovery

Explanation: BCP (Business Continuity Plan) addresses how the entire organization continues critical functions. DRP (Disaster Recovery Plan) focuses specifically on restoring IT systems and data.

Question 48

Which risk management strategy involves purchasing insurance?

a) Avoidance
b) Mitigation
c) Transfer
d) Acceptance

Show Answer

Answer: c) Transfer

Explanation: Risk transfer shifts the financial impact of a risk to a third party (e.g., cyber insurance). The risk still exists but the financial consequences are transferred.

Question 49

What is a vulnerability assessment?

a) Exploiting vulnerabilities
b) Identifying, quantifying, and prioritizing vulnerabilities in a system
c) Installing patches
d) Penetration testing

Show Answer

Answer: b) Identifying, quantifying, and prioritizing vulnerabilities in a system

Explanation: A vulnerability assessment systematically identifies and categorizes security weaknesses in systems, networks, and applications, providing a prioritized list for remediation.

Question 50

What is the difference between vulnerability assessment and penetration testing?

a) Vulnerability assessment identifies vulnerabilities; penetration test exploits them
b) Vulnerability assessment exploits vulnerabilities; penetration test identifies them
c) They are the same
d) Penetration testing is automated; vulnerability assessment is manual

Show Answer

Answer: a) Vulnerability assessment identifies vulnerabilities; penetration test exploits them

Explanation: Vulnerability assessments are automated scans to identify potential vulnerabilities. Penetration testing actively attempts to exploit real vulnerabilities to determine actual risk.


How Did You Score?

  • 0–25 correct: Review the CompTIA Security+ Exam Guide.
  • 26–40 correct: You're on track. Focus on weak areas.
  • 41–50 correct: Ready for the exam!

Access all Security+ practice questions →


Related Articles

Bereit, dein Wissen zu testen?

Probiere unsere Übungsprüfungen mit Hunderten von realistischen Fragen aus.

Üben starten →

This site uses essential cookies for Stripe payments. No tracking cookies.