MCSA 70-740
Topic: Implementing of Windows Containers (Docker)
Your network includes a Windows Server 2016 computer named Server1.
You want to provide the Internet Information Services (IIS) in a container on Server1.
You must prepare Server1 for the scheduled deployment.
What are your three steps?
Answer: Installing Docker / Installing the Feature Container / Installing a Container basic Image
Your network contains a server named Server1. Server1 has the Windows Server 2016 operating system installed.
You plan to deploy a container that performs the Web Server (IIS) role.
You must prepare Server1 for deployment of the container.
What are the three steps in order?
Answer: Installing the Feautre Container / Installing Docker / Installing a Container basic Image
Your network includes a Hyper-V host called Server1. Server1 has the Windows Server 2016 operating system installed.
Server1 hosts a virtual machine called VM1. VM1 runs the Docker daemon.
You have created a container network on VM1 that uses the Transparent network driver.
You must ensure that containers running on VM1 can obtain IP addresses through the DHCP protocol.
What do you do?
Answer: On Server1, run the Get-VMNetworkAdapter -VMName VM1 | Set-VMNetworkAdapter -MacAddressSpoofing On command.
Your network contains a Windows Server 2016 Server named Server1. You install the Docker daemon on Server1.
You want to configure the docker daemon to accept incoming connections only on port 64500 TCP.
What do you do?
Answer: Edit the file daemon.json which is located in C:\ProgramData\docker\config
Your network includes a Windows Server 2016 computer named Server1. The Docker daemon is configured on Server1. Server1 hosts a container named Container1.
You must provide the directory C:\Folder1 of Server1 in the path C:\ContainerFolder of the container.
Which command are you running?
Answer: Docker run -it -v C:\Ordner1:C:ContainerOrdner Container1
Your network includes a Windows Server 2016 Server named Server1. Server1 runs the Docker daemon.
You must ensure that members of a security group called Docker Administrators can manage Dockers.
What do you do?
Answer: Edit the file Daemon.json or use the sc config command line utility.
Your network includes a container host called Server1. The Windows Server 2016 Server operating system is installed on Server1.
You want to start a Hyper-V container on Server1.
What parameter do you use in conjunction with the Docker command line utility?
Answer: –insolation
Your network includes a Windows Server 2016 container host named Server1.
You create a container named Container1 on Server1.
You must provide the directory C:\ContainerFiles of Server1 in the file system of the container.
Which command are you running?
Answer: docker run -it –v C:\ContainerFiles:c:\ContainerFiles Container1
Your network includes an Active Directory domain services (AD DS) domain called cybercop-training.ch. The domain contains a server named Server1. Server1 runs Windows Server 2016.
Server1 allows incoming connections from all computers of the domain certbase.de. Server1 is configured with the IP address 192.168.0.10.
Server1 hosts a Windows container with the name Container1. The container provides a website that is accessible via port 80 TCP.
You must ensure that you can manage Container1 from any computer in the domain using the Docker client.
What are the four steps in order?
Answer: 5,4,1,2
Your network includes a Windows Server 2016 computer named Server1. Server1 has the Container feature installed.
You create a text file that contains commands to use to automate the creation of new containers.
You must ensure that the commands from the text file are used when you create new containers.
How do you name the file?
Answer: Dockerfile
Your network includes a Hyper-V host called Server1. Server1 has the Windows Server 2016 operating system installed. Server1 is configured with the IP address 192.168.1.78.
Server1 provides a container named Container1. The container has the IP address 172.16.5.6 and provides a web application on port 84 TCP.
For Container1, port forwarding is configured from port 80 on Server1 to port 84 on Container1.
You are using a server named Server2 with an IP address of 192.168.1.79.
You want to connect to the web application on Container1.
Which IP address and which port do you connect to?
Answer: 192.168.1.78:80
Your network includes a server called Server1. Server1 has the Windows Server 2016 operating system installed. Server1 is configured as a container host.
You create a docker file to create three new container images.
You must copy a file named File1 from Server1 to the C:\Folder1 directory of a container image.
Which two commands can you use to reach the target?
Answer: copy Datei1.txt c:/Ordner1/ / Add Datei1.txt /Ordner1/
Your network includes two servers called Server1 and Server2. The Windows Server 2016 operating system is installed on both servers.
Server1 hosts a container named Container1. Server2 hosts a container named Container2.
The IP configuration of the servers and containers is shown below:
Container1 hosts a website on port 8080 TCP.
You create a port forwarding from port 80 on Server1 to port 8080 on Container1.
What URL(s) can you use on Server1, Server2, and Container2 to access the Web site?
Answer:
- Server1: http://10.10.50.20:80
- Server2: http://10.10.50.20:80
- Container2: http://10.10.50.20:80
You install Windows Server 2016 on a new server computer. Then install the Hyper-V server role.
You must ensure that you can deploy Windows Containers that use the Server Core image on the new server.
What are the four steps in order?
Answer: 4,8,7,1
Schreib einen Kommentar