Free CompTIA SY0-701 Practice Questions 2026 - Page 11

Timed Practice Test

Think You're Ready?

Your Final Exam Before the Final Exam.
Dare to Take It?

A business needs a recovery site but does not require immediate failover. The business also wants to reduce the workload required to recover from an outage. Which of the following recovery sites is the best option?

A. Hot

B. Cold

C. Warm

D. Geographically dispersed

C.   Warm

Explanation:
A Warm site is the best option in this scenario because it balances cost, recovery time, and administrative effort. It typically includes pre-configured infrastructure (like servers, network equipment, and power) but may not have live data or fully synchronized systems. This reduces the workload during recovery compared to a cold site (where everything must be set up from scratch) while still being more cost-effective than a hot site (which requires continuous maintenance and data synchronization). Since the business does not require immediate failover, the slightly longer recovery time of a warm site is acceptable.

Why the other options are incorrect:

A. Hot site:
A hot site is fully operational with real-time data replication, allowing for immediate failover. However, it is the most expensive option and requires significant ongoing maintenance (workload) to keep systems synchronized. This exceeds the business’s requirements.

B. Cold site:
A cold site is the least expensive but requires the most workload to recover. It is essentially a bare-bones facility with basic infrastructure (power, cooling), but all hardware, software, and data must be restored manually after an outage. This contradicts the goal of reducing recovery workload.

D. Geographically dispersed:
This refers to distributing resources across multiple locations to mitigate regional risks (e.g., natural disasters). It is a strategy that can be applied to any site type (hot, warm, cold) but does not define the recovery site’s readiness level. The business needs a specific site type (warm) that meets its cost and workload constraints.

Reference:
This question tests knowledge of disaster recovery site types and their trade-offs.

This falls under Domain 5.4: Explain the key aspects of business continuity and disaster recovery of the CompTIA Security+ SY0-701 exam objectives.

Warm sites are commonly recommended for organizations that need a balance between cost and recovery capabilities, as outlined in frameworks like NIST SP 800-34 (Contingency Planning Guide) and industry best practices. They offer a practical solution for businesses that can tolerate a short downtime without the high expense of a hot site.

Which of the following threat actors is the most likely to be hired by a foreign government to attack critical systems located in other countries?

A. Hacktivist

B. Whistleblower

C. Organized crime

D. Unskilled attacker

C.   Organized crime

Explanation:
This question requires matching the threat actor profile to the specific activity: being hired by a foreign government to attack critical systems in other countries.

C. Organized crime is correct.
Cyber-organized crime groups are highly sophisticated, well-funded, and operate for financial profit. They often act as cyber mercenaries or are contracted as APT (Advanced Persistent Threat) groups by nation-states. This practice is known as a "proxy" attack. The foreign government benefits from plausible deniability ("it wasn't us, it was a criminal group") while still achieving its strategic goals. Attacking critical systems requires significant skill and resources, which organized crime possesses.

A. Hacktivist is incorrect.
Hacktivists are motivated by ideology (social, political, or religious beliefs). They are not typically motivated by financial gain and are therefore less likely to be "hired." Their actions are usually aimed at raising awareness or causing disruption to a specific cause, not carrying out sophisticated attacks on behalf of a government.

B. Whistleblower is incorrect.
A whistleblower is an insider who exposes wrongdoing, illegal activities, or unethical practices within an organization to the public or authorities. Their goal is typically transparency and accountability, not conducting cyber attacks for a foreign government.

D. Unskilled attacker is incorrect.
Unskilled attackers (often called "script kiddies") lack the technical expertise to attack critical national infrastructure. They use pre-written scripts and tools to exploit well-known vulnerabilities. A foreign government would not hire an unskilled actor for a mission targeting critical systems due to the high likelihood of failure and detection.

Reference:
CompTIA Security+ SY0-701 Objective 1.5: "Explain different threat actor models and attributes." This objective requires understanding the motivations, attributes, and targets of different threat actors, including organized crime groups and their role in targeted attacks, often on behalf of nation-states.

A visitor plugs a laptop into a network jack in the lobby and is able to connect to the company's network. Which of the following should be configured on the existing network infrastructure to best prevent this activity?

A. Port security

B. Web application firewall

C. Transport layer security

D. Virtual private network

A.   Port security

