Topic: Microsoft AZ-800 topic 3 question 2

You have a Windows Server container host named Server1 and a container image named image1.
You need to start a container from image1. The solution must run the container on a Hyper-V virtual machine.
Which parameter should you specify when you run the docker run command?

A.
--expose
B.
--privileged
C.
--runtime
D.
--isolation
E.
--entrypoint

Re: Microsoft AZ-800 topic 3 question 2

Should be D --isolation

Re: Microsoft AZ-800 topic 3 question 2

D
https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/hyperv-container

Re: Microsoft AZ-800 topic 3 question 2

Thanks! You're right, I withdraw my comment (figuratively, as I can't delete it here :-).

Re: Microsoft AZ-800 topic 3 question 2

To run a container on a Hyper-V virtual machine, you should specify the --isolation parameter with the value hyperv.

Re: Microsoft AZ-800 topic 3 question 2

Answer is D
docker run --isolation hyperv image1

Re: Microsoft AZ-800 topic 3 question 2

valid 27.11.23

Re: Microsoft AZ-800 topic 3 question 2

Here's how you would run the container with Hyper-V isolation:

docker run --isolation hyperv image1

To run a container on a Hyper-V virtual machine, you should specify the --isolation parameter with the value set to hyperv when you run the docker run command. This parameter instructs Docker to use Hyper-V isolation for the container.

Re: Microsoft AZ-800 topic 3 question 2

Got this question 28-5-23

Re: Microsoft AZ-800 topic 3 question 2

D is correct and provided link supports it

Re: Microsoft AZ-800 topic 3 question 2

It should be D - Isolation

Re: Microsoft AZ-800 topic 3 question 2

Should be D: https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/hyperv-container

Re: Microsoft AZ-800 topic 3 question 2

Isolation

Re: Microsoft AZ-800 topic 3 question 2

D Isolation

Re: Microsoft AZ-800 topic 3 question 2

The solution must run the container on a Hyper-V virtual machine.
Operating system requirements: The Hyper-V role must be installed before running Hyper-V isolation.
--isolation = Container isolation technology where –entrypoint = Overwrite the default ENTRYPOINT of the image.

Answer: D

Re: Microsoft AZ-800 topic 3 question 2

Well, I'm certainly not a Docker expert, ok? But if I read things up on the official Docker reference site for the run command (https://docs.docker.com/engine/reference/run/) I do notice that "--isolation" doesn't (seem to) exist as a parameter for that command.

The only answer that does make some sense to me is B (--privileged).

I'm happy to be corrected (sources please!), but I do wonder where the unanimity about answer D comes from...

Re: Microsoft AZ-800 topic 3 question 2

Should be D

Re: Microsoft AZ-800 topic 3 question 2

correct, it's D