ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 83 - DCA discussion

Report
Export

Will this command list all nodes in a swarm cluster from the command line?

Solution: 'docker swarm nodes'

A.

Yes

Answers
A.

Yes

B.

No

Answers
B.

No

Suggested answer: B

Explanation:

= The correct command to list all nodes in a swarm cluster from the command line isdocker node ls, notdocker swarm nodes.Thedocker nodecommand allows you to manage nodes in a swarm, such as listing, inspecting, updating, or removing nodes1.Thedocker swarmcommand allows you to manage the swarm itself, such as initializing, joining, leaving, or updating the swarm2.Reference:

Manage nodes in a swarm | Docker Docs

Manage a swarm | Docker Docs

asked 08/11/2024
Wilker Aguiar
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first