chapter 14 - Containers

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

You have pulled the microsoft/nanoserver image from the Docker Hub website. Now you need to create a new Hyper-V container from the image and run the cmd command to open the command line interface in the container. From the drop-down list, select the command that fills in the blank: docker run -it microsoft/nanoserver ______________ cmd

-isolation=hyperv

Which of the following best describes container storage?

Container storage is not persistent, which is by design because containers are meant to be isolated and disposable

Which of the following are features and benefits of Windows containers?

Containers use operating systems licenses more efficiently Containers are disposable Containers are highly portable

Docker is used to deploy and manage containers on a container host. Docker is composed of three components. Which of the following Docker components is used from the command line of the container host to deploy and manage containers?

Docker.exe

You need to be able to create standard Windows Server containers on a Windows Server 2016 system that is using the Desktop Experience deployment. Which of the following tasks must be completed on the server?

Download and install the Docker engine Install the Containers feature

During the course of the Docker installation you add C:\Program Files\docker to the PATH statement. You want to verify that C:\Program Files\Docker is one of the files paths listed in PATH. You open the Advanced System Properties window, as shown in the image below. Click the button that will allow you to see what is in PATH

Environment Variables

You have several containers running on your container host. You need the containers to have private network communication with each other. You also want them to have access to the Internet. Which of the following container networking options should you use?

NAT

You have several containers running on your container host. You need the containers to function as if they were separate physical machines connected to the physical network segment. The containers need to get IP addressing information from the DHCP server on your physical network segment. Which of the following container networking options should you use?

Transparent

you perform the following to prepare to deploy the windows containers feature on your windows server 2016 system -Install the required roles and features -Perform the Docker installation and configuration process Enter the command toy would use at an elevated command prompt to complete this verification

docker info

You have several containers running on your container host. You need the containers to function as if they were separate physical machines connected to the physical network segment. The containers need to get IP addressing information from the DHCP server on your physical network segment. From the drop down list, select the command that fills in the blank for the command to create a new bridged network: ______________________ -d transparent

docker network create

From the drop-down list, select the command you would use to view all running containers on the container host:

docker ps

You are working with a container that you are using to test a new application that is under development. You need to move the container to another container host, but you don't want to lose the changes you've made and the files you've created within the container. What can you do to preserve the container's system changes and files? (Select two)

Create a new image file from the current container instance using the docker commit command Mount a directory in the container host's file system in the file system of the container following this syntax: docker run -it -v <container_dir>:<host_dir> <image_name> cmd.exe

You have installed the necessary roles and features so your windows server 2016 can support Hyper-V containers. Now you need to install the Docker Engine. Use the left/right arrows to move the steps for the docker installation process from the left to the right. Use the up/down arrows to put the steps in the most appropriate order.

Download the docker.zip file Extract docker.zip to C:\Program Files\Docker Add C:\Program Files\docker to PATH Register the dockerd.exe service Start the dockerd.exe service Configure docker service to autostart

Which of the following host operating systems can be used as the host of a nano server windows server container?

Nano Server Windows Server 2016 Server Core Windows Server 2016 Desktop Experience

which of the following host operating systems can be used as the host of a server core windows server container?

Windows Server 2016 Desktop Experience Windows Server 2016 Server Core

From the drop-down list, select the command you would use to display a list of virtual networks on the container host:

docker network ls

Which of the following Docker commands is used to display information about all the containers currently running on the container host?

docker ps

You want to be able to run a Nano Server container from a base container image that is on Docker Hub. You are ready to download the microsoft/nanoserver image from the Docker Hub website. From the drop-down list, select the command that fills in the blank:

docker pull

You have pulled the microsoft/nanoserver image from the Docker Hub website. Now you need to create a new Windows Server container from the image and run the cmd command to open the command line interface in the container. From the drop-down list, select the command that fills in the blank

docker run -it

You want to create a new Hyper-V container from the base container image and run the cmd command to open the command line interface in the container. However, you have not pulled the image from Docker Hub. What will happen when you run the following command: docker run -it microsoft/nanoserver -isolation=hyperv cmd

docker will look for the image on your container host; if it is not there, it will pull the image from Docker Hub and create a hyper-v container.

You are installing the Docker engine on your Windows Server 2016 server. You have completed the following Steps: 1. Download the Docker zip file 2. Extract the Docker zip file to C:\Program Files\docker 3. Add C:\Program Files\docker to the PATH environment variable. Next, you need to register dockerd.exe as a service. Enter the command you would use to register dockerd.exe as a service

dockerd.exe --register-service

an application developer needs a container for testing a server application that is designed to run on a windows server in server core deployment. The developer has a windows 10 professional workstation Which of the following must be done on this workstation before the developer can deploy a server core container?

install the hyper-v role install the containers feature


संबंधित स्टडी सेट्स

Chapter 25 the reproductive system

View Set

Chapter 2 biomechanics questions

View Set

Earth Science Exogenic Processes

View Set

PrepU: Chapter 15: Postpartum Adaptations

View Set

Genetic Disorders [Robbins and Cotran Review of Pathology (4E) CH5/Rubins Illustrated Pathology Review (2E) CH6]

View Set

Strategy week 5 (strategic innovation, industry context)

View Set