Topic 1 Question 136
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?
Use a buildspec file in AWS CodeBuild to restore the DB cluster from a snapshot of the production database, run integration tests, and drop the restored database after verification.
Deploy the application to production. Configure an audit log of data control language (DCL) operations to capture database activities to perform if verification fails.
Create a snapshot of the DB cluster before deploying the application. Use the Update requires:Replacement property on the DB instance in AWS CloudFormation to deploy the application and apply the changes.
Ensure that the DB cluster is a Multi-AZ deployment. Deploy the application with the updates. Fail over to the standby instance if verification fails.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: A
A is right. All others will change the prod db.
👍 3ixdb2023/09/01 - 👍 2traveller372023/09/01
This solution meets all of the company's requirements:
It allows the DevOps team to test the changes before they are deployed to the production database. It is automated: the CodeBuild buildspec file will automatically restore the DB cluster from a snapshot, run the integration tests, and drop the restored database after verification. It is reliable: the CodeBuild buildspec file will ensure that the integration tests are run against a copy of the production database.
👍 1Dushank2023/09/23
シャッフルモード