2013 Latest MCSA 70-417 Exam Questions 1-5

Ensurepass

QUESTION 1
Your network contains an Active Directory domain named contoso.com.
The domain contains two member servers named Server1 and Server2 that run Windows Server 2012. You log on to Server1.
You need to retrieve the IP configurations of Server2. Which command should you run from Server1?
A. dsquery * -scope base -attr ip,server2
B. winrs -r:server2 ipconfig
C. winrm get server2
D. ipconfig > server2.ip
Correct Answer: B
Section: Remote Management & Server Core
Explanation
Explanation/Reference:
http://technet.microsoft.com/en-us/library/dd163506.aspx
Using WinRS
You can use WinRS to administer a Server Core installation remotely from the command line. WinRS is a command-line tool included in both Windows Vista and the Full installation of Windows Server 2008, which relies on Windows Remote Management (WinRM) to execute remote commands, especially for headless servers. WinRM is Microsoft’s implementation of the WS-Management protocol, a standard Simple Object Access Protocol (SOAP)-based, firewall-friendly protocol that enables hardware and operating systems from different vendors to interoperate. You can think of WinRM as the server side and WinRS the client side of WS-Management.
[…]
Using WinRS to Administer Server Core in a Domain
The basic syntax for WinRS commands is as follows:
winrs -r:target command
where target is the name (NetBIOS or FQDN) of the Server Core installation that has had WinRM enabled on it, and command is any command string that you want to execute on the Server Core installation. For example, to use WinRS to enable Remote Desktop remotely on a Server Core installation named SEA- SC2, type the following command on any computer running Windows Vista or on a Full installation of Windows Server 2008:
winrs -r:SEA-SC2 cscript %WINDIR%system32scregedit.wsf /ar 0

QUESTION 2
Your network contains an Active Directory domain named contoso.com. The domain contains a server named Server1 that runs Windows Server 2012.
On a server named Server2, you perform a Server Core Installation of Windows Server 2012. You join
Server2 to the contoso.com domain.
You need to ensure that you can manage Server2 by using the Computer Management console on
Server1. What should you do on Server2?
A. Run the Disable-NetFirewallRule cmdlet. B. Run the Enable-NetFirewallRule cmdlet.
C. Run sconfig.exe and configure the network settings. D. Run sconfig.exe and configure remote management.
Correct Answer: B
Section: Remote Management & Server Core
Explanation
Explanation/Reference:
As we can see on the following screenshot, Remote Management is enabled by default on a new
Server Core installation of 2012 (so we don’t have to configure it on Server2)
BUT that’s not enough as it only enables WinRM-based remote management (and computer management is not WinRM-based of course).
To enable the remote management from an MMC (such as server manager, or computer manager), we
have to enable exception rules in the Firewall,
which can be done, amongst other ways, using Powershell and the Enable-NetFirewallRule cmdlet.
NB : For the example, i only used Enable-NetFirewallRule -displaygroup “Remote Service Management” and Computer Management was then able to connect to my 2012 server core.
==============
from the MSPress book “Upgrading your skills to MCSA Windows Server 2012”
Note also that in previous versions of Windows Server, remote Server Manager management required
many open ports, and Configure-SMRemoting was a Windows PowerShell script that opened all those ports. In Windows Server 2012, remote Server Manager management relies only on WinRM for most features (such as deploying roles, restarting, and Windows PowerShell) and on DCOM for some additional features (such as Computer Management). Consistent with this more efficient remote management method, Configure-SMRemoting configures only WinRM in Windows Server 2012, and is now the
equivalent of the command Winrm Quickconfig. Like when you enable remote management in the interface
or by using Winrm Quickconfig, if you enable remote management by using Configure-SMRemoting, you still need to enable the DCOM ports manually later if you want more complete remote management functionality by using MMC consoles.
[…]
Again, like Winrm Quickconfig and Configure-SMRemoting, enabling remote management in Sconfig configures only WinRM-based remote management .
=================
http://technet.microsoft.com/en-us/library/jj554869.aspx
Enable-NetFirewallRule
Detailed Description
The Enable-NetFirewallRule cmdlet enables a previously disabled firewall rule to be active within the computer or a group policy organizational unit.
This cmdlet gets one or more firewall rules to be enabled with the Name parameter (default), the DisplayName parameter, rule properties, or by associated filters or objects. The Enabled parameter for the resulting queried rules is set to True.

