ExamGecko
Question list
Search
Search

Question 216 - 200-901 discussion

Report
Export

A developer created a new secure API and is testing the functionality locally. The API was added to a container for further testing, and other team members and applications need to connect to the API. Which command exposes the API in the container as port 8443 and allows connections external to the host?

A.

docker run -p 127.0.0.1:80:8443/tcp myapiservice

Answers
A.

docker run -p 127.0.0.1:80:8443/tcp myapiservice

B.

docker run -p 0.0.0.0:443:8443/tcp myapiservice

Answers
B.

docker run -p 0.0.0.0:443:8443/tcp myapiservice

C.

docker run -p 0.0.0.0:8443:443/tcp myapiservice

Answers
C.

docker run -p 0.0.0.0:8443:443/tcp myapiservice

D.

docker run -p 127.0.0.1:443:8443/tcp myapiservice

Answers
D.

docker run -p 127.0.0.1:443:8443/tcp myapiservice

Suggested answer: C
asked 07/10/2024
Nils Stelling
26 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first