Skip to content

CompTIA Security+ / Free practice questions

20 free CompTIA Security+ practice questions, explained

A fixed sample from the CompTIA Security+ (SY0-701) course, spread across 1 domains. Choose an answer, check it, and read the full explanation. Your score stays in this page and nothing is saved or submitted.

  • General
CompTIA Security+ free practiceScore 0 / 0 answered · 20 questions

Question 1

General
This setting uses microservices. It needs high availability, data protection, and resilience. Which set of design strategies best meets these needs?

Show the answer and explanation

Correct answer: B. Implement a multi-region active-active deployment with automated failover, enforce encryption at rest using cloud provider-managed keys and in transit via TLS 1.3, and configure cross-region asynchronous replication for RPO compliance.

Option B is correct because it addresses all three core requirements: 1) Multi-region active-active deployment ensures high availability and resilience against regional outages (high availability is listed under SY0-701 objective 3.4); 2) Encrypting data at rest and in transit with strong standards (TLS 1.3) satisfies data protection requirements (data states and encryption are listed under SY0-701 objective 3.3); 3) Cross-region replication supports recovery objectives in a microservices architecture. Option A fails on resilience (single region) and encryption strength. Option C fails on data protection (unencrypted) and availability (single point of failure). Option D fails on availability (slow recovery, single region) and does not address the specific needs of a microservices environment.

Open this question on its own page

Question 2

General
Which document should the CISO present to the auditors? It must best show the risk management process. It must also show governance oversight.

Show the answer and explanation

Correct answer: C. The Risk Register containing identified threats, impact scores, mitigation strategies, and current residual risk status.

The correct answer is C. The Risk Register is the central artifact in the risk management process (the risk register is listed under SY0-701 objective 5.2) used to document identified risks, their assessment (likelihood/impact), the chosen treatment (mitigate, accept, transfer, avoid), and the resulting residual risk. It serves as the primary evidence for auditors that the organization is actively managing risk within its defined risk appetite. While policies (B) establish rules, and vulnerability scans (A) or penetration tests (D) identify specific technical issues, only the Risk Register provides the holistic, governance-level view of risk treatment and decision-making required for this specific audit requirement.

Open this question on its own page

Question 3

General
A security analyst is tasked with implementing a hardening strategy for a new fleet of Windows servers. Which of the following actions best aligns with the principle of 'least functionality' to reduce the attack surface?

Show the answer and explanation

Correct answer: A. Disabling all unnecessary services, ports, and default accounts

The principle of 'least functionality' dictates that systems should only provide essential services and features required for their specific role, directly reducing the attack surface. Disabling unnecessary services, ports, and default accounts removes potential entry points for attackers. NIST SP 800-53 Rev. 5 control CM-7, Least Functionality, is to configure a system to provide only mission-essential capabilities and to prohibit or restrict unneeded functions, ports, protocols, software and services; disabling ports/protocols and removal of unnecessary software are listed among the hardening techniques under SY0-701 objective 2.5.

Open this question on its own page

Question 4

General
Which action best addresses the company's risk management duties? It must also address its compliance duties. Both must be handled before the agreement is finalized.

Show the answer and explanation

Correct answer: C. Require the vendor to complete a comprehensive third-party risk assessment and update the contract with specific Service Level Agreements (SLAs) regarding data protection and incident response.

The correct action is C because effective third-party risk management (5.3) requires a thorough assessment of the vendor's controls before engagement. Additionally, specific SLAs and contractual clauses are essential to enforce compliance with regulations like HIPAA (5.4) and to define acceptable risk levels (5.2). Option A is insufficient as waiting 30 days after a breach violates timely notification requirements. Option B is an overreaction without first attempting to remediate risks through assessment. Option D focuses on the internal environment rather than the specific risk posed by the third party.

Open this question on its own page

Question 5

General
Attackers are active. A zero-day patch is not yet available. Which mitigation should the security team use IMMEDIATELY? It must stop the attackers from reaching the customer database.

Show the answer and explanation

Correct answer: B. Implement network segmentation to isolate the accounting subnet from the database subnet.

The correct answer is B. Since the vulnerability is a zero-day, no patch exists yet (ruling out immediate remediation via patching), and the threat is an external actor moving laterally rather than a specific insider (ruling out D). While EDR is valuable, the most immediate and effective control to stop lateral movement in the absence of a patch is network segmentation. By isolating the compromised segment (accounting) from critical assets (customer database), the attack surface is reduced, and the attacker's ability to traverse the network is blocked. Option A is risky without a known patch, and Option C does not stop lateral movement or network-based attacks.

