1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I am confused. Q:

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

  1. MCSA15

    MCSA15 New Member

    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:
    Subnet mask:
    Default gateway:
    Preferred DNS server: <none>
    The network contains a DNS server that has an IPv4 address of
    You need to configure Server1 to use 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!

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

    Ce127 Nibble Poster

    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