CompTIA Security+ Practice Questions: Security Architecture

58 free, exam-style CompTIA Security+ (SY0-701) practice questions covering Security Architecture. Each question shows the correct answer and a clear explanation. Ready for the real thing? Take the full timed quiz below.

🚀 Take the full CompTIA Security+ quiz 📘 CompTIA Security+ study guide

Q1. What is the PRIMARY purpose of RAID 1?

Explanation: RAID 1 provides fault tolerance by maintaining an exact copy (mirror) of all data on two or more disks. Learn more.

Q2. Which control would BEST mitigate tailgating attacks?

Explanation: Mantraps are physical security controls that prevent unauthorized individuals from following authorized personnel into secure areas. Learn more.

Q3. What is the PRIMARY purpose of NAC (Network Access Control)?

Explanation: NAC verifies device compliance with security policies before allowing network connectivity. Learn more.

Q4. What is the PRIMARY purpose of a firewall?

Explanation: Firewalls enforce access control policies between networks by filtering traffic. Learn more.

Q5. Which control would BEST protect against DDoS attacks?

Explanation: Cloud-based DDoS protection services can absorb massive attack traffic before it reaches your infrastructure. Learn more.

Q6. What is the PRIMARY purpose of a Faraday cage?

Explanation: Faraday cages block electromagnetic fields, preventing wireless signal leakage. Learn more.

Q7. What is the PRIMARY purpose of TPM (Trusted Platform Module)?

Explanation: TPM chips provide secure cryptographic operations and key storage. Learn more.

Q8. What is the PRIMARY purpose of a bastion host?

Explanation: Bastion hosts are specially hardened systems designed to withstand attacks from external networks. Learn more.

Q9. What is the PRIMARY purpose of a jump box?

Explanation: Jump servers act as intermediary access points to tightly controlled network segments. Learn more.

Q10. What is the PRIMARY purpose of an air gap?

Explanation: Air gaps provide maximum security by eliminating network connections to protected systems. Learn more.

Q11. Which control would BEST protect against shoulder surfing?

Explanation: Privacy screens limit viewing angles to prevent visual information theft. Learn more.

Q12. What is the PRIMARY purpose of a Faraday bag?

Explanation: Faraday bags block all radio signals to/from contained devices. Learn more.

Q13. What is the PRIMARY purpose of a proxy server?

Explanation: Proxies act as intermediaries that filter and forward client requests. Learn more.

Q14. Which control would BEST protect against tailgating?

Explanation: Mantraps physically prevent unauthorized personnel from following authorized individuals. Learn more.

Q15. What is the PRIMARY purpose of a VPN concentrator?

Explanation: VPN concentrators handle large numbers of simultaneous secure remote connections. Learn more.

Q16. What is the PRIMARY purpose of a next-generation firewall?

Explanation: NGFWs add application awareness and control to traditional firewall functions. Learn more.

Q17. What is the PRIMARY purpose of a demilitarized zone (DMZ)?

Explanation: DMZs provide a semi-protected zone between internal networks and the internet. Learn more.

Q18. What is the PRIMARY purpose of a web application firewall?

Explanation: WAFs specifically protect web apps by filtering malicious HTTP traffic. Learn more.

Q19. What is the PRIMARY risk of using WEP for wireless security?

Explanation: WEP's RC4 encryption can be cracked in minutes using tools like Aircrack-ng. Learn more.

Q20. What is the PRIMARY purpose of NAC (Network Access Control)?

Explanation: NAC checks device compliance (e.g., patch levels) before granting network access. Learn more.

Q21. Which protocol is used to securely manage network devices?

Explanation: SSH encrypts remote management sessions, unlike clear-text Telnet. Learn more.

Q22. Which control would BEST protect against ransomware?

Explanation: Immutable offline backups allow recovery without paying ransom. Learn more.

Q23. What is the PRIMARY purpose of a firewall?

Explanation: Firewalls enforce access policies by allowing/blocking traffic based on rules. Learn more.

