exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 7 question 74 discussion

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

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You plan to create a release pipeline that will deploy Azure resources by using Azure Resource Manager templates. The release pipeline will create the following resources:
✑ Two resource groups
✑ Four Azure virtual machines in one resource group
✑ Two Azure SQL databases in other resource group
You need to recommend a solution to deploy the resources.
Solution: Create a main template that has two linked templates, each of which will deploy the resources in its respective group.
Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
artisticcheese
Highly Voted 5 years, 6 months ago
Correct answer is A. 2 templates will work. No reason to complicate things with main and nested templates
upvoted 23 times
DivDevOps
5 years, 5 months ago
Correct answer is A
upvoted 5 times
...
...
Dalias
Highly Voted 3 years, 11 months ago
got this in 30 Jun 2021 exams. scored 800+ marks. correct answer is A
upvoted 7 times
...
karthikwarrior
Most Recent 1 year ago
Yes, this solution meets the goal. Creating a main template that has two linked templates, each deploying resources to its respective resource group, is a valid approach. This method allows for modularization and organization of the deployment process. The main template acts as the orchestrator, calling the linked templates for deploying resources in each resource group separately. So, the correct answer is: A. Yes
upvoted 2 times
...
vsvaid
1 year, 5 months ago
Selected Answer: A
finally yes
upvoted 1 times
...
yana_b
1 year, 10 months ago
Selected Answer: A
Provided answer is correct
upvoted 1 times
...
zellck
2 years ago
Selected Answer: A
A is the answer. https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/linked-templates?tabs=azure-powershell To deploy complex solutions, you can break your Azure Resource Manager template (ARM template) into many related templates, and then deploy them together through a main template. The related templates can be separate files or template syntax that is embedded within the main template.
upvoted 1 times
...
Madbo
2 years, 1 month ago
Yes, the solution of creating a main template that has two linked templates, each of which will deploy the resources in its respective group, meets the goal. This approach allows you to deploy the resources in a modular and organized way. The main template can call the linked templates, which can contain the Azure Resource Manager templates for each of the resource groups. This approach also enables you to manage the resources more easily, as each template is responsible for creating the resources in a specific group.
upvoted 1 times
...
syu31svc
2 years, 10 months ago
Selected Answer: A
This is the correct answer
upvoted 2 times
...
Eltooth
3 years ago
Selected Answer: A
is correct answer.
upvoted 2 times
...
rdemontis
3 years, 2 months ago
Selected Answer: A
correct, it works
upvoted 2 times
...
vglearn
4 years, 4 months ago
Answer is Yes, you can use either nested or linked templates to deploy resources across resource groups.
upvoted 2 times
d0bermannn
3 years, 8 months ago
agreed, all but linked template will work, but no best practice way)
upvoted 1 times
...
...
vglearn
4 years, 4 months ago
Answer is Yes, you can use either nested or linked templates to deploy resources across resource groups.
upvoted 1 times
...
Revolver72
5 years, 4 months ago
A is the correct answer - nested and linked templates also work, but this will also work. The question asks whether this would meet the goal, not whether it's optimised.
upvoted 4 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 ...