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 122 discussion

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

Your team develops services that run on Google Kubernetes Engine. Your team's code is stored in Cloud Source Repositories. You need to quickly identify bugs in the code before it is deployed to production. You want to invest in automation to improve developer feedback and make the process as efficient as possible.
What should you do?

  • A. Use Spinnaker to automate building container images from code based on Git tags.
  • B. Use Cloud Build to automate building container images from code based on Git tags.
  • C. Use Spinnaker to automate deploying container images to the production environment.
  • D. Use Cloud Build to automate building container images from code based on forked versions.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
__rajan__
7 months, 1 week ago
Selected Answer: B
B is correct.
upvoted 1 times
...
purushi
8 months, 3 weeks ago
Selected Answer: B
We need to have the following steps in Cloud Build to identify bugs" 1) Static code analysis 2) Code Vulnerability scanning 3) Docker Image vulnerability scanning Using Grype is one such example.
upvoted 1 times
...
eddoasso
10 months ago
Selected Answer: D
I say D. Both B and D could work. However why not use traditional git workflows and keep separate branches for separate tasks. This way each image can be tested independently.
upvoted 1 times
...
omermahgoub
1 year, 3 months ago
Selected Answer: B
Option B is appropriate because it uses Cloud Build, a service that can automatically build container images from code stored in Cloud Source Repositories based on Git tags. This allows developers to quickly identify bugs in their code before it is deployed to production, by automating the building process and improving developer feedback. Option A uses Spinnaker, which is a multi-cloud continuous delivery platform that can automate building, testing, and deploying container images. However, it does not specifically mention using git tags to trigger builds, thus for this particular use case it might not be the best fit.
upvoted 1 times
omermahgoub
1 year, 3 months ago
Option C also uses Spinnaker, and is similar to A, Spinnaker can automate deploying container images to the production environment, but it's not specific to building and identifying bugs before deploying, so it might not be the best fit for this use case. Option D uses Cloud Build, but it's not specific to building images based on git tags, it's more general and focuses on building images based on forked versions, which might not be needed in this case.
upvoted 1 times
...
...
zellck
1 year, 4 months ago
Selected Answer: B
B is the answer.
upvoted 1 times
...
GCP001
1 year, 5 months ago
D ) You need to quickly identify bugs in the code before it is deployed to production. So it's for developer to fork the code and test the build. Later they can push the changes using PR to the master repo/branch.
upvoted 2 times
...
[Removed]
1 year, 7 months ago
Selected Answer: B
cloud build is the google service so it stands to reason to use that.
upvoted 2 times
...
tomato123
1 year, 8 months ago
Selected Answer: B
I think b is correct
upvoted 3 times
...
hitmax87
2 years ago
Selected Answer: D
I vote D. Because every developer before merge to the master should test build in his branch. It will expose bugs. Once branch merged to the master, master build pipeline comes up.
upvoted 1 times
...
GCPCloudArchitectUser
2 years, 2 months ago
Selected Answer: B
I would disagree with A as Spinnaker is for deployment not for building images So either B or C : C is stating to deploy to production but the question is to give feedback to developer before it goes to production So the only close answer is B but it is half answer Perhaps choice A was poorly written instead deploy build then it could be A
upvoted 4 times
GCPCloudArchitectUser
2 years, 2 months ago
I mean instead of deploy it was typed incorrect as build for A
upvoted 1 times
...
...
scaenruy
2 years, 3 months ago
I vote B
upvoted 3 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