Use the tables for a quick pre-exam check. Expand a topic’s notes for explanations, examples, and additional distinctions.
Scope and study context
Scenario Decoder
If the scenario says…
First AWS choice to consider
Why
“Who called this API?”
AWS CloudTrail
API audit history
“What changed in this resource?”
AWS Config
Configuration timeline and compliance
“Detect malicious or suspicious activity”
Amazon GuardDuty
Managed threat detection findings
“Aggregate security findings across accounts”
AWS Security Hub
Central security posture and findings
“Investigate a GuardDuty finding”
Amazon Detective
Entity relationship and activity investigation
“Find sensitive data in S3”
Amazon Macie
S3 data discovery/classification
“Find public or cross-account access”
IAM Access Analyzer
External access and policy analysis
“Scan EC2/ECR/Lambda for vulnerabilities”
Amazon Inspector
Vulnerability management
“Encrypt with customer control over keys”
AWS KMS customer managed key
Key policy, rotation, grants, audit
“Dedicated HSM control”
AWS CloudHSM
Customer-managed HSM cluster
“Protect HTTP apps from SQLi/XSS/bots”
AWS WAF
Layer 7 web filtering
“Network firewalling across VPC traffic”
AWS Network Firewall
Stateful/stateless network inspection
“Private access to AWS services”
VPC endpoints / AWS PrivateLink
Avoid public internet path
“Centralize preventive controls across accounts”
AWS Organizations SCPs
Guardrail maximum permissions
“Automate response to findings”
Amazon EventBridge + Lambda / SSM Automation
Event-driven remediation
flowchart TD
A[Security scenario] --> B{Need prevention, detection, or response?}
B -->|Prevention| C{Identity, network, or data?}
C -->|Identity| D[IAM policy, SCP, boundary, resource policy]
C -->|Network| E[SG, NACL, WAF, Network Firewall, endpoint]
C -->|Data| F[KMS, S3 controls, Secrets Manager, Macie]
B -->|Detection| G{What signal?}
G -->|API| H[CloudTrail]
G -->|Config drift| I[AWS Config]
G -->|Threat finding| J[GuardDuty / Inspector / Macie]
B -->|Response| K[EventBridge, Lambda, SSM, isolation, key rotation]
This page is IT Mastery exam-prep support. It is not affiliated with AWS and does not replace the official exam guide, AWS documentation, or hands-on practice.
Read the decision rules first. The exam often tests which AWS security service or control best fits a scenario.
Review the traps. Many wrong answers are plausible but fail because they are too broad, too manual, not centralized, or do not meet least-privilege requirements.
Practice immediately afterward. Use original practice questions and topic drills to test whether you can apply the rules under exam-style pressure.
Read explanations carefully. For SCS-C03, the explanation is often more valuable than the score because it exposes AWS service boundaries.
Identity and Access Management
Policy Type Decision Table
Control
Scope
Grants permissions?
High-yield use
Common trap
IAM identity-based policy
User, group, role
Yes
Allow a principal to call AWS APIs
Does not by itself grant access to resources that require resource-side trust
Resource-based policy
Resource, such as S3 bucket, KMS key, SQS queue, Lambda function
Yes
Grant same-account or cross-account access to a resource
Principal and condition mistakes cause unintended exposure
Trust policy
IAM role
Allows role assumption
Define who can assume a role
Trust policy does not define what the role can do after assumption
Permissions boundary
IAM user or role
No
Set maximum permissions for delegated IAM creation
Boundary does not grant access
Session policy
STS session
No
Further restrict temporary credentials
Cannot expand the role’s base permissions
SCP
AWS Organizations account / OU
No
Prevent actions across member accounts
SCPs do not apply to the management account and do not grant permissions
ACL
Legacy/resource-specific
Sometimes
S3 legacy access patterns
Prefer bucket policies and S3 Object Ownership where possible
AWS RAM
Shared resources
No IAM permission grant by itself
Share supported resources across accounts
Recipient still needs IAM permissions to use shared resource
IAM Identity Center
Workforce access
Via permission sets
Central human access to AWS accounts/apps
Not for application-to-application authorization
Notes and examples
IAM Evaluation Essentials
Rule
Exam impact
Explicit deny wins
Any applicable explicit deny overrides allows
No allow means deny
Default is implicit deny
Guardrails limit maximum access
SCPs, permissions boundaries, and session policies do not grant permissions
Resource policies matter for cross-account
The resource account must trust/allow the external principal
KMS is special
Cross-account KMS access usually requires both key policy permission and caller-side IAM permission
Service-linked roles are service-managed
Do not treat them like normal customer-managed roles
Temporary credentials inherit restrictions
STS sessions can be constrained with session policies, tags, MFA, and duration settings
Which IAM Mechanism Should You Choose?
Requirement
Choose
Notes
EC2 application needs AWS API permissions
IAM role attached as instance profile
Avoid long-term access keys on instances
Lambda needs to call DynamoDB
Lambda execution role
Function assumes the role automatically
ECS task needs S3 access
ECS task role
Do not use the container instance role for app permissions
EKS pod needs AWS API access
IAM Roles for Service Accounts / pod identity pattern
Use OIDC-based trust instead of node role over-permissioning
Third-party SaaS needs account access
Cross-account role with external ID
Mitigates confused deputy risk
Human workforce access to many accounts
IAM Identity Center permission sets
Centralized account assignment and federation
One account must read another account’s S3 bucket
Bucket policy plus caller IAM permission as needed
Validate principal, conditions, and encryption key access
Deny all accounts from disabling security services
SCP
Preventive organization guardrail
Delegate IAM role creation but cap permissions
Permissions boundary
Attach boundary to roles users create
Restrict an assumed role session further
Session policy
Applied when calling STS
Condition Keys Worth Recognizing
Condition key
Use case
aws:PrincipalOrgID
Allow only principals from your AWS Organization
aws:SourceArn
Restrict service-to-service calls to a specific source resource
aws:SourceAccount
Prevent cross-account confused deputy with AWS service principals
sts:ExternalId
Third-party cross-account role assumption protection
aws:MultiFactorAuthPresent
Require MFA for sensitive actions
aws:RequestedRegion
Restrict actions by AWS Region
aws:SecureTransport
Require HTTPS/TLS
aws:SourceIp
Restrict by public source IP
aws:SourceVpce
Restrict access through a specific VPC endpoint
aws:PrincipalTag / aws:ResourceTag
ABAC authorization
kms:ViaService
Allow KMS key use only through a specific AWS service
kms:EncryptionContext:*
Bind KMS use to expected encryption context
s3:x-amz-server-side-encryption
Enforce S3 upload encryption header
IAM policy evaluation: know the order conceptually
For exam questions, remember the practical rule:
An explicit deny wins. Otherwise, access requires an applicable allow, and all applicable guardrails must permit the action.
Relevant policy types may include:
Policy/control
Purpose
Key exam point
Identity-based policy
Attached to IAM user, group, or role
Grants permissions to the principal
Resource-based policy
Attached to resource, such as S3 bucket, KMS key, SQS queue, Lambda function
Grants access to principals, including cross-account principals
Permissions boundary
Maximum permissions for an identity
Does not grant access by itself
SCP
Organization/account-level maximum permissions
Does not grant access by itself
Session policy
Limits permissions for a role session
Useful for temporary constrained access
KMS key policy
Authoritative access control for KMS keys
Must allow key use or delegate appropriately
VPC endpoint policy
Restricts access through an endpoint
Does not replace IAM/resource policy
S3 Block Public Access
Prevents public exposure patterns
Can override bucket or access point policies that would make data public
IAM decision rules
Scenario
Strong answer pattern
Application on EC2 needs AWS API access
Attach an IAM role to the instance profile
Lambda function needs AWS API access
Use the Lambda execution role
ECS task needs AWS API access
Use an ECS task role, not the container instance role
EKS workload needs AWS API access
Use IAM roles for service accounts or appropriate pod identity mechanism
Cross-account workload access
Use IAM role assumption with trust policy and scoped permissions
Third party needs account access
Use a cross-account role with external ID where appropriate
Human access to many accounts
Use IAM Identity Center integrated with an identity provider
Emergency administrative access
Use controlled break-glass access with MFA, logging, and limited use
Need to prevent privilege escalation
Restrict IAM, STS, PassRole, policy attachment, and boundary modification actions
Common IAM traps
SCPs do not grant permissions. They only set maximum permissions for accounts or organizational units.
Permissions boundaries do not grant permissions. They limit what identity policies can grant.
Resource policies can allow cross-account access, but the principal side may also need permission depending on the service and scenario.
KMS access is special. Having S3 or EBS permissions is not enough if the data is encrypted with a KMS key the principal cannot use.
iam:PassRole is high risk. If a user can pass a powerful role to a service they can control, they may indirectly escalate.
Avoid long-term access keys for workloads. Prefer roles and temporary credentials.
Do not solve least privilege with AdministratorAccess. Exam scenarios often include a clue requiring narrowly scoped permissions.
KMS, Encryption, and Key Management
AWS KMS Decision Table
Requirement
Choose
Why
Default service-managed encryption with minimal control
AWS owned key or AWS managed key
Least operational overhead
Customer controls policy, rotation, grants, audit
Customer managed KMS key
Best exam answer when key control is required
Same encrypted data used in multiple Regions
Multi-Region KMS key
Related keys with same key material across Regions
Dedicated FIPS-validated HSMs managed by customer
AWS CloudHSM
Customer controls HSM users, keys, clustering
KMS key material backed by CloudHSM
KMS custom key store
KMS API with CloudHSM-backed key material
Key material controlled outside AWS
External key store
KMS integrates with external key manager
Temporary delegated KMS access
KMS grant
Common for AWS services using a key on your behalf
Audit key usage
CloudTrail KMS events
KMS API activity appears in CloudTrail
Notes and examples
KMS Policy and Access Model
Component
What it does
Exam note
Key policy
Primary authorization document for a KMS key
A key policy must allow the principal or allow IAM policies to be used
IAM policy
Grants caller permission to use KMS APIs
Not enough if key policy does not permit it
Grant
Delegated, often temporary permission to use a key
Used heavily by integrated AWS services
Encryption context
Non-secret authenticated metadata
Must match on decrypt when required
Key rotation
Rotates key material for supported KMS keys
Does not re-encrypt old data immediately
Key deletion
Scheduled destructive action
Usually a distractor if recovery is needed
Envelope Encryption
Term
Meaning
Data key
Symmetric key used to encrypt actual data
Encrypted data key
Data key encrypted by a KMS key
KMS key
Key encryption key used to protect data keys
Envelope encryption
Encrypt data locally with data key; protect data key with KMS
High-yield point: KMS commonly does not encrypt large payloads directly. AWS services request data keys, encrypt data locally, and store the encrypted data key with the ciphertext.
S3 Encryption Choices
Requirement
Choose
Notes
Simple server-side encryption with Amazon-managed keys
SSE-S3
Low overhead
Server-side encryption with KMS audit and control
SSE-KMS
Key policy, CloudTrail KMS events, grants
Additional dual-layer server-side encryption
DSSE-KMS
Use when scenario requires two independent encryption layers
AWS Key Management Service is a frequent SCS-C03 focus. Know the difference between who can administer a key, who can use a key, and which service uses the key on behalf of a principal.
Concept
Review point
AWS owned keys
Managed by AWS; customer does not manage policy
AWS managed keys
Managed by AWS for a service in your account; limited customer control
The application stores the encrypted data and encrypted data key. To decrypt, it asks KMS to decrypt the encrypted data key, subject to KMS permissions and key policy.
S3 data protection
Requirement
Strong control
Prevent accidental public exposure
S3 Block Public Access
Enforce encryption on upload
Bucket policy requiring server-side encryption
Use customer managed KMS key
SSE-KMS with appropriate key policy
Immutable retention
S3 Object Lock where appropriate
Restrict access by network path
Bucket policy with VPC endpoint conditions where appropriate
Detect public/cross-account exposure
IAM Access Analyzer for S3
Discover sensitive data
Amazon Macie
Audit object access
CloudTrail data events and/or S3 access logs depending on need
Secure static website alternatives
CloudFront with controlled origin access when appropriate
Database and storage encryption
Service area
Common security points
EBS
Encryption at rest, snapshots, KMS permissions, sharing restrictions
EFS
Encryption at rest/in transit, file system policies, security groups
RDS/Aurora
Encryption at rest, TLS, IAM authentication where supported, Secrets Manager integration
DynamoDB
Encryption at rest, IAM fine-grained access patterns, point-in-time recovery
Redshift
Encryption, audit logging, network isolation, IAM integration
OpenSearch
Encryption at rest, node-to-node encryption, fine-grained access control, VPC access
Secrets management
Requirement
Prefer
Rotate database credentials automatically
AWS Secrets Manager with rotation
Store configuration values and simple secrets
Systems Manager Parameter Store, depending on requirements
Avoid hardcoded credentials
IAM roles, Secrets Manager, Parameter Store
Audit secret access
CloudTrail and service logs
Restrict secret decryption
IAM policy plus KMS key policy
Data protection traps
Encryption does not equal authorization. You still need IAM, resource policies, and network controls.
SSE-S3 and SSE-KMS have different control and audit implications.
KMS key policy can block otherwise valid IAM permissions.
Cross-account encrypted access often fails because the KMS key policy was forgotten.
Secrets Manager is usually the better answer when automatic rotation is required.
Do not expose S3 buckets publicly to serve private content. Use CloudFront access controls and signed URLs/cookies when appropriate.
Network and Infrastructure Security
Control Selection Matrix
Control
Layer/scope
Allows deny rules?
Stateful?
Use for
Security group
ENI/instance
No, allow only
Yes
Workload-level inbound/outbound access
Network ACL
Subnet
Yes
No
Coarse subnet stateless filtering
AWS WAF
HTTP/HTTPS layer 7
Yes
N/A
SQL injection, XSS, HTTP rate limits, managed web rules
AWS Shield Standard
Edge DDoS protection
Managed
N/A
Baseline DDoS protection
AWS Shield Advanced
Enhanced DDoS features
Managed
N/A
Advanced detection, response, cost protection features
AWS Network Firewall
VPC network traffic
Yes
Stateful and stateless rules
Central inspection, egress filtering, domain/IP rules
Route 53 Resolver DNS Firewall
DNS queries
Yes
N/A
Block malicious or unauthorized domains
Gateway Load Balancer
Appliance insertion
Appliance-dependent
Appliance-dependent
Third-party firewall/IDS/IPS appliances
VPC endpoint policy
Endpoint access
Yes
N/A
Restrict AWS service access through endpoint
AWS PrivateLink
Private service connectivity
Policy/SG dependent
N/A
Private access to services without public IP routing
Notes and examples
Security Group vs NACL
Feature
Security group
Network ACL
Attachment
ENI
Subnet
Rule type
Allow only
Allow and deny
Evaluation
All rules
Ordered by rule number
State
Stateful
Stateless
Return traffic
Automatically allowed
Must be explicitly allowed
Best use
Instance/app access control
Subnet guardrail, explicit deny, broad filtering
Common trap
Cannot create deny rule
Ephemeral ports must be handled
VPC Endpoint Choices
Need
Choose
Notes
Private access to S3 or DynamoDB
Gateway endpoint
Route table target plus endpoint policy
Private access to most AWS APIs
Interface endpoint
Elastic network interfaces with private IPs
Expose your service privately to consumers
AWS PrivateLink endpoint service
Usually fronted by Network Load Balancer
Restrict service access from VPC
Endpoint policy + resource policy
Use both sides where supported
Keep traffic off public internet
VPC endpoint
Does not automatically mean broad access is safe
Common Network Architectures
Scenario
Pattern
Watch for
Centralized egress inspection
Transit Gateway to inspection VPC with AWS Network Firewall or appliances
Symmetric routing and route table design
Centralized ingress to web apps
CloudFront + AWS WAF + ALB
WAF is HTTP-aware; SGs still protect ALB
Private application access
Internal ALB/NLB, PrivateLink, VPN, or Direct Connect
Match connectivity to consumer type
Hybrid encrypted connectivity
Site-to-Site VPN
Direct Connect is dedicated connectivity; use VPN when IPsec encryption is required
DNS filtering
Route 53 Resolver DNS Firewall
Blocks DNS lookups, not direct IP connections
Detect VPC traffic patterns
VPC Flow Logs
Metadata only, not packet payload
Inspect packets/application protocols
Network Firewall or appliance
Flow Logs are not inspection tools
VPC security controls
Control
Layer/use
Key exam point
Security group
Stateful instance/ENI-level filtering
Allows only; return traffic is automatically allowed
Network ACL
Stateless subnet-level filtering
Supports allow and deny; rules evaluated by number
Route table
Network path control
Determines where traffic goes
Internet gateway
Public internet access for VPC resources
Public subnet route alone is not enough without public IP where required
NAT gateway
Outbound internet for private subnets
Does not allow unsolicited inbound connections
VPC endpoint
Private connectivity to AWS services
Helps avoid public internet paths
AWS Network Firewall
Managed network inspection and filtering
Better fit for centralized inspection than NACLs
Gateway Load Balancer
Deploy/scale third-party appliances
Often used in centralized inspection architecture
Transit Gateway
Hub connectivity among VPCs/on-premises
Useful for large-scale network design
Security group vs NACL
Feature
Security group
Network ACL
Scope
ENI/instance level
Subnet level
State
Stateful
Stateless
Rules
Allow rules only
Allow and deny rules
Return traffic
Automatically allowed
Must be explicitly allowed
Evaluation
All rules considered
Lowest numbered matching rule applies
Best for
Workload-level access
Coarse subnet guardrails or explicit deny use cases
Public, private, and isolated subnet review
Subnet type
Typical route
Typical use
Public subnet
Route to internet gateway
Load balancers, bastion alternatives only if required
Private subnet
Route to NAT gateway or egress path
Application servers needing outbound updates
Isolated subnet
No internet route
Databases or internal-only workloads
VPC endpoint decision rules
Need
Endpoint type commonly used
Private S3 or DynamoDB access
Gateway endpoint
Private access to many AWS services through ENIs
Interface endpoint powered by AWS PrivateLink
Restrict which resources can be accessed through endpoint
Endpoint policy plus IAM/resource policies
Keep traffic off public internet
VPC endpoints, private DNS where appropriate
Edge and application protection
Requirement
Strong AWS-native option
Block common web exploits
AWS WAF
Rate-limit abusive HTTP clients
AWS WAF rate-based rules
DDoS resilience for edge apps
AWS Shield, CloudFront, Route 53, AWS WAF
Global edge caching and TLS termination
Amazon CloudFront
Protect custom origins
Origin access controls, restricted origin access, security groups where applicable
Central firewall policy across accounts
AWS Firewall Manager
Infrastructure traps
A private subnet is not private just because of its name. Routes determine reachability.
Security groups are stateful; NACLs are stateless. Many exam questions hinge on return traffic.
NAT gateway is outbound-focused. It is not a secure inbound access method.
Use Systems Manager Session Manager instead of public bastion hosts when the scenario emphasizes reduced exposure and auditability.
VPC endpoints can need multiple policy layers. Endpoint policy, IAM policy, resource policy, and KMS key policy may all matter.
WAF is Layer 7. It inspects HTTP/S request attributes, not arbitrary TCP payloads.
Logging, Monitoring, and Detection
Logging Source Selection
Question asks for…
Choose
Key detail
API calls, identity, source IP, time
AWS CloudTrail
Management events are baseline audit trail
S3 object-level or Lambda invoke activity
CloudTrail data events
Must be selected for high-volume data-plane activity
Unusual API activity patterns
CloudTrail Insights
Detects unusual management API activity
Long-term queryable audit lake
CloudTrail Lake
SQL-style event analysis
Resource configuration history
AWS Config
Records configuration changes
Compliance against rules
AWS Config rules / conformance packs
Managed or custom rules
Logs, metrics, alarms
Amazon CloudWatch
Operational observability
Event-driven automation
Amazon EventBridge
Routes service events/findings
Network metadata
VPC Flow Logs
Accept/reject, addresses, ports, bytes; not payload
Load balancer request records
ELB access logs
Client/request visibility
DNS query logging
Route 53 Resolver query logs
DNS activity in VPC
Firewall alerts/flows
AWS Network Firewall logs
Send to supported log destinations
Notes and examples
Detection Service Selection
Service
Detects / analyzes
Does not primarily do
Amazon GuardDuty
Threat findings from AWS telemetry
Block traffic by itself
AWS Security Hub
Aggregated findings and security standards
Deep investigation by itself
Amazon Detective
Investigation graph and related activity
Preventive enforcement
Amazon Inspector
Vulnerabilities in EC2, ECR images, Lambda
Network intrusion detection
Amazon Macie
Sensitive data and S3 exposure
General malware detection
IAM Access Analyzer
External access, unused access, policy validation
Runtime threat detection
AWS Config
Configuration drift and rule compliance
API forensic detail
AWS Trusted Advisor
Account best-practice checks
Central incident investigation
AWS Audit Manager
Evidence collection for audits
Real-time threat blocking
CloudTrail High-Yield Points
Point
Exam use
Organization trail
Centralize CloudTrail across AWS Organizations
Log file validation
Detect tampering with delivered log files
S3 log bucket protection
Use bucket policy, encryption, versioning, restricted write access
CloudWatch Logs integration
Near-real-time alarms and metric filters
EventBridge integration
Trigger automated response from API events
Data events
Required for S3 object-level visibility and similar data-plane activity
Insights events
Useful for unusual API volume/error patterns
CloudTrail is regional/global-aware
Configure to capture required Region and global service events
Core logging services
Service/log source
What it tells you
High-yield notes
AWS CloudTrail
AWS API calls and account activity
Enable broadly; use organization trails for multi-account visibility
CloudTrail Lake
Query and analyze CloudTrail events
Useful for investigations and audit queries
Amazon CloudWatch Logs
Application, system, and service logs
Supports metric filters, alarms, subscriptions
Amazon CloudWatch Metrics
Numeric time-series metrics
Used for alarms and operational thresholds
Amazon EventBridge
Event routing and automation
Common for event-driven remediation
VPC Flow Logs
Network metadata for ENIs, subnets, or VPCs
No packet payloads; useful for traffic analysis
Route 53 Resolver query logs
DNS query visibility
Useful for detecting suspicious domains or exfiltration indicators
Elastic Load Balancing access logs
Client requests to load balancers
Useful for web and traffic analysis
S3 server access logs / CloudTrail data events
Object-level activity evidence
CloudTrail data events are important for object operations
CloudTrail review
Requirement
CloudTrail feature/control
Track management API activity
Management events
Track S3 object-level or Lambda invoke activity
Data events
Track activity across accounts
Organization trail
Detect log file modification
Log file validation
Protect delivered logs
S3 bucket policy, KMS encryption, MFA Delete/Object Lock where appropriate
Alert on specific API calls
EventBridge rule or CloudWatch Logs metric filter/alarm
Investigate historical events
CloudTrail event history, S3 logs, CloudTrail Lake depending on setup
Detection service distinctions
Service
Primary role
Not primarily for
GuardDuty
Threat detection from logs and signals
Blocking traffic directly
Security Hub
Findings aggregation and security posture management
Replacing GuardDuty, Inspector, Macie, or Config
Inspector
Vulnerability management for supported workloads
Detecting account compromise behavior
Macie
Sensitive data discovery in S3
Scanning EBS volumes or RDS databases directly
Config
Configuration recording and compliance rules
Capturing packet traffic
Access Analyzer
External/public access analysis and policy reasoning
Runtime threat detection
Detective
Investigation and relationship analysis
Preventing attacks
Alerting and response pattern
flowchart LR
A[Security event or finding] --> B[EventBridge rule]
B --> C{Type of issue}
C -->|Known safe remediation| D[Lambda or SSM Automation]
C -->|Needs approval| E[Ticket / notification / manual review]
C -->|Incident severity high| F[Containment playbook]
D --> G[Log result and notify]
E --> G
F --> G
Common monitoring traps
CloudTrail is not a network packet capture tool.
VPC Flow Logs do not show payload contents.
GuardDuty findings are detective, not preventive. Pair with EventBridge and remediation if the scenario requires automated response.
Security Hub aggregates and normalizes findings. It does not replace the services that generate specialized findings.
AWS Config records configuration state and changes. It is not a complete audit log for every API call.
CloudWatch alarms need metrics. Logs may need metric filters or embedded metrics before alarming.
Incident Response Playbooks
Compromised IAM Access Key
Step
Action
1
Identify key owner and activity in CloudTrail
2
Deactivate or delete the access key
3
Rotate credentials and remove hardcoded secrets
4
Review IAM policies, group membership, role assumptions, and recent changes
5
Check GuardDuty, Security Hub, CloudTrail, and affected services
6
Add preventive controls: MFA, least privilege, SCPs, access analyzer, key age monitoring
Notes and examples
Compromised EC2 Instance
Goal
Preferred action
Preserve evidence
Snapshot EBS volumes before destructive cleanup
Isolate network
Replace security group with quarantine SG or adjust NACL/route controls
Keep investigation access
Use SSM Session Manager if available; avoid opening SSH broadly
Capture volatile data
Collect memory/process/network data before stop/terminate if required
Analyze CloudTrail data events, S3 logs, VPC Flow Logs, DNS logs, GuardDuty findings
EC2 containment pattern
flowchart TD
A[Potentially compromised EC2 instance] --> B[Do not terminate immediately]
B --> C[Attach restrictive isolation security group]
C --> D[Preserve evidence: snapshots, logs, metadata]
D --> E[Investigate from forensic account or isolated environment]
E --> F[Eradicate, rebuild from trusted image, rotate credentials]
F --> G[Document lessons and automate controls]
Incident response traps
Do not terminate first if evidence is required. Snapshot and isolate.
Do not log in and change the compromised host casually. You may alter evidence.
Do not reuse compromised credentials. Rotate secrets and keys.
Containment should reduce blast radius quickly. Security group isolation is a common answer for EC2.
Use EventBridge for automated response. For known findings, automated containment or notification is often expected.
Rebuild from known-good artifacts. Do not simply “clean” a compromised instance and return it to service without confidence.
Governance and Multi-Account Security
Organizations and Account Controls
Requirement
Choose
Notes
Group accounts by environment/business unit
OUs
Attach SCPs at OU level
Prevent risky APIs across accounts
SCP
Deny guardrails are common exam answers
Centralize security service administration
Delegated administrator
Used by services such as GuardDuty, Security Hub, Inspector, Macie
Standard account vending/baselines
AWS Control Tower
Landing zone and guardrails
Share resources across accounts
AWS RAM
For supported resource types
Centralize logs
Log archive account pattern
Protect log buckets from modification
Centralize security operations
Security tooling account pattern
Aggregate findings and automate response
Notes and examples
SCP Patterns
Goal
SCP approach
Caution
Deny disabling CloudTrail/Config/GuardDuty
Explicit deny for stop/delete/disable APIs
Ensure break-glass/admin process is designed
Restrict Regions
Deny actions outside approved Regions using aws:RequestedRegion
Exclude global services as needed
Prevent public S3 changes
Deny APIs that remove block public access or set public policies
Test carefully
Enforce approved instance types
Deny EC2 run APIs outside allowed types
Service-specific conditions required
Protect security roles
Deny IAM changes to named roles/policies
Avoid locking out operations accidentally
High-yield trap: an SCP attached to an OU can make an administrator appear “broken” even when IAM policies allow the action. Check SCPs when an allowed IAM principal still receives AccessDenied.
AWS Organizations and multi-account security
Multi-account design is central to AWS security. The exam often expects you to isolate workloads, centralize logging, and apply guardrails consistently.
Need
AWS capability
Separate production, development, security, and logging environments
“Secrets Manager and Parameter Store are identical”
Secrets Manager emphasizes secret rotation and lifecycle
“Config is a log search tool”
Config tracks resource configuration and compliance
“Stopping an instance preserves all evidence”
Volatile memory/process data can be lost
“Deleting a compromised key is the first forensic step”
Usually deactivate quickly, preserve audit trail, then rotate/delete as appropriate
Fast Review Checklist
Before exam day, be able to answer these without hesitation:
Which policy type grants access, and which only limits access?
When does a cross-account request need both identity-side and resource-side permission?
Why does KMS require key policy analysis in addition to IAM?
Which service detects API activity, config drift, vulnerabilities, sensitive S3 data, and threats?
When do you choose WAF, Network Firewall, security groups, NACLs, or DNS Firewall?
How do you enforce private S3 access through a VPC endpoint?
How do you prevent service confused deputy risk?
What is the safe sequence for compromised IAM keys and EC2 instances?
Which service centralizes findings, and which service investigates them?
Which controls are preventive, detective, and responsive in a multi-account AWS environment?
Notes and examples
Fast final review checklist
Before practice, make sure you can answer these without notes:
What is the difference between identity-based policies, resource-based policies, SCPs, and permissions boundaries?
Why does an explicit deny override an allow?
When does a cross-account role need a trust policy?
Why is iam:PassRole sensitive?
What is the difference between CloudTrail, CloudWatch, Config, and VPC Flow Logs?
Which service detects suspicious account or workload behavior?
Which service aggregates security findings?
Which service scans for vulnerabilities?
Which service discovers sensitive data in S3?
How do you secure S3 against public access?
What extra permission is needed to read KMS-encrypted data?
How do VPC gateway endpoints and interface endpoints differ?
Why are security groups stateful and NACLs stateless?
What should you do first with a compromised EC2 instance when evidence matters?
Which services help enforce security centrally across multiple AWS accounts?
How do you avoid long-term credentials for applications?
When should you choose Secrets Manager over Parameter Store?
How do WAF, Shield, Network Firewall, and security groups differ?
What logs would you inspect for suspected S3 data exfiltration?
How would you build an automated response to a GuardDuty finding?
SCS-C03 exam mindset
The AWS Certified Security – Specialty (SCS-C03) exam expects more than memorizing services. Strong candidates can choose secure, scalable, auditable solutions across identity, infrastructure, data protection, detection, incident response, and multi-account governance.
S3 Block Public Access, bucket policies, IAM, Access Analyzer
Relying only on “private by default” assumptions
Policy conditions and least privilege
Condition keys are often the difference between a broad answer and the best answer.
Goal
Condition idea
Require MFA for sensitive actions
MFA-related condition keys
Restrict by source IP
Source IP conditions, noting limitations with AWS service calls
Restrict by VPC endpoint
Source VPC endpoint conditions
Restrict by organization
Principal organization conditions
Restrict by Region
Requested Region conditions
Restrict S3 uploads to encrypted objects
S3 server-side encryption condition
Restrict KMS use via a specific service
KMS via-service style conditions
Restrict role assumption context
External ID, principal tags, session tags, source identity where appropriate
Notes and examples
Least-privilege review checklist
Scope Action to required API calls.
Scope Resource to specific ARNs when the service supports it.
Add Condition keys for context, such as MFA, tags, network path, encryption, or organization.
Avoid wildcard administrative permissions.
Separate human, workload, and break-glass access.
Review unused permissions with access analysis tools.
Protect policy editing permissions because they can become privilege escalation paths.
Service-specific quick hits
IAM Access Analyzer
Use when a question asks to identify unintended public or cross-account access, validate policies, or reason about external access. It is especially relevant for S3 buckets, IAM roles, KMS keys, Lambda functions, SQS queues, and Secrets Manager secrets.
AWS Config
Use when a question asks whether resources comply with required configurations over time. Config rules can trigger remediation. Config is not the same as CloudTrail; it records configuration state, not every API event.
Amazon GuardDuty
Use for threat detection across supported data sources. Findings may indicate compromised credentials, suspicious network activity, malware-related behavior, or anomalous activity. Pair with EventBridge for response.
AWS Security Hub
Use for centralized findings and posture management. It integrates findings from AWS services and partner tools. It is a strong answer when the requirement is aggregation, prioritization, compliance views, or centralized security operations.
Amazon Inspector
Use for vulnerability detection in supported compute and container environments. It is the better fit for CVEs, vulnerable packages, and exposure analysis than GuardDuty.
Amazon Macie
Use for sensitive data discovery in S3, such as personally identifiable information patterns. Do not choose Macie for generic network threat detection.
AWS WAF
Use for HTTP/S inspection, managed rule groups, SQL injection/XSS patterns, rate limits, and application-layer filtering. Associate it with CloudFront, Application Load Balancer, API Gateway, and supported resources.
AWS Shield
Use for DDoS protection. Standard protection is broadly available; advanced DDoS scenarios may involve AWS Shield Advanced, AWS WAF, CloudFront, Route 53, and architecture choices. Do not treat Shield as a web request rule engine; that is AWS WAF.
AWS Firewall Manager
Use when the requirement is centrally managing firewall/security policies across accounts, such as AWS WAF rules, Shield Advanced protections, security group policies, or network firewall policies.
AWS Network Firewall
Use for managed network traffic filtering and inspection at the VPC level. It is a stronger fit than NACLs when the scenario needs centralized, stateful inspection or domain/protocol-aware network controls.
Scenario decision table
If the question says…
Think…
“Central security team must enforce across all accounts”
“Developers can create roles but must not exceed approved permissions”
Permissions boundaries
“Prevent accounts in an OU from using a service”
SCP
“Third-party vendor needs access to your account”
Cross-account role, external ID, least privilege, CloudTrail
“Find who changed this resource”
CloudTrail
“Find whether this resource is compliant”
AWS Config
“Find whether this S3 bucket exposes data externally”
IAM Access Analyzer, S3 Block Public Access, bucket policy review
“Find sensitive data in S3”
Macie
“Detect compromised credentials”
GuardDuty, CloudTrail investigation
“Aggregate security findings”
Security Hub
“Scan workloads for vulnerabilities”
Inspector
“Block SQL injection attempts”
AWS WAF
“Private access to S3 from VPC”
S3 gateway endpoint and bucket policy conditions
“Private access to Secrets Manager from VPC”
Interface endpoint
“Rotate database password automatically”
Secrets Manager rotation
“Application needs AWS access without stored keys”
IAM role
“Preserve evidence after EC2 compromise”
Isolate, snapshot, investigate, rebuild
“Restrict use of KMS key to requests from S3”
KMS key policy/conditions with service context
“Prevent public S3 buckets account-wide”
S3 Block Public Access and guardrails
Common candidate mistakes
Choosing the wrong service category
Many candidates choose a familiar service instead of the service that directly satisfies the requirement.
Mistake
Better reasoning
Choosing CloudWatch for all audit questions
CloudTrail is usually for API audit activity
Choosing GuardDuty for compliance configuration
AWS Config evaluates configuration compliance
Choosing Security Hub as the detector
Security Hub aggregates; other services detect
Choosing Macie for all sensitive systems
Macie focuses on S3 sensitive data discovery
Choosing WAF for all network filtering
WAF is Layer 7 web filtering
Choosing NACLs for deep inspection
Use AWS Network Firewall or inspection appliances
Notes and examples
Overlooking policy intersections
A principal may need several permissions to complete one operation.
Example: reading an encrypted S3 object may require:
S3 permission to read the object.
Bucket policy that does not deny access.
KMS permission to decrypt using the key.
KMS key policy that allows or delegates that access.
Network or endpoint policy that permits the request path.
No applicable SCP or permissions boundary blocking the action.
Missing the “centralized” clue
If a scenario says “multiple accounts,” “organization-wide,” “central security team,” or “consistent enforcement,” consider:
AWS Organizations.
SCPs.
Delegated administrator.
Security Hub aggregation.
GuardDuty organization configuration.
AWS Config aggregator.
Firewall Manager.
Centralized logging account.
Missing the “automated” clue
If the requirement says “automatically remediate,” “near real time,” or “without manual intervention,” consider:
EventBridge rule.
Lambda remediation.
Systems Manager Automation.
AWS Config remediation.
Security Hub custom actions or automation patterns.
Step Functions for multi-step workflows.
Practice strategy after this Cheat Sheet
Use this Cheat Sheet as a map, then move into IT Mastery practice:
Start with topic drills for IAM, KMS, logging, and network security.
Review detailed explanations for every missed or guessed question.
Build a personal error log with the service you confused, the clue you missed, and the correct decision rule.
Take mixed mock exams only after you can explain why each wrong answer is wrong.
Return to weak topics with targeted original practice questions instead of rereading broadly.
A practical next step: begin with focused SCS-C03 topic drills on IAM policy evaluation, KMS access, CloudTrail/Config/GuardDuty distinctions, and VPC security controls, then use detailed explanations to close each gap before attempting a full mock exam.