exam questions

Exam DCA All Questions

View all questions & answers for the DCA exam

Exam DCA topic 1 question 81 discussion

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

You are running only Kubernetes workloads on a worker node that requires maintenance, such as installing patches or an OS upgrade.
Which command must be run on the node to gracefully terminate all pods on the node, while marking the node as unschedulable?

  • A. ‘kubectl cordon <node name>’
  • B. ‘docker swarm leave’
  • C. ‘kubectl drain <node name>’
  • D. ‘docker node update --availability drain <node name>’
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
fallais
4 months ago
Selected Answer: D
D is the correct answer. https://docs.docker.com/engine/swarm/swarm-tutorial/drain-node/
upvoted 1 times
InversaRadice
2 months, 1 week ago
The question is about Kubernetes not swarm so the answer C is correct
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago