CompTIA Linux+ XK0-006 (V8) Practice Question

A Linux system administrator is managing a Docker Swarm cluster and needs to perform maintenance on a specific worker node. To prevent service disruption, the administrator must ensure all tasks currently running on the node are safely rescheduled to other active nodes before taking the node offline. Which of the following commands accomplishes this task gracefully?

  • docker node update --availability drain <NODE_NAME>

  • docker node rm <NODE_NAME>

  • docker node demote <NODE_NAME>

  • docker swarm leave --force

CompTIA Linux+ XK0-006 (V8)
Automation, Orchestration, and Scripting
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot