exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 1 question 9 discussion

Actual exam question from Microsoft's AZ-400
Question #: 9
Topic #: 1
[All AZ-400 Questions]

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?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nhannn
Highly Voted 2 years, 7 months ago
Selected Answer: B
It's B - No. With ApplyAndMonitor: After the initial application of a new configuration, if the target node drifts from the desired state, DSC reports the discrepancy in logs. It should be ApplyAndAutocorrect
upvoted 5 times
...
syu31svc
Most Recent 8 months, 1 week ago
Selected Answer: B
https://docs.microsoft.com/en-us/powershell/module/azurerm.automation/register-azurermautomationdscnode?view=azurermps-6.13.0 Specifies the DSC configuration mode. Valid values are: ApplyAndMonitor ApplyAndAutocorrect ApplyOnly Answer is No; use ApplyAndAutocorrect for "correctly configured, regardless of configuration drift"
upvoted 4 times
...
zellck
8 months, 1 week ago
Selected Answer: B
B is the answer. https://learn.microsoft.com/en-us/powershell/dsc/managing-nodes/metaconfig?view=dsc-1.1#basic-settings ApplyAndMonitor: This is the default value. The LCM applies any new configurations. After initial application of a new configuration, if the target node drifts from the desired state, DSC reports the discrepancy in logs.
upvoted 2 times
...
74gjd_37
8 months, 1 week ago
Selected Answer: B
https://learn.microsoft.com/en-us/powershell/dsc/managing-nodes/metaconfig?view=dsc-1.1 ApplyAndMonitor: This is the default value. The LCM applies any new configurations. After initial application of a new configuration, if the target node drifts from the desired state, DSC reports the discrepancy in logs. Note that DSC will attempt to apply the configuration until it is successful before ApplyAndMonitor takes effect.
upvoted 1 times
...
ozbonny
8 months, 1 week ago
ApplyAndMonitor: The configuration is applied and checked periodically. If a change is noticed, then an entry is created in the event log. The proposed solution sets the -ConfigurationMode parameter to ApplyOnly when running the Register-AzureRmAutomationDscNode command. This indicates that the configuration will only be applied, but will not be checked or corrected for any configuration deviation (drift). Since the goal is to ensure that the company's test servers remain correctly configured regardless of configuration drift, the solution falls short of the goal. The settings will only be applied once and will not be maintained if there are unauthorized changes. Therefore, the correct answer is B. No.
upvoted 1 times
...
DarioReymag
2 years, 6 months ago
D page 151 troubleshooting
upvoted 1 times
...
Govcomm
2 years, 10 months ago
No, ApplyAndAutocorrect is the right answer.
upvoted 1 times
...
UnknowMan
3 years ago
Selected Answer: B
ApplyAndAutocorrect Do The job
upvoted 4 times
...
rdemontis
3 years, 2 months ago
Selected Answer: B
correct answer. ApplyAndMonitor doesn't change the state of the machine if there is a deviation from initial configuration. It only logs the activity
upvoted 4 times
...
d0bermannn
3 years, 8 months ago
ApplyAndAutocorrect option is all that we need there, just see get-help Register-AzAutomationDscNode
upvoted 4 times
...
fabulousethiopia
3 years, 10 months ago
ApplyAndMonitor: ..After initial application of a new configuration, if the target node drifts from the desired state, DSC reports the discrepancy in logs. Note that DSC will attempt to apply the configuration until it is successful before ApplyAndMonitor takes effect.
upvoted 1 times
...
ScreamingHand
3 years, 10 months ago
ApplyAndMonitor: The Local Configuration Manager applies any new configurations. After initial application of a new configuration, if the target node drifts from the desired state, DSC reports the discrepancy in logs.
upvoted 2 times
...
ZodiaC
3 years, 10 months ago
Correct
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...