CLF-C02 Question 49
Select 3A company is looking to deploy a new application across multiple environments (development, staging, and production). They want to ensure consistency in the infrastructure and configuration for each environment while reducing the time and effort required for deployment. Which of the following benefits of using AWS CloudFormation can help address this requirement?
- A
Automates the provisioning of infrastructure and ensures consistency across environments
- B
Enables manual configuration of resources to meet unique environment needs
- C
Provides version control for infrastructure templates, allowing rollback to previous configurations
- D
Reduces the need for writing custom scripts to provision and configure resources
- E
Allows simultaneous deployment of infrastructure across multiple AWS accounts and Regions
Show answer and explanation
Correct answers: A, C, D
Explanation
AWS CloudFormation is a powerful tool for automating the provisioning and configuration of AWS resources. It ensures consistency across environments using declarative templates, supports version control for managing infrastructure changes, and eliminates the need for custom scripts. These features make it well-suited to the company's requirement of deploying applications consistently and efficiently across multiple environments.
- A. Correct.
Correct. AWS CloudFormation automates the provisioning and configuration of resources, ensuring that environments are consistently deployed.
- B. Incorrect.
Incorrect. AWS CloudFormation focuses on automation and template-driven deployments rather than manual configuration.
- C. Correct.
Correct. CloudFormation templates can be version-controlled, enabling rollback to previous configurations if needed.
- D. Correct.
Correct. CloudFormation reduces the need for custom scripts as it uses declarative templates to define and provision resources.
- E. Incorrect.
Incorrect. While CloudFormation StackSets enable deployment across multiple accounts and Regions, this is not a primary benefit related to the given scenario.