Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
As a Cloud DevOps Engineer, managing infrastructure as code efficiently in a GCP project is crucial. Which approach best supports versioning, collaboration, modularity, and traceability?
A
Store infrastructure code in a single monolithic repository, with each environment in a separate branch.
B
Use separate repositories for each environment, maintaining versioned infrastructure code with Git branches.
C
Store infrastructure code in a single repository, using Terraform modules and Git branches for versioning and managing changes across environments.
D
Store infrastructure code in a centralized repository and use Git tags to version the code for each environment.