exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 270 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 270
Topic #: 1
[All Professional Cloud Developer Questions]

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?

  • A. Create a Cloud Source Repositories repository, and use trunk-based development.
  • B. Create a Cloud Source Repositories repository, and use feature-based development.
  • C. Create a GitHub repository, mirror it to a Cloud Source Repositories repository, and use trunk-based development.
  • D. Create a GitHub repository, mirror it to a Cloud Source Repositories repository, and use feature-based development.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
pico
4 months, 3 weeks ago
Selected Answer: A
C and D (GitHub repository, mirrored to CSR): While GitHub offers feature-based development workflows, mirroring to CSR introduces an additional step and potential delay in the development process. It also doesn't provide the same level of native IAM integration as using CSR directly.
upvoted 1 times
...
JonathanSJ
8 months, 4 weeks ago
Selected Answer: A
I will go for A instead of C because it's more simple and straightforward. There isn't a requirement to have PR's or something like that to choose to have GitHub.
upvoted 1 times
...
wanrltw
10 months, 2 weeks ago
Selected Answer: A
I choose A. Where does the GitHub repository requirement come from? The security team uses IAM for user accesses and we only need to create a version control system that can integrate with their processes. IAM can't control who is pushing stuff in GitHub and with options C or D it will end up in CSR regardless. Fast release cycles and frequent merges to the main branch to minimize merge conflicts -> trunk-based development.
upvoted 3 times
...
plutonians123
11 months ago
Selected Answer: C
"You want your solution to support fast release cycles and frequent merges to your main branch to minimize merge conflicts." The requirement for fast release cycles and frequent merges with minimal merge conflicts aligns well with trunk-based development. In trunk-based development, developers work in short-lived branches and merge their changes frequently into the main branch, which helps in reducing merge conflicts and supports a more rapid and continuous release cycle.
upvoted 1 times
...
diegodoal
11 months, 3 weeks ago
Selected Answer: C
C. using an external git repository as Github or Bitbucket synced with Cloud Repositories is a best practice, as it provides with a lot more features as PRs and branch permissions. Trunk or master development is okay in this case as is a small project with fast development. For more large projects, larger teams is better to use a feature development as GitFlow
upvoted 1 times
...
vspringe
11 months, 3 weeks ago
Selected Answer: C
GitHub Repository: GitHub is a popular and powerful platform for version control. It supports a wide range of development workflows and integrates well with various CI/CD tools, making it suitable for fast release cycles. Mirroring to Cloud Source Repositories: By mirroring the GitHub repository to Google Cloud Source Repositories, you can leverage Google Cloud's IAM features for access control and security. This integration allows your security team to track and manage user access effectively within the Google Cloud environment. Trunk-Based Development: This development methodology involves developers merging their changes into the main branch frequently. It's well-suited for fast-paced development environments, as it minimizes the duration of branches and reduces the likelihood of significant merge conflicts.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago