Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 125 of 375

Associate Cloud Engineer. Free level, Google Cloud. Free question with the correct answer and a full explanation.

Google Associate Cloud Engineer Question 125

Single answerGoogle Cloud Platform

You are tasked with deploying a containerized web application to Google Kubernetes Engine (GKE). You have already created a Docker image and pushed it to Google Container Registry (GCR). What is the next step to deploy this application to a GKE cluster?

  1. A

    Create a Kubernetes Deployment using kubectl apply and a deployment YAML file.

  2. B

    Directly run the Docker image on GKE using the gcloud run command.

  3. C

    Use Cloud Run to deploy the Docker image to GKE.

  4. D

    Create a Compute Engine VM to run the Docker image.

Show answer and explanation

Correct answer: A

Explanation

To deploy a containerized application to Google Kubernetes Engine, you must create Kubernetes resources such as Deployments and Services. This involves using kubectl with configuration files typically written in YAML format. This method orchestrates the application deployment on the GKE cluster.

  • A. Correct.

    This is the correct process for deploying a containerized application on GKE. You need to create resources like Deployments and Services using kubectl and YAML configuration files.

  • B. Incorrect.

    The gcloud run command is used to deploy to Cloud Run, not directly to GKE.

  • C. Incorrect.

    Cloud Run is a managed compute platform that is different from GKE. It does not involve deploying directly to a GKE cluster.

  • D. Incorrect.

    Compute Engine VMs are not used for deploying containerized applications on GKE. GKE is a managed Kubernetes service that abstracts VM management.

Timed practice exam

Take a Google Associate Cloud Engineer 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