Which actions should you perform on each server? To answer, select the appropriate server on which to perform each action in the answer area

HOTSPOT
Your network contains an Active Directory domain named contoso.com. The domain
contains servers named Server1 and Server2 that run Windows Server 2012 R2.
You create a windows PowerShell script named Scriptl.psl that contains the following configuration:

You need to apply the configuration to Server1. The solution must ensure that the
configuration on Server1 can be updated by modifying a MOF file on Server2.
Which actions should you perform on each server?
To answer, select the appropriate server on which to perform each action in the answer area.

HOTSPOT
Your network contains an Active Directory domain named contoso.com. The domain
contains servers named Server1 and Server2 that run Windows Server 2012 R2.
You create a windows PowerShell script named Scriptl.psl that contains the following configuration:

You need to apply the configuration to Server1. The solution must ensure that the
configuration on Server1 can be updated by modifying a MOF file on Server2.
Which actions should you perform on each server?
To answer, select the appropriate server on which to perform each action in the answer area.

Answer:

Explanation:



Leave a Reply 11

Your email address will not be published. Required fields are marked *


andry79

andry79

Somebody can explain? Thanks in advance.

JonBan

JonBan

The first two questions make sense to me:
1. you run the script on Server2 because it generates the MOF file that you want to be able to modify on Server2
2.Set-DscLocalConfigurationManager is the cmdlet that actually applies the configuration (see https://technet.microsoft.com/en-us/library/dn521621.aspx) so it makes sense to run it on Server1

I am however unfamiliar with the term “Desired State Configuration service”, I was surprised that after much googling (actually, I’m more a DuckDuckGo Tinfoil hat user) I couldn’t find any article with the terms “Desired State Configuration service” in this specific sequence

TechGuy

TechGuy

Wouldn’t the answer be Server 2 for all of these? See the following:

http://www.altaro.com/hyper-v/desired-state-configuration-hyper-v-part-3-generating-mof-files/ (You would of course do this on Server2 since it mentions in the question this is where you want to store the MOF Files)

https://technet.microsoft.com/en-us/library/dn521621.aspx (At the bottom of the page it shows you how to run this command on a remote server so technically you could run this from Server2 to apply the MOF files to server1)

https://technet.microsoft.com/en-us/library/dn249912.aspx (You would install the Desired State Configuration Service on Server2 since it’s the one that is going to control Server1’s configuration)

If I’m wrong feel free to explain why but just want to be sure I’m not messing this up for when I take the exam.

HanSolo

HanSolo

Sure you can do it remotely via server2, but in the end the command will run at server1. So it’s probably the answer they are after (Server1).

In the style “Where should the commands end up”.

Mike

Mike

Would anyone be able to confirm that the answers given are correct or not?

OSA

OSA

Answer Correct.
Install “windows powershell desired state configuration service” on server2 to set it up as a DSC pull server.

“Script1.ps1” to be run on Server2 to define configuration, followed by “ConfigGroup1” command to generate the MOF file locally.

“Set-DscLocalConfigurationManager” on Server1 to configure LCM to pull DSC configuration (MOF file) from Server2 and apply it locally.

Islam Yasein

Islam Yasein

you are right this is already the answer in the dump

Cesar

Cesar

The answer just have sense if change the order of the commands. First install the Desired State Configuration Service on Server2