Your team of Infrastructure DevOps Engineers is growing, and you are starting to use Terraform to manage infrastructure. You need a way to implement code versioning and to share code with other team members. What should you do?
A. Store the Terraform code in a version-control system. Establish procedures for pushing new versions and merging with the master.
B. Store the Terraform code in a network shared folder with child folders for each version release. Ensure that everyone works on different files.
C. Store the Terraform code in a Cloud Storage bucket using object versioning. Give access to the bucket to every team member so they can download the files.
D. Store the Terraform code in a shared Google Drive folder so it syncs automatically to every team member’s computer. Organize files with a naming convention that identifies each new version.
Disclaimer
This is a practice question. There is no guarantee of coming this question in the certification exam.
Answer
A
Explanation
For option C & D, downloading is not at all recommended. For option B, hectic process. So, option A is the correct answer.
https://www.terraform.io/docs/cloud/guides/recommended-practices/part3.3.html
A. Store the Terraform code in a version-control system. Establish procedures for pushing new versions and merging with the master.
B. Store the Terraform code in a network shared folder with child folders for each version release. Ensure that everyone works on different files.
C. Store the Terraform code in a Cloud Storage bucket using object versioning. Give access to the bucket to every team member so they can download the files.
D. Store the Terraform code in a shared Google Drive folder so it syncs automatically to every team member’s computer. Organize files with a naming convention that identifies each new version.