ExamGecko
Question list
Search
Search

Question 36 - JN0-213 discussion

Report
Export

What are two reasons to create a Kubernetes deployment rather than work with pods directly? (Choose two.)

A.
A deployment is ephemeral and therefore requires less configuration.
Answers
A.
A deployment is ephemeral and therefore requires less configuration.
B.
A deployment contains imperative instructions on how to re-create a pod if a pod dies unexpectedly.
Answers
B.
A deployment contains imperative instructions on how to re-create a pod if a pod dies unexpectedly.
C.
A deployment ensures that the desired number of pods is running at all times.
Answers
C.
A deployment ensures that the desired number of pods is running at all times.
D.
A deployment simplifies pod updates and roll-outs.
Answers
D.
A deployment simplifies pod updates and roll-outs.
Suggested answer: C, D

Explanation:

A Kubernetes deployment is a resource object in Kubernetes that provides declarative updates to applications.It allows you to describe an application's life cycle, such as which images to use for the app, the number of pods there should be, and the way in which they should be updated1. Two reasons to create a Kubernetes deployment rather than work with pods directly are:

A deployment ensures that the desired number of pods is running at all times1. If a pod crashes, the Deployment will automatically re-create it.

A deployment simplifies pod updates and roll-outs1.It allows you to describe a desired state in its specification and the Deployment controller changes the actual state to the desired state at a controlled rate1. Reference from Juniper site:Kubernetes Documentation

asked 18/09/2024
Junaid Ahmed Mohammed
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first