{"id":384,"date":"2018-11-14T15:40:22","date_gmt":"2018-11-14T14:40:22","guid":{"rendered":"https:\/\/cybercop-training.ch\/?p=384"},"modified":"2018-11-14T15:40:22","modified_gmt":"2018-11-14T14:40:22","slug":"mcsa-70-740-exam-preparation-p8","status":"publish","type":"post","link":"https:\/\/cybercop-training.ch\/?p=384","title":{"rendered":"MCSA 70-740 Exam Preparation P8"},"content":{"rendered":"<p><strong>MCSA 70-740<\/strong><\/p>\n<p><strong>Topic: Implementing of Windows Containers (Docker)<br \/>\n<\/strong><\/p>\n<p>Your network includes a Windows Server 2016 computer named Server1.<\/p>\n<p>You want to provide the Internet Information Services (IIS) in a container on Server1.<\/p>\n<p>You must prepare Server1 for the scheduled deployment.<\/p>\n<p>What are your three steps?<\/p>\n<p>Answer: <strong>Installing Docker \/ Installing the Feature Container \/ Installing a Container basic Image<\/strong><\/p>\n<hr \/>\n<p>Your network contains a server named Server1. Server1 has the Windows Server 2016 operating system installed.<\/p>\n<p>You plan to deploy a container that performs the Web Server (IIS) role.<\/p>\n<p>You must prepare Server1 for deployment of the container.<\/p>\n<p>What are the three steps in order?<\/p>\n<p>Answer: I<strong>nstalling the Feautre Container \/ Installing Docker \/ Installing a Container basic Image<\/strong><\/p>\n<hr \/>\n<p>Your network includes a Hyper-V host called Server1. Server1 has the Windows Server 2016 operating system installed.<\/p>\n<p>Server1 hosts a virtual machine called VM1. VM1 runs the Docker daemon.<\/p>\n<p>You have created a container network on VM1 that uses the Transparent network driver.<\/p>\n<p>You must ensure that containers running on VM1 can obtain IP addresses through the DHCP protocol.<\/p>\n<p>What do you do?<\/p>\n<p>Answer: <strong>On Server1, run the Get-VMNetworkAdapter -VMName VM1 | Set-VMNetworkAdapter -MacAddressSpoofing On command.<\/strong><\/p>\n<hr \/>\n<p>Your network contains a Windows Server 2016 Server named Server1. You install the Docker daemon on Server1.<\/p>\n<p>You want to configure the docker daemon to accept incoming connections only on port 64500 TCP.<\/p>\n<p>What do you do?<\/p>\n<p>Answer: <strong>Edit the file daemon.json which is located in C:\\ProgramData\\docker\\config<\/strong><\/p>\n<hr \/>\n<p>Your network includes a Windows Server 2016 computer named Server1. The Docker daemon is configured on Server1. Server1 hosts a container named Container1.<\/p>\n<p>You must provide the directory C:\\Folder1 of Server1 in the path C:\\ContainerFolder of the container.<\/p>\n<p>Which command are you running?<\/p>\n<p><a href=\"https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/config13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-389\" src=\"https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/config13-1024x138.png\" alt=\"\" width=\"1024\" height=\"138\" srcset=\"https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/config13-1024x138.png 1024w, https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/config13-300x40.png 300w, https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/config13-768x103.png 768w, https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/config13.png 1705w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Answer: <strong><span id=\"lblA4\">Docker run -it -v C:\\Ordner1:C:ContainerOrdner Container1<\/span><\/strong><\/p>\n<hr \/>\n<p>Your network includes a Windows Server 2016 Server named Server1. Server1 runs the Docker daemon.<\/p>\n<p>You must ensure that members of a security group called Docker Administrators can manage Dockers.<\/p>\n<p>What do you do?<\/p>\n<p>Answer:<strong> Edit the file Daemon.json or use the sc config command line utility.<br \/>\n<\/strong><\/p>\n<hr \/>\n<p>Your network includes a container host called Server1. The Windows Server 2016 Server operating system is installed on Server1.<\/p>\n<p>You want to start a Hyper-V container on Server1.<\/p>\n<p>What parameter do you use in conjunction with the Docker command line utility?<\/p>\n<p>Answer: <strong>&#8211;insolation<\/strong><\/p>\n<hr \/>\n<p>Your network includes a Windows Server 2016 container host named Server1.<\/p>\n<p>You create a container named Container1 on Server1.<\/p>\n<p>You must provide the directory C:\\ContainerFiles of Server1 in the file system of the container.<\/p>\n<p>Which command are you running?<\/p>\n<p>Answer: <strong><span id=\"lblA4\">docker run -it \u2013v C:\\ContainerFiles:c:\\ContainerFiles Container1<\/span><\/strong><\/p>\n<hr \/>\n<p>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.<\/p>\n<p>Server1 allows incoming connections from all computers of the domain certbase.de. Server1 is configured with the IP address 192.168.0.10.<\/p>\n<p>Server1 hosts a Windows container with the name Container1. The container provides a website that is accessible via port 80 TCP.<\/p>\n<p>You must ensure that you can manage Container1 from any computer in the domain using the Docker client.<\/p>\n<p>What are the four steps in order?<\/p>\n<p><a href=\"https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-391 size-large\" src=\"https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker1-1024x575.png\" alt=\"\" width=\"1024\" height=\"575\" srcset=\"https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker1-1024x575.png 1024w, https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker1-300x168.png 300w, https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker1-768x431.png 768w, https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker1-678x381.png 678w, https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker1.png 1083w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Answer: <strong>5,4,1,2<\/strong><\/p>\n<hr \/>\n<p>Your network includes a Windows Server 2016 computer named Server1. Server1 has the Container feature installed.<\/p>\n<p>You create a text file that contains commands to use to automate the creation of new containers.<\/p>\n<p>You must ensure that the commands from the text file are used when you create new containers.<\/p>\n<p>How do you name the file?<\/p>\n<p>Answer: <strong>Dockerfile<\/strong><\/p>\n<hr \/>\n<p>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.<\/p>\n<p>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.<\/p>\n<p>For Container1, port forwarding is configured from port 80 on Server1 to port 84 on Container1.<\/p>\n<p>You are using a server named Server2 with an IP address of 192.168.1.79.<\/p>\n<p>You want to connect to the web application on Container1.<\/p>\n<p>Which IP address and which port do you connect to?<\/p>\n<p>Answer: <strong>1<span id=\"lblA2\">92.168.1.78:80<\/span><\/strong><\/p>\n<hr \/>\n<p>Your network includes a server called Server1. Server1 has the Windows Server 2016 operating system installed. Server1 is configured as a container host.<\/p>\n<p>You create a docker file to create three new container images.<\/p>\n<p>You must copy a file named File1 from Server1 to the C:\\Folder1 directory of a container image.<\/p>\n<p>Which two commands can you use to reach the target?<\/p>\n<p>Answer: <strong>c<span id=\"lblA5\">opy Datei1.txt c:\/Ordner1\/<\/span><\/strong> \/ <strong>A<span id=\"lblA1\">dd Datei1.txt \/Ordner1\/<\/span><\/strong><\/p>\n<hr \/>\n<p>Your network includes two servers called Server1 and Server2. The Windows Server 2016 operating system is installed on both servers.<\/p>\n<p>Server1 hosts a container named Container1. Server2 hosts a container named Container2.<\/p>\n<p>The IP configuration of the servers and containers is shown below:<\/p>\n<p><a href=\"https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-392\" src=\"https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker2.png\" alt=\"\" width=\"751\" height=\"257\" srcset=\"https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker2.png 751w, https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker2-300x103.png 300w\" sizes=\"auto, (max-width: 751px) 100vw, 751px\" \/><\/a><\/p>\n<p>Container1 hosts a website on port 8080 TCP.<\/p>\n<p>You create a port forwarding from port 80 on Server1 to port 8080 on Container1.<\/p>\n<p>What URL(s) can you use on Server1, Server2, and Container2 to access the Web site?<\/p>\n<p>Answer:<\/p>\n<ul>\n<li><strong>Server1: http:\/\/10.10.50.20:80<\/strong><\/li>\n<li><strong>Server2: http:\/\/10.10.50.20:80<\/strong><\/li>\n<li><strong>Container2: http:\/\/10.10.50.20:80<\/strong><\/li>\n<\/ul>\n<hr \/>\n<p>You install Windows Server 2016 on a new server computer. Then install the Hyper-V server role.<\/p>\n<p>You must ensure that you can deploy Windows Containers that use the Server Core image on the new server.<\/p>\n<p>What are the four steps in order?<\/p>\n<p><a href=\"https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-393\" src=\"https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker3-1024x924.png\" alt=\"\" width=\"1024\" height=\"924\" srcset=\"https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker3-1024x924.png 1024w, https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker3-300x271.png 300w, https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker3-768x693.png 768w, https:\/\/cybercop-training.ch\/wp-content\/uploads\/2018\/11\/docker3.png 1029w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Answer: <strong>4,8,7,1<\/strong><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>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 <a class=\"mh-excerpt-more\" href=\"https:\/\/cybercop-training.ch\/?p=384\" title=\"MCSA 70-740 Exam Preparation P8\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":2,"featured_media":385,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,20],"tags":[],"class_list":["post-384","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-exam-preparation","category-system-administration"],"_links":{"self":[{"href":"https:\/\/cybercop-training.ch\/index.php?rest_route=\/wp\/v2\/posts\/384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cybercop-training.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cybercop-training.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cybercop-training.ch\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cybercop-training.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=384"}],"version-history":[{"count":4,"href":"https:\/\/cybercop-training.ch\/index.php?rest_route=\/wp\/v2\/posts\/384\/revisions"}],"predecessor-version":[{"id":394,"href":"https:\/\/cybercop-training.ch\/index.php?rest_route=\/wp\/v2\/posts\/384\/revisions\/394"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cybercop-training.ch\/index.php?rest_route=\/wp\/v2\/media\/385"}],"wp:attachment":[{"href":"https:\/\/cybercop-training.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cybercop-training.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cybercop-training.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}