AWS Security Specialty (SCS-C02) - Fact Sheet¶
Quick Reference¶
Exam Code: SCS-C02 Duration: 170 minutes Questions: 65 questions Passing Score: 750/1000 Cost: $300 USD Validity: 3 years Delivery: Pearson VUE Difficulty: ββββ (Advanced specialty)
Exam Domain Breakdown¶
| Domain | Weight | Key Focus |
|---|---|---|
| Threat Detection & Incident Response | 14% | GuardDuty, Detective, Security Hub, incident response |
| Security Logging & Monitoring | 18% | CloudTrail, CloudWatch, VPC Flow Logs, Config |
| Infrastructure Security | 20% | Network security, encryption, endpoint security |
| Identity & Access Management | 16% | IAM, STS, Cognito, federation, policies |
| Data Protection | 18% | Encryption (KMS, CloudHSM), S3 security, DLP |
| Management & Security Governance | 14% | Organizations, Config, Control Tower, compliance |
Core Security Services¶
Threat Detection & Incident Response (14%)¶
GuardDuty - Intelligent threat detection - ML-powered analysis of VPC Flow Logs, CloudTrail, DNS logs - Detects: Unusual API calls, compromised instances, reconnaissance, cryptocurrency mining - Findings: Low, Medium, High severity - Integration: EventBridge for automated response - Multi-account: Delegated administrator model - 30-day free trial - π GuardDuty Documentation
Security Hub - Centralized security findings - Aggregates findings from GuardDuty, Inspector, Macie, IAM Access Analyzer, Firewall Manager - Security standards: AWS Foundational Security Best Practices, CIS AWS Foundations, PCI DSS - Automated and custom actions for remediation - Cross-region aggregation - π Security Hub Documentation
Detective - Security investigation - Graph-based analysis of VPC Flow Logs, CloudTrail, GuardDuty findings - Visualize security events and relationships - Root cause analysis - 50 GB free per account/month for 30 days - π Detective Documentation
Incident Response - EventBridge rules for automated response - π EventBridge - Event-driven automation - Lambda for custom remediation - π Lambda - Serverless remediation - Step Functions for complex workflows - π Step Functions - Workflow orchestration - Systems Manager for automated runbooks - π Systems Manager Automation - Runbooks - Incident Manager for coordination - π Incident Manager - Incident response
Security Logging & Monitoring (18%)¶
CloudTrail - API audit logging - Records ALL API calls (read/write operations) - Management events (control plane) and data events (data plane) - Organizational trails for multi-account logging - Log file integrity validation with digest files - Insights for anomaly detection (additional cost) - Storage: S3 with SSE-S3 or SSE-KMS - π CloudTrail Documentation - π CloudTrail Best Practices
VPC Flow Logs - Network traffic monitoring - Capture ACCEPT/REJECT decisions for traffic - Logged to CloudWatch Logs or S3 - Identifies: Port scanning, unusual traffic patterns, rejected connections - Custom format for specific fields - Can enable at VPC, subnet, or ENI level - π VPC Flow Logs - Network monitoring
CloudWatch Logs - Application and system logs - Log aggregation with retention policies - Metric filters to extract metrics from logs - Log Insights for querying with SQL-like language - Subscription filters: Stream to Lambda, Kinesis, Firehose, OpenSearch - Encryption with KMS - Cross-account log sharing - π CloudWatch Logs - Log management - π CloudWatch Logs Insights - Log analytics
AWS Config - Resource configuration history - Tracks configuration changes over time - Compliance rules (AWS managed + custom Lambda) - Remediation actions (SSM Automation) - Configuration recorder stores config in S3 - Multi-account aggregation - π Config Documentation
CloudWatch Alarms - Proactive monitoring - Metric-based alarms with SNS notifications - Composite alarms for complex conditions - Actions: SNS, Auto Scaling, EC2, SSM - π CloudWatch Alarms - Metric monitoring
Infrastructure Security (20%)¶
Network Security
VPC Security - Security Groups: Stateful, instance-level firewall - π Security Groups - Instance firewalls - NACLs: Stateless, subnet-level firewall - π Network ACLs - Subnet firewalls - Private subnets with NAT Gateway for outbound-only - π NAT Gateway - Outbound internet access - VPC endpoints (Gateway for S3/DynamoDB, Interface for others) - π VPC Endpoints - Private AWS connectivity - PrivateLink for private service connectivity - π AWS PrivateLink - Private connectivity - π VPC Security Best Practices
Network Firewall - Managed stateful firewall - Layer 3-7 filtering - Intrusion prevention system (IPS) - Web filtering with domain lists - Rule groups: Stateful (5-tuple, domain, Suricata rules), Stateless - Centralized deployment with Firewall Manager - π Network Firewall Documentation
WAF (Web Application Firewall) - Layer 7 protection - Protects CloudFront, ALB, API Gateway, AppSync - Managed rules: Core Rule Set, Known Bad Inputs, SQL injection, XSS - Custom rules: IP sets, geo-blocking, rate limiting, string matching - Logging to S3, CloudWatch Logs, Kinesis Firehose - π WAF Documentation
Shield - DDoS protection - Standard: Free, automatic protection for all AWS customers - Advanced: $3,000/month, enhanced protection + 24/7 DRT (DDoS Response Team) - Advanced features: Cost protection, advanced metrics, DRT support - π Shield Documentation
Endpoint Security
Systems Manager - Instance management - Session Manager: Shell access without SSH/RDP, no bastion hosts - π Session Manager - Secure shell access - Patch Manager: Automated OS patching - π Patch Manager - OS patching - State Manager: Enforce desired state - π State Manager - Configuration management - Run Command: Execute commands at scale - π Run Command - Remote execution - All without opening inbound ports - π Systems Manager Documentation
Inspector - Vulnerability scanning - EC2: Network and host assessments, CVE detection - ECR: Container image vulnerability scanning - Lambda: Code and package vulnerabilities - Continuous scanning with findings in Security Hub - π Inspector Documentation
Secrets Access - IMDSv2 (Instance Metadata Service v2): Session-based, prevents SSRF - π IMDSv2 - Secure metadata - VPC endpoints for accessing services privately - No internet gateway needed for AWS service access
Identity & Access Management (16%)¶
IAM Best Practices - Root account: MFA, no access keys, minimal use - Users: Individual IAM users with MFA - Groups: Assign permissions to groups, not users - Roles: For applications, cross-account, federation - Policies: Least privilege, explicit deny, conditions - π IAM Best Practices
IAM Policies - Identity-based: Attached to users, groups, roles - Resource-based: Attached to resources (S3, SQS, Lambda, KMS) - Permission boundaries: Max permissions for entity - Service Control Policies (SCPs): Organization-level guardrails - Session policies: Temporary restrictions during AssumeRole - π IAM Policies - Policy types
Policy Evaluation Logic 1. Explicit DENY always wins 2. Explicit ALLOW overrides implicit deny 3. Evaluate all applicable policies (identity, resource, SCPs, boundaries) 4. Default: Implicit deny - π Policy Evaluation Logic - How AWS evaluates permissions
IAM Conditions - Fine-grained access control - aws:SourceIp - Restrict by IP address - aws:SecureTransport - Enforce HTTPS - aws:MultiFactorAuthPresent - Require MFA - aws:RequestedRegion - Restrict regions - aws:PrincipalOrgID - Restrict to organization - s3:x-amz-server-side-encryption - Enforce encryption - π IAM Policy Conditions - Condition keys reference
Cross-Account Access - IAM roles with trust policy (preferred) - Resource-based policies (S3, SQS, SNS, Lambda, KMS) - External ID for third-party access (prevents confused deputy) - π Cross-Account Access - Cross-account patterns
Federation - SAML 2.0 for enterprise SSO (Active Directory, Okta, etc.) - π SAML Federation - SAML 2.0 setup - IAM Identity Center (AWS SSO) for centralized access - π IAM Identity Center - AWS SSO - Cognito for mobile/web applications - Web Identity Federation (Google, Facebook, Amazon) - π Web Identity Federation - OIDC federation
STS (Security Token Service) - AssumeRole: Cross-account or same-account role assumption - AssumeRoleWithSAML: SAML-based federation - AssumeRoleWithWebIdentity: Mobile/web identity federation - GetSessionToken: MFA-protected operations - GetFederationToken: Proxy applications (legacy) - Temporary credentials: 15 min to 12 hours (roles), 36 hours (federation) - π AWS STS - Temporary credentials
Cognito - User Pools: User directory, sign-up/sign-in, MFA - Identity Pools: Temporary AWS credentials for users - Advanced security: Adaptive authentication, compromised credentials check - π Cognito Documentation
Data Protection (18%)¶
Encryption at Rest
KMS (Key Management Service) - Managed encryption keys - Customer Managed Keys (CMKs): Full control, $1/month/key - AWS Managed Keys: AWS-created, free, limited control - Key policies: Resource-based policies for key access - Grants: Temporary, programmatic access delegation - Automatic key rotation: Once per year (CMK only) - Multi-region keys: Same key ID across regions - Envelope encryption: Data keys encrypt data, KMS encrypts data keys - CloudHSM integration for FIPS 140-2 Level 3 - π KMS Documentation - π KMS Best Practices
CloudHSM - Hardware Security Module - FIPS 140-2 Level 3 validated - Single-tenant hardware - Customer manages keys, AWS manages hardware - Use cases: Regulatory compliance, cryptographic operations, SSL/TLS offload - Integration: KMS custom key store, Oracle TDE, Microsoft SQL Server TDE - π CloudHSM Documentation
S3 Encryption - SSE-S3: S3-managed keys (AES-256), free - SSE-KMS: KMS-managed keys, audit trail, key policies - SSE-C: Customer-provided keys (customer manages) - Client-side encryption: Encrypt before upload - Bucket default encryption (SSE-S3 or SSE-KMS) - Enforce encryption: Bucket policy with aws:SecureTransport and s3:x-amz-server-side-encryption - π S3 Encryption - Encryption options - π S3 Security Best Practices
EBS Encryption - Transparent: Encrypt volumes, snapshots - KMS keys (default or custom CMK) - Encryption by default per region - Snapshots inherit encryption from volume - Cannot remove encryption once enabled - π EBS Encryption - Volume encryption
RDS/Aurora Encryption - Encrypt at creation (cannot encrypt existing) - KMS-based encryption - Snapshots and read replicas inherit encryption - Transparent Data Encryption (TDE) for Oracle and SQL Server - π RDS Encryption - Database encryption
DynamoDB Encryption - Always encrypted at rest (default) - AWS owned key (free, default) or KMS CMK - Encryption in transit via HTTPS - π DynamoDB Encryption - Table encryption
Encryption in Transit - TLS/SSL for all AWS API calls - VPN for on-premises connectivity - π Site-to-Site VPN - IPSec VPN - Certificate Manager (ACM) for certificate management - π AWS Certificate Manager - SSL/TLS certificates - API Gateway with custom domain + ACM certificate - CloudFront with ACM certificate
Data Loss Prevention
Macie - Sensitive data discovery - ML-powered detection of PII, PHI, credentials in S3 - Automated sensitive data discovery jobs - Findings: Sensitive data types, locations, access control - Integration with Security Hub and EventBridge - π Macie Documentation
S3 Security Features - Block Public Access: Account and bucket-level - π S3 Block Public Access - Prevent public access - Access Points: Simplified access control for shared datasets - π S3 Access Points - Manage data access - Object Lock: WORM (Write Once Read Many), compliance, governance mode - π S3 Object Lock - Immutable storage - Versioning: Protect against accidental deletion - MFA Delete: Require MFA to delete objects - π S3 MFA Delete - MFA for deletions - Access Analyzer for S3: Detect buckets accessible outside account - π IAM Access Analyzer for S3 - External access detection - π S3 Access Control
Secrets Management - Secrets Manager: Automatic rotation, versioning, $0.40/secret/month - Parameter Store: Secure strings with KMS, standard tier free - Never hardcode credentials in code - IAM roles for applications to retrieve secrets - π Secrets Manager Documentation - π Parameter Store - SSM parameters
Management & Security Governance (14%)¶
AWS Organizations - Multi-account management - Consolidated billing across accounts - Service Control Policies (SCPs) for guardrails - Organizational Units (OUs) for grouping - Account creation automation - StackSets for cross-account deployments - π Organizations Documentation
Service Control Policies (SCPs) - Permission boundaries at organization/OU/account level - Deny list (default) or allow list strategy - Do NOT grant permissions, only restrict - Affect all principals except root user of member account - Common uses: Deny region, deny root user actions, enforce MFA, enforce encryption - π Service Control Policies - Permission guardrails - π SCP Examples - Common SCPs
Control Tower - Landing zone automation - Automated account provisioning - Guardrails (preventive via SCPs, detective via Config rules) - Account Factory for standardized account creation - Dashboard for compliance visibility - π Control Tower Documentation
AWS Config - Compliance monitoring - Continuous compliance assessment - Managed rules: 200+ AWS best practices - Custom rules: Lambda-based - Conformance packs: Pre-built compliance frameworks (CIS, NIST, PCI-DSS) - Automatic remediation via SSM Automation - π Config Managed Rules
IAM Access Analyzer - Permission analysis - Analyzes resource policies to find external access - Detects overly permissive policies - Validates policies against grammar and best practices - Generates least-privilege policies based on access logs - π Access Analyzer Documentation
Audit Manager - Compliance evidence collection - Automates evidence collection for audits - Pre-built frameworks: HIPAA, GDPR, SOC 2, PCI DSS - Custom frameworks - Evidence collection from AWS services - π Audit Manager Documentation
Firewall Manager - Centralized security policy - Manage WAF, Shield Advanced, Security Groups, Network Firewall, Route 53 Resolver DNS Firewall - Organization-wide policies - Automatic application to new accounts/resources - Requires AWS Organizations and Config - π Firewall Manager Documentation
Security Architecture Patterns¶
Defense in Depth¶
Layer 1: AWS Account Security (Root account MFA, Organizations SCPs)
Layer 2: Network Security (VPC, Security Groups, NACLs, Network Firewall)
Layer 3: Application Security (WAF, API Gateway, CloudFront)
Layer 4: Data Security (Encryption at rest and in transit, KMS)
Layer 5: Identity Security (IAM, MFA, least privilege, federation)
Layer 6: Detection (GuardDuty, Config, CloudTrail, Security Hub)
Layer 7: Response (Automated remediation, Incident Manager, runbooks)
Zero Trust Architecture¶
- No implicit trust, verify everything
- Least privilege access (IAM policies, SCPs)
- Micro-segmentation (Security Groups per resource)
- Continuous monitoring (CloudTrail, Config, GuardDuty)
- Assume breach mentality (Detective for investigation)
Incident Response Workflow¶
1. Detection β GuardDuty finding
2. Alert β EventBridge rule β SNS β Security team
3. Containment β Lambda function β Isolate instance (modify SG, attach forensic SG)
4. Investigation β Detective, CloudTrail, VPC Flow Logs
5. Eradication β Terminate compromised resources, patch vulnerabilities
6. Recovery β Restore from clean backups
7. Lessons Learned β Update runbooks, improve detections
Common Security Scenarios¶
Scenario 1: Detect and Remediate Exposed S3 Buckets¶
Solution: - Config rule: s3-bucket-public-read-prohibited - Config remediation action: SSM Automation runbook - Lambda function: Remove public access policies - Security Hub: Aggregate findings - EventBridge: Trigger on Config non-compliance - SNS: Notify security team
Scenario 2: Encrypt All EBS Volumes¶
Solution: - Enable EBS encryption by default (per region) - Config rule: ec2-ebs-encryption-by-default - Existing unencrypted volumes: Snapshot β Copy with encryption β Create new volume - AWS Backup: Enforce encryption in backup vault - SCP: Deny ec2:RunInstances without encrypted volumes
Scenario 3: Centralized Logging for 100+ Accounts¶
Solution: - Organizations: Central security account - CloudTrail: Organization trail β S3 in security account - Config: Aggregator in security account - GuardDuty: Delegated administrator in security account - Security Hub: Delegated administrator with cross-region aggregation - S3 bucket: Server-side encryption with KMS, versioning, MFA delete, lifecycle policy
Scenario 4: Prevent Data Exfiltration¶
Solution: - VPC endpoints for S3, DynamoDB (no internet gateway) - S3 bucket policies: Enforce aws:SourceVpc or aws:SourceVpce - SCPs: Deny s3:PutObject without encryption - GuardDuty: Detect unusual data transfer patterns - Macie: Identify sensitive data in S3 - VPC Flow Logs: Monitor network traffic - CloudTrail: Audit all S3 API calls
Scenario 5: Compromised IAM Credentials¶
Response: 1. Immediately disable credentials (make inactive or delete) 2. Review CloudTrail for unauthorized actions 3. Revoke active sessions (AWS STS) 4. Rotate all other credentials 5. Review and remove unauthorized resources 6. Enable GuardDuty if not already enabled 7. Implement stricter IAM policies and MFA
Key Security Limits & Numbers¶
IAM: - 5,000 users per account (soft limit) - 300 groups per account (soft limit) - 1,500 roles per account (soft limit) - 10 managed policies per user/group/role - 2,048 characters max policy size (identity-based) - 10,240 characters max policy size (resource-based)
KMS: - 100,000 CMKs per region (soft limit) - 10,000 grants per CMK (soft limit) - 10 KB max encrypted data via KMS API directly - Automatic key rotation: Once per year
GuardDuty: - 10,000 trusted IP lists per account - 1,000 threat lists per account - 6 MB max threat list file size
Security Hub: - 100 finding aggregators per region - 3,000 insights per account per region - 100,000 findings per account per region
CloudTrail: - 5 trails per region (organizational trail counts as 1) - 90 days event history (free, no S3) - Unlimited retention with S3 storage
Exam Strategy¶
Time Management¶
- 170 minutes Γ· 65 questions = 2.6 minutes per question
- Security scenarios can be complex
- Flag difficult questions, return later
Question Keywords¶
- "Most secure" β Defense in depth, least privilege, MFA, encryption
- "Detect" β GuardDuty, Config, CloudTrail, VPC Flow Logs
- "Prevent" β SCPs, IAM policies, Security Groups, WAF
- "Audit" β CloudTrail, Config, Access Analyzer, Security Hub
- "Encrypt" β KMS, CloudHSM, SSL/TLS, enforce via policies
- "Compliance" β Config rules, Audit Manager, Security Hub standards
- "Least privilege" β IAM policies, SCPs, permission boundaries
Common Traps¶
- β Root account usage (almost never correct)
- β Security through obscurity
- β Overly permissive policies (should be least privilege)
- β Not enabling encryption by default
- β Ignoring logging and monitoring
Essential Documentation¶
AWS Official Resources¶
- π AWS Security Best Practices Whitepaper
- π AWS Security Incident Response Guide
- π Well-Architected Security Pillar
- π AWS Compliance Programs
- π Shared Responsibility Model
Service Documentation¶
- π Security, Identity & Compliance Services
- π AWS Security Blog - Latest updates and best practices
Hands-on Resources¶
- π§ͺ AWS Security Workshops - Free hands-on labs
- π§ͺ Well-Architected Labs - Security
Final Exam Checklist¶
Knowledge¶
- Design secure multi-layer architectures
- Implement least privilege IAM policies
- Configure encryption at rest and in transit
- Set up centralized logging and monitoring
- Detect and respond to security incidents
- Implement data loss prevention controls
- Design secure network architectures
- Implement compliance controls with Config
- Secure S3 buckets and prevent data exfiltration
- Federate identities and implement MFA
Experience¶
- 2+ years AWS security experience
- Implemented security controls in production
- Responded to security incidents
- Configured IAM policies and SCPs
- Encrypted data and managed keys
- Set up security monitoring and alerting
- Conducted security audits
Preparation¶
- Completed Associate-level certification
- Read AWS security whitepapers
- Hands-on with GuardDuty, Config, KMS
- Practiced IAM policy creation
- Configured WAF and Network Firewall
- Set up CloudTrail and Security Hub
- Practice exams scoring 80%+
Pro Tip: SCS-C02 focuses heavily on defense in depth, least privilege, and automated detection/response. Always choose the most secure option that meets requirements. Remember: Security is a shared responsibility - know what AWS manages vs what you manage!
Good luck! This certification validates expert-level AWS security skills. π