
Answer-first summary for fast verification
Answer: Configure an Elastic Beanstalk environment to use burstable performance instances in unlimited mode. Configure the environment to scale based on requests.
## Explanation **Correct Answer: A** **Why Option A is correct:** 1. **Burstable performance instances in unlimited mode**: The scenario describes CPU utilization spiking to 10 times normal during peak hours that occur only twice per month. Burstable instances (like T-family instances) are ideal for workloads with intermittent CPU usage. In unlimited mode, they can burst above baseline performance when needed, which matches the pattern of occasional high CPU utilization. 2. **Scale based on requests**: Since the latency issues occur during peak hours and CPU utilization spikes immediately, scaling based on requests (using metrics like CPU utilization or request count) allows the environment to automatically scale out when demand increases, improving latency. 3. **Cost optimization**: Burstable instances are more cost-effective for this intermittent workload pattern compared to constantly running compute-optimized instances. **Why other options are incorrect:** - **Option B**: Compute optimized instances are designed for sustained high CPU usage, not intermittent spikes. They're more expensive and overkill for a workload that only has high CPU utilization twice per month. - **Option C**: Scaling on a schedule wouldn't work well because the latency issues occur "during peak hours" but only twice per month, not on a predictable schedule. The scenario doesn't specify predictable timing. - **Option D**: Scaling on predictive metrics requires historical data patterns, and with only twice-monthly occurrences, there may not be enough consistent data for accurate predictions. Scaling based on actual metrics (like CPU utilization) is more reliable for this scenario. **Key AWS Concepts:** - **Elastic Beanstalk Auto Scaling**: Can scale based on various metrics including CPU utilization, request count, etc. - **Burstable Instances**: T-family instances with baseline performance and ability to burst using CPU credits. - **Unlimited Mode**: Allows instances to burst beyond baseline performance even when CPU credits are exhausted, at an additional cost. This solution provides both automatic scaling to handle demand spikes and cost optimization for the intermittent workload pattern.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company has a web application that runs on premises. The application experiences latency issues during peak hours. The latency issues occur twice each month. At the start of a latency issue, the application's CPU utilization immediately increases to 10 times its normal amount.
The company wants to migrate the application to AWS to improve latency. The company also wants to scale the application automatically when application demand increases. The company will use AWS Elastic Beanstalk for application deployment.
Which solution will meet these requirements?
A
Configure an Elastic Beanstalk environment to use burstable performance instances in unlimited mode. Configure the environment to scale based on requests.
B
Configure an Elastic Beanstalk environment to use compute optimized instances. Configure the environment to scale based on requests.
C
Configure an Elastic Beanstalk environment to use compute optimized instances. Configure the environment to scale on a schedule.
D
Configure an Elastic Beanstalk environment to use burstable performance instances in unlimited mode. Configure the environment to scale on predictive metrics.