PrepAway - Latest Free Exam Questions & Answers

Which three actions should you perform?

You have a server named Server1 that runs Windows Server 2016. You plan to deploy Internet
Information Services (IIS) in a Windows container. You need to prepare Server1 for the planned
deployment. Which three actions should you perform? (Each correct answer presents part of the
solution. Choose three.)

PrepAway - Latest Free Exam Questions & Answers

A.
Install the Container feature.

B.
Install Docker.

C.
Install the Base Container Images.

D.
Install the Web Server role.

E.
Install the Hyper-V server role.

Explanation:
Step 1 (A): The container feature needs to be enabled before working with Windows containers.
To do so run the following command in an elevated PowerShell session.
Enable-WindowsOptionalFeature -Online -FeatureName containers -All
Step 2 (B): Docker is required in order to work with Windows containers.
Note:
First install the OneGet PowerShell module.
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Next, you use OneGet to install the latest version of Docker.
Install-Package -Name docker -ProviderName DockerMsftProvider
Step 3 (C): Install Base Container Images. Windows containers are deployed from templates or
images. Before a container can be deployed, a container base OS image needs to be downloaded.
The following commands will download the Nano Server base image.
docker pull microsoft/nanoserver
https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/deploycontainers-on-nano

Leave a Reply