You have an Azure subscription with 50 virtual machines managed by Azure Automation State Configuration. When authoring Desired State Configuration (DSC) files, what is the correct hierarchical order of DSC code blocks?
Choose an answer
Tap an option to check your answer.
Correct answer: Configuration > Node > Resource.
Why this is the answer
In PowerShell Desired State Configuration (DSC), the correct hierarchical order for defining a configuration is Configuration Node Resource. 1. Configuration: This is the outermost block, defining the overall configuration. It acts as a container for one or more Node blocks. 2. Node: Inside the Configuration block, the Node block specifies the target machine(s) to which the configuration will be applied. You can define multiple Node blocks within a single Configuration. 3. Resource: Within each Node block, Resource blocks define the specific desired state for components on that node, such as services, files, or registry settings. The other options present incorrect hierarchies. For example, Node Configuration Resource is wrong because Node blocks must be nested within a Configuration block, not the other way around. Similarly, Resource blocks must be nested within Node blocks, making options starting with Resource or placing Resource before Node incorrect.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed