Infrastructure Security (18%)
Domain 3 is 18% of the scored content of the AWS Certified Security – Specialty (SCS-C03) exam. AWS facts were checked against current AWS documentation in November 2026.
| Task | Statement |
|---|---|
| 3.1 | Design, implement, and troubleshoot security controls for network edge services |
| 3.2 | Design, implement, and troubleshoot security controls for compute workloads |
| 3.3 | Design and troubleshoot network security controls |
Overview
Domain 3: Infrastructure Security AWS Certified Security – Specialty (SCS-C03): the edge, the compute and the network in between
Welcome to Domain 3 of the AWS Certified Security Specialty exam, S C S C zero three: Infrastructure Security. It is 18 percent of the scored content, about 9 of the 50 scored questions.
Task 3.1 is edge security: WAF rules against O W A S P threats, Shield Advanced, CloudFront protections, geography and rate limits, and third-party integrations.
Task 3.2 is compute security: hardened images, the right roles, vulnerability scanning, patching, secure admin access, pipeline scanning, and generative A I guardrails.
Task 3.3 is network security: security groups, network A C Ls and Network Firewall, hybrid connectivity, segmentation, and finding unnecessary access.
Layer 7 controls inspect requests, headers and bots.
Layer 3 and 4 controls filter addresses, ports and protocols.
The key: defense in depth, with several layers so no single control is trusted alone.
Exam key takeaway: Domain 3 tests WAF and Shield at the edge, hardened and patched compute with the right roles, and network controls from security groups to hybrid encryption and segmentation.
3.1 Design, implement, and troubleshoot security controls for network edge services
Edge Protection by Threat Task 3.1 · Pick the control that stops the attack
| Threat | Control | Detail |
|---|---|---|
| SQL injection, cross-site scripting | AWS WAF managed rule groups | Core rule set, SQL database rules |
| HTTP floods from many IPs | WAF rate-based rules | Per IP, header or other key |
| Large DDoS attacks | Shield Advanced | Automatic layer 7 mitigation, SRT |
| Scrapers and bad bots | WAF Bot Control | Plus client fingerprints such as JA4 |
| Traffic from banned countries | CloudFront geo restriction | Or a WAF geo match rule |
| Users bypassing CloudFront | Origin access control for S3 | Custom header or VPC origins |
Task 3.1 is the edge. For S Q L injection and cross-site scripting, use A W S WAF managed rule groups such as the core rule set.
For H T T P floods, use rate-based rules that limit requests per address or another aggregation key.
For large D Do S attacks, Shield Advanced adds automatic application layer mitigation and the Shield Response Team; Shield Standard is on for everyone.
For scrapers and bots, use WAF Bot Control, and match client T L S fingerprints such as J A 3 or J A 4.
To block countries, use CloudFront geographic restrictions or a WAF geo match rule.
To stop users bypassing CloudFront, use origin access control for S3 origins, and a secret custom header or V P C origins for others.
Exam key takeaway: Use WAF managed rules for injection, rate-based rules for floods, Shield Advanced for large DDoS, Bot Control and fingerprints for bots, geo controls, and origin access control.
Edge Controls and Integrations Task 3.1 · Beyond the basic web ACL
- S3 CORS: Task 3.1 also covers integrations. S3 cross-origin resource sharing rules say which web origins may call a bucket from a browser; allow only known domains.
- AWS IoT policies: A W S IoT policies limit what each device may publish or subscribe to, using its certificate and policy variables.
- Third-party rules: Third-party managed rule groups from A W S Marketplace can be added to a web A C L.
- OCSF ingestion: Edge and partner logs in the Open Cybersecurity Schema Framework format can be ingested as Security Lake custom sources.
- Custom responses: WAF can return custom responses, or use CAPTCHA and challenge actions for suspicious clients.
- Logging the edge: Log WAF traffic to S3, CloudWatch Logs or Firehose, redacting sensitive fields.
Exam key takeaway: Restrict S3 CORS to known origins, scope IoT policies per device, add Marketplace rules, ingest OCSF into Security Lake, use challenges and custom responses, and log WAF.
3.2 Design, implement, and troubleshoot security controls for compute workloads
Hardening and Patching Compute Task 3.2 · Build it secure and keep it that way
| Need | Use | Detail |
|---|---|---|
| Hardened golden images | EC2 Image Builder | Pipelines with hardening components |
| Known vulnerabilities | Amazon Inspector | EC2, ECR images, Lambda functions |
| Threats while running | GuardDuty Runtime Monitoring | EKS, ECS and EC2 agents |
| Patching at scale | Systems Manager Patch Manager | Baselines, maintenance windows |
| Admin access without SSH ports | Session Manager | IAM-controlled, logged sessions |
| Short-lived SSH keys | EC2 Instance Connect | Key pushed for 60 seconds |
Task 3.2 is compute. Build hardened golden A M Is and container images with E C 2 Image Builder pipelines and hardening components.
Scan for known vulnerabilities with Amazon Inspector across EC2, E C R images and Lambda functions.
Detect threats at run time with GuardDuty Runtime Monitoring for E K S, E C S and EC2.
Patch at scale with Systems Manager Patch Manager, using patch baselines and maintenance windows, then confirm with Inspector.
For admin access without open S S H ports, use Session Manager, controlled by IAM and fully logged.
E C 2 Instance Connect pushes a one-time S S H key that is valid for 60 seconds.
Exam key takeaway: Build images with Image Builder, scan with Inspector, watch runtime with GuardDuty, patch with Patch Manager, and administer with Session Manager or Instance Connect.
Roles, Pipelines and GenAI Guardrails Task 3.2 · Least privilege for workloads, checks before deploy
- Instance profile: Task 3.2 also covers workload identity. Apps on EC2 use an instance profile; require I M D S version 2 to protect its credentials.
- ECS task roles: In E C S, the task role is what the application may call, and the task execution role lets the agent pull images and write logs.
- Lambda execution role: Each Lambda function gets its own execution role scoped to the resources it touches.
- Pipeline scanning: In pipelines, scan code and dependencies with Inspector code security and Amazon Q Developer reviews; CodeGuru Security, named in the guide, ended support in November 2025.
- Bedrock Guardrails: For generative A I, Amazon Bedrock Guardrails filter prompt attacks, denied topics, harmful content and personal data.
- OWASP LLM risks: Against the O W A S P top 10 for L L M applications, limit agent permissions and tools, and validate model outputs before acting on them.
Exam key takeaway: Use instance profiles with IMDSv2, separate ECS task and execution roles, per-function Lambda roles, Inspector and Q Developer in pipelines, and Bedrock Guardrails with least-privilege agents.
3.3 Design and troubleshoot network security controls
Network Controls Compared Task 3.3 · Where each control works and what it can do
| Control | Works On | Key Behavior |
|---|---|---|
| Security group | Network interface | Stateful, allow rules only |
| Network ACL | Subnet | Stateless, allow and deny, ordered |
| AWS Network Firewall | VPC, through firewall endpoints | Stateful IPS, domain filtering |
| Route 53 Resolver DNS Firewall | DNS queries from the VPC | Block bad or unknown domains |
| AWS Verified Access | Application requests | Zero trust, no VPN needed |
| Network Access Analyzer | VPC configuration | Finds unintended paths |
Task 3.3 is the network. Security groups work on network interfaces: stateful, with allow rules only.
Network A C Ls work on subnets: stateless, with ordered allow and deny rules, so return traffic needs its own rule.
A W S Network Firewall inspects traffic routed through its endpoints, with stateful intrusion prevention and domain filtering.
Route 53 Resolver D N S Firewall blocks lookups of malicious or unapproved domains.
A W S Verified Access grants application access based on identity and device posture, without a V P N.
Network Access Analyzer finds unintended network paths, and Inspector reports network reachability for instances.
Exam key takeaway: Security groups are stateful allows, NACLs are stateless allows and denies, Network Firewall inspects and filters, DNS Firewall blocks domains, Verified Access replaces VPNs, and Network Access Analyzer finds paths.
Hybrid Links and Segmentation Task 3.3 · Encrypt what crosses, separate what stays
- Site-to-Site VPN: Task 3.3 also covers hybrid links. Site-to-Site V P N is IPsec over the internet, or over Direct Connect for private encrypted transport.
- Direct Connect: Direct Connect is private but not encrypted by default; add MACsec on supported dedicated connections, or run a V P N over it.
- North-south: North-south traffic enters and leaves the internet; inspect it with central egress through Network Firewall.
- East-west: East-west traffic moves between V P Cs; route it through an inspection V P C on Transit Gateway.
- Isolated subnets: Isolated subnets have no internet route and reach A W S services through V P C endpoints.
- Remove excess access: Find and remove unnecessary access with Network Access Analyzer scopes and Inspector reachability findings.
Exam key takeaway: Encrypt hybrid traffic with IPsec VPN or MACsec, inspect north-south and east-west flows, isolate subnets behind endpoints, and remove excess paths with Network Access Analyzer.
Review
Exam Distractors: What to Reject Answers that use the wrong layer or leave doors open
- A deny rule in a security group. Network ACL or WAF.
- Security groups to stop SQL injection. AWS WAF managed rules.
- Direct Connect alone for encrypted transit. MACsec or VPN over Direct Connect.
- Bastion hosts with port 22 open. Session Manager.
- Shield Standard for an SRT phone call. Shield Advanced.
- Long-lived keys baked into an AMI. An instance profile role.
Exam key takeaway: Reject security group denies, security groups for injection, unencrypted Direct Connect, open bastions, Shield Standard for the SRT, and keys baked into images.
Where current AWS differs from the exam guide
- Amazon CodeGuru Security, named in skill 3.2.6, reached end of support on November 20, 2025; use Amazon Inspector code security and Amazon Q Developer.
References
- AWS Certified Security – Specialty exam page — checked Nov 30, 2026
Check your understanding
Limit each IP to 500 requests in five minutes.Show answerHide answer
Answer
WAF rate-based rule.Block one bad IP range at the subnet.Show answerHide answer
Answer
Network ACL deny rule.Allow outbound traffic only to approved domains.Show answerHide answer
Answer
AWS Network Firewall.Shell access with no open inbound ports.Show answerHide answer
Answer
Session Manager.Stop prompt injection in a chatbot.Show answerHide answer
Answer
Bedrock Guardrails.