D3: Hardened Images & Compute Roles
AWS Certified Security – Specialty exam practice questions · 10 flashcards
Question
Hardened AMIs?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Hardened Images & Compute Roles practice questions and answers
- Hardened AMIs?CIS-hardened base, minimal packages, built via EC2 Image Builder with security components and tests.
- Hardened container images?Minimal/distroless bases, non-root users, scanned in ECR.
- Instance profiles?Deliver IAM role credentials to EC2.
- Service roles?Roles AWS services assume to act on your behalf.
- Lambda execution roles?Permissions for function code.
- IMDSv2?Session-token-based instance metadata, mitigates SSRF credential theft; enforce via launch template/SCP.
- Secure admin access?Session Manager (no inbound ports, logged), EC2 Instance Connect (temporary keys).
- Session Manager logging?Session logs to S3/CloudWatch with KMS encryption.
- Removing SSH keys?Use Session Manager instead of long-lived key pairs.
- Scenario: prevent SSRF from stealing instance credentials. Control?Require IMDSv2 (HttpTokens=required).