Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Cloud Digital Leader Practice Question: Google Cloud products, services, and solutions
Drag and drop the steps to deploy a containerized application to Google Kubernetes Engine (GKE) into the correct order.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Build the Docker container image, push it to Container Registry, create a GKE cluster, apply a Deployment manifest using kubectl, then expose the Deployment as a Service.
The correct sequence starts with containerizing the app, creating a cluster, defining the deployment, applying it, and exposing it as a service.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Build the Docker container image, push it to Container Registry, create a GKE cluster, apply a Deployment manifest using kubectl, then expose the Deployment as a Service.
Why this is correct
This order is correct because the container image must be built and pushed to a registry before creating the cluster and deploying. The cluster is created next, then the Deployment is applied, and finally the Service exposes the application.
- ✗
Create a GKE cluster, build the Docker container image, push it to Container Registry, apply a Deployment manifest, then expose as a Service.
Why it's wrong here
This is incorrect because the container image is built and pushed after the cluster is created. While the cluster can exist beforehand, the deployment step requires the image to be available in a registry, so pushing must occur before applying the Deployment. Also, building before pushing is logical.
- ✗
Build the Docker container image, create a GKE cluster, apply a Deployment manifest, push the image to Container Registry, then expose as a Service.
Why it's wrong here
This is incorrect because the container image must be pushed to a registry before applying the Deployment. The Deployment manifest references the image location, so it must be available in the registry. Pushing after applying would cause the Deployment to fail.
- ✗
Build the Docker container image, push it to Container Registry, create a GKE cluster, expose as a Service, then apply a Deployment manifest.
Why it's wrong here
This is incorrect because the Service cannot be created before the Deployment exists. A Service targets a set of Pods defined by a Deployment, so the Deployment must be applied first. Exposing before deploying would result in an empty Service.
Go deeper
Related to this question
Learn chapter
Benefits of Google Cloud
Key term
Anthos
Anthos is a Google Cloud platform that lets you run applications consistently across different computing environments, like on-premises data centers and multiple public clouds.
Key term
GKE
GKE is Google's managed Kubernetes service that automates deploying, scaling, and managing containerized applications in the cloud.
About these practice questions
Courseiva writes every GCDL question from scratch — 829 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This GCDL practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GCDL exam.