ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 156 - AZ-500 discussion

Report
Export

You plan to use Azure Resource Manager templates to perform multiple deployments of identically configured Azure virtual machines. The password for the administrator account of each deployment is stored as a secret in different Azure key vaults.

You need to identify a method to dynamically construct a resource ID that will designate the key vault containing the appropriate secret during each deployment. The name of the key vault and the name of the secret will be provided as inline parameters.

What should you use to construct the resource ID?

A.
a key vault access policy
Answers
A.
a key vault access policy
B.
a linked template
Answers
B.
a linked template
C.
a parameters file
Answers
C.
a parameters file
D.
an automation account
Answers
D.
an automation account
Suggested answer: C

Explanation:

You reference the key vault in the parameter file, not the template. The following image shows how the parameter file references the secret and passes that value to the template.

Reference:

https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-keyvault-parameter

asked 02/10/2024
Muhammad Imran Khan
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first