300 scenario-based Security+ practice questions aligned to the SY0-701 exam objectives. Cover threats, vulnerabilities, architecture, operations, and governance to earn your CompTIA Security+ certification.
Try your first 25 questions free. Continue with a paid plan.
CIA triad, zero trust, defense in depth, and security control categories
Malware types, social engineering, application attacks, and threat intelligence
Network segmentation, secure protocols, cloud security, and infrastructure design
Monitoring, incident response, digital forensics, and log management
Risk management, governance frameworks, compliance, and security policies
Symmetric/asymmetric encryption, hashing, PKI, certificates, and key management
Authentication methods, MFA, SSO, federation, and access control models
Firewalls, IDS/IPS, VPNs, NAC, and wireless security protocols
IR planning, containment, eradication, recovery, and lessons learned
Regulations (GDPR, HIPAA, PCI-DSS), audits, and security awareness training
Spear phishing is a targeted phishing attack directed at a specific individual or organization. Unlike generic phishing, spear phishing uses personalized content (in this case, targeting the CFO specifically) and often includes weaponized attachments. The use of a zero-day exploit makes this a sophisticated attack. A watering hole compromises websites the target visits; vishing uses voice calls; pharming redirects DNS traffic to malicious sites.
Zero trust is a security framework based on the principle of "never trust, always verify." It requires continuous verification of every user, device, and network flow regardless of location. Key components include micro-segmentation, least-privilege access, multi-factor authentication, and continuous monitoring. Unlike traditional perimeter-based security, zero trust assumes the network is already compromised and verifies every access request.
SQL injection occurs when an attacker inserts malicious SQL code into input fields that are incorporated into database queries without proper sanitization or parameterization. The payload ' OR '1'='1' -- modifies the WHERE clause to always evaluate as true, potentially returning all records. The -- comments out the rest of the query. Prevention includes using parameterized queries (prepared statements), input validation, and stored procedures.
This represents a failure in the identity lifecycle management process, specifically the offboarding/deprovisioning phase. When employees leave an organization, their accounts should be immediately disabled or deleted as part of a formal offboarding procedure. Active accounts for former employees create a significant security risk as they could be used for unauthorized access. This is addressed through proper HR-IT integration, automated deprovisioning workflows, and regular access reviews.
This is a hybrid encryption approach (also called envelope encryption). The data is encrypted with a fast symmetric key (e.g., AES), and then that symmetric key is encrypted separately with each authorized user's public key. Each user can decrypt the symmetric key with their private key and then decrypt the data. This is efficient because the large data is encrypted only once, and key distribution is managed through PKI. Hashing is one-way and does not allow decryption.
Password spraying targets multiple accounts with a few commonly used passwords, attempting to avoid account lockout thresholds. Unlike brute force (which targets one account with many passwords) or credential stuffing (which uses stolen username/password pairs from breaches), password spraying distributes attempts across many accounts. Defenses include implementing MFA, monitoring for distributed login failures, using account lockout policies, and enforcing strong password requirements.
Recovery Point Objective (RPO) defines the maximum acceptable amount of data loss measured in time. An RPO of 4 hours means backups must be performed at least every 4 hours. RTO is the maximum acceptable time to restore service after a disruption. MTTR is the average time to repair a failed component. MTD is the maximum total time a business function can be unavailable. RPO directly drives backup frequency and replication strategy decisions.
File integrity monitoring (FIM) uses cryptographic hashing (such as SHA-256) to create a unique fingerprint of a file. By comparing the current hash against a known-good baseline hash, any modification to the file will be detected because even a single bit change produces a completely different hash value. This is a core integrity verification technique. Tools like AIDE, Tripwire, and OSSEC automate this process across filesystems.
Separation of duties (SoD) ensures that no single individual has complete control over a critical process. By requiring different administrators to create accounts and assign privileges, the organization prevents a single compromised or malicious administrator from creating unauthorized privileged accounts. This is a key detective and preventive control in governance frameworks. Least privilege limits access to the minimum needed; need to know restricts information access; mandatory access control uses classification labels.
In Platform as a Service (PaaS), the cloud provider manages the infrastructure, operating system, and runtime environment, including patching and physical security. The customer is responsible for the application code, data, and user access management. In IaaS, the customer manages the OS and everything above it. In SaaS, the provider manages nearly everything. Understanding the shared responsibility model for each cloud service model is essential for the Security+ exam and real-world cloud security.
Access all 300 Security+ practice questions with detailed explanations.
Start ExamWe offer 300 CompTIA Security+ practice questions aligned to the SY0-701 exam objectives, covering all five domains with scenario-based questions similar to those on the actual exam.
Your first 25 questions are free. Continue beyond 25 questions with a paid plan.
The test covers all SY0-701 domains: general security concepts, threats and vulnerabilities, security architecture, security operations, and security program management and oversight, including cryptography, IAM, network security, incident response, and compliance.
The Security+ SY0-701 exam has a maximum of 90 questions (multiple choice and performance-based) with a 90-minute time limit. A passing score is 750 on a scale of 100-900. Our practice questions include both knowledge-based and scenario-based formats to prepare you for the actual exam experience.
Register for the SY0-701 through CompTIA, or get Darril Gibson's top-rated study guide.
Register for Exam View Study Guides