CompTIA SY0-701 Practice Exams
Last updated on Nov 16,2026- Exam Code: SY0-701
- Exam Name: CompTIA Security+
- Certification Provider: CompTIA
- Latest update: Nov 16,2026
A systems administrator receives the following alert from a file integrity monitoring tool:
The hash of the cmd.exe file has changed.
The systems administrator checks the OS logs and notices that no patches were applied in the last two months.
Which of the following most likely occurred?
- A . The end user changed the file permissions.
- B . A cryptographic collision was detected.
- C . A snapshot of the file system was taken.
- D . A rootkit was deployed.
D
Explanation:
A rootkit is a type of malware that modifies or replaces system files or processes to hide its presence and activity. A rootkit can change the hash of the cmd.exe file, which is a command-line interpreter for Windows systems, to avoid detection by antivirus or file integrity monitoring tools. A rootkit can also grant the attacker remote access and control over the infected system, as well as perform malicious actions such as stealing data, installing backdoors, or launching attacks on other systems. A rootkit is one of the most difficult types of malware to remove, as it can persist even after rebooting or reinstalling the OS.
Reference = CompTIA Security+ Study Guide with over 500 Practice Test Questions: Exam SY0-701, 9th Edition, Chapter 4, page 147. CompTIA Security+ SY0-701 Exam Objectives, Domain 1.2, page 9.
The Chief Information Security Officer wants to discuss options for a disaster recovery site that allows the business to resume operations as quickly as possible.
Which of the following solutions meets this requirement?
- A . Hot site
- B . Cold site
- C . Geographic dispersion
- D . Warm site
Which of the following organizational documents is most often used to establish and communicate expectations associated with integrity and ethical behavior within an organization?
- A . AUP
- B . SLA
- C . EULA
- D . MOA
A company is expanding its threat surface program and allowing individuals to security test the company’s internet-facing application. The company will compensate researchers based on the vulnerabilities discovered.
Which of the following best describes the program the company is setting up?
- A . Open-source intelligence
- B . Bug bounty
- C . Red team
- D . Penetration testing
B
Explanation:
A bug bounty is a program that rewards security researchers for finding and reporting vulnerabilities in an application or system. Bug bounties are often used by companies to improve their security posture and incentivize ethical hacking. A bug bounty program typically defines the scope, rules, and compensation for the researchers.
Reference = CompTIA Security+ Study Guide with over 500 Practice Test Questions: Exam SY0-701, 9th Edition, Chapter 1, page 10. CompTIA Security+ (SY0-701) Certification Exam Objectives, Domain 1.1, page 2.
A security architect wants to prevent employees from receiving malicious attachments by email.
Which of the following functions should the chosen solution do?
- A . Apply IP address reputation data.
- B . Tap and monitor the email feed.
- C . Scan email traffic inline.
- D . Check SPF records.
Which of the following is die most important security concern when using legacy systems to provide production service?
- A . Instability
- B . Lack of vendor support
- C . Loss of availability
- D . Use of insecure protocols
B
Explanation:
The most important security concern when using legacy systems is the lack of vendor support. Without support from the vendor, systems may not receive critical security patches and updates, leaving them vulnerable to exploitation. This lack of support can result in increased risk of security breaches, as vulnerabilities discovered in the software may never be addressed.
Reference = CompTIA Security+ SY0-701 study materials, particularly in the context of risk management and the challenges posed by legacy systems.
A network engineer is increasing the overall security of network devices and needs to harden the devices.
Which of the following will best accomplish this task?
- A . Configuring centralized logging
- B . Generating local administrator accounts
- C . Replacing Telnet with SSH
- D . Enabling HTTP administration
Which of the following is the first step to take when creating an anomaly detection process?
- A . Selecting events
- B . Building a baseline
- C . Selecting logging options
- D . Creating an event log
B
Explanation:
The first step in creating an anomaly detection process is building a baseline of normal behavior within the system. This baseline serves as a reference point to identify deviations or anomalies that could indicate a security incident. By understanding what normal activity looks like, security teams can more effectively detect and respond to suspicious behavior.
Reference =
CompTIA Security+ SY0-701 Course Content: Domain 04 Security Operations.
CompTIA Security+ SY0-601 Study Guide: Chapter on Monitoring and Baselines.
Which of the following is the first step to secure a newly deployed server?
- A . Close unnecessary service ports.
- B . Update the current version of the software.
- C . Add the device to the ACL.
- D . Upgrade the OS version.
A
Explanation:
Comprehensive and Detailed In-Depth
The first step in securing a newly deployed server is to close unnecessary service ports. Open ports can expose the server to unauthorized access and potential cyber threats. By closing unused ports, the attack surface is reduced, limiting the number of entry points available to attackers.
Updating the software version (B) and upgrading the OS version (D) are important security measures but should follow the step of securing open ports to prevent immediate exposure to threats. Adding the device to the Access Control List (ACL) (C) is a step in network security but does not directly secure the server itself against potential attacks.
Closing unnecessary ports helps in minimizing the risk of network-based attacks, such as port scanning and exploitation of default services.
45.101.121 —– [28/Jul/2022:10:27:22 -0300] "GET /query.php?q=mp3%20players I HTTP/1.0" 200 14650
Which of the following should the analyst do first?
- A . Implement a WAF
- B . Disable the query .php script
- C . Block brute-force attempts on temporary users
- D . Check the users table for new accounts
D
Explanation:
The logs show an SQL injection attack. The first step is to verify if new accounts have been created,
indicating a successful injection.