nerdexam
DockerDocker

DCA · Question #141

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

The correct answer is A: Yes. The docker service inspect http command provides comprehensive details about a Docker service, including a list of its associated tasks, which can encompass historical task information.

Submitted by minji_kr· Apr 18, 2026Container Orchestration

Question

You created a new service named 'http' and discover it is not registering as healthy. Will this command enable you to view the list of historical tasks for this service? Solution: 'docker service inspect http'

Options

  • AYes
  • BNo

Explanation

The docker service inspect http command provides comprehensive details about a Docker service, including a list of its associated tasks, which can encompass historical task information.

Common mistakes.

  • B. The docker service inspect command is specifically designed to provide detailed information about a service's state and history, including its tasks.

Concept tested. Docker service inspection and task history

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

Topics

#Docker Swarm Services#Service Inspection#Troubleshooting#Service Tasks

Community Discussion

No community discussion yet for this question.

Full DCA PracticeBrowse All DCA Questions