Topic 1 Question 175
You have developed an application that consists of multiple microservices, with each microservice packaged in its own Docker container image. You want to deploy the entire application on Google Kubernetes Engine so that each microservice can be scaled individually. What should you do?
Create and deploy a Custom Resource Definition per microservice.
Create and deploy a Docker Compose File.
Create and deploy a Job per microservice.
Create and deploy a Deployment per microservice.
ユーザの投票
コメント(12)
D is the correct answer
👍 17Kollipara2021/05/01I was a little unsure about this question, here's how I understand why D is the best answer
A. Custom Resource Definition... we have docker containers already, which is an established kind of resource for Kubernetes. We don't need to create a whole new type of resource, so this is wrong. B. Docker Compose is a wholly different tool from Kubernetes.
C. A Kubernetes job describes a specific "task" which involves a bunch of pods and things. It makes no sense to have one job per microservice, a "Job" would be a bunch of different microservices executing together.
D. is the leftover, correct answer. You can add scaling to each Deployment, an important aspect of the question.👍 15obeythefist2022/02/28D is the answer
👍 6norrec92021/04/30
シャッフルモード