Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud DevOps Engineer Exam - Topic 3 Question 4 Discussion

You are responsible for creating and modifying the Terraform templates that define your Infrastructure. Because two new engineers will also be working on the same code, you need to define a process and adopt a tool that will prevent you from overwriting each other's code. You also want to ensure that you capture all updates in the latest version. What should you do?
A) * Store your code in a Git-based version control system. * Establish a process that allows developers to merge their own changes at the end of each day. * Package and upload code lo a versioned Cloud Storage bucket as the latest master version.
B) * Store your code in a Git-based version control system. * Establish a process that includes code reviews by peers and unit testing to ensure integrity and functionality before integration of code. * Establish a process where the fully integrated code in the repository becomes the latest master version.
C) * Store your code as text files in Google Drive in a defined folder structure that organizes the files. * At the end of each day. confirm that all changes have been captured in the files within the folder structure. * Rename the folder structure with a predefined naming convention that increments the version.
D) * Store your code as text files in Google Drive in a defined folder structure that organizes the files. * At the end of each day, confirm that all changes have been captured in the files within the folder structure and create a new .zip archive with a predefined naming convention. * Upload the .zip archive to a versioned Cloud Storage bucket and accept it as the latest version.

Google Professional Cloud DevOps Engineer Exam - Topic 3 Question 4 Discussion

Actual exam question for Google's Professional Cloud DevOps Engineer exam
Question #: 4
Topic #: 3
[All Professional Cloud DevOps Engineer Questions]

You are responsible for creating and modifying the Terraform templates that define your Infrastructure. Because two new engineers will also be working on the same code, you need to define a process and adopt a tool that will prevent you from overwriting each other's code. You also want to ensure that you capture all updates in the latest version. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Elizabeth
7 months ago
C is just asking for trouble, version control is essential!
upvoted 0 times
...
Dorethea
7 months ago
B is the best choice, keeps everything clean and functional.
upvoted 0 times
...
Tammara
8 months ago
Surprised anyone would use Google Drive for code!
upvoted 0 times
...
Sharika
8 months ago
A seems okay, but merging daily? That sounds risky.
upvoted 0 times
...
Oneida
8 months ago
Definitely go with option B, code reviews are a must!
upvoted 0 times
...
Roxanne
8 months ago
I vaguely remember something about creating a process for integrating code changes, but I can't remember if we covered how to handle the latest master version specifically.
upvoted 0 times
...
Desire
8 months ago
I feel like storing code in Google Drive isn't the best practice for version control, but I can't recall why exactly. It just seems less reliable.
upvoted 0 times
...
Juliana
8 months ago
I think option B sounds familiar because it emphasizes code reviews and testing, which we practiced in our last session. That seems like a solid approach.
upvoted 0 times
...
Talia
8 months ago
I remember we discussed the importance of using a version control system like Git to avoid code conflicts, but I'm not sure if merging daily is enough.
upvoted 0 times
...
Alison
8 months ago
I think the most effective countermeasure against data remanence would be destruction. Physically destroying the storage media seems like the surest way to prevent any residual data from being recovered.
upvoted 0 times
...
Twanna
8 months ago
I'm a bit confused by this one. The roles and permissions seem important, but I'm not sure which one is the most likely cause. I'll need to review the details carefully.
upvoted 0 times
...
Zodogam
5 years ago
I believe the correct answer is D
upvoted 1 times
...

Save Cancel