Q24. Which protocol is vulnerable to VLAN hopping attacks?

Explanation: Dynamic Trunking Protocol (DTP) can be exploited to gain unauthorized VLAN access. Learn more.

Q25. Which control would BEST protect against DDoS attacks?

Explanation: Cloud-based scrubbing centers filter malicious traffic before it reaches targets. Learn more.

Q26. Which attack vector specifically targets vulnerabilities in web applications by injecting database queries?

Explanation: SQL injection manipulates database queries through unfiltered user input. Learn more.

Q27. Which wireless security protocol is rendered ineffective due to its vulnerability to offline dictionary attacks?

Explanation: Wi-Fi Protected Setup (WPS) PINs can be brute-forced in hours using tools like Reaver. Learn more.

Q28. Which cloud deployment model shares infrastructure between organizations with similar compliance requirements?

Explanation: Community clouds serve multiple entities with shared regulatory needs (e.g., healthcare organizations under HIPAA). Learn more.

Q29. Which network device operates at Layer 7 to filter traffic based on application-layer data?

Explanation: WAFs inspect HTTP/HTTPS traffic for SQLi, XSS, and other application-layer attacks. Learn more.

Q30. Which cloud service model provides development platforms without managing underlying infrastructure?

Explanation: Platform-as-a-Service (PaaS) offers runtime environments for app development. Learn more.

Q31. Which RAID configuration provides both striping and dual parity fault tolerance?

Explanation: RAID 6 can withstand two simultaneous disk failures using two parity blocks. Learn more.

Q32. Which protocol secures VoIP communications through SRTP and ZRTP?

Explanation: Secure Real-time Transport Protocol (SRTP) encrypts voice/video streams. Learn more.

Q33. Which of the following is a primary benefit of implementing defense in depth as a security strategy?

Explanation: Defense in depth (or layered security) involves implementing multiple, overlapping security controls. The idea is that if one layer is breached, subsequent layers will provide additional protection, slowing down or stopping an attacker. Learn more.

Q34. Which security concept involves verifying a user's identity before granting access to resources, and then continuously monitoring their activity?

Explanation: Zero Trust is a security model based on the principle of 'never trust, always verify.' It requires strict identity verification for every person and device trying to access resources, regardless of whether they are inside or outside the network perimeter, and continuously validates trust. Learn more.

Q35. What is the primary purpose of an Intrusion Prevention System (IPS) compared to an Intrusion Detection System (IDS)?

Explanation: The key difference is that an IDS monitors traffic and alerts on potential threats, whereas an IPS is placed inline and can take active measures to block or prevent detected threats from reaching their target. Learn more.

Q36. Which of the following is a common vulnerability associated with improperly configured S3 buckets in cloud environments?

Explanation: Misconfigured permissions on cloud storage services like Amazon S3 buckets can inadvertently make sensitive data publicly accessible, leading to data breaches. Proper access control and regular audits are crucial. Learn more.

Q37. Which of the following is a security concern specifically related to the Internet of Things (IoT) devices?

Explanation: Many IoT devices ship with default credentials that are widely known or have hardcoded credentials that cannot be changed. They also often lack robust mechanisms for firmware updates, making them vulnerable to exploitation. Learn more.

Q38. Which security solution acts as an intermediary between on-premises infrastructure and cloud applications to enforce security policies?

Explanation: A CASB sits between users and cloud applications to monitor activity and enforce security policies like data loss prevention and access control. Learn more.

Q39. Which mobile security strategy involves separating corporate data from personal data on a BYOD device?

Explanation: Containerization creates a secure, encrypted area on a personal device for business apps and data, isolating it from personal content. Learn more.

Q40. Which data center design feature optimizes cooling by managing airflow to prevent the mixing of cool intake air and hot exhaust air?

Explanation: Hot and cold aisle containment arranges server racks so that cool air intakes face each other (cold aisle) and hot air exhausts face each other (hot aisle) to improve cooling efficiency. Learn more.

