exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 13 discussion

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

You have a project in Azure DevOps. You have an Azure Resource Group deployment project in Microsoft Visual Studio that is checked in to the Azure DevOps project.
You need to create a release pipeline that will deploy resources by using Azure Resource Manager templates. The solution must minimize administrative effort.
Which task type should you include in the solution?

  • A. Azure Cloud Service Deployment
  • B. Azure RM Web App Deployment
  • C. Azure PowerShell
  • D. Azure App Service Manage
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
erickim007
Highly Voted 3 years, 5 months ago
The given answer is correct. When we create visual studio ARM deployment project, it comes with deploy powershell script and it is present in the solution. You can execute the powershell to deploy the resources with minimum efforts. The answer, therefore, should be Powershell.
upvoted 10 times
...
bearandflower
Highly Voted 4 years ago
I think the answer is correct. ref: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/add-template-to-azure-pipelines
upvoted 5 times
tom999
3 years, 9 months ago
According to the link you provided, "Use ARM template deployment task" minimizes effort. But that option is not given here. So "Add task that runs an Azure PowerShell script" would be right here.
upvoted 5 times
rdemontis
2 years, 8 months ago
agree with you
upvoted 1 times
...
Kalaismile06
3 years, 6 months ago
Yes, I agree with tom.. ARM template deployment option is not available, so the correct answer should be "Azure PowerShell script" task
upvoted 2 times
...
...
...
vsvaid
Most Recent 11 months, 2 weeks ago
Selected Answer: C
Agree with C
upvoted 1 times
...
vsvaid
11 months, 2 weeks ago
Azure Powershell
upvoted 1 times
...
xRiot007
1 year, 4 months ago
If a task is not available in the given answers, Powershell becomes the next best option. So answer is C
upvoted 1 times
...
syu31svc
2 years, 4 months ago
Selected Answer: C
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/add-template-to-azure-pipelines "Add task that runs an Azure PowerShell script" Answer is C
upvoted 2 times
...
Eltooth
2 years, 6 months ago
Selected Answer: C
C is correct answer.
upvoted 1 times
...
UnknowMan
2 years, 7 months ago
Selected Answer: C
Correct we need powershell to use .\Deploy-AzTemplate.ps1
upvoted 1 times
...
rdemontis
2 years, 8 months ago
Selected Answer: C
correct https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/add-template-to-azure-pipelines
upvoted 1 times
...
ChauPhan
3 years ago
Because it needs to create infrastructure (AZ resources by ARM), not deploy to the services so only Azure PowerShell
upvoted 2 times
...
Sant25
3 years, 2 months ago
ANS - C https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/add-template-to-azure-pipelines
upvoted 1 times
...
DeepMoon
3 years, 8 months ago
There is a Web App Deployment Task. (Look it up.) Answer B:
upvoted 2 times
Chander2976
3 years, 6 months ago
True. But the question says "deploy resources". Resources can also include storage, network, CosmosDB, etc. and not just a web app. I think PowerShell is correct.
upvoted 3 times
...
...
sugarbubbles
4 years, 1 month ago
There is an "ARM template deployment task" that is more convenient than a poweshell script. Isn't the option "Azure RM Web App Deployment" refering to that task?
upvoted 3 times
...
Alexevansigg
4 years, 2 months ago
Actually if one wants to minimise Administration, they should use regular Powershell task on the self-hosted agent and use the managed-identity of the build agent to do deployment via ARM... then you remove the need for managing a Service Connection in ADO... but thats not an option here so I guess Azure Powershell it is.
upvoted 4 times
...
Shivansh123
4 years, 2 months ago
is this correct?
upvoted 3 times
Hanuman
4 years ago
Yes because there is no arm template deployment task and other way is using powershell or CLI. So PowerShell is correct.
upvoted 8 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 ...