DOP-C02 Question 117
Select 3Your organization hosts a large-scale e-commerce platform on AWS. During peak sales events, the application encounters unpredictable traffic spikes, leading to manual scaling efforts and delayed responses. You have been tasked with designing an automated solution to handle these spikes and ensure optimal resource utilization. The solution must also integrate monitoring and alerting to notify the team of any anomalies. Which combination of solutions should you implement?
- A
Configure an Auto Scaling group with dynamic scaling policies based on Amazon CloudWatch metrics.
- B
Implement an AWS Lambda function to manually scale EC2 instances during traffic spikes.
- C
Use Amazon CloudWatch alarms to monitor key metrics and trigger Auto Scaling policies.
- D
Leverage AWS Elastic Beanstalk to automatically handle scaling and load balancing.
- E
Set up an Amazon S3 bucket to store traffic logs and manually analyze them for scaling decisions.
Show answer and explanation
Correct answers: A, C, D
Explanation
To design and build an automated solution for handling unpredictable traffic spikes in a large-scale environment, combining Auto Scaling groups with dynamic scaling policies, Amazon CloudWatch for monitoring and triggering actions, and AWS Elastic Beanstalk for automatic scaling and load balancing provides a robust and automated approach. This ensures that resources are optimally utilized and that scaling happens without manual intervention.
- A. Correct.
Configuring an Auto Scaling group with dynamic scaling policies allows the application to automatically adjust the number of instances based on real-time traffic demands, ensuring resources scale up or down as needed.
- B. Incorrect.
Using an AWS Lambda function for manual scaling contradicts the goal of automation. Lambda is not intended for managing scaling decisions manually in this context.
- C. Correct.
Amazon CloudWatch alarms can monitor critical metrics, such as CPU utilization or request count, and trigger Auto Scaling actions to respond to changing traffic patterns.
- D. Correct.
AWS Elastic Beanstalk simplifies application deployment and includes built-in capabilities for handling scaling and load balancing automatically, making it suitable for large-scale environments.
- E. Incorrect.
Storing traffic logs in Amazon S3 and manually analyzing them is inefficient and does not meet the requirement for automation. This approach introduces delays and is not scalable for large-scale environments.