Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam XK0-005 Topic 4 Question 33 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 33
Topic #: 4
[All XK0-005 Questions]

An administrator is running a web server in a container named web, but none of the error output is not showing. Which of the following should the administrator use to generate the errors on the container?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Ming
1 days ago
I believe option B) docker logs WEB is the best choice because it specifically shows the logs for the container.
upvoted 0 times
...
Rebbecca
2 days ago
Come on, guys! Option C is the way to get those error logs on the container. It's the most comprehensive solution.
upvoted 0 times
...
Galen
9 days ago
I think option C) docker run ---name WEB ---volume/dev/stdout:/var/log/nginx/error.log might also work to generate the errors.
upvoted 0 times
...
Kimbery
16 days ago
Option B is the way to go! It's the simplest way to get those error logs.
upvoted 0 times
Keneth
4 days ago
I think I'll go with option B as well, thanks for the suggestion!
upvoted 0 times
...
Magdalene
8 days ago
I agree, option B is the easiest way to check the error logs.
upvoted 0 times
...
...
Alana
17 days ago
I agree with Luz, docker logs WEB should show the error output.
upvoted 0 times
...
Luz
19 days ago
I think the administrator should use option B) docker logs WEB to generate the errors.
upvoted 0 times
...

Save Cancel