nerdexam
Docker

DCA · Question #46

After creating a new service named 'http', you notice that the new service is not registering as healthy. How do you view the list of historical tasks for that service by using the command line?

Sign in or unlock DCA to reveal the answer and full explanation for question #46. The question stem and answer options stay visible for context.

Submitted by priya_blr· Apr 18, 2026Container Orchestration

Question

After creating a new service named 'http', you notice that the new service is not registering as healthy. How do you view the list of historical tasks for that service by using the command line?

Options

  • A'docker inspect http'
  • B'docker service inspect http'
  • C'docker service ps http'
  • D'docker ps http'

Unlock DCA to see the answer

You've previewed enough free DCA questions. Unlock DCA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Docker Services#Docker Swarm CLI#Service Monitoring#Service Tasks
Full DCA Practice