Machine-translated by Google. Questions are authored in English.
Top

Discussion

Assertion (A): Kubernetes recreates a pod automatically when its node fails.
Reason (R): The controller observes that the actual replica count is below the declared one and acts to correct it.

  • A.Both A and R are true, and R is the correct explanation of A
  • B.Both A and R are true, but R is not the correct explanation of A
  • C.A is true but R is false
  • D.A is false but R is true

Answer: A

Correct answer: Both A and R are true, and R is the correct explanation of A

Both are true and the reason describes the control loop that makes it happen. Kubernetes is declarative: the ReplicaSet controller continuously compares the observed number of ready pods with the number declared and creates or deletes pods to close the gap. Recovery from a node failure is not a special case but simply that loop noticing a discrepancy.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.