Refer to the exhibit.

Which function does the EXPOSE line perform when building an image from this Dockerfile?
Suggested Answer: C
Get Premium 200-901 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
By default, the EXPOSE instruction does not expose the container's ports to be accessible from the host. In other words, it only makes the stated ports available for inter-container interaction.
Whereas publishing a port using either -P or -p exposes it, exposing a port using EXPOSE or --expose does not publish it.
So, while exposed ports can only be accessed internally, published ports can be accessible by external containers and services.
https://www.whitesourcesoftware.com/free-developer-tools/blog/docker-expose-port/
8 comments · newest first
GL
Gladys
12 months ago
B seems right; no IP means no external access.
BE
Benedict
12 months ago
Definitely option C! That's how it works.
KI
Kirk
1 year ago
Wait, so it doesn't open the port to the outside world? That's surprising!
YU
Yuonne
1 year ago
I think it's only accessible to other containers, not external clients.
EI
Eileen
1 year ago
EXPOSE just makes the port available to other containers.
LI
Linwood
1 year ago
Okay, I've got this. If the washing powder has achieved high market growth and a high market share, that means it's in the "star" quadrant of the BCG matrix. That's the one for products with high growth and high market share.
ME
Melvin
1 year ago
I'm pretty sure the list of Document Revisions comes from Managed Documents, so I'll go with option A.
MO
Mona
1 year ago
I'm torn between A and B, but I lean towards A because it emphasizes "ongoing" support, right?