PROFESSIONAL-CLOUD-DEVELOPER · Question #277
PROFESSIONAL-CLOUD-DEVELOPER Question #277: Real Exam Question with Answer & Explanation
The correct answer is D: Each group of developers creates a feature branch from the main branch for their work, commits. Use a centralized repository. A centralized repository is a single location where all of your team's code is stored. This makes it easy for everyone to access the latest code, and it also helps to prevent conflicts. Use branches. Branches are a way to create a separate version of
Question
You are a developer at a large organization. Your team uses Git for source code management (SCM). You want to ensure that your team follows Google-recommended best practices to manage code to drive higher rates of software delivery. Which SCM process should your team use?
Options
- AEach developer commits their code to the main branch before each product release, conducts
- BEach group of developers copies the repository, commits their changes to their repository, and
- CEach developer creates a branch for their own work, commits their changes to their branch, and
- DEach group of developers creates a feature branch from the main branch for their work, commits
Explanation
Use a centralized repository. A centralized repository is a single location where all of your team's code is stored. This makes it easy for everyone to access the latest code, and it also helps to prevent conflicts. Use branches. Branches are a way to create a separate version of the code for development purposes. This allows developers to work on new features or bug fixes without affecting the main branch of the code.
Topics
Community Discussion
No community discussion yet for this question.