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?
Click on the arrows to vote for the correct answer
A. B.A
To deploy your solution, you can use either a single template or a main template with many related templates. The related template can be either a separate file that is linked to from the main template, or a template that is nested within the main template.
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-linked-templatesThe provided solution to create a main template that has two linked templates, each of which will deploy the resources in its respective group meets the goal of deploying the Azure resources using Azure Resource Manager templates. Therefore, the correct answer is A. Yes.
This solution is a recommended approach to deploying Azure resources using Azure Resource Manager templates. The main template serves as the entry point for the deployment and references two separate linked templates that deploy resources to the two different resource groups.
Linked templates provide a way to modularize large templates into smaller, reusable templates that can be developed and maintained separately. Each linked template contains a subset of resources to be deployed, making the deployment process more efficient and manageable.
In this case, the main template will reference two linked templates - one for deploying the four Azure virtual machines and the other for deploying the two Azure SQL databases. The linked templates can be versioned, and changes made to them can be tracked easily.
Overall, using linked templates in conjunction with a main template simplifies the deployment process and enables efficient management of Azure resources.