exam questions

Exam DCA All Questions

View all questions & answers for the DCA exam

Exam DCA topic 1 question 4 discussion

Actual exam question from Mirantis's DCA
Question #: 4
Topic #: 1
[All DCA Questions]

One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times.
Is this the action taken by the orchestrator to fix the unhealthy container?
The unhealthy container is restarted.

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
doudou123
1 month, 2 weeks ago
Selected Answer: A
Un pod peut contenir plusieurs conteneurs. Chaque conteneur peut avoir une livenessProbe, qui est une vérification périodique pour s’assurer que le conteneur est toujours vivant (ex. : une requête HTTP, une commande shell, etc.). Si cette probe échoue plusieurs fois (selon les paramètres failureThreshold, periodSeconds, etc.), le conteneur est considéré comme unhealthy. 📦 Action de l’orchestrateur : Kubernetes redémarre automatiquement le conteneur défaillant pour tenter de restaurer son état sain. Cela ne redémarre pas tout le pod, uniquement le conteneur concerné.
upvoted 1 times
...
__rajan__
10 months, 3 weeks ago
Selected Answer: A
This is the default behavior for failed liveness probes. The container is restarted with a back-off delay. The delay increases exponentially with each failure (10s, 20s, 40s, etc.). The delay is capped at 5 minutes.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...