Google Professional Cloud Developer exam dumps

Google Professional Cloud Developer practice question 253 of 481

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

Google Professional Cloud Developer Question 253

Select 2Google Cloud Platform

You are tasked with setting up a continuous integration pipeline for your team using Google Cloud services. The pipeline should automatically build Docker images for your application, store them securely, and allow these images to be used in later deployment stages. Which combination of services would you use to achieve this?

  1. A

    Cloud Build to automate the build process and Artifact Registry to store the Docker images

  2. B

    Cloud Functions to trigger the pipeline and BigQuery to store the build logs

  3. C

    Artifact Registry to automate the build process and Cloud Build to store the Docker images

  4. D

    Cloud Build to automate the build process and Cloud Storage to store the Docker images

  5. E

    Cloud Build to automate the build process and Artifact Registry to store the Docker images securely

Show answer and explanation

Correct answers: A, E

Explanation

To set up a continuous integration pipeline for building and securely storing Docker images, Google Cloud provides services like Cloud Build and Artifact Registry. Cloud Build automates the creation of deployment artifacts such as Docker images, while Artifact Registry is designed to securely store and manage container images for use in deployment stages. This combination ensures a streamlined and secure CI pipeline.

  • A. Correct.

    Correct: Cloud Build is designed to automate the build process, and Artifact Registry is specifically used to store and manage container images securely. This is the ideal solution for a CI pipeline involving Docker images.

  • B. Incorrect.

    Incorrect: Cloud Functions is not required to trigger the pipeline in this scenario. BigQuery is a data analysis tool and not relevant for storing build logs or Docker images.

  • C. Incorrect.

    Incorrect: Artifact Registry is not responsible for automating the build process, and Cloud Build is not a storage service for Docker images.

  • D. Incorrect.

    Incorrect: While Cloud Build correctly automates the build process, Cloud Storage is not designed to securely store Docker images. Artifact Registry is the appropriate service for this purpose.

  • E. Correct.

    Correct: Cloud Build automates the build process, while Artifact Registry securely stores the Docker images, making these two services the correct combination for the CI pipeline.

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