PrepAway - Latest Free Exam Questions & Answers

Which command should you run?

Hotspot Question
You have a server named Server 1 that runs Windows Server 2016 server. Server1 has the Docker
daemon configured and has a container named Contained. You need to mount the folder C:\\Folderl
on Server1 to C:\\Containerfotoer in Contained. Which command should you run?

PrepAway - Latest Free Exam Questions & Answers

Answer:

10 Comments on “Which command should you run?

  1. John says:

    The correct answer is docker run -it -v %windir%\ContainerFolder Container1

    See the docker run reference:
    https://docs.docker.com/engine/reference/commandline/run/#options

    Copy-ContainerFile is used to copy files between hosts and containers
    See: https://github.com/Microsoft/Docker-PowerShell/blob/master/src/Docker.PowerShell/Help/Copy-ContainerFile.md

    Set-Service is used to change the Description, StartupType, or DisplayName of a service.
    See: https://technet.microsoft.com/en-us/library/ee176963.aspx




    3



    15
    1. Tubbysnowman says:

      I disagree, the correct answer should be

      docker run -it -v c:\Folder1:C:\ContainerFolder Container1

      See Peter’s link below.

      Also, you need to include a source and destination when mounting something to something else




      28



      0
  2. Ding says:

    QUESTION 31
    Note: This question is part of a series of questions that use the same similar answer choices An answer choice may be correct for more than one question in the series Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question
    You have a two-node Hyper-V cluster named Cluster1 at a primary location and a stand- alone Hyper-V host named Server1 at a secondary location.
    A virtual machine named VM1 runs on Cluster1.
    You configure a Hyper-V Replica of VM1 to Server1.
    You need to perform a Test Fai lover of VM1.
    Which tool should you use?

    A. the clussvc.exe command
    B. the cluster.exe command
    C. the Computer Management console
    D. the configurehyperv.exe command
    E. the Disk Management console
    F. the Failover Cluster Manager console
    G. the Hyper-V Manager console
    H. the Server Manager Desktop app

    Answer: G

    QUESTION 32
    Your company has 10 offices. Each office has a local network that contains several Hyper-V hosts that run Windows Server 2016.
    All of the offices are connected by high speed, low latency WAN links.
    You need to ensure that you can use QoS policies for Live Migration traffic between the offices.
    Which component should you install?

    A. the Multipath I/O feature
    B. the Routing role service
    C. the Network Controller server role
    D. the Canary Network Diagnostics feature
    E. the Data Center Bridging feature

    Answer: CE

    QUESTION 33
    Note: This question is part of a series of questions that use the same similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.
    You have a Hyper-V host named Server1 that runs Windows Server 2016. Server1 contains a virtual machine named VM1.
    You need to ensure that you can use nested virtualization on VM1.
    What should you run on Server1?

    A. the Mount-VHD cmdlet
    B. the Diskpart command
    C. the Set-VHD cmdlet
    D. the Set-VM cmdlet
    E. the Set-VMHost cmdlet
    F. the Set-VMProcessor cmdlet
    G. the Install-WindowsFeature cmdlet
    H. the Optimize-VHD cmdlet

    Answer: F

    QUESTION 34
    Your network contains a new Active Directory domain named contoso.com.
    You have a security policy that states that new servers should run Nano Server whenever possible.
    Which server role can be deployed on a Nano Server?

    A. Active Directory Domain Services
    B. DHCP Server
    C. Network Policy and Access Services
    D. Web Server (IIS)

    Answer: B




    1



    8
  3. davidcertifier says:

    As stated above, the correct one is:
    docker run -it -v C:\Folder1:C:\ContainerFolder Container1

    Meaning:
    -i = Keep STDIN open even if not attached
    -t = Allocate a pseudo-tty
    Often seen as -it, since both are used to create an interactive session.

    -v, –volume=[host-src:]container-dest[:] = Bind mount a volume.
    As you can see, it requires a syntax of :

    And finally the name of the container to run, Container1 in this case.




    1



    0

Leave a Reply