CompTIA Security+ · Domain 3 of 5 · 18% of the exam

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

  1. 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?

    1. The customer's, because it manages software on its IaaS instances
    2. The provider's, because it owns the physical hosts
    3. The hypervisor vendor's, because the VMs run on its code
    4. Nobody's, because cloud workloads are covered by the provider's SLA
    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.

  2. Question 2. Which cloud service model leaves the customer responsible mainly for data, user access, and configuration of the application?

    1. IaaS
    2. On-premises hosting
    3. SaaS
    4. Colocation
    Show answer

    Answer: C. SaaS

    With SaaS the provider runs the whole application stack. Customers still own their data, identities, and settings.

  3. Question 3. A team defines servers, networks, and firewall rules in version-controlled template files that are deployed automatically. What is this practice?

    1. Infrastructure as code
    2. Software-defined storage
    3. Serverless computing
    4. Configuration drift
    Show answer

    Answer: A. Infrastructure as code

    IaC makes infrastructure repeatable and reviewable, which reduces misconfiguration and drift.

  4. Question 4. Which architecture runs code in response to events without the customer managing any servers?

    1. Microservices on VMs
    2. Bare-metal hosting
    3. Serverless
    4. Thin client computing
    Show answer

    Answer: C. Serverless

    In serverless (function as a service), the provider manages the servers and scaling. Customers focus on code and permissions.

  5. Question 5. What is a key security benefit of an air-gapped network?

    1. It has no network connection to untrusted networks, blocking remote attacks
    2. It encrypts all traffic automatically with strong ciphers
    3. It lets administrators patch systems directly from the internet
    4. It removes the need for physical security controls
    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.

  6. Question 6. Which technology separates the control plane from the data plane so the network can be managed centrally through software?

    1. Software-defined networking (SDN)
    2. Network address translation
    3. Spanning Tree Protocol
    4. Port mirroring
    Show answer

    Answer: A. Software-defined networking (SDN)

    SDN centralizes control in a controller that programs forwarding devices. That controller must be well protected.

  7. Question 7. Industrial control systems that run a water treatment plant are an example of which type of system?

    1. Real-time streaming media
    2. Enterprise resource planning
    3. ICS/SCADA
    4. Virtual desktop infrastructure
    Show answer

    Answer: C. ICS/SCADA

    SCADA and ICS control physical processes. Availability and safety are top priorities, and patching is often difficult.

  8. Question 8. Why are embedded and IoT devices often hard to secure?

    1. They always run full desktop operating systems
    2. Limited compute, long lifespans, and infrequent vendor patches
    3. They cannot connect to any network by design
    4. They require administrators to rewrite their firmware
    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.

  9. Question 9. Containers on one host share which component, which affects isolation compared with VMs?

    1. The host operating system kernel
    2. A separate hypervisor per container
    3. A dedicated physical NIC per container
    4. An independent BIOS for each container
    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.

  10. 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?

    1. Fail-closed
    2. Fail-secure
    3. Fail-silent
    4. Fail-open
    Show answer

    Answer: D. Fail-open

    Fail-open allows traffic when a device fails, prioritizing availability. Fail-closed blocks traffic, prioritizing security.

  11. Question 11. Which device placement lets an IPS block malicious traffic in real time?

    1. On a SPAN port that receives copies of traffic
    2. On a network tap in passive mode
    3. Inline, with traffic passing through it
    4. On a separate management VLAN only
    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).

  12. Question 12. Administrators must reach servers in a secure zone. Which design limits exposure by providing a single hardened entry point?

    1. A forward proxy
    2. A load balancer
    3. A jump server
    4. A DNS resolver
    Show answer

    Answer: C. A jump server

    A jump server (bastion host) is a controlled, monitored gateway into a secure network segment.

  13. Question 13. Which protocol provides port-based network access control so a device must authenticate before its switch port passes traffic?

    1. IEEE 802.3af
    2. IEEE 802.1X
    3. IEEE 802.11ac
    4. IEEE 802.1Q
    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.

  14. 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?

    1. A stateless packet filter
    2. A web application firewall (WAF)
    3. A layer 2 switch ACL
    4. A DNS sinkhole
    Show answer

    Answer: B. A web application firewall (WAF)

    A WAF inspects HTTP requests at layer 7 for application attacks.

  15. Question 15. What distinguishes a next-generation firewall (NGFW) from a basic stateful firewall?

    1. It filters only by source and destination IP addresses
    2. It identifies applications and users and can inspect traffic content
    3. It works only at layer 2 of the OSI model
    4. It cannot track the state of connections
    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.

  16. Question 16. Which cloud-delivered architecture combines SD-WAN with security services such as secure web gateway, CASB, and zero trust access?

    1. SASE
    2. SCADA
    3. SOAR
    4. SIEM
    Show answer

    Answer: A. SASE

    Secure access service edge (SASE) delivers networking and security from the cloud close to users.

  17. Question 17. A company's remote workers need all traffic encrypted between their laptops and headquarters. Which technology is MOST appropriate?

    1. A captive portal
    2. A reverse proxy
    3. Port address translation
    4. A remote access VPN
    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.

  18. Question 18. In IPsec, which protocol provides encryption of the payload?

    1. Authentication Header (AH)
    2. Encapsulating Security Payload (ESP)
    3. Internet Key Exchange only
    4. Generic Routing Encapsulation
    Show answer

    Answer: B. Encapsulating Security Payload (ESP)

    ESP provides confidentiality and integrity. AH provides integrity and authentication but no encryption.

  19. Question 19. Data sitting in a database on a storage array is in which state?

    1. Data in transit
    2. Data at rest
    3. Data in use
    4. Data in motion
    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.

  20. Question 20. Which protection addresses data in use?

    1. TLS encryption on every network link
    2. Full-disk encryption on each server's volumes
    3. Encrypted backup tapes stored at an offsite vault
    4. Secure enclaves that protect data during processing
    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.

  21. Question 21. A country's law requires citizens' data to be stored and processed within its borders. What concept is this?

    1. Data minimization
    2. Data masking
    3. Data sovereignty
    4. Data retention
    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.

  22. Question 22. A support agent sees only the last four digits of a customer's card number. Which technique is used?

    1. Data masking
    2. Hashing
    3. Steganography
    4. Encryption at rest
    Show answer

    Answer: A. Data masking

    Masking hides part of the data from users who don't need the full value.

  23. Question 23. Which classification label is MOST appropriate for a company's unreleased product designs?

    1. Confidential
    2. Public
    3. General release
    4. Open data
    Show answer

    Answer: A. Confidential

    Trade secrets and intellectual property need restricted handling to protect competitive advantage.

  24. Question 24. Which approach provides high availability by spreading requests across several servers that all serve users at once?

    1. A cold site kept ready in another region
    2. Weekly full backups written to tape
    3. Load balancing in an active/active configuration
    4. One large server using a RAID 0 disk array
    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.

  25. 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?

    1. A hot site
    2. A warm site
    3. A cold site
    4. A mobile site
    Show answer

    Answer: A. A hot site

    Hot sites are fully equipped and kept current, so they are fastest to activate and most expensive.

  26. Question 26. Which recovery site has power, space, and some equipment, but needs data restored and configuration before use?

    1. A hot site
    2. A cold site
    3. A warm site
    4. A reciprocal site with live replication
    Show answer

    Answer: C. A warm site

    A warm site is a middle ground in cost and recovery time between hot and cold sites.

  27. Question 27. Why might an organization use more than one cloud provider for critical workloads?

    1. To avoid a single provider outage taking down the service
    2. To reduce the number of security controls needed
    3. To avoid having to encrypt any data
    4. To guarantee identical pricing across providers
    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.

  28. Question 28. What does platform diversity add to resilience?

    1. All systems can share one patching schedule
    2. Administrators need to learn fewer technologies
    3. A single vulnerability is less likely to affect every system
    4. Licensing costs are always reduced
    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.

  29. Question 29. Which test gathers the incident response team to talk through a disaster scenario without touching production systems?

    1. A full failover test
    2. A parallel processing test
    3. A tabletop exercise
    4. A penetration test
    Show answer

    Answer: C. A tabletop exercise

    Tabletop exercises are discussion-based walkthroughs that validate plans and roles at low cost.

  30. Question 30. A company runs its recovery systems alongside production and compares results before cutting over. What type of test is this?

    1. Tabletop exercise
    2. Simulation only
    3. Backup verification
    4. Parallel processing
    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.

  31. Question 31. Which backup approach captures the state of a virtual machine at a specific moment, allowing quick rollback?

    1. A snapshot
    2. A differential tape backup
    3. Journaling
    4. An offsite archive
    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.

  32. Question 32. Why should at least one backup copy be kept offline or immutable?

    1. Offline backups restore faster than online ones
    2. Online backups cannot be encrypted
    3. Ransomware can encrypt or delete backups it can reach on the network
    4. Regulations forbid online backups
    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.

  33. Question 33. Which device keeps servers running for a short time during a power outage until a generator starts?

    1. A power distribution unit
    2. A surge protector only
    3. An uninterruptible power supply (UPS)
    4. A managed network switch
    Show answer

    Answer: C. An uninterruptible power supply (UPS)

    A UPS bridges the gap with battery power. Generators provide longer-term power.

  34. Question 34. What is the purpose of capacity planning in resilience?

    1. Ensuring enough people, technology, and infrastructure to meet demand
    2. Reducing the number of backups the company keeps
    3. Removing redundant systems to cut costs
    4. Replacing incident response procedures
    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.

  35. Question 35. Which database technique records every change in a log so transactions can be replayed after a failure?

    1. Snapshotting
    2. Tokenization
    3. Journaling
    4. Deduplication
    Show answer

    Answer: C. Journaling

    Journaling keeps a record of changes, enabling recovery to a consistent state.

  36. Question 36. A web application sits behind a reverse proxy. Which security benefit does the proxy MOST directly provide?

    1. It encrypts the servers' storage volumes
    2. It hides the internal servers and can filter inbound requests
    3. It authenticates users' mobile devices with certificates
    4. It replaces the need for a firewall at the perimeter
    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.