Google Cloud Professional Cloud Developer — Question 266

Your company's security team uses Identity and Access Management (IAM) to track which users have access to which resources. You need to create a version control system that can integrate with your security team's processes. You want your solution to support fast release cycles and frequent merges to your main branch to minimize merge conflicts. What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because trunk-based development allows for continuous integration and frequent merging into the main branch, which supports fast release cycles and minimizes merge conflicts. Options B and D utilize feature-based development, which can lead to longer-lived branches and increased merge conflicts. Option C, while it mentions trunk-based development, introduces unnecessary complexity by mirroring to Cloud Source Repositories instead of directly using Cloud Source Repositories as the primary repository.