CompTIA Security+ Domain 3: Security Architecture
36 free practice questions for Security Architecture in the CompTIA Security+ (SY0-701) exam. Try each question first, then open "Show answer" for the correct option and explanation.
Security Architecture practice questions
-
Question 1. A company moves its web servers to cloud VMs and later discovers they were compromised through an unpatched web server package. Under the shared responsibility model, whose failure is this?
Show answer
Answer: A. The customer's, because it manages software on its IaaS instances
In IaaS, the provider secures the facilities, hardware, and hypervisor. The customer patches the OS and the applications it installs.
-
Question 2. Which cloud service model leaves the customer responsible mainly for data, user access, and configuration of the application?
Show answer
Answer: C. SaaS
With SaaS the provider runs the whole application stack. Customers still own their data, identities, and settings.
-
Question 3. A team defines servers, networks, and firewall rules in version-controlled template files that are deployed automatically. What is this practice?
Show answer
Answer: A. Infrastructure as code
IaC makes infrastructure repeatable and reviewable, which reduces misconfiguration and drift.
-
Question 4. Which architecture runs code in response to events without the customer managing any servers?
Show answer
Answer: C. Serverless
In serverless (function as a service), the provider manages the servers and scaling. Customers focus on code and permissions.
-
Question 5. What is a key security benefit of an air-gapped network?
Show answer
Answer: A. It has no network connection to untrusted networks, blocking remote attacks
Air gaps physically isolate systems. Removable media and insiders remain risks, so physical and media controls still matter.
-
Question 6. Which technology separates the control plane from the data plane so the network can be managed centrally through software?
Show answer
Answer: A. Software-defined networking (SDN)
SDN centralizes control in a controller that programs forwarding devices. That controller must be well protected.
-
Question 7. Industrial control systems that run a water treatment plant are an example of which type of system?
Show answer
Answer: C. ICS/SCADA
SCADA and ICS control physical processes. Availability and safety are top priorities, and patching is often difficult.
-
Question 8. Why are embedded and IoT devices often hard to secure?
Show answer
Answer: B. Limited compute, long lifespans, and infrequent vendor patches
Constraints on power, compute, and update support mean many IoT devices need network segmentation and monitoring as compensating controls.
-
Question 9. Containers on one host share which component, which affects isolation compared with VMs?
Show answer
Answer: A. The host operating system kernel
Containers share the host kernel, so a kernel vulnerability can affect all of them. VMs each have their own kernel.
-
Question 10. A firewall protecting a hospital's life-support network loses power. Which failure mode should it use so that critical traffic keeps flowing?
Show answer
Answer: D. Fail-open
Fail-open allows traffic when a device fails, prioritizing availability. Fail-closed blocks traffic, prioritizing security.
-
Question 11. Which device placement lets an IPS block malicious traffic in real time?
Show answer
Answer: C. Inline, with traffic passing through it
An inline device can drop packets. A tap or SPAN port only sees copies, which suits passive detection (IDS).
-
Question 12. Administrators must reach servers in a secure zone. Which design limits exposure by providing a single hardened entry point?
Show answer
Answer: C. A jump server
A jump server (bastion host) is a controlled, monitored gateway into a secure network segment.
-
Question 13. Which protocol provides port-based network access control so a device must authenticate before its switch port passes traffic?
Show answer
Answer: B. IEEE 802.1X
802.1X uses EAP with a RADIUS server to authenticate devices or users. 802.1Q is VLAN tagging.
-
Question 14. A company needs a firewall that can block SQL injection and cross-site scripting aimed at its web application. What should it deploy?
Show answer
Answer: B. A web application firewall (WAF)
A WAF inspects HTTP requests at layer 7 for application attacks.
-
Question 15. What distinguishes a next-generation firewall (NGFW) from a basic stateful firewall?
Show answer
Answer: B. It identifies applications and users and can inspect traffic content
NGFWs add application awareness, user identity, and often intrusion prevention to stateful filtering.
-
Question 16. Which cloud-delivered architecture combines SD-WAN with security services such as secure web gateway, CASB, and zero trust access?
Show answer
Answer: A. SASE
Secure access service edge (SASE) delivers networking and security from the cloud close to users.
-
Question 17. A company's remote workers need all traffic encrypted between their laptops and headquarters. Which technology is MOST appropriate?
Show answer
Answer: D. A remote access VPN
A remote access VPN (IPsec or TLS) creates an encrypted tunnel from the device to the corporate network.
-
Question 18. In IPsec, which protocol provides encryption of the payload?
Show answer
Answer: B. Encapsulating Security Payload (ESP)
ESP provides confidentiality and integrity. AH provides integrity and authentication but no encryption.
-
Question 19. Data sitting in a database on a storage array is in which state?
Show answer
Answer: B. Data at rest
Stored data is at rest. Data in transit moves across a network, and data in use is being processed in memory.
-
Question 20. Which protection addresses data in use?
Show answer
Answer: D. Secure enclaves that protect data during processing
Confidential computing technologies such as secure enclaves protect data while it's being processed.
-
Question 21. A country's law requires citizens' data to be stored and processed within its borders. What concept is this?
Show answer
Answer: C. Data sovereignty
Data sovereignty means data is subject to the laws of the country where it is located, which affects where it may be stored.
-
Question 22. A support agent sees only the last four digits of a customer's card number. Which technique is used?
Show answer
Answer: A. Data masking
Masking hides part of the data from users who don't need the full value.
-
Question 23. Which classification label is MOST appropriate for a company's unreleased product designs?
Show answer
Answer: A. Confidential
Trade secrets and intellectual property need restricted handling to protect competitive advantage.
-
Question 24. Which approach provides high availability by spreading requests across several servers that all serve users at once?
Show answer
Answer: C. Load balancing in an active/active configuration
Active/active load balancing keeps service up if one node fails and improves capacity.
-
Question 25. A company needs a recovery site with equipment and data ready so it can take over within minutes. Which site type is this?
Show answer
Answer: A. A hot site
Hot sites are fully equipped and kept current, so they are fastest to activate and most expensive.
-
Question 26. Which recovery site has power, space, and some equipment, but needs data restored and configuration before use?
Show answer
Answer: C. A warm site
A warm site is a middle ground in cost and recovery time between hot and cold sites.
-
Question 27. Why might an organization use more than one cloud provider for critical workloads?
Show answer
Answer: A. To avoid a single provider outage taking down the service
Multi-cloud adds resilience and reduces dependency on a single provider, though it increases complexity.
-
Question 28. What does platform diversity add to resilience?
Show answer
Answer: C. A single vulnerability is less likely to affect every system
Using different operating systems or vendors means one flaw or failure won't take down everything.
-
Question 29. Which test gathers the incident response team to talk through a disaster scenario without touching production systems?
Show answer
Answer: C. A tabletop exercise
Tabletop exercises are discussion-based walkthroughs that validate plans and roles at low cost.
-
Question 30. A company runs its recovery systems alongside production and compares results before cutting over. What type of test is this?
Show answer
Answer: D. Parallel processing
In parallel processing, both systems handle the same work so the recovery system can be validated without disrupting production.
-
Question 31. Which backup approach captures the state of a virtual machine at a specific moment, allowing quick rollback?
Show answer
Answer: A. A snapshot
Snapshots capture point-in-time state and are fast to create and restore, though they aren't a substitute for separate backups.
-
Question 32. Why should at least one backup copy be kept offline or immutable?
Show answer
Answer: C. Ransomware can encrypt or delete backups it can reach on the network
Immutable or offline copies can't be altered by an attacker who compromises the network.
-
Question 33. Which device keeps servers running for a short time during a power outage until a generator starts?
Show answer
Answer: C. An uninterruptible power supply (UPS)
A UPS bridges the gap with battery power. Generators provide longer-term power.
-
Question 34. What is the purpose of capacity planning in resilience?
Show answer
Answer: A. Ensuring enough people, technology, and infrastructure to meet demand
Capacity planning anticipates demand so the organization can handle growth and surges without outages.
-
Question 35. Which database technique records every change in a log so transactions can be replayed after a failure?
Show answer
Answer: C. Journaling
Journaling keeps a record of changes, enabling recovery to a consistent state.
-
Question 36. A web application sits behind a reverse proxy. Which security benefit does the proxy MOST directly provide?
Show answer
Answer: B. It hides the internal servers and can filter inbound requests
A reverse proxy is the public-facing endpoint, shielding back-end servers and centralizing controls such as TLS and filtering.
CompTIA and Security+ are trademarks or registered trademarks of CompTIA, Inc. These questions are original study material, not questions from the real exam.