SCS-C03 Infrastructure Security explained
Infrastructure Security is 18% of SCS-C03. It has three tasks: protect the network edge, secure compute workloads, and design and troubleshoot network controls. The question is usually which control belongs at which layer, and which has the least operational overhead. This page follows AWS’s exam guide.
Task 3.1: network edge services
The guide covers choosing edge strategies based on likely threats, implementing protection (CloudFront headers, AWS WAF, AWS IoT policies, OWASP Top 10 defences, S3 CORS, Shield Advanced), rules based on geography, rate limiting and client fingerprinting, and, new in SCS-C03, integrations with third-party services, including ingesting data in OCSF format and using third-party WAF rules.
| Threat | Typical control |
|---|---|
| SQL injection, cross-site scripting | AWS WAF managed rule groups |
| Volumetric DDoS | Shield (Advanced adds response support and cost protection) |
| Abusive clients, scrapers | WAF rate-based rules, fingerprinting |
| Access limited to a country | WAF geo match, or CloudFront geo restriction |
| Direct access to S3 origin | CloudFront with origin access control |
Task 3.2: compute workloads
- Hardened images: EC2 Image Builder and Systems Manager to build AMIs and container images with controls embedded.
- Instance profiles, service roles and execution roles: workloads get permissions through roles, not stored keys.
- Vulnerability scanning: Inspector for EC2, container images and Lambda, GuardDuty runtime monitoring.
- Patching: Patch Manager automation with continuous validation.
- Administrative access: Session Manager and EC2 Instance Connect instead of open SSH ports and shared keys.
- Pipeline security: tools that find vulnerabilities during development, for example Amazon Q Developer and CodeGuru Security.
- Generative AI guardrails (new): apply protections aligned with the OWASP Top 10 for LLM applications, such as input validation, output filtering and limits on what an AI agent can do.
Task 3.3: network security controls
| Need | Control |
|---|---|
| Allow or deny per instance, stateful | Security groups |
| Allow or deny per subnet, stateless | Network ACLs |
| Deep inspection, domain filtering | AWS Network Firewall |
| Hybrid connectivity with encryption | Site-to-Site VPN, Direct Connect with MACsec |
| Private application access without VPN | AWS Verified Access |
| Find unneeded access | Network Access Analyzer, Inspector network reachability findings |
Segmentation questions focus on north/south (in and out of the environment) and east/west (between workloads) traffic. Isolated subnets without an internet route, security group references between tiers and Network Firewall in a central inspection VPC are the patterns to know.
Note that AWS removed some low-level items for SCS-C03, such as host-based firewall configuration and fundamental TCP/IP detail, so you need design reasoning more than packet knowledge.
Common traps
- Security groups cannot deny; use a network ACL or Network Firewall when a deny is required.
- A NACL is stateless: return traffic needs a rule.
- WAF works at layer 7 with load balancers, CloudFront, API Gateway and other supported resources, not on arbitrary instances.
- Open SSH or RDP ports are rarely the right answer when Session Manager is available.
Sample questions
Question 1. A public web application behind CloudFront is attacked by a single client sending thousands of requests per minute. Which control best limits this with the least change to the application?
- A. Move the application to a larger instance type
- B. Add an AWS WAF rate-based rule to the distribution
- C. Add a network ACL that denies all traffic
- D. Disable HTTPS on the origin
Show answer
Answer: B
A WAF rate-based rule blocks or throttles a source that exceeds a request threshold, and it is attached to the CloudFront distribution without changing the application. A larger instance does not stop the abuse, a network ACL cannot easily track request rates across many addresses, and removing HTTPS reduces security and does not solve the problem.
Want more questions like this? Full SCS-C03 practice tests →
Question 2. Administrators currently connect to private EC2 instances over SSH from the internet using shared keys. The company wants no inbound ports and a log of every session. What should replace this?
- A. Open port 22 to a wider address range
- B. Distribute a new shared key pair to all administrators
- C. Add a NAT gateway for the instances
- D. Use Systems Manager Session Manager with session logging
Show answer
Answer: D
Session Manager connects through the Systems Manager agent over outbound connections, needs no inbound ports or bastion hosts, uses IAM for authorisation and can log sessions to CloudWatch Logs or S3. Opening a wider SSH range or sharing keys more broadly makes things worse, and a NAT gateway does not provide authenticated, logged sessions.
Want more questions like this? Full SCS-C03 practice tests →
Question 3. A company must inspect outbound traffic from many VPCs and block requests to disallowed domain names. Which design is appropriate?
- A. AWS Network Firewall with domain filtering in an inspection VPC
- B. Security group rules listing domain names
- C. Network ACL entries for domain names
- D. Amazon Macie
Show answer
Answer: A
AWS Network Firewall supports stateful domain-name filtering and can be deployed in a central inspection VPC with routing from the spoke VPCs, for example via a transit gateway. Security groups work with IP addresses and ports and cannot filter by domain, a network ACL has the same limit, and Macie scans S3 data.
Want more questions like this? Full SCS-C03 practice tests →