ExamGecko
Question list
Search
Search

Question 98 - 200-901 discussion

Report
Export

Refer to the exhibit.

Which function does the EXPOSE line perform when building an image from this Dockerfile?

A.

Local port 8080 of the container that launched with this docker image is accessible from co-hosted containers and external clients.

Answers
A.

Local port 8080 of the container that launched with this docker image is accessible from co-hosted containers and external clients.

B.

Local port 8080 is not reachable at all because no IP address is specified along with the EXPOSE command of the Dockerfile.

Answers
B.

Local port 8080 is not reachable at all because no IP address is specified along with the EXPOSE command of the Dockerfile.

C.

Local port 8080 is accessible from other containers running on the same docker host as the container that launched with this docker image.

Answers
C.

Local port 8080 is accessible from other containers running on the same docker host as the container that launched with this docker image.

D.

Local port 8080 of the container that launched with this docker image is accessible to external clients.

Answers
D.

Local port 8080 of the container that launched with this docker image is accessible to external clients.

Suggested answer: C
asked 07/10/2024
Souf Maatoug
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first