
Core concept: The shared responsibility model
Understanding who is responsible for which security controls is fundamental for both the exam and production systems. Responsibility changes depending on the service model (IaaS, PaaS, SaaS) and the degree of customer control. Key rules:- If you can configure, access, or manage a component, you are responsible for securing it.
- If AWS manages underlying infrastructure you cannot see or touch (hardware, underlying host OS for many managed services), AWS is responsible.
- Many controls still require customer action — for example, enabling encryption, configuring access controls, or patching OS-level components that you run.

- Amazon EC2: you manage the guest OS, apply patches, configure applications, and secure data. See Amazon Elastic Compute Cloud (EC2).
- Amazon RDS: AWS manages the underlying host OS and can handle engine patching if configured, while you manage database users, encryption selection, and backup/restore configuration. See AWS RDS.
- SaaS services: AWS handles most platform and infrastructure responsibilities, but you still control data, identity, and relevant configuration options.
- Defense-in-depth
- Immutable infrastructure (reduce configuration drift and patching surface)
- Automated patching and secure baseline configurations

Network, edge protections, and logging
AWS operates the VPC fabric and provides managed edge services (WAF, CloudFront) and network primitives (security groups, NACLs). You are responsible for configuring and operating those controls for your workloads:- AWS ensures network isolation and low-level VPC operation.
- You configure security groups, NACLs, ALB rules, WAF rules, and any reverse proxies or API gateways.
- Enable and protect logging, encryption, and exposure checks for resources you manage.
Data protection responsibilities
Data protection remains a primary customer responsibility to configure and enforce:- Encryption at rest and in transit (KMS, CloudHSM, TLS)
- Key management, key rotation, and access controls (AWS KMS)
- Backups, retention policies and immutable storage (S3 Versioning, Glacier)
- Immutable logging and secure log storage (CloudTrail, S3 with MFA Delete when appropriate)
Security automation across the SDLC
Automate security checks and enforcement throughout development and deployment:- Pre-commit and CI/CD hooks for linting and static analysis
- Policy-as-code to block unsafe infra changes before they reach production
- Automated detection (scanning and runtime monitoring) and remediation processes
Automate enforcement: use policy-as-code to stop insecure deployments, compliance-as-code to detect deviations, and remediation-as-code to automatically fix or quarantine issues when found.

- Infrastructure-as-Code: AWS CloudFormation, AWS CDK (exam emphasis on native IaC). (Real-world may also use Terraform / OpenTofu.)
- Policy-as-Code: cfn-guard, OPA integrations, or built-in guardrails via AWS Config and Service Control Policies (SCPs).
- Scanning and testing: Trivy, Checkov, tfsec, and SCA tools for dependency and container scans.
- Detection & remediation: AWS Config rules, AWS Security Hub, Lambda-driven remediation, Config Conformance Packs, Systems Manager Automation.
- Multi-account governance: AWS Organizations + SCPs to centrally restrict or require actions (for example, deny S3 bucket deletion across accounts).
Note: exam questions typically emphasize AWS-native services and integrations. Third-party tools may be referenced but are rarely the primary focus.
Multi-account governance and monitoring
When managing tens to hundreds of accounts, adopt patterns for centralization and consistency:- Centralize audit and access logs: CloudTrail, AWS Config, VPC Flow Logs aggregated into a central logging account and protected storage.
- Protect immutable logs and define retention policies.
- Enforce consistent IAM and resource policies via AWS Organizations and SCPs.
- Implement cross-account monitoring and alerting with Security Hub, GuardDuty, and CloudWatch.

Final checklist (what to master for this domain)
- Know shared responsibility boundaries for IaaS, PaaS, and SaaS.
- Identify which security controls are customer-managed vs AWS-managed in common services (EC2, RDS, S3).
- Automate security across the SDLC: policy-as-code, detection, and remediation.
- Use AWS-native services for multi-account governance, logging, and posture management: AWS Config, Security Hub, CloudTrail, KMS, Organizations.
- Implement defense-in-depth, secure baselines, immutable logging, and automated remediation to reduce operational risk.
Links and references
- AWS Security Documentation
- Amazon EC2
- AWS RDS
- Amazon S3
- AWS CloudFormation
- Terraform / OpenTofu courses mentioned for real-world context