DRAG DROP - You need to deploy Internet Information Services (IIS) to an Azure virtual machine that runs Windows Server 2019. How should you complete the Desired State Configuration (DSC) configuration script? To answer, drag the appropriate values to the correct locations. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Select and Place: Â Suggested Answer: Box 1: Configuration - Configuration Example: Configuration Sample - { Node localhost, server02 - { Box 2: WindowsFeature - Example: WindowsFeature RoleExample - { Ensure = "Present" # Alternatively, to ensure the role is uninstalled, set Ensure to "Absent" Name = "Web-Server" # Use the Name property from Get-WindowsFeature } The WindowsFeature resource in Windows PowerShell Desired State Configuration (DSC) provides a mechanism to ensure that roles and features are added or removed on a target node. Reference: https://docs.microsoft.com/en-us/powershell/dsc/reference/resources/windows/windowsfeatureresource https://docs.microsoft.com/en-us/powershell/dsc/managing-nodes/apply-get-test This question is in AZ-400 Exam For getting Microsoft DevOps Engineer Expert Certificate Disclaimers: The website is not related to, affiliated with, endorsed or authorized by Microsoft. The website does not contain actual questions and answers from Microsoft's Certification Exams. Trademarks, certification & product names are used for reference only and belong to Microsoft.
Please login or Register to submit your answer