
Answer-first summary for fast verification
Answer: Utilize a version-control system for storing the Terraform code, implementing processes for updating and merging new versions with the main branch.
This is the correct answer because version control systems like Git provide a secure and efficient way to store and share code among team members. They enable tracking of all changes, facilitating easy identification and management of modifications. Moreover, such systems ensure that only vetted code is deployed and that updates are properly merged with the existing codebase, thereby maintaining the Terraform code's consistency and reliability.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
As your Infrastructure DevOps Engineering team grows, you've decided to use Terraform for managing your infrastructure. To ensure proper version control and seamless code sharing among team members, what is the most effective approach?
A
Store the Terraform code in a shared Google Drive folder for automatic syncing across all team members' computers, using a naming convention to distinguish between versions.
B
Keep the Terraform code in a network shared folder, with separate subfolders for each version release, and ensure team members work on distinct files.
C
Utilize a version-control system for storing the Terraform code, implementing processes for updating and merging new versions with the main branch.
D
Place the Terraform code in a Cloud Storage bucket with object versioning enabled, granting access to all team members for file downloads.