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

LPI 701-100 Exam - Topic 12 Question 102 Discussion

Which statement in a Dockerfile defines which command should be started in the container by default when it is started? (Specify ONLY the statement's name without any values or parameters.)
A) CMD

LPI 701-100 Exam - Topic 12 Question 102 Discussion

Actual exam question for LPI's 701-100 exam
Question #: 102
Topic #: 12
[All 701-100 Questions]

Which statement in a Dockerfile defines which command should be started in the container by default when it is started? (Specify ONLY the statement's name without any values or parameters.)

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
I thought it was something else, interesting!
upvoted 0 times
...
Youlanda
5 days ago
CMD is right, but ENTRYPOINT can also be used.
upvoted 0 times
...
German
10 days ago
Wait, isn't it ENTRYPOINT?
upvoted 0 times
...
Dulce
2 months ago
Definitely CMD, no doubt.
upvoted 0 times
...
Hermila
2 months ago
It's CMD for sure!
upvoted 0 times
...
Jodi
3 months ago
I recall CMD being the default command, but I can't remember if ENTRYPOINT does something similar.
upvoted 0 times
...
Vincent
3 months ago
CMD sounds right, but I feel like there was something about how it can be overridden.
upvoted 0 times
...
Theola
3 months ago
I'm pretty sure it's CMD. I remember practicing a question that asked about default commands in Dockerfiles.
upvoted 0 times
...
Jesusa
3 months ago
I think the statement we're looking for is CMD, but I might be mixing it up with ENTRYPOINT.
upvoted 0 times
...

Save Cancel