Q82 — AWS DVA-C02 Ch.3

Question 82 of 100 | ← Chapter 3

A developer needs to manage AWS infrastructure as code and must be able to deploy identical copies of infrastructure, perform staged changes, and revert to previous versions. Which approach meets these requirements?

Correct Answer: D. Use AWS CloudFormation and AWS CodeCommit to deploy and manage infrastructure.

Explanation

AWS CloudFormation is an Infrastructure-as-Code (IaC) service that enables declarative definition and repeatable deployment of AWS resources via templates. Coupled with AWS CodeCommit—a fully managed Git source control service—it allows versioning of infrastructure templates, enabling deployment of identical stacks, staged rollouts (e.g., via change sets), and easy rollback to prior versions via Git history. Options A, B, and C lack native IaC capabilities: OpsWorks is configuration management (not IaC), CloudWatch/Tagging are monitoring/resource labeling tools, and Elastic Beanstalk abstracts infrastructure definition, limiting version control and reproducibility. Thus, Option D is the correct solution. 【Provided by Lantern Certification: swufelp1999】