Explanation
AWS CloudFormation is the correct answer because it is specifically designed for Infrastructure as Code (IaC). Here's why:
- AWS CloudFormation allows you to model and provision AWS resources using templates written in JSON or YAML format
- You can create, update, and delete entire AWS infrastructure stacks in a predictable and repeatable way
- It manages dependencies between resources automatically
- Provides version control for infrastructure configurations
Why the other options are incorrect:
- AWS CodeBuild is a fully managed continuous integration service that compiles source code, runs tests, and produces software packages
- AWS Systems Manager is a management service that helps you automatically collect software inventory, apply OS patches, create system images, and configure Windows and Linux operating systems
- AWS Trusted Advisor is an online resource that helps you reduce cost, increase performance, and improve security by optimizing your AWS environment
Infrastructure as Code (IaC) is a key DevOps practice that enables managing and provisioning infrastructure through machine-readable definition files, rather than physical hardware configuration or interactive configuration tools.