Network Security, Compliance, and Governance (24%)
Domain 4 is 24% of the scored content of the AWS Certified Advanced Networking – Specialty (ANS-C01) exam. AWS facts were checked against current AWS documentation in November 2026.
| Task | Statement |
|---|---|
| 4.1 | Implement and maintain network features to meet security and compliance needs and requirements |
| 4.2 | Validate and audit security by using network monitoring and logging services |
| 4.3 | Implement and maintain confidentiality of data and communications of the network |
Overview
Domain 4: Network Security, Compliance, and Governance AWS Certified Advanced Networking – Specialty (ANS-C01): control every flow, prove it with logs, encrypt what moves
Welcome to Domain 4 of the AWS Certified Advanced Networking Specialty exam, A N S C zero one: Network Security, Compliance, and Governance. It is 24 percent of the scored content, about 12 of the 50 scored questions.
Task 4.1 is securing flows: inbound with WAF, Shield and Network Firewall, outbound with firewalls and proxies, and between V P Cs with security groups, A C Ls and endpoint policies.
Task 4.2 is validating and auditing with flow logs, Traffic Mirroring, CloudTrail, CloudWatch alarms and Firewall Manager.
Task 4.3 is confidentiality: IPsec, V P N over Direct Connect, T L S, MACsec, D N S S E C and certificate management.
Inbound traffic meets edge and perimeter controls.
Outbound traffic needs egress filtering.
The key: logs must prove each control works.
Exam key takeaway: Domain 4 tests choosing controls for inbound, outbound and east-west flows, auditing them with logs and Firewall Manager, and encrypting traffic with the right method.
4.1 Implement and maintain network features to meet security and compliance needs and requirements
Controls for Each Traffic Flow Task 4.1 · Inbound, outbound and between VPCs
| Flow | Control | Note |
|---|---|---|
| Inbound web requests | AWS WAF on CloudFront or ALB | Layer 7 rules and rate limits |
| Inbound DDoS | Shield Standard and Advanced | Advanced adds response team |
| Inbound and outbound inspection | AWS Network Firewall | Stateful rules, IPS, domains |
| Outbound with third-party tools | Gateway Load Balancer | Or explicit proxies |
| Between tiers and VPCs | Security groups and NACLs | Stateful and stateless |
| To AWS services privately | VPC endpoint policies | Limit actions and resources |
Task 4.1 starts with flows. For inbound web requests, use AWS WAF on CloudFront, A L B or API Gateway.
For D Do S, Shield Standard is automatic, and Shield Advanced adds enhanced protection and the response team.
For stateful inspection in and out of V P Cs, use A W S Network Firewall, with intrusion prevention and domain filtering.
For outbound inspection with third-party appliances, use a Gateway Load Balancer, or explicit proxies.
Between tiers and V P Cs, security groups are stateful allow lists on interfaces, and network A C Ls are stateless subnet filters.
For private access to A W S services, V P C endpoint policies limit which actions and resources can be reached.
Exam key takeaway: Use WAF for web requests, Shield for DDoS, Network Firewall or GWLB appliances for inspection, security groups and NACLs between tiers, and endpoint policies for service access.
Secure Network Architectures Task 4.1 · Patterns that meet compliance requirements
- Three-tier design: Task 4.1 also covers architectures. A three-tier design keeps only load balancers public, with application and data tiers in private subnets.
- Perimeter VPC: A perimeter or inspection V P C centralizes inbound and outbound inspection, reached through transit gateway routing.
- Untrusted networks: Treat partner networks and the internet as untrusted, and inspect and log every flow from them.
- Threat modeling: Threat modeling asks what can reach what, and how, then maps a control to each threat.
- Test the design: Test failover and resiliency, and confirm controls still apply on the backup path.
- Automate alerts: Automate incident alerts from firewall alerts and GuardDuty through EventBridge to S N S or ticketing.
Exam key takeaway: Use three-tier layouts, perimeter inspection VPCs, untrusted network treatment, threat models, failover tests that keep controls, and automated alerting.
4.2 Validate and audit security by using network monitoring and logging services
Validating and Auditing Network Security Task 4.2 · Logs, alarms and central audits
- Flow log fields: Task 4.2 is auditing. Flow logs have base fields such as addresses, ports, action and bytes, and extended fields such as V P C I D, T C P flags and original packet addresses.
- Traffic Mirroring: Traffic Mirroring sends copies of suspicious traffic to intrusion detection tools.
- CloudWatch alarms: CloudWatch alarms on metric filters or custom metrics can flag spikes in rejected flows or firewall drops.
- CloudTrail: CloudTrail records who changed security groups, routes and network A C Ls, and when.
- Firewall Manager: Firewall Manager audits security groups across accounts and enforces WAF and Network Firewall policies.
- Log delivery: Deliver logs to S3, CloudWatch Logs or Firehose, and correlate them with Athena or OpenSearch.
Exam key takeaway: Use base and extended flow log fields, Traffic Mirroring, CloudWatch alarms, CloudTrail for changes, Firewall Manager audits, and central log delivery for correlation.
Finding Exposure and Threats Task 4.2 · Services that find what is open or suspicious
- Network Access Analyzer: Task 4.2 again: finding exposure. Network Access Analyzer finds unintended network access paths, such as an internet path into a data subnet.
- Inspector reachability: Amazon Inspector reports E C 2 ports that are reachable from outside, by analyzing the network configuration.
- Amazon GuardDuty: GuardDuty reads flow logs, D N S logs and CloudTrail to find threats such as port scans, known bad addresses and crypto mining.
- DNS Firewall: Route 53 Resolver D N S Firewall blocks lookups of listed domains from inside the V P C, stopping some data exfiltration.
- AWS Config rules: AWS Config managed rules flag security groups that allow open S S H or unrestricted ports, and can remediate automatically.
- Security Hub CSPM: Security Hub C S P M runs controls on security groups and V P C settings, across accounts and Regions.
Exam key takeaway: Find paths with Network Access Analyzer, reachable ports with Inspector, threats with GuardDuty, block bad domains with DNS Firewall, and check rules with Config and Security Hub CSPM.
4.3 Implement and maintain confidentiality of data and communications of the network
Encrypting Network Traffic Task 4.3 · Pick the method for the path
| Path | Encrypt With | Note |
|---|---|---|
| Over the internet to AWS | Site-to-Site VPN, IPsec | Two tunnels per connection |
| Over Direct Connect | VPN over DX, or MACsec | DX alone is not encrypted |
| Client to application | TLS on CloudFront, ALB, NLB | Certificates from ACM |
| Between instances | Nitro automatic encryption | Supported instance types |
| Across Regions | Peering and TGW peering | Encrypted on the backbone |
| DNS answers | DNSSEC signing and validation | Integrity, not secrecy |
Task 4.3 is confidentiality. Over the internet, Site-to-Site V P N encrypts with IPsec.
Direct Connect isn't encrypted by itself; run a V P N over it, or use MACsec on supported dedicated connections.
From clients to applications, terminate T L S on CloudFront, A L B or N L B with A C M certificates, or pass it through to targets.
Between supported Nitro instances, traffic in a V P C or peered V P Cs is encrypted automatically.
Inter-Region V P C peering and transit gateway peering traffic is encrypted on the A W S backbone.
D N S S E C protects the integrity of D N S answers, not their secrecy; use A W S Private Certificate Authority for internal T L S.
Exam key takeaway: Use IPsec VPN over the internet, VPN or MACsec over Direct Connect, TLS with ACM or Private CA for apps, Nitro and backbone encryption between resources, and DNSSEC for DNS integrity.
Review
Exam Distractors: What to Reject Answers that use the wrong control or assume encryption
- Direct Connect alone as encryption. VPN over DX or MACsec.
- Security groups to block a SQL injection. AWS WAF.
- DNSSEC to keep DNS queries secret. DNSSEC protects integrity.
- Flow logs to find malware in payloads. Traffic Mirroring with IDS.
- Auditing SGs account by account. Firewall Manager.
- Outbound domain filtering with NACLs. Network Firewall.
Exam key takeaway: Reject Direct Connect as encryption, security groups for injection, DNSSEC for secrecy, flow logs for payloads, per-account audits, and NACLs for domain filtering.
Where current AWS differs from the exam guide
- ANS-C01 is being retired: the AWS exam page says the last day to take it is December 31, 2026.
- ACM Private CA, named in the guide, is now AWS Private Certificate Authority.
References
- AWS Certified Advanced Networking – Specialty exam page — checked Nov 30, 2026
Check your understanding
Encrypt 100 Gbps Direct Connect at line rate.Show answerHide answer
Answer
MACsec.Block egress to unapproved domains.Show answerHide answer
Answer
Network Firewall.Inspect payloads of suspicious traffic.Show answerHide answer
Answer
Traffic Mirroring.Same WAF rules on every ALB in the org.Show answerHide answer
Answer
Firewall Manager.Prove DNS answers weren't tampered with.Show answerHide answer
Answer
DNSSEC.