D2: Managing Sensitive Data in Code
AWS Associate AWS Certified Developer – Associate exam practice questions · 10 flashcards
Question
PII?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Managing Sensitive Data in Code practice questions and answers
- PII?Personally identifiable information: name, email, SSN, address, phone.
- PHI?Protected health information under HIPAA.
- Encrypting Lambda environment variables?Use a customer managed KMS key and encryption helpers to encrypt values in transit/console; decrypt in code.
- Secrets Manager vs environment variables?Secrets Manager centralizes, audits and rotates secrets; env vars are static config.
- Retrieve secrets efficiently in Lambda?Cache using the Parameters and Secrets Lambda Extension or SDK caching.
- Sanitizing sensitive data?Remove or mask sensitive values before logging, storing or returning.
- Data masking in application code?Show partial values (e.g. ****1234) or tokenize.
- Avoid logging secrets?Filter request payloads; use structured logging with redaction.
- SSM Parameter Store SecureString?Encrypted parameters with KMS; access via GetParameter WithDecryption.
- Scenario: DB password must not appear in code or env vars and must rotate. Service?AWS Secrets Manager.