Q41. What is the term for a hardware-based root of trust that ensures a system boots using only software that is trusted by the Original Equipment Manufacturer (OEM)?

Explanation: Secure Boot is a feature of UEFI that prevents 'unauthorized' operating systems and software from loading during the startup process. Learn more.

Q42. Which security architecture model converges networking and security as a service capabilities (like CASB, FWaaS, and ZTNA) into a unified cloud-native service?

Explanation: SASE (Secure Access Service Edge) combines wide area networking (WAN) with comprehensive security functions (SWG, CASB, FWaaS, ZTNA) to support dynamic, secure access needs. Learn more.

Q43. Which application security testing method analyzes source code for vulnerabilities without executing the program?

Explanation: SAST (Static Application Security Testing) analyzes source code, byte code, or binaries for security vulnerabilities while the application is in a non-running state (white-box testing). Learn more.

Q44. What computing model processes data near the source of data generation (e.g., IoT sensors) rather than in a centralized cloud, to reduce latency?

Explanation: Edge computing brings computation and data storage closer to the location where it is needed (the 'edge' of the network), improving response times and saving bandwidth. Learn more.

Q45. Which security architecture places public-facing servers between external and internal firewalls?

Explanation: A demilitarized zone hosts externally reachable services while separating them from the internal network. Learn more.

Q46. Which data protection method replaces sensitive values with non-sensitive substitutes stored in a mapping system?

Explanation: Tokenization substitutes sensitive data with tokens while preserving a secure mapping to the original values. Learn more.

Q47. Which security model requires verification regardless of network location?

Explanation: Zero Trust assumes no implicit trust based on location and requires continuous verification and least privilege. Learn more.

Q48. Which cloud model gives the customer the most responsibility for operating system security?

Explanation: In IaaS, the customer typically manages operating systems, applications, identities, and data controls. Learn more.

Q49. Which data state is protected by TLS during a web session?

Explanation: TLS protects data as it moves across the network between client and server. Learn more.

Q50. Which data classification is usually the most restrictive?

Explanation: Restricted data generally requires the strongest handling controls because disclosure could cause significant harm. Learn more.

Q51. Which security principle assumes breach and limits lateral movement through segmentation and verification?

Explanation: Zero Trust assumes compromise is possible and applies segmentation, verification, and least privilege. Learn more.

Q52. Which security control monitors and blocks unauthorized sensitive data transfers?

Explanation: Data Loss Prevention tools monitor and restrict sensitive data movement. Learn more.

Q53. Which cloud security issue occurs when a storage bucket allows public read access unintentionally?

Explanation: Cloud misconfigurations such as public storage exposure are common causes of data leakage. Learn more.

Q54. Which network security control filters traffic between network segments based on predefined rules regarding source, destination, and port?

Explanation: A firewall enforces security policy by filtering network traffic between segments based on rules involving source/destination IP addresses, ports, and protocols. Learn more.

Q55. Which cloud security concept refers to the division of security duties between the cloud provider and the customer?

Explanation: The shared responsibility model defines which security tasks are handled by the cloud service provider (such as physical infrastructure) versus the customer (such as data and access management), varying by service model. Learn more.

Q56. What is the main purpose of network segmentation as a security control?

Explanation: Network segmentation divides a network into isolated zones, limiting an attacker's ability to move laterally and reducing the blast radius if one segment is compromised. Learn more.

Q57. Which wireless attack involves setting up a fraudulent access point with the same SSID as a legitimate network to intercept user traffic?

Explanation: An evil twin attack sets up a rogue access point mimicking a legitimate network's SSID, tricking users into connecting so the attacker can intercept or manipulate their traffic. Learn more.

Q58. What is the primary function of a data loss prevention (DLP) solution?

Explanation: DLP solutions inspect data in motion, at rest, and in use, blocking or alerting on unauthorized attempts to transmit sensitive information outside the organization. Learn more.

More CompTIA Security+ practice topics