Explanation:

Why A is Correct:
Port security is a feature on network switches that restricts which devices can connect to a physical network port. It can be configured to:

Allow only specific MAC addresses to use a port (sticky learning or static entries).

Limit the number of MAC addresses on a port (to prevent hubs/switches from being connected).

Take action (e.g., shut down the port, drop traffic) if an unauthorized device connects.

In this scenario, configuring port security on the switch port connected to the lobby jack would prevent unauthorized devices (like the visitor's laptop) from gaining access to the network, as its MAC address would not be allowed.

Why B is Incorrect:
A web application firewall (WAF) is designed to protect web applications by filtering and monitoring HTTP traffic. It is not used to control physical access to network ports or prevent unauthorized devices from connecting at the network layer.

Why C is Incorrect:
Transport Layer Security (TLS) is a protocol for encrypting data in transit. It protects the confidentiality of communications but does nothing to prevent an unauthorized device from physically connecting to a network jack and accessing the network.

Why D is Incorrect:
A virtual private network (VPN) is used to provide secure remote access over the internet. It is irrelevant to preventing a physical device from connecting to an internal network jack. In fact, if a visitor plugs into the network, they are already on the internal network and would not need a VPN.

Reference:
This question falls under Domain 2.0: Architecture and Design, specifically covering network security controls. Port security is a fundamental switch configuration best practice to prevent unauthorized access via physical network jacks, aligning with the principle of controlling physical network access.

After performing an assessment, an analyst wants to provide a risk rating for the findings. Which of the following concepts should most likely be considered when calculating the ratings?

A. Owners and thresholds

B. Impact and likelihood

C. Appetite and tolerance

D. Probability and exposure factor

B.   Impact and likelihood

Explanation: When calculating risk ratings, the concepts of impact and likelihood are most likely to be considered. Risk assessment typically involves evaluating the potential impact of a threat (how severe the consequences would be if the threat materialized) and the likelihood of the threat occurring (how probable it is that the threat will occur). Impact: Measures the severity of the consequences if a particular threat exploits a vulnerability. It considers factors such as financial loss, reputational damage, and operational disruption. Likelihood: Measures the probability of a threat exploiting a vulnerability. This can be based on historical data, current threat landscape, and expert judgment. Reference: CompTIA Security+ SY0-701 Exam Objectives, Domain 5.2 - Risk management process (Risk assessment: impact and likelihood).

Which of the following is used to validate a certificate when it is presented to a user?

A. OCSP

B. CSR

C. CA

D. CRC

A.   OCSP

Explanation:
The correct answer is A. OCSP (Online Certificate Status Protocol).

When a user's browser or application is presented with a digital certificate (e.g., when visiting an HTTPS website), it needs to verify two main things:

That the certificate was issued by a trusted Certificate Authority (CA) and is valid (not expired, with a proper signature chain).

That the certificate has not been revoked by the CA before its expiration date.

OCSP (Online Certificate Status Protocol) is a method used specifically for this second step: validating that a certificate is still valid and has not been revoked.

Instead of downloading a full list of all revoked certificates (a CRL), the client sends a query to an OCSP responder (hosted by the CA) with the certificate's serial number. The OCSP responder sends back a signed response stating whether the certificate is "good," "revoked," or "unknown."

This provides real-time (or near-real-time) validation of a certificate's status at the moment it is presented.

Why the other options are incorrect:

B. CSR (Certificate Signing Request):
A CSR is a file generated by an applicant who wants a certificate. It contains the public key and identifying information to be included in the certificate. The CA uses the CSR to create the actual certificate. A CSR is used to request a certificate, not to validate one that has been presented.

C. CA (Certificate Authority):
The CA is the trusted entity that issues the certificate. The user's system trusts the CA's root certificate, which allows it to validate the cryptographic signature on the presented certificate. However, the CA itself is not the mechanism used for the daily, real-time validation of revocation status. The CA provides the infrastructure for OCSP or CRLs to perform that specific function.

D. CRC (Cyclic Redundancy Check):
A CRC is an error-detecting code used in digital networks and storage devices to detect accidental changes to raw data (e.g., to check for file corruption). It has nothing to do with PKI or digital certificate validation. This is a distractor.

Reference:
This is a core concept of Public Key Infrastructure (PKI) and is covered in the CompTIA Security+ SY0-701 objectives under Domain 3.3: Given a scenario, implement secure protocols.

The two primary methods for checking certificate revocation are:

CRL (Certificate Revocation List): A periodically updated list of revoked certificates that clients can download and check.

OCSP (Online Certificate Status Protocol): A real-time request/response protocol for checking a certificate's status.

A security team is reviewing the findings in a report that was delivered after a third party performed a penetration test. One of the findings indicated that a web application form field is vulnerable to cross-site scripting. Which of the following application security techniques should the security analyst recommend the developer implement to prevent this vulnerability?

A. Secure cookies

B. Version control

C. Input validation

D. Code signing

C.   Input validation

Explanation:
Cross-site scripting (XSS) is a vulnerability that allows an attacker to inject malicious scripts into web pages viewed by other users. This often occurs when a web application takes input from a user (like a form field) and displays it back on a page without properly checking or sanitizing it.

C. Input validation is correct.
This is the primary defense against XSS attacks. Input validation involves checking and sanitizing all user-supplied input before it is processed by the application. Techniques include:

Allow-listing:
Only accepting characters that are known to be safe for a specific field (e.g., only numbers in a zip code field).

Sanitization:
Removing or encoding potentially malicious characters (like < > " ' / &).

By validating input, the application prevents the malicious script from being injected in the first place.

A. Secure cookies is incorrect.
The Secure cookie attribute ensures cookies are only sent over encrypted HTTPS connections. This protects against cookie theft via eavesdropping but does nothing to prevent the injection of a malicious script that could steal cookies via other means.

B. Version control is incorrect.
Version control systems (like Git) manage changes to source code over time. While they are a critical development best practice for tracking changes and collaborating, they do not directly prevent code-level vulnerabilities like XSS from being introduced.

D. Code signing is incorrect.
Code signing uses digital certificates to verify the author of a software program and ensure the code has not been altered after it was signed. It is used to establish trust and integrity for distributed software (like executables or scripts). It does not prevent vulnerabilities within the application's own logic, such as a lack of input validation.

Reference:
CompTIA Security+ SY0-701 Objective 3.2: "Given a scenario, implement secure coding practices." Input validation is a fundamental secure coding practice explicitly listed to mitigate common web application vulnerabilities, including cross-site scripting (XSS).

An organization is adopting cloud services at a rapid pace and now has multiple SaaS applications in use. Each application has a separate log-in. so the security team wants to reduce the number of credentials each employee must maintain. Which of the following is the first step the security team should take?

A. Enable SAML

B. Create OAuth tokens.

C. Use password vaulting.

D. Select an IdP

D.   Select an IdP

Explanation:
The first step in reducing the number of credentials employees must maintain across multiple SaaS applications is to select an Identity Provider (IdP). An IdP (e.g., Azure AD, Okta, Ping Identity) serves as the central authority for authenticating users and managing their identities. Once an IdP is in place, the organization can implement Single Sign-On (SSO) protocols like SAML or OIDC, allowing users to authenticate once with the IdP and gain access to all integrated applications without needing separate credentials for each. Choosing the IdP is the foundational step, as it will determine the standards and methods for integrating with the various SaaS applications.

Analysis of Incorrect Options:

A. Enable SAML:
Security Assertion Markup Language (SAML) is a protocol used for implementing SSO. However, enabling SAML requires first having an IdP in place to generate and validate SAML assertions. You cannot enable SAML without first selecting and configuring the IdP that will act as the SAML authority.

B. Create OAuth tokens:
OAuth is a protocol for authorization (delegated access), not primarily for authentication or credential reduction. While OAuth can be used in conjunction with OpenID Connect (OIDC) for SSO, it still relies on an underlying IdP to manage identities. Creating tokens is not the first step; establishing the IdP is.

C. Use password vaulting:
Password vaulting (or password managers) can help users manage multiple credentials, but it does not reduce the number of credentials—it only stores them securely. Each application still requires a separate password, and the organization does not gain centralized control over authentication. This is a workaround, not a solution for integrated SSO.

Reference:
This question falls under Domain 3.0: Security Architecture, specifically identity and access management in cloud environments. Implementing SSO via an IdP is a best practice for managing identities across multiple SaaS applications, as discussed in frameworks like NIST SP 800-63 (Digital Identity Guidelines) and cloud security recommendations. The IdP centralizes authentication, improves security, and enhances user experience.

Which of the following is a type of vulnerability that refers to the unauthorized installation of applications on a device through means other than the official application store?

A. Cross-site scripting

B. Buffer overflow

C. Jailbreaking

D. Side loading

D.   Side loading

Explanation:
The question describes the specific act of installing applications from sources other than the official, sanctioned application store.

D. Side loading is correct.
Sideloading is the process of installing an application (an APK on Android or an IPA on iOS) on a mobile device without using the device's official app store (like the Google Play Store or Apple App Store). This can be a significant security vulnerability because these apps bypass the security reviews and sandboxing typically enforced by the official stores, potentially allowing malware to be installed.

A. Cross-site scripting (XSS) is incorrect.
XSS is a web application vulnerability where an attacker injects malicious scripts into content viewed by other users. It targets web browsers and applications, not the method of installing apps on a device.

B. Buffer overflow is incorrect.
A buffer overflow is a software vulnerability that occurs when a program writes more data to a block of memory than it was allocated to hold. This can lead to crashes or arbitrary code execution but is not related to the installation method of applications.

C. Jailbreaking is incorrect.
Jailbreaking (on iOS) or rooting (on Android) is the process of removing software restrictions imposed by the operating system. While this often enables sideloading by bypassing OS protections, it is not the term for the installation method itself. Sideloading is the specific vulnerability described.

Reference:
CompTIA Security+ SY0-701 Objective 2.4: "Explain the importance of resilience and recovery in security architecture." Mobile device security is a key topic, and understanding the risks associated with non-secure installation methods like sideloading is part of maintaining a secure mobile environment.

An administrator finds that all user workstations and servers are displaying a message that is associated with files containing an extension of .ryk. Which of the following types of infections is present on the systems?

A. Virus

B. Trojan

C. Spyware

D. Ransomware

D.   Ransomware

Explanation: Ransomware is a type of malware that encrypts the victim’s files and demands a ransom for the decryption key. The ransomware usually displays a message on the infected system with instructions on how to pay the ransom and recover the files. The .ryk extension is associated with a ransomware variant called Ryuk, which targets large organizations and demands high ransoms1.
References: CompTIA Security+ Certification Kit: Exam SY0-701, 7th Edition, Chapter 1, page 17.

Which of the following is a primary security concern for a company setting up a BYOD program?

A. End of life

B. Buffer overflow

C. VM escape

D. Jailbreaking

D.   Jailbreaking

Explanation:
Jailbreaking (on iOS devices) or rooting (on Android devices) is the process of removing software restrictions imposed by the operating system. This gives the user elevated privileges and allows the installation of unauthorized apps. In a BYOD (Bring Your Own Device) program, where personal devices access corporate data, a jailbroken device is a primary security concern because:

It bypasses built-in security controls.

It often disables critical security features like sandboxing.

It increases the risk of malware infection from untrusted app sources.

It makes the device unpredictable and difficult to manage or secure with MDM (Mobile Device Management) policies.

Why the other options are incorrect:

A. End of life:
This refers to a device or software no longer receiving security updates. While this is a significant concern for BYOD (as users may not update personal devices), it is a broader issue. Jailbreaking is a more direct and active threat where the user deliberately compromises the device's security.

B. Buffer overflow:
This is a specific software vulnerability where a program writes more data to a buffer than it can hold, potentially allowing code execution. While a risk, it is not a primary concern uniquely associated with the BYOD model itself. It's a general software flaw.

C. VM escape:
This is an attack where an attacker breaches the isolation of a virtual machine (VM) to interact with the host operating system or other VMs. This is a concern in virtualized data centers and cloud environments, but it is not relevant to personal mobile devices in a BYOD program.

Reference:
This question tests knowledge of mobile device security and the specific risks introduced by BYOD.

This falls under Domain 3.5: Explain the importance of mobile device security of the CompTIA Security+ SY0-701 exam objectives.

The risks of jailbreaking and rooting are highlighted in mobile device security best practices from NIST (Special Publication 800-164) and CIS Mobile Device Benchmarks, as they fundamentally undermine the security posture of the device.

Page 11 out of 91 Pages