DVA-C02 exam dumps

DVA-C02 practice question 382 of 399

AWS Certified Developer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DVA-C02 Question 382

Single answer

A developer is working on an e-commerce application that experiences high traffic during seasonal sales. The application uses Amazon RDS for its database and is facing performance bottlenecks during peak load. The developer needs to optimize the application to handle the increased traffic efficiently. Which solution would best address the issue?

  1. A

    Enable Amazon RDS Read Replicas and configure the application to distribute read traffic across replicas.

  2. B

    Switch the database engine from Amazon RDS to Amazon DynamoDB to handle high throughput.

  3. C

    Use Amazon ElastiCache to cache frequently accessed data to reduce database load.

  4. D

    Upgrade the RDS instance to a larger instance type to improve database performance.

Show answer and explanation

Correct answer: A

Explanation

The best solution is to enable Amazon RDS Read Replicas and distribute read traffic across replicas. This approach allows the application to scale read operations efficiently without overloading the primary database. Other options, such as switching to DynamoDB or upgrading the instance, involve significant changes or provide only temporary fixes, while ElastiCache is better suited for caching rather than addressing database read scalability.

  • A. Correct.

    This is the correct answer because Amazon RDS Read Replicas can help offload read traffic from the primary database, improving performance and scalability for read-heavy workloads.

  • B. Incorrect.

    Switching to Amazon DynamoDB might not be a practical or feasible solution in this case, as it would require significant changes to the application and might not address the immediate bottleneck.

  • C. Incorrect.

    While Amazon ElastiCache can help improve performance by caching frequently accessed data, it does not directly address the need to scale read traffic for the database.

  • D. Incorrect.

    Upgrading the RDS instance might improve performance temporarily but does not provide scalability for handling high traffic during peak loads.

Timed practice exam

Take a DVA-C02 practice test under exam conditions

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

Start timed exam