Microsoft

AZ-800 practice question 104

Administering Windows Server Hybrid Core Infrastructure · free question 104 of 246

Question

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 Correct
  • E. --entrypoint

Explanation

The --isolation parameter is used to specify the isolation technology for Windows containers. Setting it to 'hyperv' ensures that the container runs in a Hyper-V isolated environment, which meets the requirement of running the container on a Hyper-V virtual machine.

Need the theory? Learn it free in the AZ-800 course on Godlike Academy

Practice the whole free set

AZ-800 is a free exam: all 300 questions with instant feedback, plus Learn and Exam modes and PDF export, free.