exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 33 discussion

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

DRAG DROP -
You have an Azure DevOps organization named Contoso.
You have 10 Azure virtual machines that run Windows Server 2019. The virtual machines host an application that you build and deploy by using Azure Pipelines.
Each virtual machine has the Web Server (IIS) role installed and configured.
You need to ensure that the web server configurations on the virtual machines is maintained automatically. The solution must provide centralized management of the configuration settings and minimize management overhead.
Which four actions should you perform in sequence? To answer, move the appropriate 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:
Step1: Create an Azure Automation account.
An Azure Automation account is required.
Step 2: Install the custom Desired State Configuration (DSC) extension on the virtual machines
Under the hood, and without an administrator having to remote into a VM, the Azure VM Desired State Configuration extension registers the VM with Azure
Automation State Configuration.
Step 3: Onboard the virtual machines to the Azure Automation account.
Step 4: Compile the Desired State Configuration (DSC) configuration.
Create a DSC configuration and compile it.
Reference:
https://docs.microsoft.com/en-us/azure/automation/automation-dsc-onboarding

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
LeeVee
Highly Voted 4 years ago
1. Create Az Automation 2. Upload/Compile DSC Configuration 3. Register or Onboard VM to be Managed 4. Install VM extention https://docs.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state#compile-a-configuration-into-a-node-configuration
upvoted 43 times
Gluckos
3 years, 2 months ago
https://docs.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state 1. Create Azure Automation 2. Onboard 3. Install 4. Compile https://docs.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state#compile-a-configuration-into-a-node-configuration this is correct
upvoted 9 times
kamyrkon
3 years, 1 month ago
1. Create Azure Automation 2. Onboard > On the State Configuration page, select the Nodes tab, then click Add. 3. Install > If the machine doesn't have the PowerShell desired state extension installed and the power state is running, click Connect 4. Compile > By default, the DSC node is checked for compliance with the node configuration every 30 minutes < but we need create conf first. https://docs.microsoft.com/en-us/azure/automation/automation-dsc-onboarding https://docs.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state#check-the-compliance-status-of-a-managed-node
upvoted 3 times
...
...
Gluckos
3 years, 2 months ago
https://docs.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state 1. Create Azure Automation 2. Onboard 3. Compile 4. Install https://docs.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state#compile-a-configuration-into-a-node-configuration change my mind
upvoted 9 times
...
simoziyadi
3 years, 4 months ago
Only the following three steps are required the "Install VM extension" is done automatically by the azure automation account. 1. Create Az Automation 2. Upload/Compile DSC Configuration 3. Register or Onboard VM to be Managed
upvoted 7 times
Mattt
10 months, 1 week ago
You see we need 4 options to answer this question!
upvoted 1 times
...
...
...
kovas6
Highly Voted 4 years ago
create compile onboard install?
upvoted 26 times
...
vsvaid
Most Recent 1 year, 4 months ago
Only first three steps are needed. I think Onboarding VM autmatically installs VM extension. Since 4 steps are required, I will add Exntension step as well 1. Create Azure Automation 2. Compile 3. Onboard 4. Install Extansion
upvoted 6 times
...
varinder82
1 year, 4 months ago
Final answer after going through all comments 1. Create Az Automation 2. Compile DSC Configuration 3. Onboard VM to be Managed 4. Install VM extention
upvoted 2 times
...
Firdous586
1 year, 5 months ago
https://learn.microsoft.com/en-us/azure/automation/quickstarts/dsc-configuration 1. Create Azure Automation 2. Onboard 3. Compile 4. Install Correct answer tested in lab as well
upvoted 4 times
...
CirusD
1 year, 6 months ago
Create an Azure Automation account. An Azure Automation account is necessary to manage and apply DSC configurations. Create a .zip file and upload it to the Azure Blob storage. Before you can apply a DSC configuration to your nodes, you need to prepare it. This involves creating a .zip file containing your DSC configurations and any required resources. Compile the Desired State Configuration (DSC) Configuration. After uploading, the DSC configuration needs to be compiled in Azure Automation to make it ready for assignment to target nodes. Onboard the virtual machines to the Azure Automation account. Onboarding ensures the virtual machines are recognized by Azure Automation and can receive DSC configurations.
upvoted 3 times
Dankho
3 months, 3 weeks ago
What happened to installing the DSC extension?
upvoted 1 times
...
...
gabo
1 year, 6 months ago
As per https://learn.microsoft.com/en-us/training/modules/protect-vm-settings-with-dsc/3-use-powershell-dsc 1. Create Azure Automation 2. Compile DSC configuration 3. Register VM 4. Install DSC VM Extension
upvoted 6 times
...
gabo
1 year, 6 months ago
Compile the configuration before you add the VM's to the Automation account
upvoted 1 times
...
yana_b
1 year, 7 months ago
1. Create Automation account as it is a prerequisite for the next steps 2. Install the custom DSC extension (on Windows or on Linux) ->https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-overview 3. Compile the config. file into a MOF document to make it eligible for the DSC -> https://learn.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state#compile-a-configuration-into-a-node-configuration 4. Onboard the VMs to the AZ Automation Account
upvoted 1 times
...
osagiestar
1 year, 9 months ago
Create AZ Automation as prerequisite. Onboard VM Upload/install VM extension Compile DSC Configuration You need to onboard VM before you can install the DSC Configuration then compile it. https://learn.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state Onboard a VM to be managed by Azure Automation DSC Upload a configuration to Azure Automation Compile a configuration into a node configuration
upvoted 1 times
...
liuliangzhou
2 years, 7 months ago
It's similar to previous questions 243: 1.create 2.compile 3.onboard 4.install
upvoted 5 times
...
syu31svc
2 years, 8 months ago
The order to me should be 1) Create automation account (this is what we want to "minimize overhead") 2) compile DSC 3) Install DSC 4) Onboard to the account You'd have to compile the configuration first then install it right? Last step is to onboard to the automation account This is what I think makes the most logical sense to me
upvoted 2 times
...
Eltooth
2 years, 11 months ago
Create AZ Automation Account Create .ps1 and upload to storage (not in answers but needed) Compile DSC config Install DSC extension Onboard machine to Automation account
upvoted 1 times
...
somenkr
3 years ago
1. Create an Azure Automation account. 2. Compile the Desired State Configuration (DSC) configuration. 3. Onboard the virtual machines to the Azure Automation account. 4.Install the custom Desired State Configuration (DSC) extension on the virtual machines
upvoted 6 times
...
Cheehp
3 years ago
Selected during exam. Create an Azure Automation account. Install the custom Desired State Configuration (DSC) extension on the virtual machines Onboard the virtual machines to the Azure Automation account. Compile the Desired State Configuration (DSC) configuration
upvoted 1 times
...
rdemontis
3 years ago
In my opinion, the question is wrong. It asks us what four actions to take in sequence to maintain the state of the VMs automatically. But actually of the proposed actions only 3 are selectable: 1. Create an Az Automation Account 2. Compile the DSC config 3. Onboard the VM https://docs.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state In theory, before compiling the DSC configuration, you should create it and upload it to the automation account. But this action is not reported. The other two have nothing to do with Azure Automation because they concern the manual installation of the Powershell DSC extension on the VM. If you want to do this you need to create two files: a ps1 file that contains the configuration and a psd1 file that contains the configuration data. The ps1 file must be zipped and both must be uploaded to a storage account. Then you can install the DSC extension on the VM and upload the two files, the zipper and the psd1. https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-overview
upvoted 3 times
kennynelcon
2 years, 9 months ago
You Mlatonis from 104 ?
upvoted 7 times
...
...
Whirly
3 years ago
Onboard a VM to be managed by Azure Automation DSC Upload a configuration to Azure Automation Compile a configuration into a node configuration Assign a node configuration to a managed node Check the compliance status of a managed node From Azure Docs https://docs.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state#compile-a-configuration-into-a-node-configuration
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago