Practice Test 4 | Designing And Implementing Microsoft DevOps Solutions | AZ-400 | Dumps | Mock Test
You have to deploy Internet Information Services to an Azure virtual machine that runs Windows Server 2019. You have to carry out the deployment using the Desired State Configuration.
You have to complete the below script for this requirement.
Which of the following would go into Slot 1?
A. Configuration
B. DependsOn
C. File
D. IncludeAllSubFeature
E. WindowsFeature
Answer – A
Here we need to specify the configuration. An example of the IIS configuration is shown below.
configuration whizlab { node "localhost" { WindowsFeature IIS { Ensure = "Present" Name = "Web-Server" } } }
The other options are incorrect because we have to use the Configuration keyword.
For more information on Desired State Configuration, you can refer to the below link-
Comments are closed, but trackbacks and pingbacks are open.