Google Professional Cloud Developer exam dumps

Google Professional Cloud Developer practice question 255 of 481

Professional Cloud Developer. Professional level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud Developer Question 255

Select 2Google Cloud Platform

You are tasked with setting up a CI/CD pipeline for a microservices application using Google Cloud services. Each microservice is containerized and needs to be built, tested, and deployed. The pipeline should use the following requirements: 1) Build and test container images. 2) Store built images in a secure and centralized location. 3) Deploy images to a GKE cluster. Which combination of Google Cloud services should you use to meet these requirements?

  1. A

    Cloud Build for building and testing container images, Artifact Registry for storing the images, and a GKE deployment configuration for deployment.

  2. B

    Cloud Build for building and testing container images, Cloud Storage for storing the images, and a GKE deployment configuration for deployment.

  3. C

    Google Kubernetes Engine (GKE) for building, testing, and storing the container images, and deploying the application.

  4. D

    Artifact Registry for building container images, Cloud Build for testing, and GKE deployment configuration for deployment.

  5. E

    Cloud Build for building container images, Artifact Registry for storing the images, and Cloud Run for deployment.

Show answer and explanation

Correct answers: A, E

Explanation

To set up a CI/CD pipeline for containerized microservices, Cloud Build is the appropriate tool for building and testing container images. Artifact Registry provides a secure and managed service for storing container images. For deployment, both GKE and Cloud Run are valid options depending on the application requirements. GKE is suitable for Kubernetes-based deployments, while Cloud Run is optimal for serverless containerized applications.

  • A. Correct.

    Correct. Cloud Build is used to build and test container images, Artifact Registry is a secure and centralized location for storing images, and GKE is used for deploying containerized workloads in a Kubernetes environment.

  • B. Incorrect.

    Incorrect. While Cloud Storage can store container images, it is not designed for this purpose. Artifact Registry is the recommended service for storing container images securely and efficiently.

  • C. Incorrect.

    Incorrect. GKE is a container orchestration platform and is not designed to build, test, or store container images.

  • D. Incorrect.

    Incorrect. Artifact Registry cannot build container images. It is a service for storing and managing container images, while Cloud Build is used for building and testing.

  • E. Correct.

    Correct. Cloud Build builds and tests container images, Artifact Registry stores the built images, and Cloud Run can be used to deploy serverless containerized applications.

Timed practice exam

Take a Google Professional Cloud Developer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam