PrepAway - Latest Free Exam Questions & Answers

You need to ensure that containers that run on VM1 can …

You have a Hyper-V host named Server1 that runs Windows Server 2016.
Server1 has a virtual machine named VM1. VM1 is configured to run the Docker daemon.
On VM1, you have a container network that uses transparent mode.
You need to ensure that containers that run on VM1 can obtain IP addresses from DHCP.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
On VM1, runGet-VMNetworkAdapter-VMName VM1 | Set-VMNetworkAdapter –MacAddressSpoofing On.

B.
On VM1, rundocker network connect.

C.
On Server1, rundocker network connect.

D.
On Server1, runGet-VMNetworkAdapter –VMName VM1 | Set-VMNetworkAdapter –MacAddressSpoofing
On.

Explanation:
https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/container-networking


Leave a Reply