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?
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
Q01What is the primary purpose of a Google Cloud project?EasyQ02Your development team needs to manage Compute Engine instances in a specific project. They need t...MediumQ03You are automating the setup of a new Google Cloud project using a bash script. You need to enabl...EasyQ04Your startup has a strict monthly cloud budget of $500. You want to be notified immediately if yo...MediumQ05Your finance team wants to perform granular analysis of your Google Cloud spending using SQL. The...Hard
Expert