

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















Exam: CompTIA Security+ (SY0-701) Certification Issuing Body: Computing Technology Industry Association (CompTIA) Exam Format: Maximum 90 questions, Multiple Choice & Performance-Based Time Limit: 90 minutes Passing Score: 750 (on a scale of 100-900) Domains: General Security Concepts (12%), Threats/Vulnerabilities/Mitigations (22%), Security Architecture (18%), Security Operations (28%), Security Program Management & Oversight (20%)
1. A security administrator enforces that users only have the minimum levels of access necessary to perform their job functions. Which security principle is being described? a) Separation of duties b) Mandatory vacation c) Job rotation d) Least privilege
Rationale: The principle of least privilege dictates that users and systems should be granted only the minimum necessary rights and permissions to perform their authorized tasks. This reduces the attack surface and limits potential damage from compromised accounts. Separation of duties divides critical tasks among different individuals to prevent a single person from having excessive control.
2. The Chief Technical Officer (CTO) wants to prevent a single database administrator from having the ability to commit fraud. Which is the BEST method to prevent such activities? a) Job rotation b) Separation of duties c) Mandatory vacations d) Least privilege Rationale: Separation of duties divides critical tasks among different individuals to prevent a single person from having excessive control. This ensures that fraud or errors require collusion, significantly reducing risk. Job rotation and mandatory vacations serve as deterrents but do not directly prevent fraud. 3. An organization implements a policy requiring all employees to change complex passwords every 90 days. Which security principle is this policy primarily supporting? a) Confidentiality b) Integrity c) Availability d) Non-repudiation Rationale: Complex password policies and regular changes protect confidentiality by ensuring only authorized users can access sensitive data. Integrity prevents unauthorized modifications, availability ensures uptime, and non-repudiation provides proof of action origin. 4. A security analyst notices multiple failed login attempts from a single IP address followed by a successful login. Which attack is MOST likely occurring? a) Phishing b) Brute force c) Man-in-the-middle d) SQL injection Rationale: Multiple failed login attempts followed by a successful login is characteristic of a brute force attack, where an attacker systematically tries different passwords until they
Rationale: Zero Trust assumes that all internal and external requests are untrusted until proven otherwise, requiring continuous verification, strict access controls, and micro- segmentation. This is a fundamental security architecture principle in the SY0-701 exam.
9. Which security control is designed to detect and alert on potential security incidents? a) Preventive control b) Detective control c) Corrective control d) Deterrent control Rationale: Detective controls identify and alert on potential security incidents. Preventive controls block incidents from occurring, corrective controls restore systems after an incident, and deterrent controls discourage malicious activity. 10. What is the primary purpose of a security policy? a) To provide technical specifications b) To establish rules and expectations for behavior c) To configure firewalls d) To install antivirus software Rationale: A security policy establishes the rules, expectations, and guidelines for behavior and security practices within an organization. It provides the foundation for implementing technical and administrative controls. 11. Which of the following is an example of a compensating control? a) Installing a firewall b) Requiring multi-factor authentication c) Using video surveillance d) Conducting background checks Rationale: Multi-factor authentication can serve as a compensating control when a primary security measure cannot be implemented, providing an alternative layer of protection. 12. What does the "A" in the CIA triad represent? a) Authentication b) Availability c) Authorization d) Accountability
Rationale: The CIA triad consists of Confidentiality, Integrity, and Availability. Availability ensures that systems and data are accessible when needed by authorized users.
13. Which type of access control model uses labels to determine access based on security clearances? a) Discretionary Access Control (DAC) b) Mandatory Access Control (MAC) c) Role-Based Access Control (RBAC) d) Attribute-Based Access Control (ABAC) Rationale: Mandatory Access Control (MAC) uses system-enforced labels and clearances to determine access. It is commonly used in government and military environments where strict classification is required. 14. Which framework provides guidance for managing cybersecurity risks in critical infrastructure? a) ISO 27001 b) NIST Cybersecurity Framework c) COBIT d) ITIL Rationale: The NIST Cybersecurity Framework provides a comprehensive approach to managing cybersecurity risks, particularly for critical infrastructure organizations. It consists of the core functions: Identify, Protect, Detect, Respond, and Recover. 15. What is the primary purpose of security awareness training? a) To meet compliance requirements b) To modify user behavior and reduce risk c) To test technical controls d) To evaluate security policies Rationale: The primary purpose of security awareness training is to modify user behavior to reduce security risks. It educates users about security threats and their role in protecting organizational assets.
Rationale: A supply chain attack compromises software or hardware before delivery, such as adding malicious code to a trusted update. DLL injection loads malicious code into processes, pass-the-hash uses captured hashes, and privilege escalation gains higher-level access.
30. Which vulnerability allows an attacker to inject malicious scripts into web pages viewed by other users? a) SQL injection b) Cross-site scripting (XSS) c) XML external entity injection d) Server-side request forgery Rationale: XSS allows attackers to inject malicious scripts into web pages viewed by other users. SQL injection targets databases, and XXE and SSRF target server-side resources. 31. An attacker sends a specially crafted request that causes a database to execute unauthorized commands. Which attack is this? a) SQL injection b) Cross-site scripting c) Buffer overflow d) Directory traversal Rationale: SQL injection attacks insert malicious SQL code into database queries to execute unauthorized commands or extract data. XSS targets browsers, buffer overflows corrupt memory, and directory traversal accesses restricted directories. 32. Which of the following is BEST described as a weakness in a system that could be exploited by a threat? a) Risk b) Vulnerability c) Threat d) Exploit Rationale: A vulnerability is a weakness in a system that could be exploited by a threat. Risk is the potential for loss, a threat is a potential danger, and an exploit is the tool or technique used to take advantage of a vulnerability. 33. A security team is concerned about malicious code that spreads without user intervention. This type of malware is BEST described as: a) Trojan b) Worm
c) Virus d) Rootkit Rationale: Worms self-replicate and spread across networks without requiring user action or attaching to files. Trojans masquerade as legitimate software, viruses require file attachment or user action, and rootkits hide their presence.
34. Which of the following is a type of denial-of-service (DoS) attack? a) SYN flood b) SQL injection c) Cross-site scripting d) Man-in-the-middle Rationale: A SYN flood is a type of DoS attack that exploits the TCP three-way handshake to exhaust server resources. SQL injection and XSS are web application attacks, and MITM intercepts communications. 35. Which attack involves intercepting and altering communications between two parties? a) Denial-of-service b) Man-in-the-middle (MITM) c) Replay attack d) Spoofing Rationale: A man-in-the-middle attack intercepts and potentially alters communications between two parties without their knowledge. DoS overwhelms systems, replay attacks retransmit captured data, and spoofing impersonates another entity. 36. Which of the following is an example of a password attack? a) Phishing b) Social engineering c) Dictionary attack d) Shoulder surfing Rationale: A dictionary attack is a password attack that uses a list of common words or previously compromised passwords to attempt to gain access. Phishing and social engineering target user behavior, and shoulder surfing is physical observation. 37. Which type of threat actor is MOST likely to be motivated by political, social, or ideological goals? a) Script kiddie b) Hacktivist
56. Which of the following is a key principle of Zero Trust architecture? a) Implicit trust for internal network traffic b) Continuous verification of all access attempts c) Perimeter-based security d) Trust based on IP address Rationale: Zero Trust architecture requires continuous verification of all access attempts, regardless of network location. It assumes that no user, device, or network segment should be trusted implicitly. This is a fundamental concept in the SY0-701 exam. 57. What is the primary purpose of a firewall? a) To encrypt network traffic b) To filter network traffic based on rules c) To detect malware d) To authenticate users Rationale: A firewall filters network traffic based on predetermined security rules, allowing or blocking connections based on criteria such as IP addresses, ports, and protocols. Encryption is typically performed by VPNs or cryptographic protocols. 58. Which type of firewall can inspect the content of network packets? a) Packet filtering firewall b) Stateful inspection firewall c) Proxy firewall d) Next-generation firewall (NGFW) Rationale: Next-generation firewalls (NGFWs) can perform deep packet inspection to examine the content of network packets beyond just headers. This allows them to identify and block application-layer threats. Packet filtering and stateful firewalls operate at lower levels of the stack. 59. Which of the following is a secure protocol for remote access? a) Telnet b) FTP c) SSH d) HTTP
Rationale: SSH (Secure Shell) is a secure protocol for remote access that encrypts all communications between the client and server. Telnet, FTP, and HTTP transmit data in cleartext, making them insecure.
60. Which protocol provides both authentication and encryption for network communications? a) Telnet b) FTP c) HTTP d) HTTPS Rationale: HTTPS (HTTP over SSL/TLS) provides both authentication and encryption for network communications. Telnet and FTP send credentials in cleartext, and HTTP does not provide encryption. 61. What is the primary purpose of a VPN (Virtual Private Network)? a) To filter network traffic b) To create a secure, encrypted connection over a public network c) To monitor network activity d) To provide load balancing Rationale: A VPN creates a secure, encrypted connection (tunnel) over a public network, allowing remote users to securely access private network resources. The encryption ensures confidentiality and integrity of transmitted data. 62. Which of the following is an example of a network segmentation technique? a) VLANs b) Firewalls c) DMZ d) All of the above Rationale: VLANs, firewalls, and DMZs are all network segmentation techniques that divide a network into smaller, isolated segments to improve security and reduce the attack surface. This is a key security architecture concept. 63. Which cloud service model provides the most control to the customer? a) Software as a Service (SaaS) b) Platform as a Service (PaaS) c) Infrastructure as a Service (IaaS) d) Function as a Service (FaaS)
Rationale: A retinal scan is a biometric authentication method based on something the user is (inherence factor). Passwords and security questions are knowledge factors, and smart cards are possession factors.
68. Which of the following authentication methods is considered the most secure? a) Single-factor authentication b) Two-factor authentication c) Multi-factor authentication (MFA) d) Password-based authentication Rationale: Multi-factor authentication (MFA) requires two or more independent authentication factors, making it more secure than single-factor methods. Even if one factor is compromised, others remain effective. 69. What is the primary purpose of Single Sign-On (SSO)? a) To increase password complexity b) To reduce the number of passwords users need to remember c) To enforce stronger authentication d) To encrypt passwords Rationale: SSO reduces the number of passwords users need to remember by allowing them to authenticate once and access multiple applications. This improves user experience and can enhance security by reducing password reuse. 70. Which protocol is commonly used for SSO authentication? a) LDAP b) RADIUS c) SAML d) Kerberos Rationale: SAML (Security Assertion Markup Language) is a standard protocol used for SSO authentication, particularly in web-based applications. Kerberos is commonly used in Windows environments, RADIUS for network access, and LDAP for directory services.
81. Which of the following is the FIRST step in the incident response process? a) Containment b) Eradication c) Preparation d) Recovery Rationale: Preparation is the first step in the incident response process, involving activities such as developing policies, training staff, and implementing tools. This ensures the organization is ready to respond effectively when an incident occurs. 82. What is the purpose of a security information and event management (SIEM) system? a) To scan for vulnerabilities b) To collect, correlate, and analyze security events c) To enforce access policies d) To perform penetration testing Rationale: A SIEM system collects and aggregates security event data from multiple sources, correlates events to identify potential security incidents, and provides analysis and alerting capabilities. This is a key security operations tool. 83. Which type of threat hunting relies on human intuition and knowledge to identify potential threats? a) Hypothesis-driven hunting b) Intelligence-driven hunting c) Tactical hunting d) Reactive hunting Rationale: Hypothesis-driven hunting relies on human intuition and knowledge to formulate hypotheses about potential threats and then search for evidence to support or refute them. This is a proactive approach to threat detection. 84. Which of the following is an example of a security automation tool? a) SIEM b) SOAR c) NGFW d) IPS Rationale: SOAR (Security Orchestration, Automation, and Response) tools automate security operations tasks, such as incident response workflows, threat intelligence enrichment, and response actions. This reduces manual effort and accelerates response times.
89. Which of the following is a logging best practice? a) Store logs indefinitely b) Encrypt logs in transit c) Allow users to modify logs d) Disable logging for high-volume events Rationale: Logs should be encrypted in transit to prevent interception and tampering. They should be protected from unauthorized modification, stored according to retention policies, and should capture relevant events. 90. What is the purpose of conducting a tabletop exercise? a) To test technical controls b) To practice incident response procedures c) To identify vulnerabilities d) To patch systems Rationale: A tabletop exercise involves discussing and practicing incident response procedures in a simulated scenario. This helps identify gaps in plans, improve coordination, and train personnel without the cost or disruption of a live exercise. 91. Which of the following is a containment strategy for a malware infection? a) System isolation b) Patching c) Reimaging d) Vulnerability scanning Rationale: System isolation is a containment strategy that involves disconnecting an infected system from the network to prevent the malware from spreading to other systems. Patching and reimaging are eradication steps, and vulnerability scanning is a detection activity. 92. Which of the following is a method for eradicating malware? a) System isolation b) Reimaging the affected system c) Network segmentation d) Incident notification Rationale: Reimaging the affected system (wiping and reinstalling the operating system) is an eradication method that removes the malware from the system. Isolation is containment, and network segmentation is a preventive control.
93. What is the primary goal of digital forensics? a) To restore systems to normal operation b) To preserve and analyze evidence for legal proceedings c) To identify vulnerabilities d) To improve security controls Rationale: The primary goal of digital forensics is to preserve and analyze digital evidence in a manner that maintains its integrity and admissibility in legal proceedings. Chain of custody and proper handling are critical aspects. 94. Which type of forensic data is found in volatile memory? a) Registry keys b) Deleted files c) Running processes d) Log files Rationale: Running processes are found in volatile memory (RAM) and are lost when the system is powered off. Registry keys, deleted files, and log files are typically found on non- volatile storage (hard drives). 95. Which of the following is a key aspect of maintaining chain of custody? a) Secure storage b) Documentation c) Access control d) All of the above Rationale: Chain of custody requires secure storage, thorough documentation, and strict access control to ensure the integrity and admissibility of evidence. Each person who handles the evidence must be documented.
111. Which framework is designed to help organizations manage and reduce cybersecurity risk?
115. Which regulation is specifically designed to protect the privacy of healthcare information? a) GDPR b) HIPAA c) PCI DSS d) FISMA Rationale: HIPAA (Health Insurance Portability and Accountability Act) is designed to protect the privacy and security of healthcare information. GDPR protects the privacy of EU citizens, PCI DSS protects credit card data, and FISMA protects federal information systems. 116. Which compliance standard applies to organizations that process credit card payments? a) HIPAA b) GDPR c) PCI DSS d) FERPA Rationale: PCI DSS (Payment Card Industry Data Security Standard) applies to any organization that processes, stores, or transmits credit card data. HIPAA applies to healthcare, GDPR to EU citizens, and FERPA to student records. 117. Which of the following is a key component of an organization's security governance? a) Security policies b) Security standards c) Security procedures d) All of the above Rationale: Security governance includes policies (high-level direction), standards (mandatory requirements), and procedures (step-by-step instructions). These components work together to establish and maintain a security program. 118. Which of the following is the first step in creating a security policy? a) Writing the policy b) Obtaining stakeholder buy-in c) Conducting a risk assessment d) Reviewing the policy
Rationale: A risk assessment is the first step in creating a security policy, as it identifies the assets that need protection, the threats to those assets, and the vulnerabilities that could be exploited. This ensures policies are aligned with actual risks.
119. Which of the following is an example of a security procedure? a) "Users must use strong passwords" b) "How to reset a forgotten password" c) "Passwords must be 12 characters with complexity requirements" d) "Access must be reviewed annually" Rationale: A security procedure provides step-by-step instructions on how to perform a specific security task, such as resetting a forgotten password. Policies provide high-level direction (e.g., strong passwords), and standards provide detailed requirements. 120. Which of the following is a key principle of security awareness training? a) One-time training is sufficient b) Training should be customized for different roles c) Compliance is the only goal d) Technical details should be emphasized Rationale: Security awareness training should be customized for different roles to address the specific risks and responsibilities of each group. Regular, ongoing training is more effective than one-time training. The goal is behavior change, not just compliance. 121. Which of the following is a metric used to measure the effectiveness of a security program? a) Number of security incidents b) Mean time to detect (MTTD) c) Mean time to respond (MTTR) d) All of the above Rationale: MTTD, MTTR, and the number of security incidents are all metrics that can be used to measure the effectiveness of a security program. These metrics provide insight into detection, response, and overall security performance. 122. What is the purpose of conducting a business impact analysis (BIA)? a) To identify vulnerabilities b) To prioritize critical business functions and their dependencies c) To test incident response plans d) To patch systems