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?
Suggested Answer: C
Get Premium Professional Cloud Architect (PR000213) Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
26 comments · newest first
MI
Miesha
11 months ago
Wait, why would you tag with a timestamp? That’s confusing!
BO
Boris
11 months ago
D is outdated, Cloud Storage isn't ideal for this.
RI
Rima
11 months ago
C sounds risky with that minute check, right?
KI
Kiera
11 months ago
I disagree, A seems simpler for a single container.
JE
Jesus
12 months ago
B is the way to go! Tagging with the commit hash is smart.
GI
Gilma
12 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.
LE
Leontine
1 year 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.
CA
Carol
1 year 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.
IS
Isabella
1 year 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.
TY
Tyisha
1 year 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.
SA
Salena
1 year 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.
FL
Flo
1 year 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.
AN
Anisha
1 year 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.
AL
Allene
1 year ago
This looks like a straightforward question on continuous integration and deployment practices. I think I can handle this one.
SA
Salome
2 years ago
I think D is the correct answer because it mentions version numbers.
CH
Cherry
2 years ago
I'm leaning towards C, it makes more sense to me.
EV
Evangelina
2 years ago
I disagree, I believe the answer is B.
BR
Brock
2 years ago
I think the answer is A.
CL
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?
ST
Stephanie
2 years ago
But using the current timestamp like in Option C could also be a good approach for versioning.
GA
Gail
2 years ago
I agree, using the commit hash for tagging seems more reliable.
AL
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.
DI
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.
DA
Dannette
2 years ago
It's important to follow Google-recommended practices for building and storing artifacts.
AL
Altha
2 years ago
Tagging the images with the commit hash is a smart move for microservices.
ME
Merlyn
2 years ago
I agree, option B is the best choice for tracking source code versions.