PrepAway - Latest Free Exam Questions & Answers

Which command should you run?

You have 3 server named Server1. Server1 runs a Server Core installation of Windows Server 2012.
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?

PrepAway - Latest Free Exam Questions & Answers

A.
sconfig.cmd

B.
net.exe

C.
Set-NetIPInterface

D.
netsh.exe

Explanation:
In Windows Server 2012, you can use the Server Configuration tool (Sconfig.cmd) to configure
and manage several common aspects of Server Core installations.
Network settings
You can configure the IP address to be assigned automatically by a DHCP Server or you can assign a static IP
address manually. This option allows you to configure DNS Server settings for the server as well.

Sconfig.cmd interface

18 Comments on “Which command should you run?

    1. Michael Metzger says:

      Hi guys,

      in reply to “jo” I´d like to state, that you don´t need powershell for netsh.exe!
      netsh.exe is a cmd.exe command.

      The question states “the solution must not change any other settings on Server1”.

      So in my understanding it really could be A or D, but I´m tending to D, maybe because it is really a command that changes the preferred DNS Server Setting and not a command that opens a tool for changing this setting – although this is absolutelly not clear in the question.

      Still, for the command netsh.exe you don´t need powershell.

      Cheers, Michael




      0



      0
  1. vishwas says:

    Guys,

    For command prompt tool a Server Core installation must be written in native Win32 code. In a question it clearly says that it is a server core installation . So we are not sure command prompt is available or not (win 32 codes). So easiest way is using a power shell command “sconfig” to change the network settings.

    Server core installation is nothing but a sconfig tool using Power shell .




    0



    0
  2. rca-ieftin-online.com says:

    Hi there, just became aware within your blog through Google, and discovered that it’s really informative. I’m gonna look for brussels. I will appreciate in the event you continue this later on. Many people will probably be benefited through your writing. Cheers!
    rca-ieftin-online.com http://goo.gl/6GqA7S




    0



    0
    1. Bolo says:

      Also, IIRC, sconfig will ask for two sets of DNS IPs, so even if you don’t put the second one in (not sure if you can skip or not), you’d be setting 2 things with sconfig.




      0



      0

Leave a Reply