AWS Security Services, Encryption, Compliance & Threat Detection
Security and compliance is a shared responsibility between AWS and the customer.
| AWS Responsibility (OF the Cloud) | Customer Responsibility (IN the Cloud) |
|---|---|
| Physical security of data centers | IAM users, groups, roles, policies |
| Hardware & infrastructure maintenance | Encryption of data at rest & in transit |
| Managed services patching (RDS, Lambda, etc.) | OS patching on EC2, firewall config |
| Network infrastructure, hypervisor | Security group & NACL rules |
| Global infrastructure (regions, AZs, edge) | Application-level security, customer data |
For RDS: AWS manages the underlying OS and database patching. Customer manages the data, query optimization, and security group rules. For EC2: Customer is responsible for everything above the hypervisor (OS, patching, applications).
Shield Standard = free, automatic, L3/L4. Shield Advanced = paid, DRT support, cost protection, L7 mitigation.
WAF = Layer 7 (HTTP). Shield = Layer 3/4 (network). If the question mentions SQL injection, XSS, or rate limiting, choose WAF. If it mentions DDoS, choose Shield.
aws/service-name.KMS = AWS manages hardware, you manage keys. CloudHSM = you manage both the hardware and keys. ACM = free TLS certs with auto-renewal.
If the exam asks where to find AWS compliance reports or security certifications, the answer is AWS Artifact.
GuardDuty = threat detection (analyzes logs). Inspector = vulnerability scanning (EC2/ECR/Lambda). Config = configuration compliance. Macie = sensitive data in S3. Detective = investigate root cause. Security Hub = central dashboard for all findings.
abuse@amazonaws.com.| Allowed (8 services) | Not Allowed |
|---|---|
| Amazon EC2, NAT Gateways, ELB | DNS zone walking via Route 53 |
| Amazon RDS | DDoS attacks (or simulated) |
| Amazon CloudFront | Port flooding |
| Amazon Aurora | Protocol flooding |
| Amazon API Gateway | Request flooding (login, API) |
| AWS Lambda & Lambda Edge | |
| Amazon Lightsail | |
| Amazon Elastic Beanstalk |
You can pen-test 8 AWS services without prior approval. You can NEVER simulate DDoS, port/protocol flooding, or DNS zone walking.