ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 64 - AZ-400 discussion

Report
Export

Your company has a project in Azure DevOps for a new application. The application will be deployed to several Azure virtual machines that run Windows Server 2019.

You need to recommend a deployment strategy for the virtual machines. The strategy must meet the following requirements:

Ensure that the virtual machines maintain a consistent configuration.

Minimize administrative effort to configure the virtual machines.

What should you include in the recommendation?

A.
Azure Resource Manager templates and the PowerShell Desired State Configuration (DSC) extension for Windows
Answers
A.
Azure Resource Manager templates and the PowerShell Desired State Configuration (DSC) extension for Windows
B.
Deployment YAML and Azure pipeline deployment groups
Answers
B.
Deployment YAML and Azure pipeline deployment groups
C.
Azure Resource Manager templates and the Custom Script Extension for Windows
Answers
C.
Azure Resource Manager templates and the Custom Script Extension for Windows
D.
Deployment YAML and Azure pipeline stage templates
Answers
D.
Deployment YAML and Azure pipeline stage templates
Suggested answer: C

Explanation:

The Custom Script Extension downloads and executes scripts on Azure virtual machines. This extension is useful for post deployment configuration, software installation, or any other configuration or management tasks. Scripts can be downloaded from Azure storage or GitHub, or provided to the Azure portal at extension run time. The Custom Script Extension integrates with Azure Resource Manager templates, and can be run using the Azure CLI, PowerShell, Azure portal, or the Azure Virtual Machine REST API.

Incorrect Answers:

B: YAML doesn't work with Azure pipeline deployment groups.

Reference:

https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows

asked 02/10/2024
Christopher Fiotes
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first