CLF-C02 Question 134
Select 2A company is planning to deploy a web application on AWS and wants to ensure it can easily scale to handle traffic spikes. Which of the following methods can be used to deploy and operate this application effectively in the AWS Cloud?
- A
Use Amazon EC2 Auto Scaling to automatically adjust the number of instances based on traffic patterns.
- B
Manually provision additional EC2 instances during peak traffic hours to handle increased load.
- C
Deploy the application using AWS Elastic Beanstalk to simplify deployment, scaling, and management.
- D
Configure AWS Lambda to run the web application as serverless functions.
- E
Host the application on a single EC2 instance with a fixed instance type.
Show answer and explanation
Correct answers: A, C
Explanation
The best methods for deploying and operating scalable applications in the AWS Cloud involve automation and managed services. Amazon EC2 Auto Scaling ensures that the application's infrastructure can dynamically respond to changes in demand, while AWS Elastic Beanstalk provides a fully managed platform to simplify deployment and scaling. Both options align with AWS best practices for scalability and operational efficiency.
- A. Correct.
Correct. Amazon EC2 Auto Scaling automatically adjusts the number of instances to match demand, ensuring cost-effective scaling and high availability.
- B. Incorrect.
Incorrect. Manually provisioning instances requires constant monitoring and manual intervention, which is inefficient and not aligned with AWS best practices.
- C. Correct.
Correct. AWS Elastic Beanstalk simplifies deployment and scaling by automatically handling the underlying infrastructure for the application.
- D. Incorrect.
Incorrect. AWS Lambda is a serverless compute service, but it is not designed for running a traditional web application that requires persistent connections or long-running processes.
- E. Incorrect.
Incorrect. Hosting the application on a single EC2 instance introduces a single point of failure and limits scalability.