Register-AzureRmAutomationDscNode Command - Solution Evaluation and Implementation | Microsoft Exam AZ-400

Register-AzureRmAutomationDscNode Command - Solution Evaluation and Implementation

Question

Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.

You run the Register-AzureRmAutomationDscNode command in your company's environment.

You need to make sure that your company's test servers remain correctly configured, regardless of configuration drift.

Solution: You set the -ConfigurationMode parameter to ApplyAndMonitor.

Does the solution meet the goal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

B

https://docs.microsoft.com/en-us/powershell/module/azurerm.automation/register-azurermautomationdscnode?view=azurermps-6.13.0

The solution mentioned in the question is to use the Register-AzureRmAutomationDscNode command with the -ConfigurationMode parameter set to ApplyAndMonitor. The goal is to ensure that the company's test servers remain correctly configured, regardless of configuration drift.

The -ConfigurationMode parameter is used to specify the desired configuration mode for a node. There are three possible values for this parameter: ApplyOnly, ApplyAndMonitor, and MonitorOnly.

  • ApplyOnly: In this mode, the node applies the desired configuration and then stops checking for drift. If any drift occurs, the node will not be automatically updated.

  • ApplyAndMonitor: In this mode, the node applies the desired configuration and then continues to monitor for drift. If any drift occurs, the node will be automatically updated to the desired configuration.

  • MonitorOnly: In this mode, the node only monitors for drift and does not apply any configuration changes.

Based on the above, the solution mentioned in the question satisfies the goal of ensuring that the company's test servers remain correctly configured, regardless of configuration drift, because it uses the ApplyAndMonitor configuration mode. This means that the node will apply the desired configuration and continue to monitor for drift, automatically updating itself if any drift occurs.

Therefore, the answer to the question is A. Yes, the solution meets the goal.