ExamGecko
Question list
Search
Search

Question 40 - 305-300 discussion

Report
Export

Which of the following statements in a Dockerfile leads to a container which outputs hello world? (Choose two.)

A.
ENTRYPOINT 'echo Hello World'
Answers
A.
ENTRYPOINT 'echo Hello World'
B.
ENTRYPOINT [ 'echo hello world' ]
Answers
B.
ENTRYPOINT [ 'echo hello world' ]
C.
ENTRYPOINT [ 'echo', 'hello', 'world' ]
Answers
C.
ENTRYPOINT [ 'echo', 'hello', 'world' ]
D.
ENTRYPOINT echo Hello World
Answers
D.
ENTRYPOINT echo Hello World
E.
ENTRYPOINT 'echo', 'Hello', 'World*
Answers
E.
ENTRYPOINT 'echo', 'Hello', 'World*
Suggested answer: B, C
asked 18/09/2024
PATRICK ADUSEI
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first