CompTIA Security+ · SY0-701 · Domain 3 (18% of the exam)

Security+ Security Architecture Practice Questions

Domain 3 tests whether you can choose the right design for a requirement: where to place a device, which cloud model fits, how to protect data and how to keep services running. These 15 original questions each state the requirement that decides the answer. Explanations are included for every question.

What these 15 questions cover

  • Cloud responsibility, serverless and infrastructure as code
  • Secure network design: screened subnets, jump servers and 802.1X
  • Security appliances: WAF, IPS failure modes and SASE
  • Data states, tokenization and data sovereignty
  • Resilience: recovery sites, power and backups
Question 1 of 15

Cloud responsibility

A company runs its application on virtual machines rented from an infrastructure as a service (IaaS) provider. A critical patch is released for the operating system installed on those virtual machines. Who is responsible for applying it?

All 15 Security+ Security Architecture questions with answers

Try the set above first. Then open any question below to check the answer and read why it is correct.

  1. Cloud responsibility

    1. A company runs its application on virtual machines rented from an infrastructure as a service (IaaS) provider. A critical patch is released for the operating system installed on those virtual machines. Who is responsible for applying it?

    • A. The cloud provider, because it owns the physical hosts and hypervisor
    • B. The customer, because it manages the guest operating system
    • C. The operating system vendor, through the cloud provider
    • D. Neither party, because IaaS platforms patch themselves
    Show the answer

    B. The customer, because it manages the guest operating system

    In IaaS the provider secures the physical facilities, hardware and hypervisor, while the customer is responsible for the guest operating system, applications and data. The provider owning the hosts does not extend its responsibility into the virtual machines the customer controls.

  2. Failure modes

    2. A bank places an intrusion prevention system (IPS) inline in front of its payment network. The security policy states that no uninspected traffic may ever reach the payment network, even if that causes an outage. How should the IPS be configured to behave if it fails?

    • A. Fail-open
    • B. Tap mode
    • C. Fail-closed
    • D. Port mirroring
    Show the answer

    C. Fail-closed

    A fail-closed device blocks all traffic when it fails, which keeps uninspected traffic out at the cost of availability. Fail-open would keep the payment network reachable during a failure, but traffic would pass without inspection, which the policy forbids.

  3. Secure network design

    3. Administrators on the corporate network need to manage servers in an isolated production segment. The security team wants every administrative session to pass through one hardened, closely monitored host instead of allowing direct connections. What should be deployed?

    • A. Jump server
    • B. Forward proxy
    • C. Load balancer
    • D. NAT gateway
    Show the answer

    A. Jump server

    A jump server is a hardened host that acts as the single controlled entry point for administrative access into a protected segment. A forward proxy handles outbound requests from internal users to external sites, not inbound administrative sessions.

  4. Security appliances

    4. A public web application is receiving SQL injection and cross-site scripting attempts. The code fix will take a month, and the company needs a control that inspects HTTP requests and blocks these attacks in the meantime. Which device is the BEST choice?

    • A. Layer 4 firewall
    • B. VPN concentrator
    • C. Load balancer
    • D. Web application firewall
    Show the answer

    D. Web application firewall

    A web application firewall inspects HTTP and HTTPS content at the application layer and can block injection and scripting payloads. A layer 4 firewall filters on addresses and ports, so it would allow these attacks through because they arrive on the permitted web port.

  5. Port security

    5. A company wants wall ports in its conference rooms to pass traffic only after the connected device has authenticated with a certificate. The switch must forward each authentication attempt to a RADIUS server, which validates the certificate. Which technology provides this?

    • A. Port mirroring
    • B. MAC address filtering
    • C. 802.1X
    • D. VLAN trunking
    Show the answer

    C. 802.1X

    802.1X is port-based network access control: the switch blocks normal traffic on the port until the authentication server, such as RADIUS, confirms that the device has authenticated. MAC address filtering checks only a hardware address, which is easily spoofed and involves no certificate or RADIUS authentication.

  6. Cloud models

    6. Developers want to run small pieces of code in response to events such as a file upload. They do not want to manage servers or operating systems, and they want to pay only when the code runs. Which architecture model fits these requirements?

    • A. Infrastructure as a service
    • B. Serverless
    • C. On-premises virtualization
    • D. Self-managed container hosts
    Show the answer

    B. Serverless

    In a serverless model the provider runs and scales the underlying servers, and the customer deploys functions that are billed per execution. With infrastructure as a service the customer still manages the operating system and pays for virtual machines whether or not code is running.

  7. Infrastructure as code

    7. A cloud team builds its test and production environments by hand, and the two have drifted apart in configuration. The team wants every environment deployed identically from version-controlled template files. Which approach should it adopt?

    • A. Microservices
    • B. Air-gapped networks
    • C. Software-defined WAN
    • D. Infrastructure as code
    Show the answer

    D. Infrastructure as code

    Infrastructure as code defines servers, networks and settings in files that can be versioned, reviewed and deployed repeatedly with the same result. Microservices describes how an application is split into small services, and does not address how environments are provisioned.

  8. Data protection

    8. A retailer wants its order database to hold a substitute value in place of each credit card number. The substitute must have no mathematical relationship to the real number, and the real numbers will be kept only in a separate vault run by the payment processor. Which technique is this?

    • A. Tokenization
    • B. Encryption
    • C. Hashing
    • D. Data masking
    Show the answer

    A. Tokenization

    Tokenization replaces sensitive data with a token that has no mathematical link to the original, with the mapping held in a separate vault. Encryption output is mathematically derived from the original and can be reversed by anyone who obtains the key.

  9. Data states

    9. A database server decrypts customer records and holds them in memory while it runs an analytics query against them. Which state of data does this describe?

    • A. Data at rest
    • B. Data in transit
    • C. Data in use
    • D. Data in archive
    Show the answer

    C. Data in use

    Data in use is data being actively processed in memory or by the CPU. Data at rest describes the records while they sit in storage, which is not the moment described in the scenario.

  10. Data sovereignty

    10. A company's legal counsel requires that personal data about German customers be stored only in data centers located in Germany, because data is subject to the laws of the country where it is stored. Which concept is behind this requirement?

    • A. Data classification
    • B. Data sovereignty
    • C. Data masking
    • D. Data retention
    Show the answer

    B. Data sovereignty

    Data sovereignty is the principle that data is governed by the laws of the country in which it resides, which drives decisions about storage location. Data classification labels data by sensitivity and does not determine which country's laws apply.

  11. Recovery sites

    11. A trading firm must be able to resume operations within minutes of losing its primary data center. The alternate facility must have running hardware and data replicated in near real time. Which type of site meets this requirement?

    • A. Hot site
    • B. Warm site
    • C. Cold site
    • D. Off-site tape vault
    Show the answer

    A. Hot site

    A hot site is fully equipped, running and kept current with replicated data, so operations can move to it almost immediately. A warm site has hardware in place but needs data restored and systems configured, which takes hours or longer.

  12. Power resilience

    12. A data center has a backup generator that takes about 30 seconds to start. During each utility power failure, servers shut down abruptly before the generator comes online. What should be added to solve this problem?

    • A. A second backup generator
    • B. A surge suppressor
    • C. An additional power distribution unit
    • D. An uninterruptible power supply
    Show the answer

    D. An uninterruptible power supply

    An uninterruptible power supply provides immediate battery power that bridges the gap until the generator is running. A second generator would have the same startup delay, so the servers would still lose power.

  13. Backup strategy

    13. Ransomware encrypted a company's production file server and also its backups, which were stored on a network share that was always connected. Which change would BEST ensure a recoverable copy survives a similar attack?

    • A. Taking more frequent snapshots on the same storage array
    • B. Replicating the backups to a second always-connected network share
    • C. Keeping offline backup copies disconnected from the network
    • D. Rebuilding the file server storage as a RAID 6 array
    Show the answer

    C. Keeping offline backup copies disconnected from the network

    Offline copies cannot be reached by malware moving across the network, so they remain available for recovery. Replicating to another connected share would simply expose a second copy to the same ransomware.

  14. Secure access

    14. Most of a company's staff work remotely and use SaaS applications. Routing all of their traffic through the headquarters VPN is slow, so the company wants a cloud-delivered service that combines wide area networking with security functions such as a secure web gateway and Zero Trust network access. Which solution fits?

    • A. Secure access service edge
    • B. Site-to-site IPsec VPN
    • C. Screened subnet
    • D. Jump server
    Show the answer

    A. Secure access service edge

    Secure access service edge (SASE) delivers networking and security services together from the cloud, close to wherever users are. A site-to-site IPsec VPN connects fixed offices to each other and does not provide cloud-delivered security for individual remote users.

  15. Secure network design

    15. A company hosts a public web server on premises. The server must be reachable from the internet, but if it is compromised the attacker should not have direct access to the internal LAN. Where should the server be placed?

    • A. On the internal server VLAN
    • B. On the management network
    • C. On the guest wireless network
    • D. In a screened subnet
    Show the answer

    D. In a screened subnet

    A screened subnet sits between the internet and the internal network, with firewall rules controlling traffic on both sides, so a compromised public server is contained. Placing it on the internal server VLAN would put a compromised host directly beside internal systems.

More Security+ practice questions by topic

Frequently asked questions

How much of the Security+ exam is Domain 3?
Security Architecture is weighted at 18% of SY0-701. CompTIA publishes the weight for each domain but not an exact number of questions.
What is the difference between fail-open and fail-closed?
A fail-open device lets traffic pass when it fails, which favors availability. A fail-closed device blocks traffic when it fails, which favors security. The scenario will tell you which one the organization values more.
Do I need hands-on cloud experience for this domain?
No, but you need to understand the concepts: who is responsible for what in each cloud model, how serverless, containers and infrastructure as code differ, and how to apply segmentation, data protection and resilience to a design.

Practice Security+ PBQs

Performance-based questions (PBQs) are the hands-on simulations on the real exam. Practice them in our PBQ labs.

More Security+ resources

Want more Security+ Security Architecture questions?

Practice by domain in the full question bank, take timed mock exams and see exactly where to focus next.

Get started