DOP-C02 exam dumps

DOP-C02 practice question 186 of 411

AWS Certified DevOps Engineer - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

DOP-C02 Question 186

Single answer

Your company runs a global e-commerce application on AWS. The application is deployed across multiple AWS Regions, and the environment is configured with an RTO (Recovery Time Objective) of 15 minutes and an RPO (Recovery Point Objective) of 5 minutes. The application uses Amazon RDS with Multi-AZ deployments for the database and Amazon S3 for storing critical transaction logs. To meet the RTO and RPO requirements, you need to implement an automated recovery process. Which solution should you implement?

  1. A

    Enable cross-Region read replicas for the RDS database and configure automated failover scripts.

  2. B

    Configure AWS Backup to back up the RDS database every 15 minutes and use Cross-Region replication for Amazon S3.

  3. C

    Implement AWS Elastic Disaster Recovery (AWS DRS) for the RDS database and enable versioning for the S3 bucket.

  4. D

    Use AWS Lambda with CloudWatch Events to trigger an RDS snapshot every 5 minutes and replicate snapshots to another Region.

Show answer and explanation

Correct answer: A

Explanation

To meet the defined RTO and RPO requirements, enabling cross-Region read replicas for the RDS database ensures minimal downtime and data loss. Read replicas are continuously updated with changes from the primary database, ensuring an RPO of 5 minutes. In the event of a failure, automated failover scripts can promote the read replica to a primary instance within the RTO of 15 minutes. Other options either fail to meet the RTO/RPO requirements or are not suitable for managed RDS databases.

  • A. Correct.

    This is the correct option. Enabling cross-Region read replicas for the RDS database ensures rapid recovery in another Region, meeting an RTO of 15 minutes. Automated failover scripts can be configured to promote the read replica to a primary instance in case of failure. This approach also aligns with the RPO of 5 minutes, as read replicas are asynchronously updated frequently.

  • B. Incorrect.

    This option is not suitable for the given RTO and RPO requirements. AWS Backup creates backups at scheduled intervals, but even at its fastest (15 minutes), it cannot guarantee a 5-minute RPO. Cross-Region S3 replication is useful for durability but does not directly impact database recovery speed.

  • C. Incorrect.

    AWS Elastic Disaster Recovery (AWS DRS) is designed for EC2 instances and on-premises servers, not for managed RDS databases. While S3 versioning improves data durability and recovery, it does not address the RTO and RPO requirements for the database.

  • D. Incorrect.

    While this approach might appear to address the RPO requirement, taking snapshots every 5 minutes can be costly and inefficient. Additionally, snapshots are not designed for rapid failover and do not meet the 15-minute RTO requirement.

Timed practice exam

Take a DOP-C02 practice test under exam conditions

75 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam