SAP-C02 Question 370
Select 3A company is running a large-scale web application on AWS using an Auto Scaling group behind an Application Load Balancer (ALB). During peak traffic hours, users experience intermittent high latency and some requests are dropped. The company wants to ensure the application scales appropriately during traffic spikes and provides a consistent user experience. Which of the following changes should the Solutions Architect implement to address the issue?
- A
Enable ALB request tracing to identify slow backend instances and replace them manually.
- B
Configure a target tracking scaling policy for the Auto Scaling group based on the ALB's Average Target Response Time metric.
- C
Increase the maximum and desired instance count for the Auto Scaling group.
- D
Enable ALB health checks and ensure the Auto Scaling group uses them for instance replacement.
- E
Pre-warm the ALB by contacting AWS Support to handle large bursts of traffic.
Show answer and explanation
Correct answers: B, D, E
Explanation
The intermittent high latency and dropped requests are symptoms of an application that is not scaling efficiently during traffic spikes. By configuring a target tracking scaling policy on the ALB's Average Target Response Time, the Auto Scaling group can dynamically adjust to meet demand. ALB health checks ensure that only healthy instances serve traffic, improving user experience. Lastly, pre-warming the ALB for sudden bursts helps ensure that the load balancer can handle the increased traffic effectively, mitigating latency and dropped requests.
- A. Incorrect.
Enabling ALB request tracing can help diagnose performance issues, but it does not address the root cause of high latency or dropped requests during traffic spikes.
- B. Correct.
Configuring a target tracking scaling policy based on the ALB's Average Target Response Time metric ensures the Auto Scaling group dynamically adjusts its size based on real-time application performance during traffic spikes.
- C. Incorrect.
Simply increasing the maximum and desired instance count for the Auto Scaling group may work temporarily but does not provide a dynamic, scalable solution to handle traffic spikes effectively.
- D. Correct.
Enabling ALB health checks ensures that unhealthy instances are replaced automatically, reducing the impact of poorly performing instances on user experience.
- E. Correct.
Pre-warming the ALB by contacting AWS Support helps handle large, sudden bursts of traffic by ensuring the ALB is ready to direct traffic efficiently.