nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #390

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

The correct answer is B. Use Cloud Build to create the container, and deploy it on Cloud Run.. Using Cloud Build to create the container and deploying it on Cloud Run allows you to run custom containerized C++ microservices with minimal infrastructure management, aligning with Google Cloud's serverless best practices.

Deploying Applications

Question

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 want to minimize maintenance of the application’s underlying infrastructure. How should you deploy the microservice?

Options

  • AUse Cloud Run functions to deploy the microservice.
  • BUse Cloud Build to create the container, and deploy it on Cloud Run.
  • CUse Cloud Shell to containerize your microservice, and deploy it on GKE Standard.
  • DUse Cloud Shell to containerize your microservice, and deploy it on a Container-Optimized OS

How the community answered

(36 responses)
  • A
    8% (3)
  • B
    75% (27)
  • C
    14% (5)
  • D
    3% (1)

Explanation

Using Cloud Build to create the container and deploying it on Cloud Run allows you to run custom containerized C++ microservices with minimal infrastructure management, aligning with Google Cloud's serverless best practices.

Topics

#Containerization#Serverless Deployment#CI/CD#Microservices

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER Practice