exam questions

Exam AZ-800 All Questions

View all questions & answers for the AZ-800 exam

Exam AZ-800 topic 3 question 2 discussion

Actual exam question from Microsoft's AZ-800
Question #: 2
Topic #: 3
[All AZ-800 Questions]

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
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Larcomb
Highly Voted 2 years, 7 months ago
Should be D --isolation
upvoted 16 times
...
nefaxto
Highly Voted 2 years, 6 months ago
D https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/hyperv-container
upvoted 8 times
GoforIT21
2 years, 5 months ago
Thanks! You're right, I withdraw my comment (figuratively, as I can't delete it here :-).
upvoted 4 times
...
...
stonwall12
Most Recent 5 months, 2 weeks ago
Selected Answer: D
Answer: D, isolation To run a Windows Server container in Hyper-V isolation mode, you need to use the --isolation parameter with the value "hyperv" in the docker run command. This tells Docker to create the container inside a Hyper-V virtual machine instead of sharing the host's kernel. Reference: https://learn.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/hyperv-container
upvoted 1 times
...
nawtitoo
6 months, 3 weeks ago
Selected Answer: D
Hyper-V isolation provides stronger isolation by running each container in a lightweight virtual machine, which is useful for running containers that need a higher level of security and isolation from the host and other containers.
upvoted 2 times
...
SIAMIANJI
7 months, 3 weeks ago
Selected Answer: D
To run a container on a Hyper-V virtual machine, you should specify the --isolation parameter with the value hyperv.
upvoted 3 times
...
Shailesh866
1 year ago
Answer is D docker run --isolation hyperv image1
upvoted 1 times
...
Bolo92
1 year ago
valid 27.11.23
upvoted 2 times
...
afridi43
1 year, 3 months ago
Selected Answer: D
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.
upvoted 1 times
...
leegend
1 year, 6 months ago
Got this question 28-5-23
upvoted 2 times
...
syu31svc
1 year, 9 months ago
Selected Answer: D
D is correct and provided link supports it
upvoted 1 times
...
King_Laps
2 years, 4 months ago
It should be D - Isolation
upvoted 2 times
...
SJHCI
2 years, 4 months ago
Selected Answer: D
Should be D: https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/hyperv-container
upvoted 4 times
...
[Removed]
2 years, 4 months ago
Selected Answer: D
Isolation
upvoted 2 times
...
mazahaf
2 years, 5 months ago
D Isolation
upvoted 3 times
...
ANDREVOX
2 years, 5 months ago
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
upvoted 4 times
...
GoforIT21
2 years, 6 months ago
Selected Answer: B
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...
upvoted 2 times
...
CJCoolio
2 years, 7 months ago
Selected Answer: D
Should be D
upvoted 5 times
Bojana
2 years, 7 months ago
correct, it's D
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...