QUESTION 3
Your network contains an Active Directory domain named contoso.com.
The domain contains a server named Server1 that runs Windows Server 2012 and a server named Server2 that runs Windows Server 2008 R2 Service Pack 1 (SP1). Both servers are member servers.
On Server2, you install all of the software required to ensure that Server2 can be managed remotely from
Server Manager.
You need to ensure that you can manage Server2 from Server1 by using Server Manager.
Which two tasks should you perform on Server2? (Each correct answer presents part of the solution. Choose two.)
A. Run the Configure-SMRemoting.ps1 script.
B. Run the Enable-PSSessionConfiguration cmdlet. C. Run the Set-ExecutionPolicy cmdlet.
D. Run the systempropertiesremote.exe command
E. Run the Enable-PSRemotingcmdlet.
Correct Answer: AC
Section: Remote Management & Server Core
Explanation
Explanation/Reference:
This question is debated as me providing the wrong answer, so I took the time to setup an exact replica in a lab of what is being done here. After my proof will be the links provided that prove why I’m right.
First, I installed a 2008 R2 SP1 server and installed .Net 4 and WFM 3 on it. When I tried to connect with server manager from 2012 I received this error:
Next I ran these commands on the 2008 R2 server from an elevated PowerShell:
Set-ExecutionPolicy RemoteSigned
Configure-SMRemoting.ps1 -force -enable
Finally, you can see where the machine is now showing as ready to be managed by 2012:
http://blogs.technet.com/b/canitpro/archive/2012/05/28/managing-older-versions-of-windows-with-windows- server-8-beta-tools-and-vice-versa.aspx
The above mentioned link gives an exact step-by-step example of how to do this, which includes setting the execution policy of PowerShell and Running the SMRemoting.ps1 script.
http://technet.microsoft.com/en-us/library/hh849694.aspx
This link describes that you cannot use the Enable-PSRemoting command on a machine that has both PS
2.0 and 3.0. Since 2008 R2 ships with 2.0, and WMF 3 installs 3.0, that means the 2008 R2 box would have both.
http://technet.microsoft.com/en-us/library/dd759202.aspx
http://msandbu.wordpress.com/2012/08/26/administer-other-windows-server-from-server-manager-2012/
Administer Other Windows Server from Server Manager 2012
Now the new Server Manager is a lifesaver, it allows to manage multiple servers from one console. By default it is only supported for Windows Server 2012 but by downloading Windows Management Framework 3.0 and .Net 4 you can manage older versions as well. (2008, 2008R2)
You can download the needed files from here C> http://www.microsoft.com/en-us/download/details.aspx?
id=29939 http://www.microsoft.com/nb-no/download/details.aspx?id=17718 (If you try to manage an older version you can get this error)
And you need to install these on the servers you need to manage. After these are installed you need to run some commands.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Configure-SMRemoting.ps1 -force -enable
After that is done, you can now manage your other servers.
You can see that now the AD server (DC) is added and AD role is added on the side as well Smile

QUESTION 4
Your network contains an Active Directory domain named contoso.com.
The network contains a server named Server1 that runs Windows Server 2012 and a server named
Server2 that runs Windows Server 2008 R2 Service Pack 1 (SP1).
Server1 and Server2 are member servers.
You need to ensure that you can manage Server2 from Server1 by using Server Manager. Which two tasks should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Install Windows Management Framework 3.0 on Server2. B. Install Remote Server Administration Tools on Server1.
C. Install the Windows PowerShell 2.0 engine on Server1. D. Install Microsoft .NET Framework 4 on Server2.
E. Install Remote Server Administration Tools on Server2.
Correct Answer: AD
Section: Remote Management & Server Core
Explanation
Explanation/Reference:
http://technet.microsoft.com/en-us/library/hh831456.aspx#BKMK_softconfig

QUESTION 5
Your network contains an Active Directory domain named contoso.com.
All servers run either Windows Server 2008 R2 or Windows Server 2012. All client computers run either Windows 7 or Windows 8.
The domain contains a member server named Server1 that runs Windows Server 2012.
Server1 has the File and Storage Services server role installed. On Server1, you create a share named
Share1.
You need to ensure that users can use Previous Versions to restore the files in Share1. What should you configure on Server1?
A. A data recovery agent
B. The Shadow Copies settings
C. The Recycle Bin properties
D. A Windows Server Backup schedule
Correct Answer: B
Section: Monitoring & Maintaing (Backup, Restore, Updates, Business Continuity, Disaster
Recovery…) Explanation
Explanation/Reference:

Download Ensurepass Latest 2013 MCSA 70-417 Real Exam Questions , help you to pass exam 100%.