Installation, Storage, and Compute with Windows Server 2016 — Question 205
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 ""isolation hyperv ""d Microsoft/iis docker exec ""i container1 cmd.exe dir
Does this meet the goal?
Answer options
- A. Yes
- B. No
Correct answer: B
Explanation
The proposed solution does not meet the goal because the command syntax is incorrect. The commands are not properly formatted, and the 'docker exec' command does not provide a way to view the available space directly within the image. Therefore, the correct answer is B.