Does this meet the goal?

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this sections, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You deploy Windows Server 2016 to a server named Server1.
You need to ensure that you can run Windows Containers on Server1.
Solution: On Server1, you enable the Containers feature, and then you install the PowerShell for Docker module. You restart the server.
Does this meet the goal?
A. Yes
B. No

microsoft-exams

6 thoughts on “Does this meet the goal?

  1. Solution: On Server1, you enable the Containers feature, and then you install the PowerShell Docker module. You restart the server.

    Solution: On server1, you install the DockerMsftProvider PowerShell and the Docker package. You restart the server.

  2. This is a trick questions, you have to install the modules then the package then reboot.

    https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/deploy-containers-on-server

    Install the OneGet PowerShell module.

    PowerShell

    Copy
    Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
    Use OneGet to install the latest version of Docker.

    PowerShell

    Copy
    Install-Package -Name docker -ProviderName DockerMsftProvider
    When the installation is complete, reboot the computer.

    PowerShell

    Copy
    Restart-Computer -Force

  3. It`s a trick question, at first i thought too that was B because of the module part.

    BUT!!!!
    If you read very carefull the part from the Explanation:

    “To install Docker we’ll use the OneGet provider PowerShell module. The provider will enable the containers feature on your machine and install Docker – this will require a reboot.”

    So… it is really a module that install Docker

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.