docker exec Ci container1 cmd.exe dir 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 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 Cname container1 Cd Microsoft/iis

docker exec Ci container1 cmd.exe dir Does this meet the goal?
A . Yes
B . No

Answer: A

Explanation:

References: https://docs.docker.com/engine/reference/commandline/container_exec/#options https://www.windows-commandline.com/get-file-size-directory-size-command/

Latest 70-740 Dumps Valid Version with 334 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments