On the Security+ · 19% of Security+ SY0-801 (Domain 3)
Scenario questions covering Zero Trust, network segmentation, cloud security architecture, physical controls, and secure protocols.
What Architecture & Design tests
Mapped to SY0-801 Domain 3 (Security Architecture), this topic tests how security is designed into systems before an attack occurs—Zero Trust principles, DMZs and microsegmentation, cloud shared models, resilient backups/failover, and choosing secure protocols over legacy plaintext services.
Where test-takers lose points
Confusing network segmentation with isolation or air-gapping
VLANs and subnets logically segment traffic; microsegmentation enforces granular east-west policy between workloads; an air gap physically disconnects a critical network from untrusted networks.
Choosing perimeter-only fixes on Zero Trust questions
Zero Trust assumes breach and requires continuous explicit verification per session/device/identity rather than trusting internal network traffic by location alone.
Mixing up SAST, DAST, and fuzzing in secure SDLC
SAST inspects source code statically without running the app; DAST probes a running application dynamically from outside; fuzzing feeds malformed inputs to uncover crashes.
How to practise Architecture & Design
Tie every architecture control to the specific problem it solves—lateral movement, single point of failure, plaintext eavesdropping, or unauthorized physical entry.
Common questions about Security+ Architecture & Design
What are the core principles of Zero Trust on Security+?
Never trust, always verify explicitly (identity, device health, context), enforce least privilege, and assume breach.
Do I need to memorize port numbers for Security+?
CompTIA tests secure vs insecure protocol replacements in scenarios (such as HTTPS 443, SFTP 22, LDAPS 636, SSH 22 over HTTP, FTP, LDAP, Telnet).
10 example questions with full explanations. Use the interactive practice above to work through the complete set.
Question 1medium
A financial services company hosts a customer-facing web application on a cloud platform. The security team needs visibility into misconfigured S3 buckets storing customer PII and wants automated remediation of policy violations across all cloud accounts. Which tool BEST addresses this requirement?
- A.Cloud Access Security Broker (CASB)
- B.Cloud Security Posture Management (CSPM)✓
- C.Web Application Firewall (WAF)
- D.Security Information and Event Management (SIEM)
Correct answer: B
CSPM continuously monitors cloud infrastructure for misconfigurations, enforces security policies, and provides automated remediation — making it the correct tool for identifying exposed S3 buckets and policy violations across cloud accounts. A CASB focuses on controlling user access to cloud applications and enforcing data-loss policies at the application layer, not infrastructure configuration. A WAF protects web applications from HTTP-based attacks but does not audit cloud resource configurations. A SIEM aggregates and correlates logs but does not directly remediate cloud misconfigurations.
Question 2medium
A security architect is designing a network where administrators must access servers in a highly restricted internal zone. The design requires that no direct connections from the corporate LAN to the restricted zone are permitted, and all administrative sessions must be logged and inspected. Which architecture component BEST satisfies both requirements?
- A.A DMZ hosting public-facing services
- B.A reverse proxy placed in front of the restricted internal zone
- C.A jump server (bastion host) between the two zones✓
- D.A VLAN separating corporate LAN traffic from restricted zone servers
Correct answer: C
A jump server (bastion host) acts as the single, hardened entry point between network zones. Administrators authenticate to the jump server first, and all session activity can be logged and inspected before traffic reaches the restricted zone — satisfying both requirements. A DMZ is designed for public-facing services, not internal administrative access control. A VLAN separates traffic logically but does not enforce session inspection or prevent direct connections without additional controls. A reverse proxy forwards client requests to backend servers for web traffic load balancing and filtering, not administrative session management between internal zones.
Question 3medium
A developer has stored user passwords in a database using SHA-256 without any additional processing. An attacker who obtains the database can quickly identify accounts using common passwords. Which improvement to the password storage process would BEST mitigate this attack?
- A.Encrypt the hashed values using AES-256 before storing them
- B.Add a unique random salt to each password before hashing✓
- C.Hash each password twice using SHA-256 to increase complexity
- D.Switch from SHA-256 to MD5 for faster hashing performance
Correct answer: B
Adding a unique random salt to each password before hashing defeats precomputed rainbow table attacks — the most efficient way an attacker exploits unsalted common-password hashes — because the salt makes each hash unique even when two users share the same password. MD5 is cryptographically broken and should never be used for password storage. Encrypting already-weak hashes with AES-256 does not fix the underlying vulnerability; if the encryption key is compromised, the weak hashes are exposed. Hashing twice with SHA-256 ('double hashing') provides negligible security benefit and does not prevent rainbow table attacks against common passwords.
Question 4medium
An organization is adopting a Zero Trust architecture. Currently, once a user authenticates to the VPN, they have unrestricted access to all internal servers. Which change BEST aligns the environment with Zero Trust principles?
- A.Implement microsegmentation so that access to each resource requires explicit, per-session authorization based on user identity and device posture✓
- B.Replace the VPN with a site-to-site IPSec tunnel to encrypt traffic between offices
- C.Deploy a network IDS to monitor internal traffic for anomalous behavior after authentication
- D.Require all users to connect through a dedicated VLAN that is separated from server traffic
Correct answer: A
Zero Trust operates on the principle of 'never trust, always verify' — no implicit trust is granted after authentication. Microsegmentation enforces least-privilege access at the resource level, requiring explicit authorization for every session based on identity and device health, directly addressing the broad implicit trust problem. Replacing VPN with IPSec tunnels addresses encryption between sites but does not change the implicit-trust problem once a user is connected. An IDS detects anomalies but does not enforce access controls or prevent lateral movement. A VLAN separates traffic segments but still grants broad access within the segment and does not implement per-resource authorization.
Question 5medium
A software team has completed development of a new internal application and wants to identify vulnerabilities that only appear at runtime — such as authentication flaws and injection vulnerabilities — without accessing the source code. Which application security testing method should the team use?
- A.Dynamic Application Security Testing (DAST)✓
- B.Manual code review by a senior developer
- C.Static Application Security Testing (SAST)
- D.Fuzz testing the input validation routines with malformed data
Correct answer: A
DAST tests a running application from the outside — simulating an attacker — without requiring access to source code. It is specifically designed to find runtime vulnerabilities such as authentication flaws, injection attacks, and session management issues. SAST analyzes source code or binaries without executing the application, so it requires code access and cannot find runtime-only issues. Manual code review also requires source code access and is prone to human oversight at scale. Fuzz testing sends unexpected or malformed inputs to find crashes and input-handling bugs, but it is narrower in scope than DAST and does not systematically test authentication flows or business logic flaws.
Question 6medium
A security architect is designing a PKI implementation for a mid-sized enterprise. The architect must ensure that certificates can be validated efficiently and that revoked certificates are detected quickly. Select all that apply — which components or mechanisms should be included in this PKI design? (Choose THREE.)
- A.Certificate pinning applied to all internal web servers to eliminate the need for a CRL
- B.Online Certificate Status Protocol (OCSP) responder to allow real-time certificate status checks✓
- C.Certificate Signing Request (CSR) generated by the CA and sent to the end entity
- D.An intermediate (subordinate) CA to protect the root CA by keeping it offline✓
- E.Certificate Revocation List (CRL) published at regular intervals to a known distribution point✓
Correct answer: B, E, D
OCSP (B) allows clients to check certificate status in real time without downloading a full CRL, while a published CRL (E) provides a periodic list of revoked certificates — both are standard revocation mechanisms in a robust PKI. An intermediate CA (D) shields the root CA so that if the subordinate CA is compromised, the root remains trusted and can revoke the intermediate. A CSR (C) is generated by the end entity and submitted to the CA, not the other way around, making C incorrect. Certificate pinning (A) hardcodes a specific certificate or public key and does not eliminate the need for revocation infrastructure — it is also impractical as a blanket policy for all internal servers and can cause outages during certificate renewal.
Question 7medium
An organization is migrating its on-premises Active Directory to a federated identity model so that employees can access third-party SaaS applications using their corporate credentials. Select all that apply: Which of the following protocols or standards would be appropriate to support this federated identity and single sign-on (SSO) scenario? (Choose THREE.)
- A.SAML 2.0✓
- B.OpenID Connect✓
- C.LDAP over port 389 (unencrypted)
- D.RADIUS
- E.OAuth 2.0✓
Correct answer: A, E, B
SAML 2.0 is specifically designed for federated SSO, passing authentication assertions between an identity provider and service providers — making it ideal for corporate-to-SaaS scenarios. OAuth 2.0 provides delegated authorization, allowing third-party apps to act on behalf of authenticated users. OpenID Connect is an identity layer built on top of OAuth 2.0 that adds authentication, widely used in modern SSO implementations. LDAP over port 389 is unencrypted and is an internal directory protocol, not suited for federated external access or SSO. RADIUS is primarily used for network access authentication (VPN, Wi-Fi) and does not support federation with SaaS applications.
Question 8medium
A systems administrator needs to replace insecure legacy protocols used for file transfer and directory queries across the enterprise network. Select all that apply: Which of the following protocol replacements correctly pair an insecure protocol with its secure alternative? (Choose THREE.)
- A.Replace LDAP (port 389) with LDAPS (port 636) for encrypted directory queries✓
- B.Replace unencrypted DNS with DNSSEC to add integrity validation to DNS responses✓
- C.Replace SRTP with RTP to improve voice call performance
- D.Replace FTP with SFTP (port 22) for encrypted file transfers✓
- E.Replace HTTPS (port 443) with HTTP (port 80) to reduce SSL overhead
Correct answer: D, A, B
SFTP runs over SSH (port 22) and provides encrypted file transfer, replacing the plaintext FTP protocol. LDAPS (port 636) wraps LDAP traffic in TLS, protecting directory queries and credentials from eavesdropping. DNSSEC adds cryptographic signatures to DNS records, protecting against DNS spoofing and cache poisoning without encrypting queries but ensuring integrity. Option E is backwards — replacing HTTPS with HTTP removes encryption and is never a valid security improvement. Option C is also backwards — SRTP is the secure version of RTP, providing encryption for voice and media streams; replacing it with RTP would remove security, not add it.
Question 9medium
A company's security team is reviewing the physical security controls at their primary data center after an audit flagged several gaps. Select all that apply: Which of the following physical security controls would directly reduce the risk of an unauthorized person gaining physical access to the server floor? (Choose THREE.)
- A.Deploying CCTV cameras with motion detection throughout the facility✓
- B.Placing bollards around the exterior of the building
- C.Installing a mantrap (access control vestibule) at the data center entrance✓
- D.Implementing full-disk encryption on all servers
- E.Requiring badge access with PIN for entry to the server room✓
Correct answer: C, E, A
A mantrap (access control vestibule) prevents tailgating by allowing only one person through at a time, directly controlling who enters the server floor. Badge access with PIN combines something you have (badge) and something you know (PIN), enforcing authentication before physical entry. CCTV with motion detection acts as a deterrent and provides detection and evidence for unauthorized access attempts. Bollards (Option B) protect against vehicle ramming attacks on the building exterior but do not directly prevent a person from walking into the server floor. Full-disk encryption (Option D) is a data protection control for confidentiality if hardware is stolen — it does not prevent unauthorized physical access to the room itself.
Question 10medium
A cloud security engineer is tasked with hardening the company's public key infrastructure (PKI) deployment. During the review, they identify that some clients may be connecting to servers using fraudulent certificates issued by a compromised intermediate CA. Select all that apply: Which of the following PKI mechanisms would help detect or prevent clients from trusting revoked or fraudulent certificates? (Choose THREE.)
- A.Checking the Certificate Revocation List (CRL) before trusting a presented certificate✓
- B.Implementing certificate pinning in the client application to reject unexpected certificates✓
- C.Increasing the RSA key length from 2048-bit to 4096-bit on the root CA
- D.Reissuing the Certificate Signing Request (CSR) with a longer validity period
- E.Using OCSP stapling so the server presents a signed, time-stamped revocation response✓
Correct answer: A, E, B
CRL checking allows clients to verify whether a certificate has been revoked before trusting it — if the compromised CA's certificates appear on the CRL, clients will reject them. OCSP stapling improves on standard OCSP by having the server provide a pre-fetched, CA-signed revocation status response, reducing latency and privacy concerns while keeping revocation checks current. Certificate pinning embeds the expected certificate or public key directly into the client application, so even a valid-looking certificate from a compromised CA will be rejected if it does not match the pinned value. Increasing RSA key length (Option C) improves key strength against brute force but does not address revocation or fraudulent issuance. Reissuing CSRs with longer validity periods (Option D) actually worsens the problem — longer-lived certificates remain valid longer if compromised, and the CSR itself does not perform any revocation or trust validation.