Intermediate Networking Questions

Average Rating
0 out of 5 stars. 0 votes.

Question 5 of 5
You are creating a DSC configuration that will be used to install the liS Web server on various servers on the
network.

Click the line in the script below that creates a consumable MOF file.

Configuration AddiiS I
{

2 aram ( $MachineName)

Node $L1achi:::1eName
{

IIS

Ensure – ‘Present’
Name –

‘Web-Server’

{

}

}

}

IOOl
002
003
004
005
006
007
008
009
010
011
012
013

Explanation

The keyword Configuration defines a new DSC configuration and creates a consumable MOF file. In the script shown in
this scenario, a folder named Add liS will be created containing the MOF output file when the configuration function is
called in a script.

The WindowsFeature line is used to specify which DSC provider should be used. The keyword param defines a variable
that can be populated from the command line when the configuration is called in a script. The keyword Node specifies
the target systems the DSC configuration will be applied to.

Objectives

Objectives for MS 70-41 0:

1 02 Configure servers

References

LabSim for Windows Server Pro: Install and Configure, Section 2.2.

[Questions.exm RT 2.2-2]

Leave a Reply

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