AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 384

A DevOps team is merging code revisions for an application that uses an Amazon RDS Multi-AZ DB cluster for its production database. The DevOps team uses continuous integration to periodically verify that the application works. The DevOps team needs to test the changes before the changes are deployed to the production database.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

Option A is correct because restoring a production database snapshot within an AWS CodeBuild pipeline allows the team to safely run integration tests against realistic data in an isolated environment before tearing it down. Options B, C, and D are incorrect because they involve deploying untested changes directly to the production environment, which risks data corruption or downtime, as Multi-AZ replication and CloudFormation replacements do not safeguard against bad application-level database updates.