Hard1 markMultiple Choice

GCP ACE · Question 23 · Domain 3.2: Deploying and implementing GKE resources

You have a Docker image stored in Artifact Registry. You want to deploy this image as a highly available application on an existing GKE cluster. You need to ensure that at least 3 replicas of the application are running at all times.

Which Kubernetes resource should you create?

Answer options:

A.

A Pod

B.

A Service

C.

A Deployment

D.

A Node Pool

How to approach this question

Identify the Kubernetes object responsible for managing replicas and ensuring application availability.

Full Answer

C.A Deployment✓ Correct
A Deployment
In Kubernetes, a Deployment is the standard resource used to deploy stateless applications. You specify the container image and the desired number of replicas (e.g., 3). The Deployment controller continuously monitors the state of the cluster and ensures that exactly 3 replicas are running. If a node fails and a pod dies, the Deployment automatically schedules a new pod on a healthy node.

Common mistakes

Confusing a Pod (the actual container instance) with a Deployment (the manager of the instances).

Practice the full GCP Associate Cloud Engineer Practice Exam 6

50 questions · hints · full answers · grading

More questions from this exam