Open this question on its own page

Question 6

General
Which action is the most appropriate way to protect the server right away? It must also keep the business running.

Show the answer and explanation

Correct answer: B. Deploy a virtual patch (WAF rule or firewall rule) to block the specific exploit vector associated with the known vulnerability while keeping the server online.

The correct answer is B. The scenario presents a conflict between immediate security risk (known unpatched vulnerability) and business continuity (cannot go offline). Option B (virtual patching/compensating control) mitigates the specific threat by blocking the exploit vector via network controls (firewall/WAF) without requiring a reboot or downtime, aligning with vulnerability management and modifying enterprise capabilities (4.3 and 4.5). Option A violates business continuity requirements. Option C is a remediation step that takes too long for an immediate threat. Option D is an investigative step that does not actively mitigate the active risk.

Open this question on its own page

Question 7

General
A cybersecurity analyst detects a series of targeted spear-phishing emails sent to the executive leadership team. The emails contain urgent requests to review a non-disclosure agreement (NDA) and click a link to sign it digitally. The attacker's goal appears to be the theft of sensitive intellectual property to sell to a competitor. Which type of threat actor is MOST likely responsible for this activity?

Show the answer and explanation

Correct answer: D. Organized crime syndicate motivated by financial gain

Organized crime syndicates are primarily motivated by financial gain, often targeting intellectual property or sensitive data to sell to competitors or for ransom. SY0-701 objective 2.1 lists organized crime among threat actors and financial gain among motivations.

Question 8

General
A security architect wants to cut the risk of lateral movement after a breach. The new network design puts Human Resources, Finance, and Engineering in separate logical groups. Strict rules control traffic between the groups. Which mitigation technique is this?

Show the answer and explanation

Correct answer: B. Network segmentation

Network segmentation isolates network traffic into distinct logical groups, such as separating HR, Finance, and Engineering, to strictly control inter-departmental communication. This directly limits an attacker's ability to move laterally across the enterprise network after an initial compromise. Segmentation is listed among the mitigation techniques under SY0-701 objective 2.5.

Question 9

General
During a scheduled maintenance window, a network engineer applies a critical patch to a core router without submitting a change request, citing an urgent need to prevent an outage. The patch causes a configuration conflict that takes the network down for four hours. Which process failure most directly contributed to this incident?

Show the answer and explanation

Correct answer: D. Bypassing the formal change management process

The incident directly resulted from bypassing the formal change management process, which mandates that all modifications undergo review, approval, and testing before implementation to prevent conflicts and outages. Even emergency changes should follow an expedited version of the process, with approval and documentation, to keep accountability and limit risk. Change management is listed under SY0-701 objective 1.3.

Question 10

General
A security admin must set a hardening standard for a new fleet of Linux web servers. Which action best fits the principle of least privilege and configuration management to secure the operating system?

Show the answer and explanation

Correct answer: D. Disabling unnecessary services, removing default accounts, and enforcing strong password policies.

This hardening approach minimizes the attack surface by disabling unused services, removing default accounts to prevent unauthorized access, and enforcing strong authentication, which embodies the principle of least privilege. NIST SP 800-123 lists removing or disabling unnecessary services, removing or disabling unneeded default accounts, and configuring OS user authentication among the steps for securing a server operating system.

Question 11

General
During a disaster recovery test, a company finds a gap. Its backup restoration process takes 48 hours. Its Recovery Time Objective (RTO) is 4 hours. Which strategy would BEST help the company meet its RTO in a future disaster?

Show the answer and explanation

Correct answer: A. Deploying a hot site with real-time data replication

A hot site provides a fully operational duplicate of the production environment with real-time data replication, enabling immediate failover and meeting a strict 4-hour RTO. Of the site options listed under SY0-701 objective 3.4 (hot, warm, cold), only a hot site supports near-zero downtime restoration.

Question 12

General
A security admin reviews the company's security posture. The firewall (a technical control) is set up correctly. But staff rarely lock their screens when they step away, even though policy requires it. Which type of control is the weakest link here?

Show the answer and explanation

Correct answer: A. Operational control

Operational controls are procedures and behaviors executed by people, such as the requirement to lock screens, which rely on human adherence rather than automated enforcement. Since the scenario explicitly states that employees rarely follow this policy, the human element (operational control) represents the weakest link compared to the properly configured technical firewall.

Question 13

