nerdexam
DockerDocker

DCA · Question #37

DCA Question #37: Real Exam Question with Answer & Explanation

The correct answer is B: docker system info. To confirm that a node has successfully left a Docker Swarm cluster, the docker system info command can be used.

Submitted by andreas_gr· Apr 18, 2026Container Orchestration

Question

You have just executed 'docker swarm leave' on a node. What command can be run on the same node to confirm it has left the cluster?

Options

  • Adocker node ls
  • Bdocker system info
  • Cdocker system status
  • Ddocker system status

Explanation

To confirm that a node has successfully left a Docker Swarm cluster, the docker system info command can be used.

Common mistakes.

  • A. The docker node ls command is used by a manager node to list nodes currently in an active swarm; a node that has left the swarm cannot execute this command to check its own swarm status.
  • C. docker system status is not a valid Docker CLI command.
  • D. docker system status is not a valid Docker CLI command (repeated from C).

Concept tested. Verifying Docker Swarm node status

Reference. https://docs.docker.com/engine/reference/commandline/system_info/

Topics

#Docker Swarm#Swarm Node Management#System Information

Community Discussion

No community discussion yet for this question.

Full DCA PracticeBrowse All DCA Questions