You are tasked with using C++ to build and deploy a microservice for an application hosted on Google Cloud. The code needs to be containerized and use several custom software libraries that your team has built. You do not want to maintain the underlying infrastructure of the application How should you deploy the microservice?
Suggested Answer: B
Get Premium Professional Cloud Developer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
29 comments · newest first
MI
Mignon
10 months ago
C could work, but it feels a bit overkill for this task.
SE
Selma
11 months ago
B is definitely the best option, no doubt!
GI
Gilbert
11 months ago
Surprised that GKE isn't the top choice here!
AV
Avery
11 months ago
I disagree, A seems simpler for microservices.
HI
Hillary
11 months ago
B is the way to go! Cloud Run is perfect for this.
CY
Cyndy
12 months ago
I feel like using GKE Standard could be overkill if we want to avoid managing infrastructure. Not sure if that's the best choice.
CA
Carin
12 months ago
I practiced a similar question where we used Cloud Build and Cloud Run together. That seems like a solid option here too.
DE
Detra
12 months ago
I'm not entirely sure, but I think Cloud Functions might be too limited for a C++ microservice with custom libraries.
HE
Heike
1 year ago
I remember we discussed using Cloud Run for deploying microservices since it abstracts away the infrastructure.
TY
Ty
1 year ago
I'm a bit confused by the options here. Cloud Shell and GKE Standard or a Container-Optimized OS Compute Engine instance? That seems like a lot of extra work when the question specifically says I don't want to maintain the underlying infrastructure. I'm leaning towards the Cloud Build and Cloud Run approach.
SA
Sabra
1 year ago
Hmm, I'm a little unsure about this one. I know Cloud Functions can be used to deploy serverless microservices, but I'm not sure if that's the best approach here since the question mentions using custom libraries. I'll have to think this through a bit more.
RE
Rene
1 year ago
This looks like a pretty straightforward question. I'd go with option B - using Cloud Build to create the container and then deploying it on Cloud Run. That way I don't have to worry about the underlying infrastructure.
CI
Ciara
1 year ago
Okay, I think I've got a plan. I'll use Cloud Build to create the container image, that way I can include all the custom libraries my team has built. Then I'll deploy that container to Cloud Run so I don't have to manage the infrastructure. Seems like the most straightforward solution to me.
AR
Aracelis
1 year ago
Hmm, the question is asking about the trade-offs of a specific pattern. I'll need to make sure I understand the key characteristics of the patterns mentioned.
YU
Yuki
2 years ago
Ah, the age-old question of how to deploy a microservice on Google Cloud. B is the answer, my friends. It's like a well-choreographed dance between Cloud Build and Cloud Run.
AV
Avery
2 years ago
Nope, B is the way to go. It's the most efficient option for deploying the microservice.
LA
Lajuana
2 years ago
Really? I thought using Cloud Functions would be the way to go.
NA
Nan
2 years ago
B) Use Cloud Build to create the container, and deploy it on Cloud Run.
CL
Clement
2 years ago
Cloud Functions? What is this, a magic trick? B is clearly the best option to containerize and deploy your microservice.
MO
Mohammad
2 years ago
It's definitely a convenient way to manage your microservice without worrying about the underlying infrastructure.
JE
Jennifer
2 years ago
Cloud Run is a great option for deploying containerized applications.
AV
Avery
2 years ago
B) Use Cloud Build to create the container, and deploy it on Cloud Run.
RE
Renato
2 years ago
I prefer using Cloud Functions for deploying the microservice. It's simpler and more efficient.
TE
Teresita
2 years ago
I agree with Bettye. Cloud Run is a good option for deploying microservices.
JA
Jame
2 years ago
I agree, B is the correct answer. Using Cloud Build and Cloud Run is the most efficient and hassle-free way to deploy your microservice on Google Cloud.
BE
Bettye
2 years ago
I think we should use Cloud Build to create the container and deploy it on Cloud Run.
SH
Shanda
2 years ago
B is the way to go! Cloud Build and Cloud Run make it easy to deploy containerized microservices without worrying about the underlying infrastructure.
JO
Jody
2 years ago
B is the way to go! Cloud Build and Cloud Run make it easy to deploy containerized microservices without worrying about the underlying infrastructure.
JO
Joesph
2 years ago
B) Use Cloud Build to create the container, and deploy it on Cloud Run.