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 202 discussion

A company runs a web application that extends across multiple Availability Zones. The company uses an Application Load Balancer (ALB) for routing, AWS Fargate for the application, and Amazon Aurora for the application data. The company uses AWS CloudFormation templates to deploy the application. The company stores all Docker images in an Amazon Elastic Container Registry (Amazon ECR) repository in the same AWS account and AWS Region.

A DevOps engineer needs to establish a disaster recovery (DR) process in another Region. The solution must meet an RPO of 8 hours and an RTO of 2 hours. The company sometimes needs more than 2 hours to build the Docker images from the Dockerfile.

Which solution will meet the RTO and RPO requirements MOST cost-effectively?

  • A. Copy the CloudFormation templates and the Dockerfile to an Amazon S3 bucket in the DR Region. Use AWS Backup to configure automated Aurora cross-Region hourly snapshots. In case of DR, build the most recent Docker image and upload the Docker image to an ECR repository in the DR Region. Use the CloudFormation template that has the most recent Aurora snapshot and the Docker image from the ECR repository to launch a new CloudFormation stack in the DR Region. Update the application DNS records to point to the new ALB.
  • B. Copy the CloudFormation templates to an Amazon S3 bucket in the DR Region. Configure Aurora automated backup Cross-Region Replication. Configure ECR Cross-Region Replication. In case of DR, use the CloudFormation template with the most recent Aurora snapshot and the Docker image from the local ECR repository to launch a new CloudFormation stack in the DR Region. Update the application DNS records to point to the new ALB.
  • C. Copy the CloudFormation templates to an Amazon S3 bucket in the DR Region. Use Amazon EventBridge to schedule an AWS Lambda function to take an hourly snapshot of the Aurora database and of the most recent Docker image in the ECR repository. Copy the snapshot and the Docker image to the DR Region. In case of DR, use the CloudFormation template with the most recent Aurora snapshot and the Docker image from the local ECR repository to launch a new CloudFormation stack in the DR Region.
  • D. Copy the CloudFormation templates to an Amazon S3 bucket in the DR Region. Deploy a second application CloudFormation stack in the DR Region. Reconfigure Aurora to be a global database. Update both CloudFormation stacks when a new application release in the current Region is needed. In case of DR, update the application DNS records to point to the new ALB.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
thanhnv142
Highly Voted 1 year, 2 months ago
Selected Answer: B
B is correct: A: < build the most recent Docker image and upload the Docker image to an ECR repository in the DR Region>: This process might take longer than 2 hours, which does not meet the RTO B: correct C: <AWS Lambda function to take an hourly snapshot of the Aurora database>: lambda has a maximum running time of 15 minutes. Cannot do an hourly task D: No mention about the docker image for the ECS
upvoted 6 times
...
Srikantha
Most Recent 2 weeks, 6 days ago
Selected Answer: B
The best option in this case is Option B because it: Ensures both Aurora database and Docker images are replicated to the DR Region, meeting the RPO requirement of 8 hours. Eliminates the need to rebuild Docker images in the DR Region, thus ensuring the RTO of 2 hours is met, which is crucial during the disaster recovery process. Provides a straightforward, cost-effective solution with minimal operational overhead by leveraging AWS native features like cross-Region replication for both Aurora and ECR.
upvoted 1 times
...
spring21
4 months, 1 week ago
Selected Answer: B
Yes, Amazon Aurora supports cross-Region automated backups:
upvoted 2 times
...
teo2157
4 months, 1 week ago
Selected Answer: C
B is not correct as Amazon Aurora doesn´t support cross-Region automated backups: https://repost.aws/questions/QUPm9L8amQTTKkz1RXU7EqWA/unable-to-enable-cross-region-automated-backups-in-rds Have anyone that has responded B tried to enable cross-Region automated backups in an Aurora RDS?
upvoted 1 times
...
dkp
1 year ago
Selected Answer: B
answer is B
upvoted 3 times
...
DanShone
1 year, 1 month ago
Selected Answer: B
B: Least operational overhead, lower cost and meets RPO and RTO
upvoted 4 times
...
fdoxxx
1 year, 1 month ago
Selected Answer: B
B provides a cost-effective solution that meets the RTO and RPO
upvoted 4 times
...
LeoSantos121212121212121
1 year, 2 months ago
I also go with B
upvoted 2 times
...
Chelseajcole
1 year, 2 months ago
B. Most cost effective
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