Docsity

CompTIA Security.pdf, Exams of Information Technology

Toggle sidebar
bg1
Exam Format: Multiple Choice
Total Questions: 150
Target Audience: CompTIA Security+ SY0-701 Exam Candidates
Passing Score: 750 (on a scale of 100-900)
Instructions: Choose the single best answer for each question. All rationales are
provided in italics to reinforce key concepts.
SECTION 1: GENERAL SECURITY CONCEPTS (Questions 1-30)
1. A security administrator is implementing a defense-in-depth strategy for a
financial institution. Which of the following BEST describes the fundamental
principle of this approach?
A) Installing a single comprehensive security solution to cover all threats
B) Using multiple layers of security controls so that if one fails, others remain effective
C) Focusing exclusively on perimeter security to block all external threats
D) Relying solely on encryption for all data protection needs
Answer: B
Rationale: Defense-in-depth uses multiple layers of security controls so that if one layer
fails, others continue to provide protection. This layered approach ensures redundancy and
resilience against various attack vectors .
2. A company wants to ensure that even if a user's password is compromised, an
attacker cannot access the corporate VPN without a second form of verification.
Which of the following is the BEST solution?
A) Single sign-on (SSO)
B) Mandatory Access Control (MAC)
C) Multifactor authentication (MFA)
D) Role-based access control (RBAC)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download CompTIA Security.pdf and more Exams Information Technology in PDF only on Docsity!

Exam Format: Multiple Choice Total Questions: 150 Target Audience: CompTIA Security+ SY0-701 Exam Candidates Passing Score: 750 (on a scale of 100-900) Instructions: Choose the single best answer for each question. All rationales are provided in italics to reinforce key concepts.

SECTION 1: GENERAL SECURITY CONCEPTS (Questions 1-30)

1. A security administrator is implementing a defense-in-depth strategy for a financial institution. Which of the following BEST describes the fundamental principle of this approach? A) Installing a single comprehensive security solution to cover all threats B) Using multiple layers of security controls so that if one fails, others remain effective C) Focusing exclusively on perimeter security to block all external threats D) Relying solely on encryption for all data protection needs Answer: B Rationale: Defense-in-depth uses multiple layers of security controls so that if one layer fails, others continue to provide protection. This layered approach ensures redundancy and resilience against various attack vectors. 2. A company wants to ensure that even if a user's password is compromised, an attacker cannot access the corporate VPN without a second form of verification. Which of the following is the BEST solution? A) Single sign-on (SSO) B) Mandatory Access Control (MAC) C) Multifactor authentication (MFA) D) Role-based access control (RBAC)

Answer: C Rationale: MFA requires two or more verification factors (e.g., password and a push notification to a phone), significantly reducing the risk of account takeover even if one factor is compromised.

3. A security analyst is conducting a penetration test and has gained access to a system. They want to maintain access for further exploration. Which of the following actions BEST represents this phase? A) Scanning B) Gaining access C) Privilege escalation D) Persistence Answer: D Rationale: Persistence involves creating backdoors or other methods to ensure continued access to a compromised system, even after a reboot or password change. This is a key phase after initial exploitation. 4. A network administrator is configuring a firewall to allow only traffic that is explicitly permitted. This principle is BEST described as: A) Implicit deny B) Implicit allow C) Least privilege D) Defense in depth Answer: A Rationale: Implicit deny is a security principle where all traffic is blocked by default, and only explicitly permitted traffic is allowed through. This is a fundamental concept in firewall configuration. 5. Which of the following authentication factors is an example of "something you have"?

Answer: A Rationale: Phishing is a broad social engineering attack that uses fraudulent emails to trick users into revealing sensitive information. Spear phishing targets specific individuals, whaling targets high-level executives, and vishing uses voice communication.

8. Which of the following is the primary purpose of conducting a vulnerability assessment? A) To eliminate all security risks B) To identify and prioritize vulnerabilities in a system C) To test the effectiveness of security controls D) To respond to an active security incident Answer: B Rationale: Vulnerability assessments are designed to identify, quantify, and prioritize vulnerabilities in systems. They provide a snapshot of an organization's security posture to guide remediation efforts. 9. A security team is implementing a solution to prevent SQL injection attacks. Which of the following would be the MOST effective mitigation? A) Using a web application firewall (WAF) B) Input validation and parameterized queries C) Disabling all database connections D) Implementing endpoint detection and response (EDR) Answer: B Rationale: Input validation and parameterized queries (or prepared statements) are the most effective defenses against SQL injection attacks, as they ensure that user input is treated as data rather than executable code. 10. A threat actor is attempting to overwhelm a web server with a flood of traffic to make it unavailable to legitimate users. This type of attack is known as: A) Man-in-the-middle attack

B) Denial-of-service (DoS) attack C) Spoofing attack D) Replay attack Answer: B Rationale: A Denial-of-Service (DoS) attack aims to disrupt the normal functioning of a target system by overwhelming it with traffic, making it unavailable to users. A distributed DoS (DDoS) attack involves multiple compromised systems.

SECTION 3: SECURITY ARCHITECTURE (Questions 71-100)

11. Which cloud deployment model is shared by multiple organizations with common concerns, such as security requirements or compliance? A) Public cloud B) Private cloud C) Hybrid cloud D) Community cloud Answer: D Rationale: A community cloud is a cloud deployment model where infrastructure is shared by several organizations with a shared concern, such as regulatory compliance or security requirements. 12. Which of the following is a primary benefit of implementing Zero Trust architecture? A) Simplifying network configuration B) Eliminating all security threats C) Reducing the risk of lateral movement by attackers D) Increasing network speed Answer: C Rationale: Zero Trust architecture assumes no implicit trust and requires verification for every access request. This significantly reduces the risk of lateral movement, as an attacker who compromises one system cannot easily move to others without additional authentication.

encryption, replacing the previous WPA2 standard. It addresses vulnerabilities found in earlier protocols.

SECTION 4: SECURITY OPERATIONS (Questions 101-125)

16. Which log contains a record of all successful and failed login attempts on a Windows system? A) Security log B) Application log C) System log D) Setup log Answer: A Rationale: The Windows Security log records security-related events, including successful and failed login attempts, access to resources, and changes to user privileges. This is essential for security monitoring and auditing. 17. A security analyst is investigating a potential security incident. Which of the following is the FIRST step in the incident response process? A) Containment B) Eradication C) Preparation D) Detection and analysis Answer: D Rationale: According to the NIST incident response framework, detection and analysis is the first phase after preparation. This involves identifying and analyzing potential security incidents. 18. What is the purpose of conducting a "tabletop exercise" in security operations? A) To test network performance B) To evaluate the effectiveness of security controls

C) To practice incident response procedures in a simulated environment D) To identify vulnerabilities in software Answer: C Rationale: Tabletop exercises are discussion-based exercises where team members walk through incident response scenarios to practice procedures, identify gaps, and improve coordination without disrupting live systems.

SECTION 5: SECURITY PROGRAM MANAGEMENT (Questions

19. An organization is implementing a security awareness training program. Which topic is MOST critical to include to reduce the risk of social engineering attacks? A) Password complexity requirements B) How to identify and report phishing attempts C) Proper disposal of hardware D) Network architecture design Answer: B Rationale: Social engineering attacks, especially phishing, are among the most common attack vectors. Training users to identify and report suspicious communications is critical for reducing this risk. 20. Which risk treatment strategy involves transferring the risk to a third party, such as through insurance? A) Risk avoidance B) Risk mitigation C) Risk transference D) Risk acceptance Answer: C Rationale: Risk transference shifts the financial impact of a risk to a third party, typically through insurance or contracts. The risk itself is not eliminated, but the financial responsibility is transferred.

34. D – The principle of least privilege states that users should be given only the minimum access necessary to perform their job functions. 35. B – DNS spoofing (or cache poisoning) is an attack where a threat actor corrupts the DNS cache to redirect users to malicious websites. 36. A – Symmetric encryption uses a single key for both encryption and decryption, requiring the key to be shared securely between parties. 37. C – Asymmetric encryption uses a pair of keys (public and private), where the public key encrypts data and the private key decrypts it. 38. B – Public Key Infrastructure (PKI) is a framework that manages digital certificates and public-key encryption for secure communications. 39. A – A certificate authority (CA) is a trusted third party that issues and manages digital certificates to verify identities. 40. D – The principle of separation of duties requires multiple individuals to perform critical tasks, reducing the risk of fraud and errors. 41. B – Phishing, spear phishing, and whaling are all forms of social engineering that use deception to obtain sensitive information. 42. A – A honeypot is a decoy system designed to attract attackers, allowing security teams to study their methods without compromising production systems. 43. C – Penetration testing is a simulated attack on a system to identify vulnerabilities that could be exploited by attackers. 44. D – Endpoint detection and response (EDR) solutions provide real-time monitoring and response capabilities for endpoint devices. 45. B – Secure Sockets Layer/Transport Layer Security (SSL/TLS) protocols provide encryption for data in transit over the Internet. 46. A – A virtual private network (VPN) extends a private network across a public network, encrypting data in transit. 47. C – Biometric authentication uses unique physical characteristics, such as fingerprints or iris patterns, to verify identity. 48. D – Security awareness training is the most effective way to reduce the risk of social engineering attacks, as human error is often the weakest link.

