SAP-C02 exam dumps

SAP-C02 practice question 183 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 183

Select 2

An e-commerce company is running its web application on an Auto Scaling group of Amazon EC2 instances behind an Application Load Balancer (ALB). The company is experiencing intermittent performance issues due to sudden and unpredictable traffic spikes. The CTO wants to improve responsiveness during these traffic spikes while minimizing operational overhead. Which solution should the company implement?

  1. A

    Configure a scheduled scaling policy to scale out EC2 instances during peak hours.

  2. B

    Enable Auto Scaling predictive scaling to proactively adjust capacity based on historical traffic patterns.

  3. C

    Use AWS Lambda with Amazon API Gateway to handle unexpected traffic surges.

  4. D

    Implement an AWS Global Accelerator to reduce latency and distribute traffic across regions.

  5. E

    Enable instance warm-up in the Auto Scaling group to reduce the time required to handle increased traffic.

Show answer and explanation

Correct answers: B, C

Explanation

The correct answers are enabling Auto Scaling predictive scaling and using AWS Lambda with Amazon API Gateway. Predictive scaling allows the Auto Scaling group to anticipate and prepare for sudden traffic spikes by leveraging historical data, ensuring that resources are provisioned in advance. AWS Lambda with API Gateway provides a highly scalable, serverless approach to handling traffic surges, which reduces the dependency on EC2 scaling and adds flexibility for intermittent, unpredictable workloads.

  • A. Incorrect.

    Scheduled scaling is not suitable for unpredictable traffic patterns, as the spikes occur intermittently and cannot be reliably forecasted based on specific time windows.

  • B. Correct.

    Predictive scaling uses historical data to anticipate traffic patterns and adjusts capacity proactively, which can help handle traffic spikes with minimal manual intervention.

  • C. Correct.

    AWS Lambda with Amazon API Gateway can offload some of the traffic from the EC2 instances, providing a serverless solution for handling unexpected surges without requiring additional EC2 capacity.

  • D. Incorrect.

    AWS Global Accelerator reduces latency and improves availability across regions but does not address the sudden need for application scaling during traffic spikes.

  • E. Incorrect.

    While enabling instance warm-up can help ensure that new instances are ready to serve traffic, it does not directly address the need for rapid scaling during unexpected traffic surges.

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