General
A company needs to securely exchange a large volume of sensitive data between two servers. They decide to use a method where the same key is used for both encryption and decryption to maximize speed, but they must first establish a secure channel to exchange that key. Which cryptographic solution best fits this description?

Show the answer and explanation

Correct answer: A. Symmetric encryption

Symmetric encryption uses a single shared key for both encryption and decryption, offering high speed ideal for large data volumes. Symmetric and asymmetric encryption and key exchange are listed under SY0-701 objective 1.4. The scenario describes the classic hybrid approach where a secure channel establishes this shared key before bulk data transfer.

Question 14

General
During a security incident, an analyst needs to determine the exact sequence of events leading to a data exfiltration attempt. Which data source would provide the most granular, time-stamped record of network traffic content?

Show the answer and explanation

Correct answer: C. Full packet captures (PCAP)

Full packet captures (PCAP) provide the most granular, time-stamped record of network traffic content because they reconstruct the actual payload and headers of every packet traversing the network, allowing analysts to see the exact sequence of data exfiltration. Packet captures are listed among the data sources under SY0-701 objective 4.9.

Question 15

General
During a routine scan, a vulnerability management tool identifies a critical flaw in a widely used web server software. The vendor has not yet released a patch, and the flaw is being actively exploited in the wild. How is this type of vulnerability best classified?

Show the answer and explanation

Correct answer: B. Zero-day vulnerability

This scenario describes a zero-day vulnerability because the flaw is actively exploited in the wild before a vendor patch is available. A zero-day is a flaw for which no fix or patch exists at the time of exploitation. Zero-day is listed among the vulnerability types under SY0-701 objective 2.3 (Explain various types of vulnerabilities).

Question 16

General
A company builds a new security framework. The CISO needs a document with specific, mandatory steps. The document also needs configurations for securing web servers. This will ensure uniformity across the infrastructure. Which document best fits?

Show the answer and explanation

Correct answer: A. Standards

Standards are mandatory documents that define specific, uniform requirements, such as configurations and technical controls, to ensure consistency across an organization's infrastructure. Standards are listed among the governance documents in SY0-701 objective 5.1.

Question 17

General
A company's cloud environment has unauthorized data access. A review shows a developer left a storage bucket with 'public' read permissions on. Anyone on the internet can list and download the contents. Which vulnerability type is this?

Show the answer and explanation

Correct answer: D. Misconfiguration of cloud resources

The scenario describes a cloud storage bucket with overly permissive settings, which is a classic example of a misconfiguration. Misconfigurations occur when security controls or default settings are not properly adjusted, leading to unintended exposure of resources; misconfiguration is listed among the vulnerability types under SY0-701 objective 2.3.

Question 18

General
A company wants to automate the response to phishing emails detected by their email gateway. Upon detection, the system should automatically quarantine the email, block the sender's IP address, and create a ticket in the IT service management system. Which concept best describes this automated workflow?

Show the answer and explanation

Correct answer: C. Security Orchestration, Automation, and Response (SOAR)

Security Orchestration, Automation, and Response (SOAR) is defined as a framework that integrates security tools to automate incident response workflows, such as quarantining emails, blocking IPs, and creating tickets. Automation and orchestration of secure operations, including ticket creation, is SY0-701 objective 4.7.

Question 19

General
A company has a data classification policy. 'Confidential' data needs encryption at rest and in transit. 'Public' data does not. An employee uploads a 'Confidential' spreadsheet to a public cloud storage bucket by mistake. Which technology is BEST suited to detect and stop this type of data exposure on its own?

Show the answer and explanation

Correct answer: D. Data Loss Prevention (DLP) solution with content inspection.

Data Loss Prevention (DLP) systems (listed under SY0-701 objectives 4.4 and 4.5) are specifically designed to monitor, detect, and block sensitive data based on content classification rules. A DLP solution with content inspection can identify the 'Confidential' label or specific data patterns within the spreadsheet and automatically block the upload to the public cloud.

Question 20

General
An auditor discovers that the current security controls in place do not meet the requirements of the new GDPR regulation. What is the first step the organization should take to address this discrepancy?

Show the answer and explanation

Correct answer: B. Conduct a gap analysis

A gap analysis is a common first step: it identifies the specific differences between current controls and regulatory requirements such as GDPR before any solution is implemented. Gap analysis is listed among the fundamental security concepts in SY0-701 objective 1.2. It defines the scope of the remediation effort, so resources go to the identified deficiencies.

Keep studying CompTIA Security+

These are original practice questions, not official exam questions. Practice results do not predict an exam outcome.

Sign in to report an error