Which approach addresses these requirements?
Use cost allocation reports and AWS OpsWorks to deploy and manage the infrastructure.
Use Amazon CloudWatch metrics and alerts along with resource tagging to deploy and manage the infrastructure.
Use AWS Elastic Beanstalk and AWS CodeCommit to deploy and manage the infrastructure.
Use AWS CloudFormation and AWS CodeCommit to deploy and manage the infrastructure.
Explanations:
AWS OpsWorks is focused on application lifecycle management and configuration, not designed for deploying or managing infrastructure as code.
CloudWatch and tagging help with monitoring and resource tracking but are not infrastructure-as-code tools for deploying or managing infrastructure versions.
Elastic Beanstalk is intended for application deployment, not full infrastructure management, and lacks version control for infrastructure.
CloudFormation enables infrastructure as code, allowing versioned stacks, staging changes, and rollback capability; CodeCommit provides version control.