exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 7 question 23 discussion

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

DRAG DROP -
Your company has two virtual machines that run Linux in a third-party public cloud.
You plan to use the company's Azure Automation State Configuration implementation to manage the two virtual machines and detect configuration drift.
You need to onboard the Linux virtual machines.
You install PowerShell Desired State Configuration (DSC) on the virtual machines, and then run register.py.
Which three actions should you perform next in sequence? To answer, move the actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Step 1: Create a DSC metaconfiguration
Load up the DSC Configuration into Azure Automation.
Step 2: Copy the metaconfiguration to the virtual machines.
Linking the Node Configuration to the Linux Host
Step 3: Add the virtual machines as DSC nodes in Azure Automation. go to DSC Nodes, select your node, and then click Assign node configuration. This step assigns the DSC configuration to the Linux machine.
Next up will be to link the node configuration to the host. Go to the host and press the ג€Assign nodeג€¦ג€-button. Next up you can select your node configuration.

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
Sylph
Highly Voted 4 years, 1 month ago
Create a DSC metaconfiguration Copy the metaconfiguration to the virtual machines From the virtual machines, run setdsclocalconfigurationmanager.py https://docs.microsoft.com/en-us/azure/automation/automation-dsc-onboarding#enable-physicalvirtual-linux-machines
upvoted 63 times
d0bermannn
3 years, 8 months ago
+ no need to add vms as dsc nodes since we have installed PowerShell Desired State Configuration (DSC) on the virtual machines and ran register.py already.
upvoted 5 times
...
Amrx
2 years, 11 months ago
Steps 4, 6/7 and 8 in that article make it clear that this is the correct answer, there should be no further argument about this.
upvoted 3 times
...
rdemontis
3 years, 2 months ago
Yours is the correct answer
upvoted 1 times
...
Ashutosh_9608
3 years, 8 months ago
correct Sylph https://docs.microsoft.com/en-us/azure/automation/automation-dsc-onboarding
upvoted 3 times
...
...
Optimist_Indian
Highly Voted 3 years, 3 months ago
Got this question in Feb-2022 exam.
upvoted 9 times
...
Yindave
Most Recent 1 year, 1 month ago
(not shure if it matters as the exam will be renewed the 4th of May) Got this in the exam today(26-04-2024) awnsered it wrong but still passed, ha!
upvoted 3 times
Gooldmember
7 months, 1 week ago
So the answers: 1. Create DSC metaconfiguration 2. Copy metaconfiguration to VMs 3. Run setdsclocalconfigurationmanager.py were not correct?
upvoted 2 times
...
...
vsvaid
1 year, 5 months ago
As mentioned by many others, I agree to 1. Create DSC metaconfiguration 2. Copy metaconfiguration to VMs 3. Run setdsclocalconfigurationmanager.py
upvoted 2 times
...
yana_b
1 year, 8 months ago
Answer provided by zellck is correct and is evidenced by the link mentioned by that user.
upvoted 1 times
...
zellck
2 years ago
1. Create DSC metaconfiguration 2. Copy metaconfiguration to VMs 3. Run setdsclocalconfigurationmanager.py https://learn.microsoft.com/en-us/azure/automation/automation-dsc-onboarding#enable-physicalvirtual-linux-machines - If you can't apply the PowerShell DSC metaconfigurations remotely, copy the metaconfigurations corresponding to the remote machines from the folder to the Linux machines. - Add code to call Set-DscLocalConfigurationManager.py locally on each Linux machine to enable for State Configuration.
upvoted 5 times
...
Fal991l
2 years, 2 months ago
Given answers are right. It's backed by GPT.
upvoted 1 times
Fal991l
2 years, 2 months ago
The correct sequence of actions for onboarding the Linux virtual machines using Azure Automation State Configuration and PowerShell DSC would be: Create a DSC metaconfiguration: The first step is to create a DSC metaconfiguration file that defines the desired state of the virtual machines. The metaconfiguration file should include the configuration settings that you want to apply to the virtual machines, as well as any necessary dependencies or resources. Copy the metaconfiguration to the virtual machines: Once the metaconfiguration file has been created, it needs to be copied to the virtual machines that you want to manage. You can use a variety of methods to copy the file, such as SCP or SFTP. Add the virtual machines as DSC nodes in Azure Automation: After the metaconfiguration file has been copied to the virtual machines, you need to add them as DSC nodes in Azure Automation. This allows Azure Automation to communicate with the virtual machines and apply the desired configuration settings.
upvoted 2 times
Fal991l
2 years, 2 months ago
The other options listed in the question are: Install Windows Management Framework 5.1 on the virtual machines: This option is not necessary, as Windows Management Framework is a set of tools that is used to manage Windows-based systems, and is not required for Linux-based systems. From the virtual machines, run setdsclocalconfigurationmanager.py: This option is also not necessary, as the virtual machines have already been registered with Azure Automation using the register.py script. Running setdsclocalconfigurationmanager.py on the virtual machines is used to configure the local DSC settings, which have already been configured in the DSC metaconfiguration file.
upvoted 1 times
...
...
...
AlexeyG
2 years, 3 months ago
got this in 02 March 2023 exams. scored 870 marks.
upvoted 4 times
...
syu31svc
2 years, 9 months ago
https://docs.microsoft.com/en-us/azure/automation/automation-dsc-onboarding#enable-physicalvirtual-linux-machines "Follow the directions in Generate DSC metaconfigurations section to produce a folder containing the required DSC metaconfigurations. Add code as follows to apply the PowerShell DSC metaconfigurations remotely to the machines to enable. Add code to call Set-DscLocalConfigurationManager.py" 1) Create DSC 2) Copy metaconfiguration 3) Run the .py script
upvoted 1 times
...
Mev4953
3 years, 3 months ago
https://docs.microsoft.com/en-us/powershell/dsc/getting-started/lnxgettingstarted?view=dsc-1.1#:~:text=SetDscLocalConfigurationManager.py,localhost.meta.mof
upvoted 1 times
...
meetj
3 years, 7 months ago
Given answer is right, step of "run setdscxxx " is for on-premise only
upvoted 1 times
victor90
3 years, 7 months ago
I don't think so. From the link below, it clearly states it supports third party cloud as well. The question also mention about third party cloud. https://docs.microsoft.com/en-us/azure/automation/automation-dsc-onboarding#enable-physicalvirtual-windows-machines
upvoted 2 times
...
...
erico
3 years, 11 months ago
Here the first step would be to create the DSC metaconfiguration Then copy the configuration to the remote machine And then run the setdsclocalconfigurationmanager.py file to apply the state configuration
upvoted 4 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 ...