Which three actions should you perform?

Posted by: Pdfprep Category: 70-743 Tags: , ,

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.
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.

Answer: A,B,C

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 CAll

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.

Pull the Nano Server base image.

docker pull microsoft/nanoserver

Leave a Reply

Your email address will not be published.