Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 1 question 2 discussion

Actual exam question from Microsoft's AZ-204
Question #: 2
Topic #: 1
[All AZ-204 Questions]

DRAG DROP -
You have downloaded an Azure Resource Manager template to deploy numerous virtual machines. The template is based on a current virtual machine, but must be adapted to reference an administrative password.
You need to make sure that the password is not stored in plain text.
You are preparing to create the necessary components to achieve your goal.
Which of the following should you create to achieve your goal? Answer by dragging the correct option from the list to the answer area.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
vincyN90
Highly Voted 2 years, 1 month ago
Key Vault + Access Policy. Using Key Vault we create a secret containing our Password: https://docs.microsoft.com/en-us/azure/key-vault/secrets/quick-create-portal . Using an Access Policy we allow access to the previously created secret. Documentation Guide: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/key-vault-parameter?tabs=azure-cli
upvoted 38 times
...
moned
Highly Voted 1 year, 7 months ago
Is it me, or is the question misleading since it says "option" - singuar?
upvoted 7 times
Rene_Clevers
1 year, 6 months ago
I had the same problem
upvoted 2 times
...
...
man5484
Most Recent 1 month, 3 weeks ago
To ensure that the password is not stored in plain text in an Azure Resource Manager template, you should utilize an Azure Key Vault. Azure Key Vault provides a secure way to store and manage sensitive information such as passwords, cryptographic keys, and certificates. By storing the password in Azure Key Vault, it remains encrypted and can be securely accessed by authorized services or applications.
upvoted 1 times
...
nivramarvino
1 month, 3 weeks ago
The user just needs to reference the administrative password, right? Am I understanding this correctly? "The access policies aren't needed if the user is deploying a template that retrieves a secret. Add a user to the access policies only if the user needs to work directly with the secrets. The deployment permissions are defined in the next section." https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/key-vault-parameter?tabs=azure-cli#:~:text=The%20access%20policies%20aren%27t%20needed%20if%20the%20user%20is%20deploying%20a%20template%20that%20retrieves%20a%20secret.%20Add%20a%20user%20to%20the%20access%20policies%20only%20if%20the%20user%20needs%20to%20work%20directly%20with%20the%20secrets.%20The%20deployment%20permissions%20are%20defined%20in%20the%20next%20section.
upvoted 1 times
...
cemeti
3 months, 1 week ago
Using an Access Policy we allow access to the previously created secret. Documentation Guide: https://sites.google.com/view/learnmicrosoftcomenustrainingm/home
upvoted 1 times
...
mpxl
5 months, 2 weeks ago
They might update it to Key Vault + RBAC, because access policy is deprecated now
upvoted 5 times
...
dimipap3
1 year ago
Key Vault + Access Policy, Is the correct but the Access Policy option is legacy now, and most likely will be replaced with the option of Azure role-based access control instead of Access Policy
upvoted 5 times
...
SmartTechieGrv
1 year, 7 months ago
Key Vault and Access Policy both
upvoted 2 times
...
p2006
1 year, 8 months ago
https://learn.microsoft.com/en-us/azure/key-vault/general/assign-access-policy
upvoted 1 times
...
forgetfulalligator
1 year, 8 months ago
Azure Key Vault is the recommended approach for securely storing and managing secrets such as the administrative password used in an Azure Resource Manager template. However, an access policy can also be used to control access to a secret stored in a different Azure resource, such as an Azure Storage account.
upvoted 1 times
...
uffuchsi
1 year, 9 months ago
Key Vault & Access Policy
upvoted 1 times
...
Santmax
1 year, 10 months ago
Key Vault + Access Policy.
upvoted 1 times
...
Obioha
2 years, 6 months ago
https://www.examtopics.com/exams/microsoft/az-104/view/2/ Answer is correct, see question in AZ104 #20
upvoted 5 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 ...