I am confused. Q:

Discussion in 'Windows Server 2003 / 2008 / 2012 / 2016' started by MCSA15, May 23, 2016.

  1. MCSA15

    MCSA15 New Member

    1
    0
    6
    You have 3 server named Server1. Server1 runs a Server Core installation of Windows Server 2012 R2.
    The local area connection on Server1 has the following configuration:
    IP address: 10.1.1.1
    Subnet mask: 255.255.240.0
    Default gateway: 10.1.1.254
    Preferred DNS server: <none>
    The network contains a DNS server that has an IPv4 address of 10.1.1.200.
    You need to configure Server1 to use 10.1.1.200 as the preferred DNS server. The solution must not change
    any other settings on Server1.
    Which command should you run?

    A. sconfig.cmd
    B. net.exe
    C. Set-NetIPInterface
    D. netsh.exe
    Correct Answer: A

    Whats wrong with answer D ?

    I hope I posted this in the right place.. sorry!


    Syntax:
    netsh interface ipv4 add dnsserver "Network Interface Name" dns.server.ip index=1(for primary)2(for secondary)
     
  2. Ce127

    Ce127 Nibble Poster

    68
    20
    29
    At a guess, yes answer D works in what the question is trying to achieve (it would be the first CMD I reached for to set the DNS server), HOWEVER...

    In the Technet pages, they say to use sconfig to do this task : https://technet.microsoft.com/en-us/library/jj647766(v=ws.11).aspx and essentially MS exams are more tests of how much you memorised Technet as opposed to if you can get the job done :)
     
    Certifications: A+, MCSA: Windows 7, 70-640, 70-642
    WIP: 70-646

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.