2.3 Security Controls (New Solutions)

Application Security

AWS Shield

  • Shield Standard: Free. Protects against common L3/L4 attacks (SYN floods).
  • Shield Advanced: Paid ($3k/mo). Protects against sophisticated attacks. Includes DDoS Response Team (DRT) support and cost protection (refunds scaling costs during attack).

VPC Endpoints (Cheatsheet)

TypeInterface Endpoint (PrivateLink)Gateway Endpoint
TechnologyENI with Private IPRoute Table Entry
ScopeMost AWS Services (SQS, SNS, Kinesis, etc.)S3 and DynamoDB ONLY
CostHourly charge + Data processingFree
AccessCan be accessed from on-prem via VPN/DXCannot be accessed from on-prem (usually)

WARNING

Exam Gotcha: If you need to access S3 from on-prem via private connectivity, you usually need an Interface Endpoint for S3 (or a proxy), because Gateway Endpoints don’t support VPN/DX access natively.

Access Control

Least Privilege Strategies

  • IAM Access Analyzer: Identifies resources shared with external principals.
  • Permissions Boundaries: Use for delegating admin rights to developers (e.g., “You can create users, but only with this boundary attached”).

Cognito (User Auth)

  • User Pools: Identity provider (Sign up/Sign in). Returns JWT.
  • Identity Pools: Federation. Exchanges JWT/SAML for temporary AWS IAM Credentials.

WARNING

Exam Gotcha: Use User Pools for authentication (username/password). Use Identity Pools for authorization (getting generic AWS credentials to access S3/DynamoDB directly).