CLF-C02 Question 50
Single answerAn organization plans to deploy a web application using AWS services. They want to ensure consistent provisioning of resources, minimize manual errors, and enable easy replication of the environment in multiple regions. Which AWS service is best suited to achieve this?
- A
AWS CloudFormation
- B
AWS Elastic Beanstalk
- C
AWS Config
- D
Amazon EC2 Auto Scaling
Show answer and explanation
Correct answer: A
Explanation
AWS CloudFormation is tailored for infrastructure as code, allowing users to define their AWS resources in a template and deploy them consistently. This automation reduces the risk of manual errors, ensures consistency, and simplifies replication of environments in different regions, making it the best solution for the described scenario.
- A. Correct.
AWS CloudFormation is a service that allows you to define and manage infrastructure as code, ensuring consistent provisioning, reducing manual errors, and enabling easy replication across regions.
- B. Incorrect.
AWS Elastic Beanstalk is an application deployment service, but it does not focus on infrastructure provisioning or environment replication as AWS CloudFormation does.
- C. Incorrect.
AWS Config is a service for monitoring and recording configuration changes, not for provisioning or replicating environments.
- D. Incorrect.
Amazon EC2 Auto Scaling is designed for automatically adjusting compute capacity, but it is not intended for provisioning or managing infrastructure across regions.