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 Architect (PR000213) Exam - Topic 1 Question 101 Discussion

For this question, refer to the TerramEarth case study. You are building a microservice-based application for TerramEarth. The application is based on Docker containers. You want to follow Google-recommended practices to build the application continuously and store the build artifacts. What should you do?
C) 1 Create a Scheduler job to check the repo every minute. 2. For any new change, invoke Cloud Build to build container images for the microservices. 3. Tag the images using the current timestamp, and push them to the Artifact Registry.
A) 1. Configure a trigger in Cloud Build for new source changes. 2. Invoke Cloud Build to build one container image, and tag the image with the label 'latest.' 3. Push the image to the Artifact Registry.
B) 1. Configure a trigger in Cloud Build for new source changes. 2. Invoke Cloud Build to build container images for each microservice, and tag them using the code commit hash. 3. Push the images to the Artifact Registry.
D) 1. Configure a trigger in Cloud Build for new source changes. 2. The trigger invokes build jobs and build container images for the microservices. 3. Tag the images with a version number, and push them to Cloud Storage.

Google Professional Cloud Architect (PR000213) Exam - Topic 1 Question 101 Discussion

Actual exam question for Google's Professional Cloud Architect (PR000213) exam
Question #: 101
Topic #: 1
[All Professional Cloud Architect (PR000213) Questions]

For this question, refer to the TerramEarth case study. You are building a microservice-based application for TerramEarth. The application is based on Docker containers. You want to follow Google-recommended practices to build the application continuously and store the build artifacts. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Miesha
9 months ago
Wait, why would you tag with a timestamp? That’s confusing!
upvoted 0 times
...
Boris
9 months ago
D is outdated, Cloud Storage isn't ideal for this.
upvoted 0 times
...
Rima
10 months ago
C sounds risky with that minute check, right?
upvoted 0 times
...
Kiera
10 months ago
I disagree, A seems simpler for a single container.
upvoted 0 times
...
Jesus
10 months ago
B is the way to go! Tagging with the commit hash is smart.
upvoted 0 times
...
Gilma
10 months ago
I vaguely recall that pushing to Artifact Registry is preferred over Cloud Storage for container images. So, I think options A and B are more aligned with best practices.
upvoted 0 times
...
Leontine
11 months ago
I feel like we practiced a similar question where we had to choose between tagging strategies. I think tagging with the commit hash is a good idea for tracking changes, which makes me favor option B.
upvoted 0 times
...
Carol
11 months ago
I'm not entirely sure, but I think using a Scheduler job like in option C might not be the best practice. It seems a bit inefficient compared to triggers.
upvoted 0 times
...
Isabella
11 months ago
I remember we discussed the importance of tagging images with version numbers instead of just 'latest' to avoid confusion. So, I'm leaning towards option B.
upvoted 0 times
...
Tyisha
11 months ago
This looks like a straightforward question on continuous integration and deployment practices. I think I can handle this one.Aditya: Hmm, I'm a bit confused about the different options here. I'll need to carefully read through each one and think about the Google-recommended practices mentioned in the question.Olivia: Okay, the key here is to follow the Google-recommended practices. I think option B is the way to go - building and tagging the container images with the commit hash seems like the best approach.Liam: I'm not too familiar with Cloud Build and Artifact Registry, but I'll give it my best shot. I'll need to make sure I understand the differences between the options before selecting an answer.
upvoted 0 times
...
Salena
11 months ago
I'm not too familiar with Cloud Build and Artifact Registry, but I'll give it my best shot. I'll need to make sure I understand the differences between the options before selecting an answer.
upvoted 0 times
...
Flo
11 months ago
Okay, the key here is to follow the Google-recommended practices. I think option B is the way to go - building and tagging the container images with the commit hash seems like the best approach.
upvoted 0 times
...
Anisha
11 months ago
Hmm, I'm a bit confused about the different options here. I'll need to carefully read through each one and think about the Google-recommended practices mentioned in the question.
upvoted 0 times
...
Allene
11 months ago
This looks like a straightforward question on continuous integration and deployment practices. I think I can handle this one.
upvoted 0 times
...
Salome
2 years ago
I think D is the correct answer because it mentions version numbers.
upvoted 0 times
...
Cherry
2 years ago
I'm leaning towards C, it makes more sense to me.
upvoted 0 times
...
Evangelina
2 years ago
I disagree, I believe the answer is B.
upvoted 0 times
...
Brock
2 years ago
I think the answer is A.
upvoted 0 times
...
Claribel
2 years ago
Option A looks good, but I'm not sure about the 'latest' tag. Wouldn't it be better to use the commit hash like in Option B?
upvoted 0 times
Stephanie
2 years ago
But using the current timestamp like in Option C could also be a good approach for versioning.
upvoted 0 times
...
Gail
2 years ago
I agree, using the commit hash for tagging seems more reliable.
upvoted 0 times
...
...
Alaine
2 years ago
Haha, a Scheduler job to check the repo every minute? That's overkill! I'd go with Option B and keep it simple.
upvoted 0 times
...
Dierdre
2 years ago
Option B is the way to go! Tagging the images with the commit hash is a great way to track the source code version.
upvoted 0 times
Dannette
2 years ago
It's important to follow Google-recommended practices for building and storing artifacts.
upvoted 0 times
...
Altha
2 years ago
Tagging the images with the commit hash is a smart move for microservices.
upvoted 0 times
...
Merlyn
2 years ago
I agree, option B is the best choice for tracking source code versions.
upvoted 0 times
...
...

Save Cancel