DOP-C02 exam dumps

DOP-C02 practice question 133 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 133

Select 2

Your company runs a high-availability e-commerce platform on AWS. The platform uses an Amazon RDS Multi-AZ deployment for its relational database and an Auto Scaling group for its web tier. Recently, the business team noticed a significant increase in read traffic during flash sales, which sometimes causes delays in response times. As the DevOps engineer, how can you improve the resilience and performance of the system to handle these traffic spikes while minimizing downtime?

  1. A

    Add a read replica for the Amazon RDS database and configure the application to distribute read traffic across the primary database and the read replica.

  2. B

    Enable Auto Scaling for the Amazon RDS Multi-AZ instance to automatically scale compute and storage resources during traffic spikes.

  3. C

    Implement Amazon ElastiCache in front of the database to cache frequently accessed read queries.

  4. D

    Configure Amazon CloudFront with the web tier to cache dynamic content and reduce load on the application servers.

  5. E

    Switch from an Amazon RDS Multi-AZ deployment to a single-AZ deployment to reduce replication overhead and improve read performance.

Show answer and explanation

Correct answers: A, C

Explanation

To improve resilience and performance during traffic spikes, you should focus on offloading read operations from the primary RDS database and reducing direct database queries. Adding an RDS read replica distributes the read workload, while implementing Amazon ElastiCache reduces the need for repeated database queries by caching frequently accessed data. These solutions help optimize performance without compromising resilience.

  • A. Correct.

    Correct. Adding a read replica offloads read traffic from the primary database, improving performance and resilience during traffic spikes. It also ensures the primary database is focused on write operations.

  • B. Incorrect.

    Incorrect. Amazon RDS Multi-AZ does not support Auto Scaling for compute or storage resources. Multi-AZ is designed for high availability and failover, not scaling.

  • C. Correct.

    Correct. Implementing Amazon ElastiCache provides an in-memory data store that can reduce database load by caching frequently accessed data, significantly improving performance during high traffic.

  • D. Incorrect.

    Incorrect. Amazon CloudFront is effective for caching static content, but it is not suitable for caching dynamic database queries. It would not address the read traffic issue on the RDS database.

  • E. Incorrect.

    Incorrect. Switching to a single-AZ deployment reduces redundancy and resilience, which increases the risk of downtime. This does not align with improving the system's resilience.

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