Exam AZ-400 All QuestionsBrowse all questions from this exam
Question 24

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.)

    Correct Answer: A, B

    To ensure that the virtual machines maintain a uniform configuration and to minimize administrative effort, two key components should be utilized. First, Azure Resource Manager templates, which are JSON files that enable you to define and automate the deployment and management of Azure resources, including virtual machines. This ensures that all VMs are created with a consistent configuration. Second, the PowerShell Desired State Configuration (DSC) extension for Windows, which allows you to declare the desired state of the virtual machines and ensures that they remain in that state. DSC automates the configuration management process, reducing the need for manual configuration and ongoing administrative effort.

Discussion
balajim212Options: AB

Correct answer is A & B

rdemontisOptions: 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

deltarj

Yap, I agree.. seems "maintain" is the key word.

kleansoulOptions: 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.

Msds1981Options: 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.

ProcurementOptions: AB

Correct answer is A & B

zellckOptions: 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.

jojorabbit2021Options: AB

A & B correct

PavloOptions: AB

A & B <_____________>

OlehTOptions: 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

FeriAZOptions: 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.

vsvaidOptions: AB

Correct answer is A&B

vsvaidOption: B

Power DSC extension will be installed on node when connected to Azure Automation. B is correct answer

vsvaid

Ignore my previous answer, please select AB

ieboaixOptions: AB

agree with A & B

yana_bOptions: 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.

MrKingpin

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/

Whatsamattr81Options: AD

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.

Whatsamattr81Options: AB

Maintain a uniform configuration with minimal administrative effort... the answers is clearly DSC.. and if you were using DSC, you wouldn't need to use a custom script extension. So logically (IMHO) it can only be ARM and DSC