AWS Certified CloudOps Engineer - Associate (SOA-C03) Practice Questions

AWS Certified CloudOps Engineer - Associate (SOA-C03) exam preparation

AWS Certified CloudOps Engineer - Associate (SOA-C03) practice questions in English: 180 questions with explanations. The mock exam has 65 questions and 130 minutes.

AWS Certified CloudOps Engineer - Associate (SOA-C03) free question 8 / 10 · Domain 4: Security and Compliance

A request to delete a Secrets Manager secret is rejected because the secret is replicated to a second Region. How should the engineer delete it?

  1. Delete the primary secret, with a request that skips the recovery window and is irreversible
  2. Delete the replica and expect to recover it during a recovery window, as for the primary secret
  3. Delete the replica, which has no recovery window, and then delete the primary secret
  4. Schedule the deletion of the primary secret, and let Secrets Manager remove the replica when the recovery window ends
Show the answer and explanation

Answer: C

Why this is correct
Secrets Manager makes deletion deliberately difficult. A deleted secret is immediately inaccessible and is scheduled for deletion after a recovery window of at least seven days, and until the window ends you can recover it. A primary secret that is replicated to other Regions cannot be deleted, so the replicas must be deleted first, and a deleted replica is removed immediately.

Why the other options are wrong
"Schedule the deletion of the primary secret, and let Secrets Manager remove the replica when the recovery window ends" … A primary secret that is replicated to other Regions cannot be deleted. The replicas have to be deleted first.
"Delete the replica and expect to recover it during a recovery window, as for the primary secret" … When you delete a replica, it is deleted immediately, so the recovery window does not apply to it.
"Delete the primary secret, with a request that skips the recovery window and is irreversible" … A primary secret that is replicated to other Regions cannot be deleted. The replicas have to be deleted first.

Key points
If you do not know whether an application still uses a secret, a CloudWatch alarm can alert you to access attempts during the recovery window. There is no charge for secrets that are marked for deletion.

Go to the AWS Certified CloudOps Engineer - Associate (SOA-C03) practice app (10 free questions; purchase unlocks all questions)

See the full practice set