nerdexam
MicrosoftMicrosoft

AZ-800 · Question #283

AZ-800 Question #283: Real Exam Question with Answer & Explanation

The correct answer is A: Start Container1 in Hyper-V isolation mode.. {"question_number": 6, "question": "You have a server named Server1 that runs Windows Server 2019 and hosts a container named Container1 using a Windows Server 2019 base image. You upgrade Server1 to Windows Server 2022. You need to ensure that Container1 will run on Server1. The

Manage virtual machines and containers

Question

You have a server named Server1 that runs Windows Server 2019 and hosts a container named Container1. Container1 uses a Windows Server 2019 base image that was built by using a Docker file. You upgrade Server1 to Windows Server 2022. You need to ensure that Container1 will run on Server1. The solution must minimize administrative effort. What should you do?

Options

  • AStart Container1 in Hyper-V isolation mode.
  • BModify the Docker file.
  • CStart Container1 in process isolation mode.
  • DRebuild the base image for Container1.

Explanation

{"question_number": 6, "question": "You have a server named Server1 that runs Windows Server 2019 and hosts a container named Container1 using a Windows Server 2019 base image. You upgrade Server1 to Windows Server 2022. You need to ensure that Container1 will run on Server1. The solution must minimize administrative effort.", "correct_answer": "A", "explanation": "In process isolation mode, the container shares the host OS kernel directly, which requires the container image OS version to match or be compatible with the host OS version. Since Container1 uses a Windows Server 2019 base image but the host is now Windows Server 2022, process isolation mode will fail due to version mismatch. Hyper-V isolation mode runs the container inside a lightweight Hyper-V virtual machine with its own kernel instance, making the container independent of the host OS version. This allows the Windows Server 2019 container image to run on a Windows Server 2022 host without rebuilding the image or modifying the Dockerfile - minimizing administrative effort. Modifying the Dockerfile or rebuilding the image would require more effort and is unnecessary.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#Windows Containers#Container Isolation Modes#OS Version Compatibility#Server Upgrades

Community Discussion

No community discussion yet for this question.

Full AZ-800 PracticeBrowse All AZ-800 Questions