AZ-400 · Question #52
AZ-400 Question #52: Real Exam Question with Answer & Explanation
The correct answer is A: Yes. For small to medium solutions, a single template is easier to understand and maintain. You can see all the resources and values in a single file. For advanced scenarios, linked templates enable you to break down the solution into targeted components. You can easily reuse these te
Question
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 resource in its respective group. Does this meet the goal?
Options
- AYes
- BNo
Explanation
For small to medium solutions, a single template is easier to understand and maintain. You can see all the resources and values in a single file. For advanced scenarios, linked templates enable you to break down the solution into targeted components. You can easily reuse these templates for other scenarios. 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/templates/linked-templates https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/linked- templates?tabs=azure-powershell
Community Discussion
No community discussion yet for this question.