Google Professional Cloud Developer exam dumps

Google Professional Cloud Developer practice question 254 of 481

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

Google Professional Cloud Developer Question 254

Select 2Google Cloud Platform

You are tasked with setting up a continuous integration (CI) pipeline for a microservices application hosted on Google Cloud. The pipeline should automate the process of building Docker images and storing them in a secure location for deployment. Which combination of Google Cloud services should you use to achieve this?

  1. A

    Cloud Build to automate the build and push process

  2. B

    Artifact Registry to securely store Docker images

  3. C

    Cloud Storage to store Docker images

  4. D

    Google Kubernetes Engine (GKE) to build Docker images

  5. E

    Cloud Source Repositories to host the Docker images

Show answer and explanation

Correct answers: A, B

Explanation

To set up a CI pipeline for building and storing Docker images, you should use Cloud Build for automating the build and push process, and Artifact Registry to securely store the resulting Docker images. Together, these services provide a scalable, secure, and efficient solution for managing CI workflows in Google Cloud.

  • A. Correct.

    Correct. Cloud Build is designed for automating build steps, including building and pushing Docker images to a repository.

  • B. Correct.

    Correct. Artifact Registry is a secure, fully managed service for hosting container images and other artifacts.

  • C. Incorrect.

    Incorrect. While Cloud Storage can store files, it is not designed specifically for hosting Docker images or integrating with CI/CD pipelines.

  • D. Incorrect.

    Incorrect. Google Kubernetes Engine (GKE) is used for deploying and managing containerized applications, not for building Docker images.

  • E. Incorrect.

    Incorrect. Cloud Source Repositories is a Git-based code repository and cannot host Docker images.

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