Q. Which command drains a node so it stops receiving new tasks?
β
Correct Answer: (A)
docker node update --availability drain <node>
Explanation: Setting availability to drain migrates running tasks away and prevents new ones from being scheduled.