Deployment, Provisioning, and Automation

Which tool maintains version history and supports branching and merging for infrastructure configuration files?

Show the answer

Correct answerD. Git

AWhy not this: Terraform provisions and manages infrastructure; it relies on a separate version control system for configuration history.

BWhy not this: The AWS CDK defines infrastructure using programming languages but does not provide repository version control.

CWhy not this: CloudFormation provisions resources from templates rather than providing file branching and merging.

DWhy this is right: Git tracks file revisions and supports separate branches that can be merged.

Git provides version control, including history, branches, and merges. Terraform provisions infrastructure from configuration files but does not itself provide repository version control.