Courseiva
Manage implementation of cloud architecturemediumDrag & DropObjective-mapped

Google PCA Manage implementation of cloud architecture Practice Question

Drag and drop the steps to deploy a containerized application to Google Kubernetes Engine (GKE) using a Deployment into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

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 container image, then push the image to a registry, then create a Deployment manifest, then apply the Deployment to the cluster, then create a Service to expose the application.

The image must be in a registry before the Deployment can reference it. The Service provides external access.

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 container image, then push the image to a registry, then create a Deployment manifest, then apply the Deployment to the cluster, then create a Service to expose the application.

    Why this is correct

    This is the correct order because the image must exist and be available in a registry before the Deployment can reference it, and the Service should be created after the Deployment to expose the running pods.

  • Build the container image, then push the image to a registry, then create a Service, then create a Deployment manifest, then apply the Deployment.

    Why it's wrong here

    This is incorrect because creating a Service before the Deployment is premature; the Service needs to reference running pods, which do not exist until the Deployment is applied.

  • Build the container image, then create a Deployment manifest, then push the image to a registry, then apply the Deployment, then create a Service.

    Why it's wrong here

    This is incorrect because the image must be pushed to a registry before it can be referenced in the Deployment manifest; otherwise, the Deployment will fail to pull the image.

  • Create a Deployment manifest, then apply the Deployment, then build the container image, then push the image to a registry, then create a Service.

    Why it's wrong here

    This is incorrect because you cannot apply a Deployment that references an image that has not been built or pushed yet; the image must exist in a registry first.

Go deeper

Related to this question

About these practice questions

This PCA question is part of Courseiva's 955-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PCA 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 PCA exam.