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

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

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?

  • A. Use Cloud Functions to deploy the microservice.
  • B. Use Cloud Build to create the container, and deploy it on Cloud Run.
  • C. Use Cloud Shell to containerize your microservice, and deploy it on a Container-Optimized OS Compute Engine instance.
  • D. Use Cloud Shell to containerize your microservice, and deploy it on standard Google Kubernetes Engine.
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
JonathanSJ
9 months ago
Selected Answer: B
I will go for B. Fully managed and well suited for c++
upvoted 1 times
...
imiu
11 months ago
Can you provide some documentation that prove B is the right choice?
upvoted 1 times
kapara
10 months, 3 weeks ago
Option A, using Cloud Functions, is not suitable for your scenario because Cloud Functions primarily supports Node.js, Python, Go, Java, .NET, Ruby, and PHP runtimes. It does not natively support C++ applications. Therefore, for a microservice written in C++, Cloud Functions would not be an appropriate choice as it would require significant workarounds or a complete rewrite of your application in a supported language. and C ,D is OS and GKE so you need to setup the infra. therefore the answer is B.
upvoted 5 times
...
...
vmst
11 months, 2 weeks ago
Selected Answer: B
It's B
upvoted 2 times
...
xiaofeng_0226
11 months, 3 weeks ago
Selected Answer: B
For me is 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