What should you do?

You have a Hyper-V host named Served 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?
A. On VM1, rundocker network connect
B. On Server1 runGet-VMNetworkAdapter-VMName VM1| Set-VMNetworkAdapterMacAddressSpoofing On
C. On Server1, rundocker network connect
D. On VM1, runGet-VMNetworkAdapter-VMName VM1| Set-VMNetworkAdapterMacAddressSpoofing On.

microsoft-exams

3 thoughts on “What should you do?

  1. It’s B. You configure spoofing from the hypervisor (server1) not from the guest as this incorrect answer indicates.

    1. B answer is correct because VM1 uses transparent mode network and therefore containers are connected to the same network as VM1 and spoofing must be configured on Server1. If transparent mode network was not the case (which by default is not) spoofing would have to be configured on both Server1 and VM1 because VM1 is a host for the containers, not only a guest on Server1.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.