ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 58 - DOP-C02 discussion

Report
Export

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'?

A.
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.
Answers
A.
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.
B.
Deploy the application to production. Configure an audit log of data control language (DCL) operations to capture database activities to perform if verification fails.
Answers
B.
Deploy the application to production. Configure an audit log of data control language (DCL) operations to capture database activities to perform if verification fails.
C.
Create a snapshot of the DB duster 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.
Answers
C.
Create a snapshot of the DB duster 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.
D.
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.
Answers
D.
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.
Suggested answer: A

Explanation:

This solution will meet the requirements because it will create a temporary copy of the production database using a snapshot, run the integration tests on the copy, and delete the copy after the tests are done. This way, the production database will not be affected by the code revisions, and the DevOps team can test the changes before deploying them to production.A buildspec file is a YAML file that contains the commands and settings that CodeBuild uses to run a build1.The buildspec file can specify the steps to restore the DB cluster from a snapshot, run the integration tests, and drop the restored database2

asked 16/09/2024
ahmed bin shehab
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first