Installation, Storage, and Compute with Windows Server 2016 — Question 206

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 section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have two servers that run Windows Server 2016.
You have a server named Server1 that runs Windows Server 2016. Server1 has the Hyper-V server role and Docker installed.
You pull the Microsoft/iis Docker image to Server1.
You need to view the available space in the Microsoft/iis Docker image.
Solution: You run the following commands.
docker run ""name container1 ""d Microsoft/iis
docker exec ""i container1 cmd.exe
dir
Does this meet the goal?

Answer options

Correct answer: A

Explanation

The commands executed correctly start a container from the Microsoft/iis image and then access its command line to run the 'dir' command, which lists the contents of the container, including available space. Therefore, the solution meets the goal. The other option is incorrect because it suggests that the commands do not achieve the desired outcome.