Home › Certifications › AWS Certified Advanced Networking ANS-C01 › Network Security, Compliance, and Governance
36 multiple-choice questions and 18 flashcards on Network Security, Compliance, and Governance, about 24% of the AWS Certified Advanced Networking ANS-C01 bank. Every one carries a written rationale.
Network Security, Compliance, and Governance is one of 4 chapters in CoStudy's AWS Certified Advanced Networking — Specialty (ANS-C01) bank, and it holds 36 of the bank's 150 multiple-choice questions — roughly 24% of the total. That proportion is not arbitrary: chapters follow the certifying body's published exam outline, and the number of questions in each is set by that domain's published weight, so the share of your practice time this chapter takes matches the share of the real exam it accounts for.
Studying by chapter is worth doing once you have a diagnostic score. A single overall percentage tells you whether you are close; it does not tell you which domain is dragging. Working a weak chapter in isolation, and re-testing it in isolation, is the fastest way to move a score that has stalled — and it is why the mock exams in CoStudy report by domain rather than as one number.
9 questions drawn from this chapter, with the full rationale shown — the controlling principle behind the right answer, and why each wrong option tempts and fails.
A financial services workload requires that inbound traffic from a specific list of partner IP ranges bypass Network Firewall's stateful inspection for latency reasons, while ALL OTHER traffic is fully inspected.
Answer: C — Configure a Network Firewall stateless rule group with a pass action specifically for the trusted partner CIDR ranges, before the stateful engine, while leaving the default stateful inspection for everything else
Network Firewall's stateless rule groups (evaluated before the stateful engine) support explicit pass actions for specific traffic, letting trusted sources bypass deeper stateful inspection while everything else still goes through it; Network Firewall DOES support such exceptions, so claiming zero flexibility is incorrect; removing Network Firewall for the entire VPC eliminates inspection for ALL traffic, not just the intended narrow exception; replacing with security-groups-only removes stateful deep inspection entirely for everyone.
A compliance requirement mandates that all traffic leaving a VPC to the internet pass through a centralized inspection point across the entire organization, with no VPC allowed its own direct Internet Gateway route to the internet.
Answer: C — A centralized egress VPC design: spoke VPCs route 0.0.0.0/0 via Transit Gateway to a shared inspection VPC with the only IGW/NAT path, enforced via governance (e.g., SCPs restricting IGW attachment in spoke accounts)
A centralized egress architecture combined with a preventive control (SCPs blocking IGW creation/attachment in spoke accounts) both routes traffic through the mandated inspection point AND technically enforces the requirement; keeping per-VPC IGWs (even with local Network Firewall) directly violates 'no VPC allowed its own direct IGW route'; relying on documentation alone is a detective control, not technical enforcement; SCPs are exactly the technical enforcement mechanism AWS provides for this.
A design must ensure Resolver query logs (which may contain sensitive internal hostnames) are encrypted at rest and access-restricted when delivered to an S3 bucket.
Answer: C — Configure the destination S3 bucket with default encryption (SSE-KMS with a customer managed key for tighter access control) and a bucket policy restricting access to authorized principals only
Achieving both encryption at rest AND access restriction requires explicitly configuring the destination S3 bucket -- these are standard, necessary S3-level configurations, not automatic; internal hostnames CAN reveal sensitive information about internal architecture and are reasonably treated as sensitive; IAM permissions control WHO can call the API, but bucket-level encryption configuration is a separate, also-necessary control for at-rest protection -- both matter together, not one exclusively.
An audit needs to validate that Direct Connect connections at a specific colocation facility meet a physical security compliance requirement (e.g., badge access controls, camera coverage).
Answer: C — Request the relevant AWS Direct Connect location's compliance documentation/attestations (e.g., SOC reports) from AWS, since physical security of DX facilities is an AWS-managed responsibility under the shared responsibility model
Physical security of AWS/partner Direct Connect facilities falls under AWS's side of the shared responsibility model, and AWS provides compliance attestations that auditors can request/reference rather than requiring a customer's own physical facility inspection; AWS DOES provide this documentation through its compliance programs; physical security absolutely is a relevant audit concern for any compliance framework involving physical infrastructure; Flow Logs are a network-traffic logging feature entirely unrelated to physical facility security attestation.
A design requires encrypting data in transit between an on-premises data center and AWS over an existing Direct Connect private VIF, since DX itself doesn't encrypt data by default.
Answer: C — Layer a Site-to-Site VPN (IPsec) or MACsec (on supported DX connection types) on top of the Direct Connect connection for encryption
DX private VIFs do NOT encrypt traffic by default, so achieving encryption requires layering IPsec VPN over DX, or using MACsec (supported on certain dedicated connection speeds) for line-rate encryption; the fix is one of these two layered options, not assuming default encryption exists; encryption over DX IS achievable via these documented methods; S3 server-side encryption protects data AT REST in S3, entirely unrelated to encrypting a DX network link's in-transit traffic.
A multi-account audit strategy needs to verify Flow Logs are enabled and correctly configured across all 300 VPCs in an Organization, flagging any that are missing or misconfigured.
Answer: C — An AWS Config aggregator with a managed/custom rule checking Flow Log presence and configuration, evaluated across all member accounts
A Config aggregator combined with a Flow-Log-presence rule provides centralized, automated, continuous verification across all member accounts at once; a quarterly manual spreadsheet is infrequent, labor-intensive, and error-prone at 300-account scale; AWS DOES provide centralized multi-account tooling for exactly this kind of check; CloudTrail records API calls, it doesn't itself evaluate/report Flow Log configuration compliance status the way a Config rule does.
A design must issue and manage TLS certificates for INTERNAL services communicating over a private VPC network, where public Certificate Transparency logging of internal hostnames is undesirable.
Answer: C — AWS Certificate Manager Private Certificate Authority (ACM PCA), issuing private certificates not subject to public CT log requirements
ACM PCA issues private certificates from a private CA hierarchy specifically for internal use, avoiding the public Certificate Transparency logging that public CAs are required to perform; standard public ACM certificates ARE subject to CT logging, which the requirement wants to avoid; Let's Encrypt issues public certificates with the same CT logging requirement; being on a private VPC network doesn't eliminate the value of encryption in transit, so skipping TLS entirely isn't the correct security posture.
A security team needs to validate, on a recurring automated basis, that no security group in any of 300 VPCs allows unrestricted inbound access (0.0.0.0/0) to a database port like 3306 or 5432.
Answer: C — An AWS Config managed rule (or custom rule) checking security group ingress rules against a restricted-port list, evaluated continuously/periodically across the Organization via a Config aggregator
Config rules evaluated across an aggregated multi-account view provide the recurring, automated compliance check requested; manual spreadsheet review monthly is labor-intensive and error-prone at 300-VPC scale; this is a standard native AWS governance capability, not something requiring an AWS Support request; security groups are absolutely evaluable via Config, so claiming only NACLs can be checked is incorrect.
A public-facing web application needs protection against common web exploits (SQLi, XSS) at the edge, with managed rule sets requiring minimal custom maintenance.
Answer: C — AWS WAF with AWS Managed Rules attached to the CloudFront distribution or ALB
WAF with AWS Managed Rules specifically targets Layer 7 web exploits with AWS-maintained rule sets requiring minimal custom upkeep; security groups filter by port/protocol/IP, not HTTP payload content; Shield Standard protects against network/transport-layer DDoS, not application-layer exploit patterns; NACLs are stateless IP/port filters with no HTTP-aware rule engine and no regex-based content inspection.
4 cards from the 18 in this chapter.
S3 Object Lock (compliance mode)?
Prevents deletion/modification of objects (e.g., centralized Flow Logs) for a set retention period, even by the root user -- satisfies immutable-logging compliance requirements like PCI-DSS.
DNS-over-HTTPS (DoH) / DNS-over-TLS (DoT) vs DNSSEC?
DoH/DoT encrypt the DNS query/response transport (confidentiality). DNSSEC authenticates/signs responses (integrity), but does NOT encrypt them. Two different protections, often confused.
AWS WAF vs Shield vs Shield Advanced vs Network Firewall?
WAF: Layer 7 HTTP rule-based filtering (SQLi/XSS). Shield Standard: automatic, free, network/transport-layer DDoS protection. Shield Advanced: paid, enhanced DDoS protection + SRT + cost protection. Network Firewall: stateful, domain-aware VPC-level traffic inspection.
Security groups vs NACLs?
Security groups: STATEFUL, instance/ENI-level, allow rules only. NACLs: STATELESS, subnet-level, support allow AND deny rules, evaluated in rule-number order.
These are a sample. The full Network Security, Compliance, and Governance chapter runs 54 items with per-chapter progress tracking, on the web and in the iOS app.
Open AWS Certified Advanced Networking ANS-C01 in CoStudy →
All AWS Certified Advanced Networking ANS-C01 practice questions →