You have multiple microservices as Docker images and want to deploy them on GKE so each can scale independently. What should you deploy for each microservice?
Choose an answer
Tap an option to check your answer.
Correct answer: A Deployment per microservice..
Why this is the answer
In Google Kubernetes Engine (GKE), a Deployment is the standard and most effective way to manage stateless applications like microservices. A Deployment defines the desired state for your application, including the Docker image to use, the number of replicas, and how to update them. Each microservice, being an independent unit, should have its own Deployment to allow for independent scaling, updates, and rollbacks. A Custom Resource Definition (CRD) is used to extend Kubernetes capabilities with custom resources, not to deploy individual microservices. A Docker Compose file is for defining and running multi-container Docker applications locally, not directly for deployment on GKE. A Job is designed for tasks that run to completion, like batch jobs, not for continuously running microservices.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed