exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 4 question 91 discussion

Actual exam question from Microsoft's AZ-500
Question #: 91
Topic #: 4
[All AZ-500 Questions]

You have an Azure subscription that contains a managed identity named Identity1 and the Azure key vaults shown in the following table.



KeyVault1 contains an access policy that grants Identity1 the following key permissions:

• Get
• List
• Wrap
• Unwrap

You need to provide Identity1 with the same permissions for KeyVault2. The solution must use the principle of least privilege.

Which role should you assign to Identity1?

  • A. Key Vault Crypto Service Encryption User
  • B. Key Vault Crypto User
  • C. Key Vault Reader
  • D. Key Vault Crypto Officer
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
Nickname01
Highly Voted 2 years, 5 months ago
I think it should be B: Key Vault Crypto User "Microsoft.KeyVault/vaults/keys/read", "Microsoft.KeyVault/vaults/keys/update/action", "Microsoft.KeyVault/vaults/keys/backup/action", "Microsoft.KeyVault/vaults/keys/encrypt/action", "Microsoft.KeyVault/vaults/keys/decrypt/action", "Microsoft.KeyVault/vaults/keys/wrap/action", "Microsoft.KeyVault/vaults/keys/unwrap/action", "Microsoft.KeyVault/vaults/keys/sign/action", "Microsoft.KeyVault/vaults/keys/verify/action"
upvoted 13 times
xRiot007
10 months, 2 weeks ago
A is correct. The KV Crypto User has permissions to sign, update, backup and so on which are more than required, violating the least privilege requirement. The KV Crypto Service Encryption User has exactly what the requirements need - Read (which includes get/list), wrap and unwrap.
upvoted 1 times
...
...
Nick66
Highly Voted 2 years, 5 months ago
Selected Answer: A
Why not Key Vault Crypto Service Encryption User "dataActions": [ "Microsoft.KeyVault/vaults/keys/read", List keys in the specified vault, or read properties and public material of a key. For asymmetric keys, this operation exposes public key and includes ability to perform public key algorithms such as encrypt and verify signature. Private keys and symmetric keys are never exposed. "Microsoft.KeyVault/vaults/keys/wrap/action", Wraps a symmetric key with a Key Vault key. Note that if the Key Vault key is asymmetric, this operation can be performed by principals with read access.javascript:void(0) "Microsoft.KeyVault/vaults/keys/unwrap/action" Unwraps a symmetric key with a Key Vault key.
upvoted 11 times
juandmi
2 years, 5 months ago
agree with A) given the principle of least privilege
upvoted 3 times
...
AzureJobsTillRetire
2 years, 5 months ago
Key Vault Crypto Service Encryption User can do: Read metadata of keys and perform wrap/unwrap operations. Only works for key vaults that use the 'Azure role-based access control' permission model. I have doubt about its capacity to GET. https://learn.microsoft.com/en-us/azure/key-vault/general/rbac-guide?tabs=azure-cli
upvoted 2 times
...
...
KindFlame
Most Recent 3 months ago
Selected Answer: A
A. Key Vault Crypto Service Encryption User https://learn.microsoft.com/en-us/azure/key-vault/general/rbac-guide?tabs=azure-cli#azure-built-in-roles-for-key-vault-data-plane-operations
upvoted 1 times
...
ITFranz
5 months, 1 week ago
Selected Answer: A
To support the answer: Key Vault Crypto Service Encryption User role provides get, list, wrap, and unwrap access to keys in Azure Key Vault6. Specifically, this role allows: Reading metadata of keys Listing keys in the specified vault Performing wrap operations Performing unwrap operations Answer: A
upvoted 2 times
...
Jimmy500
12 months ago
Answer is D. 1-Key vault Crypto Service Encryption user only has permission for wrap and unwrap, read keys (list) but can not get keys . 2-Key Vault crypto user- can have permission, sign, verify, read (list),encrpt,decrypt,backup,update but can not get keys. 3-Key vault reader, can read key(list) 4- Is the answer and most excessive permission I know question asks least privilidge but other roles does not have enough permission for list,get,wrap,unwrap operations
upvoted 1 times
...
wingcheuk
1 year, 5 months ago
Selected Answer: A
Both A and B can meet the required permissions, but B's permission is more than that. As the principle of least privilege is needed, A is the best answer here. Detail RBAC here: https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
upvoted 1 times
...
OrangeSG
1 year, 8 months ago
Selected Answer: A
The Key Vault Crypto Service Encryption User role allows the user to read metadata of keys and perform wrap/unwrap operations. This role is typically used when your application needs to use ASP.NET Core Data Protection with Key Vault keys. On the other hand, the Key Vault Crypto User role allows more access to operations for keys, such as data signing. This role is typically used when more access to operations is needed for keys. In terms of the specific permissions of Get/List/Wrap/Unwrap, both roles should be able to perform these operations. However, the Key Vault Crypto User role might have additional permissions that go beyond these specific ones.
upvoted 2 times
...
_punky_
1 year, 8 months ago
Selected Answer: A
Vault Crypto Service Encryption User: "Microsoft.KeyVault/vaults/keys/read", "Microsoft.KeyVault/vaults/keys/wrap/action", "Microsoft.KeyVault/vaults/keys/unwrap/action"
upvoted 2 times
...
TheProfessor
1 year, 8 months ago
Selected Answer: A
A. Key Vault Crypto Service Encryption User
upvoted 1 times
...
Catlyn
1 year, 9 months ago
While following principle of least privilege, Key Vault Crypto Service Encryption User (A) is the best fit. Key Vault Crypto Service Encryption User (Option A): Capabilities: Get: Can retrieve encryption-related information. List: Can list encryption-related information. Wrap: Can encrypt keys. Unwrap: Can decrypt keys. Whereas, Key Vault Crypto User and Key Vault Crypto Officer have the extra capabilities excluding the ones mentioned above: Key Vault Crypto User (Option B): Additional Capabilities: Purge: Can permanently delete keys. This action is irreversible. Recover: Can recover deleted keys within the retention period. Key Vault Crypto Officer (Option D): Additional Capabilities: Create: Can create new keys. Purge: Can permanently delete keys. This action is irreversible. Recover: Can recover deleted keys within the retention period.
upvoted 2 times
...
AzureAdventure
1 year, 9 months ago
Answer should A https://learn.microsoft.com/en-us/azure/key-vault/general/rbac-guide?tabs=azure-cli#:~:text=Key%20Vault%20Crypto%20Service%20Encryption%20User
upvoted 1 times
...
Self_Study
1 year, 10 months ago
I don't know how the voting messed up, but it is really C. On an exam on 7/8/23
upvoted 1 times
...
bibkam
2 years ago
Selected Answer: A
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#key-vault-crypto-service-encryption-user Description: "Read metadata of keys and perform wrap/unwrap operations. Only works for key vaults that use the 'Azure role-based access control' permission model."
upvoted 1 times
...
billo79152718
2 years, 1 month ago
Selected Answer: A
A. Key Vault Crypto Service Encryption User
upvoted 1 times
...
zellck
2 years, 1 month ago
Selected Answer: A
A is the answer. https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#key-vault-crypto-service-encryption-user - Read metadata of keys and perform wrap/unwrap operations.
upvoted 4 times
...
saturation97
2 years, 2 months ago
Answer: "A" Name: "Key Vault Crypto Service Encryption User", Id: "e147488a-f6f5-4113-8e2d-b22465e65bf6", IsCustom: false, Description: "Read metadata of keys and perform wrap/unwrap operations. Only works for key vaults that use the 'Azure role-based access control' permission model."
upvoted 2 times
...
PapaLion
2 years, 2 months ago
Selected Answer: A
The correct answer i A Look the detail: https://www.azadvertizer.net/azrolesadvertizer/e147488a-f6f5-4113-8e2d-b22465e65bf6.html The Crypto users have too many permissions
upvoted 3 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 ...