A developer needs to manage AWS infrastructure as code and must be able to deploy multiple identical copies of the infrastructure, stage changes, and revert to previous versions.
Which approach addresses these requirements?
A.
Use cost allocation reports and AWS OpsWorks to deploy and manage the infrastructure.
B.
Use Amazon CloudWatch metrics and alerts along with resource tagging to deploy and manage the infrastructure.
C.
Use AWS Elastic Beanstalk and AWS CodeCommit to deploy and manage the infrastructure.
D.
Use AWS CloudFormation and AWS CodeCommit to deploy and manage the infrastructure.
D. Use AWS CloudFormation and AWS CodeCommit to deploy and manage the infrastructure.
Here's why this is the most appropriate choice:
AWS CloudFormation: It allows you to define your infrastructure as code using templates, which can be version-controlled. You can create, update, and delete stacks of AWS resources in a controlled and predictable manner. This aligns with the requirement to deploy multiple identical copies of the infrastructure, stage changes, and revert to previous versions.
AWS CodeCommit: It provides a fully managed source control service, allowing you to store and version-control your CloudFormation templates. This ensures that you can manage and track changes to your infrastructure configurations.
Here's why this option is the most suitable:
AWS CloudFormation: This service allows you to model your entire infrastructure in a text file (either JSON or YAML). This infrastructure as code approach enables you to create and manage AWS resources efficiently, consistently, and repeatably. It's ideal for deploying multiple identical copies of the same infrastructure (like staging, production environments), and the text file can be version-controlled, allowing you to stage changes and revert to previous versions.
AWS CodeCommit: This is a managed source control service that hosts private Git repositories. Integrating AWS CodeCommit with CloudFormation enables version control of your infrastructure templates. This supports staging changes and reverting to previous versions, enhancing collaboration among team members.
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Jing2023
Highly Voted 1 year agoClaire_KMT
Highly Voted 1 year agoSaudis
Most Recent 1 week, 6 days ago65703c1
5 months, 3 weeks agoSerialiDr
9 months, 3 weeks ago