Professional-Cloud-Developer Professional Cloud Developer

Loading demo links...

Showing 7–9 of 15 questions

Question 7

You recently developed a new application. You want to deploy the application on Cloud Run without a Dockerfile. Your organization requires that all container images are pushed to a centrally managed container repository. How should you build your container using Google Cloud services? (Choose two.)

Select all that apply, then click Submit answer.

  • Push your source code to Artifact Registry.

  • Submit a Cloud Build job to push the image.

  • Use the pack build command with pack CLI.

  • Include the --source flag with the gcloud run deploy CLI command.

  • Include the --platform=kubernetes flag with the gcloud run deploy CLI command.

Question 8

You want to migrate an on-premises container running in Knative to Google Cloud. You need to make sure that the migration doesn't affect your application's deployment strategy, and you want to use a fully managed service. Which Google Cloud service should you use to deploy your container?

Select an option, then click Submit answer.

  • Cloud Run

  • Compute Engine

  • Google Kubernetes Engine

  • App Engine flexible environment

Question 9

You manage an application that runs in a Compute Engine instance. You also have multiple backend services executing in stand-alone Docker containers running in Compute Engine instances. The Compute Engine instances supporting the backend services are scaled by managed instance groups in multiple regions. You want your calling application to be loosely coupled. You need to be able to invoke distinct service implementations that are chosen based on the value of an HTTP header found in the request. Which Google Cloud feature should you use to invoke the backend services?

Select an option, then click Submit answer.

  • Traffic Director

  • Service Directory

  • Anthos Service Mesh

  • Internal HTTP(S) Load Balancing