nerdexam
DockerDocker

DCA · Question #129

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

The correct answer is B: No. The command docker node Is is incorrectly capitalized; the correct command to list nodes in a Docker Swarm is docker node ls (lowercase 'ls').

Submitted by kwame.gh· Apr 18, 2026Container Orchestration

Question

Will this command list all nodes in a swarm cluster from the command line? Solution: 'docker node Is'

Options

  • AYes
  • BNo

Explanation

The command docker node Is is incorrectly capitalized; the correct command to list nodes in a Docker Swarm is docker node ls (lowercase 'ls').

Common mistakes.

  • A. The command contains a typographical error ('Is' instead of 'ls'), which prevents it from being a valid Docker CLI command to list nodes.

Concept tested. Docker Swarm node listing command syntax

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

Topics

#Docker Swarm#Swarm nodes#Command line#Syntax error

Community Discussion

No community discussion yet for this question.

Full DCA PracticeBrowse All DCA Questions