49. B – An incident response plan (IRP) outlines the procedures to follow when a security incident occurs. 50. A – Redundancy and failover capabilities are essential for ensuring high availability and meeting availability requirements. 51. C – A disaster recovery plan (DRP) focuses on restoring critical systems and operations after a catastrophic event. 52. B – Risk assessment is the process of identifying, analyzing, and evaluating risks to determine the appropriate risk treatment strategy. 53. A – A vulnerability is a weakness in a system that could be exploited by a threat actor. 54. D – A threat is any potential danger to an organization's assets or operations. 55. C – Malware is malicious software designed to damage, disrupt, or gain unauthorized access to a system. 56. B – Ransomware is a type of malware that encrypts files and demands payment for decryption. 57. A – A backdoor is a hidden method of bypassing normal authentication to gain unauthorized access to a system. 58. D – A zero-day vulnerability is a previously unknown vulnerability for which no patch is available. 59. C – The principle of "need to know" restricts access to information to only those individuals who require it to perform their duties. 60. B – A fault-tolerant system is designed to continue operating properly in the event of a failure. 61. A – A cold site is a disaster recovery facility that provides only infrastructure with no hardware or software pre-installed. 62. D – A hot site is a fully operational disaster recovery facility with redundant hardware and data, ready to take over immediately. 63. C – Recovery Time Objective (RTO) is the maximum acceptable time that a system can be unavailable after a disaster.

79. C – A security framework provides a structured approach to managing security risks. 80. B – The NIST Cybersecurity Framework is a widely adopted framework for improving cybersecurity. 81. A – The ISO 27001 standard specifies requirements for an information security management system (ISMS). 82. D – A standard is a documented requirement that specifies how to achieve a security objective. 83. C – A guideline is a recommended practice that provides guidance for achieving security objectives. 84. B – A security control is a safeguard or countermeasure designed to reduce security risk. 85. A – A physical control is a security control implemented in the physical environment, such as locks, guards, or cameras. 86. D – A technical control is a security control implemented using technology, such as firewalls, encryption, or access control systems. 87. C – An administrative control is a security control implemented through policies and procedures. 88. B – Access control lists (ACLs) are used to control who can access network resources and what they can do. 89. A – A MAC address is a hardware address assigned to network interfaces for identification. 90. D – An IP address is a logical address used to identify a device on a network. 91. C – A subnet mask is used to divide an IP network into subnets for better management and security. 92. B – Network segmentation divides a network into smaller segments to limit the spread of security threats. 93. A – A demilitarized zone (DMZ) is a network segment that exposes external-facing services to untrusted networks.

94. D – A proxy server acts as an intermediary between users and the Internet, providing security and privacy. 95. C – Content filtering restricts access to web content based on policies, preventing access to malicious or inappropriate sites. 96. B – Email filtering is used to block spam and malicious emails from reaching users. 97. A – Antivirus software is used to detect and remove malware from systems. 98. D – Anti-malware is a broader category that includes antivirus and other tools for detecting various types of malicious software. 99. C – Host-based intrusion detection systems (HIDS) monitor activity on individual hosts for signs of intrusion. 100. B – Network-based intrusion detection systems (NIDS) monitor network traffic for malicious activity. 101. A – Application whitelisting is a security approach that allows only approved applications to run on a system. 102. D – Application blacklisting is the traditional approach of blocking known malicious applications. 103. C – Group Policy is a Windows feature that allows administrators to manage security settings across multiple systems. 104. B – System hardening is the process of reducing the attack surface by disabling unnecessary services and securing configurations. 105. A – A baseline is a minimum security configuration that systems should meet. 106. D – Change management is the process of controlling changes to systems to prevent unintended security impacts. 107. C – Configuration management tracks and controls system configurations to ensure they remain secure. 108. B – Asset management is the process of tracking and managing hardware and software assets. 109. A – Software asset management tracks software licenses and ensures compliance with license agreements.

128. B – Segregation of duties is the practice of dividing responsibilities to reduce fraud and errors. 129. A – Job rotation is the practice of rotating employees through different roles to prevent fraud and increase flexibility. 130. D – Mandatory vacation policies require employees to take time off to detect fraudulent activities. 131. C – Background checks are used to verify an employee's identity and history before hiring. 132. B – Onboarding is the process of integrating new employees into the organization. 133. A – Offboarding is the process of removing an employee's access when they leave the organization. 134. D – Non-disclosure agreements (NDAs) prevent employees from sharing confidential information. 135. C – Code of conduct documents define acceptable behavior for employees. 136. B – Acceptable use policies (AUPs) define how employees are permitted to use company resources. 137. A – A cloud access security broker (CASB) provides visibility and control over cloud application usage. 138. D – Security as a Service (SECaaS) delivers security solutions through a cloud-based subscription model. 139. C – Software-defined networking (SDN) separates the network control plane from the data plane for more flexible management. 140. B – Software-defined perimeter (SDP) is a security approach that hides network infrastructure from unauthorized users. 141. A – Identity as a Service (IDaaS) provides identity management through a cloud service. 142. D – Privileged access management (PAM) controls and monitors access to privileged accounts. 143. C – Password managers are used to securely store and manage passwords.

144. B – Single sign-on (SSO) allows users to authenticate once and access multiple systems. 145. A – Federation allows identity management across organizational boundaries. 146. D – Multifactor authentication (MFA) requires multiple verification factors for authentication. 147. C – Adaptive authentication adjusts authentication requirements based on risk factors. 148. B – Biometrics use unique physical characteristics for authentication. 149. A – A knowledge-based authentication (KBA) method uses personal information for verification. 150. D – Risk-based authentication adjusts authentication requirements based on the assessed risk level of an access request.