Secure Workloads and Applications
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing AWS Certified Solutions Architect – Associate premium course — no separate purchase.
Included in this chapter:
- WAF rule groups: managed vs custom, rate-based vs IP-set
- Shield Advanced cost protection: when the $3 000/mo pays for itself
- Security Group composition patterns: hub-and-spoke, mesh, transit
- Network ACL ephemeral-port pitfalls + worked examples
- Secrets Manager rotation Lambda: the 4-step contract + cross-account templates
- VPC Endpoint policies: restricting which actions are allowed through an endpoint
Layered defenses compared
| Layer | Scope | Stateful? | Allow / Deny | Best for |
|---|---|---|---|---|
| WAF | L7 HTTP/HTTPS in front of CloudFront / ALB / API Gateway | — | Managed + custom rules | SQL injection, XSS, bad bots, geo-block, rate-based |
| Shield Standard | Network-edge L3/L4 (CloudFront, Route 53, GA) | — | Auto-protect | Common volumetric DDoS — free and on |
| Shield Advanced | Same + EIPs + ALB + custom resources | — | Shield Response Team (SRT) | $3 000/mo; large-scale DDoS + cost protection |
| Security Group | ENI (per-instance) | Stateful | Allow only | Per-instance allow-list; return traffic auto-allowed |
| Network ACL | Subnet | Stateless | Allow + Deny | Subnet-wide deny-list; needs explicit ephemeral-port rules |
| GuardDuty | Account-wide threat detection | — | Findings only | Anomaly detection from VPC Flow Logs, CloudTrail, DNS |
| Inspector | EC2 + ECR + Lambda vulnerability scan | — | Findings only | Software vulnerabilities, network reachability |
| Macie | S3 sensitive-data discovery | — | Findings only | PII / PHI / financial detection across S3 |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
Also tested in
References
- Security groups for your VPC
- Network ACLs
- AWS WAF Developer Guide
- AWS Shield overview (Standard + Advanced)
- AWS Shield pricing
- Gateway endpoints (S3, DynamoDB)
- What is AWS PrivateLink
- AWS Secrets Manager User Guide
- Rotate AWS Secrets Manager secrets
- AWS KMS Developer Guide
- Managed rotation for AWS Secrets Manager secrets
- AWS Systems Manager Parameter Store
- How AWS WAF works
- Shield Response Team (SRT) support
- Schedule automatic rotation
- Rotation strategies (4-step Lambda contract)
- What is Amazon GuardDuty
- What is AWS Security Hub
- What is Amazon Inspector
- What is Amazon Macie
- What is Amazon EventBridge
- AWS Secrets Manager pricing
- GuardDuty findings via EventBridge
- What is AWS Network Firewall
- AWS WAF rule types