Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 701-100 Exam - Topic 12 Question 102 Discussion

Posted by Mari on Apr 13, 2026 at 06:14 AM

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.)

Suggested Answer: A

Get Premium 701-100 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
21 comments · newest first
RI
Rima 1 month ago
CMD is crucial for container startup. Good question!
MA
Marshall 2 months ago
CMD makes sense. It's what runs when the container starts.
BR
Brittani 2 months ago
I feel confident about CMD. It's straightforward.
TH
Thaddeus 2 months ago
CMD is the right choice. It sets the default behavior.
KR
Kris 2 months ago
Definitely CMD! It's the default command.
TH
Thaddeus 2 months ago
I think it's CMD.
HU
Hui 3 months ago
CMD is crucial for container behavior.
JO
Jonelle 3 months ago
CMD is what we use to specify the command.
LU
Lucina 3 months ago
I feel confident about CMD. It's straightforward.
CL
Clemencia 3 months ago
CMD is the right choice. Makes sense.
GL
Glenn 3 months ago
Definitely CMD! It's the default command.
WI
William 3 months ago
I think it's CMD.
GA
Garry 4 months ago
I thought it was something else, interesting!
YO
Youlanda 4 months ago
CMD is right, but ENTRYPOINT can also be used.
GE
German 4 months ago
Wait, isn't it ENTRYPOINT?
DU
Dulce 5 months ago
Definitely CMD, no doubt.
HE
Hermila 6 months ago
It's CMD for sure!
JO
Jodi 6 months ago
I recall CMD being the default command, but I can't remember if ENTRYPOINT does something similar.
VI
Vincent 6 months ago
CMD sounds right, but I feel like there was something about how it can be overridden.
TH
Theola 6 months ago
I'm pretty sure it's CMD. I remember practicing a question that asked about default commands in Dockerfiles.
JE
Jesusa 7 months ago
I think the statement we're looking for is CMD, but I might be mixing it up with ENTRYPOINT.
0/2000 characters

Save Cancel