exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 1 question 24 discussion

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

You have created an Azure DevOps project for a new application that will be deployed to a number of Windows Server 2016 Azure virtual machines.
You are preparing a deployment solution that allows for the virtual machines to maintain a uniform configuration, and also keep administrative effort with regards to configuring the virtual machines to a minimum.
Which of the following should be part of your solution? (Choose two.)

  • A. Azure Resource Manager templates
  • B. The PowerShell Desired State Configuration (DSC) extension for Windows
  • C. Azure pipeline deployment groups
  • D. The Custom Script Extension for Windows
  • E. Azure pipeline stage templates
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

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
balajim212
Highly Voted 3 years, 5 months ago
Correct answer is A & B
upvoted 35 times
...
rdemontis
Highly Voted 2 years, 8 months ago
Selected Answer: AB
Considering the requirements - maintain a uniform configuration for virtual machines - minimize administrative effort I think correct answer is A & B. To mantain the configuration status of a VM you must use DSC. To minimize the effort of creating the VM you can use an ARM template so that you can reuse it for each VM. Deployment groups requires more effort. https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-template https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deployment-groups/?view=azure-devops
upvoted 23 times
deltarj
2 years, 6 months ago
Yap, I agree.. seems "maintain" is the key word.
upvoted 7 times
...
...
abhmala1
Most Recent 22 hours, 39 minutes ago
Selected Answer: AB
ARM templates for deploying VMs and DSC for maintaining them (apply and autocorrect or monitor)
upvoted 1 times
...
OlehT
4 months, 4 weeks ago
Selected Answer: AB
The Azure DSC extension uses the Azure VM Extension framework to deliver, enact, and report on DSC configurations running on Azure VMs. The most common approach for deploying the DSC extension is to use Azure Resource Manager templates. https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-overview
upvoted 1 times
...
FeriAZ
9 months, 1 week ago
Selected Answer: AB
A. Azure Resource Manager (ARM) templates: These are JSON files that define the infrastructure and configuration of your Azure resources, including virtual machines. Using ARM templates ensures consistent configuration across all VMs by defining the desired state in code. This facilitates repeatable and automated deployments, reducing manual configuration and potential errors. B. PowerShell Desired State Configuration (DSC) extension for Windows: This extension allows you to manage the configuration of your Windows VMs using DSC in an automated fashion. DSC leverages declarative scripts to specify the desired state of the system, and the extension ensures that the VMs converge towards that configuration state. This method simplifies management and reduces administrative effort, as you can configure settings centrally through DSC scripts rather than manually on each VM.
upvoted 2 times
...
vsvaid
12 months ago
Correct answer is A&B
upvoted 1 times
...
vsvaid
12 months ago
Selected Answer: B
Power DSC extension will be installed on node when connected to Azure Automation. B is correct answer
upvoted 1 times
vsvaid
11 months, 2 weeks ago
Ignore my previous answer, please select AB
upvoted 1 times
...
...
kleansoul
1 year, 2 months ago
Selected Answer: AD
A & C is the correct answer. DSC will keep the desired state of the config but here the question states that the minimum effort required from Azure DevOps which is done using Deployment Scripts which is custom scripts extension for Windows.
upvoted 3 times
...
ieboaix
1 year, 4 months ago
agree with A & B
upvoted 1 times
...
yana_b
1 year, 4 months ago
Selected Answer: AB
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-windows The PowerShell DSC Extension for Windows is published and supported by Microsoft. The extension uploads and applies a PowerShell DSC Configuration on an Azure VM. The DSC Extension calls into PowerShell DSC to enact the received DSC configuration on the VM. Azure VM extensions can be deployed with Azure Resource Manager templates. Templates are ideal when deploying one or more virtual machines that require post deployment configuration. A newer version of DSC is now generally available, managed by a feature of Azure Automange named machine configuration. The machine configuration feature combines features of the Desired State Configuration (DSC) extension handler, Azure Automation State Configuration, and the most commonly requested features from customer feedback.
upvoted 1 times
...
Msds1981
1 year, 4 months ago
Selected Answer: AB
A. Azure Resource Manager templates: Azure Resource Manager (ARM) templates are declarative templates that define the infrastructure and configuration of your Azure resources. With ARM templates, you can define the virtual machines' configuration, including their operating system, networking, storage, and more. By using ARM templates, you can ensure that all virtual machines are deployed with a consistent and standardized configuration, reducing manual effort and minimizing configuration drift. B. The PowerShell Desired State Configuration (DSC) extension for Windows: DSC is a feature in PowerShell that enables you to declare and manage the configuration of target nodes, such as Windows Server 2016 virtual machines. By using the DSC extension in Azure DevOps, you can apply and enforce the desired configuration on the virtual machines during the deployment process. DSC ensures that the virtual machines remain in the desired state, and any configuration drift is automatically corrected.
upvoted 4 times
...
Pavlo
1 year, 6 months ago
A & B <_____________>
upvoted 2 times
...
Procurement
1 year, 6 months ago
Selected Answer: AB
Correct answer is A & B
upvoted 3 times
...
zellck
1 year, 6 months ago
Selected Answer: AB
AB is the answer. https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-overview The primary use for the Azure Desired State Configuration (DSC) extension for Windows PowerShell is to bootstrap a VM to the Azure Automation State Configuration (DSC) service. This service provides benefits that include ongoing management of the VM configuration and integration with other operational tools, such as Azure Monitor. You can use the extension to register your VMs to the service and gain a flexible solution that works across Azure subscriptions.
upvoted 3 times
...
MrKingpin
1 year, 9 months ago
Similar question where A&B vs. A&D are combined into a single answer https://www.examtopics.com/discussions/microsoft/view/16114-exam-az-400-topic-6-question-12-discussion/
upvoted 1 times
...
jojorabbit2021
1 year, 10 months ago
Selected Answer: AB
A & B correct
upvoted 3 times
...
Whatsamattr81
1 year, 10 months ago
Changing my last answer... "keep administrative effort with regards to configuring the virtual machines to a minimum" - that's definitely NOT DSC. ARM and Extensions.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago