D4: Storing Secrets Securely
AWS Associate AWS Certified CloudOps Engineer – Associate exam practice questions · 10 flashcards
Question
AWS Secrets Manager features?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Storing Secrets Securely practice questions and answers
- AWS Secrets Manager features?Encrypted storage, automatic rotation (Lambda), cross-account access, replication to Regions.
- Parameter Store SecureString?KMS-encrypted parameter; free standard tier; no native rotation.
- How do apps retrieve secrets securely?IAM role permission to GetSecretValue; cache secrets in the app.
- RDS managed master password?RDS can manage the master user password in Secrets Manager with rotation.
- Why avoid secrets in environment variables or code?They can leak via logs, repos or console; use a secrets service.
- How to reference a secret in CloudFormation?Dynamic reference {{resolve:secretsmanager:...}}.
- Rotation fails. Common cause?Rotation Lambda can't reach the database or Secrets Manager endpoint (VPC/network), or lacks permissions.
- How to share a secret cross-account?Resource policy on the secret + KMS key policy granting the other account.
- Scenario: store non-secret config values hierarchically, low cost. Service?Parameter Store standard parameters.
- Scenario: database credentials must rotate automatically. Service?Secrets Manager.