exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 136 discussion

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.
  • 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 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.
  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ramdi1
Highly Voted 1 year, 2 months ago
Selected Answer: A
A is the solution which will allow testing without any such consequence
upvoted 5 times
...
jamesf
Most Recent 9 months, 1 week ago
Selected Answer: A
A correct as allow testing before real deployment. https://aws.amazon.com/blogs/devops/enhancing-automated-database-continuous-integration-with-aws-codebuild-and-amazon-rds-database-snapshot/
upvoted 2 times
...
thanhnv142
1 year, 2 months ago
Selected Answer: A
A is correct: This option allow testing before real deployment B: < Deploy the application to production> : this would not allow testing before changes are made C: <Create a snapshot of the DB cluster before deploying the application>: This means the same as B - would not allow testing before changes are made D: <Ensure that the DB cluster is a Multi-AZ deployment. Deploy the application with the updates> - This deploy the app before testing, so it is incoorect
upvoted 4 times
...
thanhnv142
1 year, 2 months ago
A is correct: <The DevOps team uses continuous integration to periodically verify that the application works> and <The DevOps team needs to test the changes before the changes are deployed to the production database> means codebuild
upvoted 1 times
...
Dushank
1 year, 7 months ago
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.
upvoted 1 times
...
ixdb
1 year, 8 months ago
Selected Answer: A
A is right. All others will change the prod db.
upvoted 4 times
...
traveller37
1 year, 8 months ago
I think it is A https://aws.amazon.com/blogs/devops/enhancing-automated-database-continuous-integration-with-aws-codebuild-and-amazon-rds-database-snapshot/
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago