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'
Suggested Answer: A
Get Premium DCA Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
12 comments · newest first
BO
Bobbie
11 months ago
Surprised that people don’t know this, it’s basic!
TA
Tamala
12 months ago
No way, I think it only inspects the current state.
FR
Francisca
12 months ago
I thought it would just show current status, not history.
PA
Pamella
12 months ago
Totally agree, it’s the right command!
BR
Brunilda
1 year ago
Yes, that command shows service details.
YO
Yong
1 year ago
I believe it does provide some history, but I can't recall if it's comprehensive. I guess I need to trust my gut on this one!
TH
Thad
1 year ago
I feel like this command gives you the current state, but does it really show historical tasks? I might be mixing it up with another command.
BE
Benton
1 year ago
I remember practicing a similar question where we had to check service health, and I think inspecting the service is the right approach.
BU
Buck
1 year ago
I think 'docker service inspect http' should show the details of the service, but I'm not sure if it includes historical tasks.
EM
Emogene
1 year ago
Adding a 'return' parameter with a value of '10' seems like it could work, but I'm not 100% sure. I'll try to eliminate the incorrect options first.
KR
Kristeen
1 year ago
This question seems straightforward, I think I can handle it.
TR
Tracey
1 year ago
Okay, let me break this down. The key was previously used in the enterprise service inventory, and now they're splitting that into two domain service inventories. I think the public key can still be used in one of the new domain service inventories, so I'll go with True.