Skip to main content

DVA-C02 practice question · Security

A team stores database credentials in AWS Secrets Manager in us-east-1 with automatic rotation turned on.

A team stores database credentials in AWS Secrets Manager in us-east-1 with automatic rotation turned on. They want an up-to-date copy of the secret in us-west-2 that the application can read from the us-west-2 endpoint if us-east-1 becomes unavailable. Rotation must be managed only once. What should they do?

  • AReplicate the secret to us-west-2 so that Secrets Manager maintains a replica secret there
  • BCreate a separate secret in us-west-2 with the same value and configure rotation on it separately
  • CRely on automatic rotation, which writes each new secret version to every enabled Region
  • DEncrypt the secret with a multi-Region KMS key so the secret can also be read in us-west-2
Show the answer and explanation

Correct answer: A) Replicate the secret to us-west-2 so that Secrets Manager maintains a replica secret there

Secrets Manager replication keeps replica secrets in other Regions and propagates rotated values from the primary secret to them. This supports Regional resilience while rotation is managed in one place.

Why each option is right or wrong

  • A) Correct. Replication creates a replica secret with the same name and an ARN that differs only in the Region. When the primary secret rotates, the new value propagates to all replicas, so rotation does not have to be managed separately for each one.
  • B) Incorrect. This means managing rotation twice, and because each secret rotates independently, the two values would diverge.
  • C) Incorrect. Rotation creates new versions only in the secret's own Region. Copies appear in other Regions only if replication is configured.
  • D) Incorrect. A multi-Region KMS key replicates key material, not the secret. The secret would still exist only in us-east-1.
Exam domain
Security · 26% of DVA-C02
Question type
Multiple choice (one answer)

Practise the full DVA-C02 exam

This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.

Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.