SAP-C02 exam dumps

SAP-C02 practice question 296 of 678

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

SAP-C02 Question 296

Select 3

A company runs a high-traffic e-commerce website on AWS and is experiencing sporadic latency issues during peak hours. The web application is hosted on EC2 instances behind an Application Load Balancer (ALB), with an Amazon RDS database for its backend. The company wants to ensure consistent performance during peak traffic while keeping costs manageable. Which of the following architectural changes will address the performance objectives?

  1. A

    Enable Amazon RDS Read Replicas and modify the application to offload read queries to the replicas.

  2. B

    Implement AWS Global Accelerator to route traffic to the application endpoints with the lowest latency.

  3. C

    Use Auto Scaling for the EC2 instances and configure scaling policies based on CPU utilization metrics.

  4. D

    Migrate the database to Amazon Aurora with Aurora Serverless enabled for automatic scaling.

  5. E

    Replace the Application Load Balancer with a Network Load Balancer for lower latency.

Show answer and explanation

Correct answers: A, C, D

Explanation

To meet performance objectives during peak traffic, the solution should address both database and compute layer scalability. RDS Read Replicas offload read traffic, reducing the load on the main database. Auto Scaling ensures the EC2 instances can handle the increased compute demand dynamically. Migrating to Aurora Serverless provides automatic scaling at the database layer, further optimizing performance. AWS Global Accelerator and Network Load Balancer do not address the specific performance bottlenecks in this scenario and are not optimal solutions.

  • A. Correct.

    Correct: Enabling RDS Read Replicas and offloading read traffic helps reduce the load on the primary database, improving overall database performance during peak periods.

  • B. Incorrect.

    Incorrect: AWS Global Accelerator is designed for global traffic optimization and does not directly address the root cause of database or server-side latency.

  • C. Correct.

    Correct: Auto Scaling ensures that the EC2 instances can dynamically scale out during peak traffic and scale in during low traffic, maintaining consistent performance and cost-efficiency.

  • D. Correct.

    Correct: Aurora Serverless automatically adjusts database capacity based on demand, ensuring optimal performance during traffic spikes without manual intervention.

  • E. Incorrect.

    Incorrect: While Network Load Balancers provide lower latency than Application Load Balancers, they are not designed for web applications requiring layer-7 routing features. Replacing the ALB may not solve the performance issue.

Timed practice exam

Take a SAP-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