Exam DCA Topic 5 Question 20 Discussion

Actual exam question for Docker's DCA exam
Question #: 20
Topic #: 5
Will this command display a list of volumes for a specific container?
Solution: docker volume logs nginx --containers'

Suggested Answer: B Vote an answer

Explanation
This command will not display a list of volumes for a specific container, because it has several syntax errors and invalid options. According to the official documentation, there is no such command as docker volume logs or such option as --containers.
References: https://docs.docker.com/engine/reference/commandline/volume/

by Lyndon at Oct 31, 2025, 12:45 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10