Security Groups & NACLs, VPC Flow Logs, VPC Peering, AWS PrivateLink, Transit Gateway, VPC Traffic Mirroring, AWS Network Firewall, AWS Verified Access, and cross-account resource sharing via AWS RAM — nine pieces of the same underlying puzzle: controlling, connecting, and observing traffic at every layer of the network, including across account boundaries. The exam tests whether you can match the RIGHT layer to the RIGHT requirement.
VPC security questions are almost always testing whether you pick the narrowest, most appropriate tool for a described traffic-control or visibility requirement — and whether you know which of these six is PREVENTIVE (SGs, NACLs, Network Firewall, Verified Access) versus purely DETECTIVE (Flow Logs) versus purely CONNECTIVITY (PrivateLink, Transit Gateway, neither inherently security tools, though both reduce attack surface by design).
| Domain | Where This Bundle Shows Up |
|---|---|
| Infrastructure Security | The centerpiece — nearly every VPC-layer question across all six services |
| Security Logging & Monitoring | VPC Flow Logs as a foundational data source, including for GuardDuty |
| Identity & Access Management | Verified Access's identity + device posture evaluation model |
| Management & Security Governance | Transit Gateway-centralized inspection architecture, Network Firewall policy management at scale |
Unrestricted lateral movement, unfiltered egress to malicious domains, public internet exposure of internal services, unmanaged VPN-based remote access risk, lack of network traffic visibility
Control traffic at the most appropriate layer and gain visibility into what's actually happening on the network
The VPC Security Bundle
Layer defenses: SGs/NACLs first, Network Firewall (often Transit Gateway-attached) for L7 inspection, PrivateLink for service exposure without internet transit, Verified Access replacing VPN for remote app access.
Flow Logs → CloudWatch Logs/S3 → metric filters/Athena; Network Firewall logs → CloudWatch Logs Insights; Verified Access logs every access decision.
Update SG/NACL rules, Network Firewall rule groups, or Verified Access Cedar policies in response to findings — none of these self-remediate; changes are deliberate, human or automation-driven.
Exam appearance probability: HIGH
A connection failing intermittently, or working one direction but not the other, very often traces back to a NACL missing the ephemeral port range for return traffic — because NACLs are stateless and SGs are not. This single distinction generates a large share of VPC connectivity troubleshooting questions.
Requirement → Keywords → Expected Answer → why every distractor fails.
Missing NACL rule for the ephemeral port range on return traffic
| Distractor | Why it's wrong |
|---|---|
| Security group misconfiguration | SGs are stateful — once the inbound rule allows the request, the response is automatically permitted, making SGs a less likely root cause for this specific symmetric-traffic failure pattern |
AWS PrivateLink (Interface Endpoint)
| Distractor | Why it's wrong |
|---|---|
| VPC Peering | Provides broad bidirectional network connectivity between two entire VPCs — far more access than exposing a single service requires |
| Transit Gateway | Solves hub-and-spoke routing for MANY networks, not narrow single-service exposure |
Network Firewall natively attached to Transit Gateway
| Distractor | Why it's wrong |
|---|---|
| Distributed Network Firewall (one per VPC) | Works but doesn't centralize management/inspection or eliminate per-VPC deployment overhead |
| Security groups | No Layer 7/domain-based filtering capability at all |
Network Firewall URL/Domain Category filtering
| Distractor | Why it's wrong |
|---|---|
| Security group egress rules | Only support IP/CIDR/port — no domain or URL-category awareness |
AWS Verified Access (non-HTTP(S) protocol support)
| Distractor | Why it's wrong |
|---|---|
| Client VPN | Grants broad network-level access once connected — not the per-request, per-application, identity+device-aware model Verified Access provides |
| Verified Access (assuming HTTP(S)-only) | Outdated assumption — non-HTTP(S) protocol support (TCP/SSH/RDP) went GA in February 2025 |
VPC Peering
| Distractor | Why it's wrong |
|---|---|
| Transit Gateway | Solves the MANY-VPC hub-and-spoke problem; unnecessary complexity for a single pairwise connection |
| PrivateLink | Exposes one specific SERVICE, not general bidirectional network connectivity between two VPCs |
VPC Traffic Mirroring
| Distractor | Why it's wrong |
|---|---|
| VPC Flow Logs | Metadata only — structurally cannot provide payload/packet content, and explicitly does NOT capture mirrored traffic either, since the two features are entirely independent |
AWS Resource Access Manager (RAM) — share the Transit Gateway
| Distractor | Why it's wrong |
|---|---|
| Create a separate Transit Gateway in every account | Expensive, redundant, and defeats the purpose of centralization |
| Cross-account IAM role assumption | Solves identity/permission delegation, not resource-level network attachment — RAM is the purpose-built mechanism for sharing the resource itself |
Network Firewall is explicitly NOT designed to mitigate volumetric DDoS attacks — that requirement points to AWS Shield (and Shield Advanced for more sophisticated protection), not Network Firewall.
| Misconception | Reality |
|---|---|
| "Security groups need explicit rules to allow return traffic" | SGs are stateful — return traffic is automatically allowed once the initial request is permitted |
| "NACLs behave the same way as security groups" | NACLs are stateless and require explicit rules for BOTH directions, including ephemeral ports for responses |
| "VPC Flow Logs capture packet content" | They capture metadata only (IPs, ports, bytes, accept/reject) — never the actual payload |
| "PrivateLink and VPC Peering solve the same problem" | PrivateLink exposes one specific service narrowly; peering provides broad bidirectional network access between entire VPCs |
| "Network Firewall can mitigate DDoS attacks" | Explicitly out of scope — that's Shield's job, not Network Firewall's |
| "Verified Access only works for web applications" | Outdated — non-HTTP(S) protocol support (TCP/SSH/RDP) went GA in February 2025 |
| "VPC Peering is transitive — if A peers with B and B peers with C, A can reach C" | False. Peering is strictly non-transitive; A would need its own direct peering connection (or a Transit Gateway) to reach C |
| "VPC Flow Logs will show me the mirrored traffic from a Traffic Mirroring session" | False, explicitly documented — Flow Logs do not capture mirrored traffic; the two features are completely independent |
| "RAM duplicates the shared resource into the consuming account" | False — RAM shares the SAME underlying resource; nothing is copied, and the owning account retains full control over it |
| Comparison | What actually differs |
|---|---|
| Security Groups vs NACLs | Stateful/instance-level with allow-only rules vs stateless/subnet-level with allow+deny rules evaluated in order |
| PrivateLink vs Transit Gateway | Narrow, one-way single-service exposure vs broad, many-to-many hub-and-spoke network routing |
| Network Firewall vs Security Groups/NACLs | Layer 7 deep packet/domain/URL inspection vs Layer 3/4 IP-and-port-only filtering |
| Verified Access vs Client VPN | Per-request, per-application, identity+device-aware access vs one-time authentication granting broad network-level access |
| Network Firewall vs Shield | Deep packet/domain inspection and intrusion prevention vs volumetric DDoS mitigation — different threat models entirely |
| VPC Peering vs Transit Gateway | Direct, simple, non-transitive two-VPC connection vs centralized, scalable hub-and-spoke routing for many networks — peering doesn't scale past a handful of VPCs without becoming a full-mesh management burden |
| VPC Flow Logs vs Traffic Mirroring | Connection metadata (who/when/how much) vs full packet content (what exactly was sent) — entirely independent features serving different depths of visibility |
Click card to flip. Mark right or wrong to track score.
SCS-C02 scenario style, Easy → Specialty. Select an answer to reveal the explanation.