LPI
305-300 · Question #6
Which of the following statements in a Dockerfile leads to a container which outputs hello world? (Choose two.)
Sign in or unlock 305-300 to reveal the answer and full explanation for question #6. The question stem and answer options stay visible for context.
303.3 Application Security
Question
Which of the following statements in a Dockerfile leads to a container which outputs hello world? (Choose two.)
Options
- AENTRYPOINT "echo Hello World"
- BENTRYPOINT [ "echo hello world" ]
- CENTRYPOINT [ "echo", "hello", "world" ]
- DENTRYPOINT echo Hello World
- EENTRYPOINT "echo", "Hello", "World*
Unlock 305-300 to see the answer
You've previewed enough free 305-300 questions. Unlock 305-300 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
#Dockerfile#ENTRYPOINT#exec form#shell form