DOP-C02 Question 95
Single answerYour team is managing a multi-region deployment for a critical application on AWS. You need to ensure that the infrastructure is consistent across regions and is easily reproducible. Additionally, you want to version-control the infrastructure changes and enable collaboration among team members. Which of the following tools or approaches would best meet these requirements?
- A
AWS CloudFormation
- B
AWS Elastic Beanstalk
- C
Amazon EC2 Systems Manager
- D
AWS OpsWorks
Show answer and explanation
Correct answer: A
Explanation
AWS CloudFormation is the most suitable tool for implementing Infrastructure as Code (IaC) in this scenario. It enables you to define infrastructure in a declarative way, ensures consistency across multiple regions, integrates with version control systems, and supports collaborative workflows. The other options either lack the necessary features or serve a different purpose.
- A. Correct.
AWS CloudFormation is an Infrastructure as Code (IaC) tool that allows you to define and provision AWS infrastructure using declarative JSON or YAML templates. It supports version control, consistency across regions, and team collaboration, making it the best fit for the scenario described.
- B. Incorrect.
AWS Elastic Beanstalk is an application deployment service rather than a full-fledged Infrastructure as Code (IaC) tool. While it simplifies application deployment, it lacks the flexibility and detailed infrastructure control needed for consistent multi-region deployments.
- C. Incorrect.
Amazon EC2 Systems Manager is a collection of operational tools for managing EC2 instances and other AWS resources. It is not designed for defining and provisioning infrastructure as code.
- D. Incorrect.
AWS OpsWorks is a configuration management service that uses Chef or Puppet. While it can help manage infrastructure, it does not provide the same level of support for versioning and reproducibility as AWS CloudFormation.