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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AZ-500 topic 4 question 83 discussion

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

HOTSPOT -
You have an Azure subscription that contains an Azure key vault. The role assignments for the key vault are shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Only User1, User 2, and User4
* Owner (User1) - Has full access to all resources including the right to delegate access to others.
* Key Vault Crypto Officer (User2)
Perform any action on the keys of a key vault, except manage permissions.
* Key Vault Administrator (User 4)
Perform all data plane operations on a key vault and all objects in it, including certificates, keys, and secrets
Box 2: Only User1, User3, and User 4
* Key Vault Secrets Officer (User 3)
Perform any action on the secrets of a key vault, except manage permissions. Only works for key vaults that use the 'Azure role-based access control' permission model.
Reference:
https://docs.microsoft.com/en-us/azure/key-vault/general/rbac-guide

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
koreshio
Highly Voted 1 year, 7 months ago
User1 - has ownership at subscription level therefore has access to the control plane of the key vault but not to the data plane. therefore User1 can manage RBAC permissions but cannot create/access keys or secrets (unless bthey can grant themself 'Key Administrator' access and do this, which again does not show up in this RBACs listed so we cannot assume that) - Therefore User1 has not access to the keys or secrets in this vault User2 - Is a Key VAult Crypto officer for the KeyVault1. so according to this: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 , they can manage keys (but not access secrets or manage permissions) User3 - Is a Secrets officer for the KeyVault1 scope. they can access secrets data in this key vault User4 - Here's a tricky one. while they are indeed given 'Key Vault Administrator', notice the scope is set to "../KeyVault1/Keys/Key1". So they should only be able to work with that key. Therefore, I believe the answer is: 1st box - Only User2 2nd box - Only User3
upvoted 48 times
arseyam
1 year, 6 months ago
Correct answer tested and verified in lab - it was interesting to know that you can assign RBAC roles to keys
upvoted 1 times
...
Jhill777
1 year, 6 months ago
Wrong. I just created a subscription (Owner Role), create a Key Vault, confirmed IAM of the vault and Owner was inherited from the subscription. I assigned NO additional RBAC and was able to generate a key and a secret. Created another user, assigned Owner role at Subscription. IAM in Key Vault says Owner for new user is also inherited.
upvoted 2 times
Jhill777
1 year, 6 months ago
However, the new user cannot create a key or a secret so it seems whoever creates the Vault can do whatever they want but additional Subscription Owners will need RBAC assigned on Key Vaults. I guess since they did specify we were dealing with existing Key Vaults and Keys, I'm wrong.
upvoted 1 times
Jhill777
1 year, 6 months ago
Further confusion, the "User2) I created is the Key Vault Crypto Officer for the Vault1 but when I click on the "Keys", it states, "The operation "List" is not enabled in this key vault's access policy." I can't see any keys or generate/import any new ones.
upvoted 1 times
Jhill777
1 year, 6 months ago
Nevermind. I messed up. Skipped the part where there Vault needed to be created with RBAC and not "Vault Access Policy". Koreshio's answer is correct.
upvoted 2 times
saturation97
1 year, 1 month ago
Wow...
upvoted 3 times
...
...
...
...
...
alfaAzure
7 months, 3 weeks ago
Well verse explanation. thank you!
upvoted 1 times
...
ITFranz
5 months, 2 weeks ago
Great answer to this topic. 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 Thank you
upvoted 1 times
...
...
zellck
Highly Voted 1 year ago
1. Only User2 2. Only User3 https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#owner DataActions: none https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#key-vault-crypto-officer Perform any action on the keys of a key vault, except manage permissions. https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#key-vault-secrets-officer Perform any action on the secrets of a key vault, except manage permissions. https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#key-vault-administrator Perform all data plane operations on a key vault and all objects in it, including certificates, keys, and secrets. Cannot manage key vault resources or manage role assignments.
upvoted 7 times
...
JaridB
Most Recent 2 weeks ago
1. Can create keys in a key vault - user1, user2, and user4 2. Can create secrets in a key vault - user1, user3, and user4
upvoted 1 times
...
wardy1983
6 months, 2 weeks ago
User1 - has ownership at subscription level therefore has access to the control plane of the key vault but not to the data plane. therefore User1 can manage RBAC permissions but cannot create/access keys or secrets (unless bthey can grant themself 'Key Administrator' access and do this, which again does not show up in this RBACs listed so we cannot assume that) - Therefore User1 has not access to the keys or secrets in this vault User2 - Is a Key VAult Crypto officer for the KeyVault1. so according to this: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 , they can manage keys (but not access secrets or manage permissions) User3 - Is a Secrets officer for the KeyVault1 scope. they can access secrets data in this key vault User4 - Here's a tricky one. while they are indeed given 'Key Vault Administrator', notice the scope is set to "../KeyVault1/Keys/Key1". So they should only be able to work with that key. 1st box - Only User2 2nd box - Only User3
upvoted 2 times
...
hfk2020
7 months, 2 weeks ago
How can I generate keys without access policies?
upvoted 1 times
Ed2learn
6 months, 3 weeks ago
access policies are being deprecated for key vault. I am surprised by the number of questions still surrounding them. RBAC roles are encouraged now.
upvoted 1 times
...
...
AzureAdventure
8 months ago
Key Vault Crypto Officer : Perform any action on the keys of a key vault, except manage permissions. Key Vault Secrets Officer : Perform any action on the secrets of a key vault, except manage permissions
upvoted 1 times
...
heatfan900
8 months, 1 week ago
>OWNER CAN PERFORM ANY OPERTIONS FROM MICROSOFT: >Key Vault Administrator Perform all data plane operations on a key vault and all objects in it, including certificates, keys, and secrets. Cannot manage key vault resources or manage role assignments. Only works for key vaults that use the 'Azure role-based access control' permission model. >Key Vault Secrets Officer Perform any action on the secrets of a key vault, except manage permissions. Only works for key vaults that use the 'Azure role-based access control' permission model. >Key Vault Crypto Officer Perform any action on the keys of a key vault, except manage permissions. Only works for key vaults that use the 'Azure role-based access control' permission model.
upvoted 1 times
hfk2020
5 months, 1 week ago
Owner cannot perform any data plane actions
upvoted 2 times
...
...
Rachy
9 months, 2 weeks ago
Ist Box - Only User 2 "nd Box - Only User 3 https://learn.microsoft.com/en-us/azure/key-vault/general/rbac-guide?tabs=azure-cli
upvoted 1 times
...
Ario
10 months, 1 week ago
I agree with Koreshio 1st box - Only User2 2nd box - Only User3
upvoted 1 times
...
maknik
11 months, 3 weeks ago
in exam 26/05
upvoted 1 times
...
Amnesia
12 months ago
1st box - Only User2 2st box - Only User 3 and 4 permissions that are granted to users with the Key Vault Administrator role: Create, delete, and manage keys, secrets, and certificates. Manage key vault policies. Manage key vault access control. Manage key vault audit logs. permissions that are granted to users with the Key Vault Crypto Officer role: Create, import, export, rotate, and delete keys. Manage key permissions. Audit key activity. permissions that are granted to users with the Key Vault Secrets Officer role: Create, update, delete, and list secrets. Recover deleted secrets. Manage secret permissions. Audit secret activity.
upvoted 3 times
Mnguyen0503
4 months, 1 week ago
Wrong because you haven't considered the scope of the role assignment. User4 scope is limited to just a key.
upvoted 1 times
...
...
majstor86
1 year, 2 months ago
Can create keys - Only User2 Can create secrets - Only User3
upvoted 2 times
...
tutonata
1 year, 2 months ago
Rights differ when using RBAC vs Policy based. Oddly enough when using policy based, an owner can create key, secrets, ... This is NOT the case when using RBAC since owner doesn't have any DataActions at all listed under his role definition. Seen that we see role assigments we have to assumed we're in RBAC mode, hence the Owner can't do sh... and cannot create keys or secrets. This gives us: can create keys in the key vault: User2 (Keyvault Crypto officer for keys ); Key Vault Administrator (User4) perm is set on a specific key, not at the vault1 level so he can't do anything at the vault since the delegation was done on a specific key. can create secrets in the key vault: User3 (Key Vault Secrets Officer); scoping for KV Admin is set on a single existing key so doesn't apply to the vault, hence it's useless Hope this clarifies all your doubts.
upvoted 1 times
...
OrangeSG
1 year, 3 months ago
Box 1: Only User2 Box 2: Only User3 User1: To create key/secret, you as owner still need to assign yourself the Key Vault Admin role even though you're an Owner of the Azure Key Vault. For the Key Vault Administrator role, you'll see that you have some Management Plan operations but you'll also have Data Plane operations. Reference Should a Key Vault Owner be able to create/read/update Secrets after changing to RBAC? https://learn.microsoft.com/en-us/answers/questions/432805/should-a-key-vault-owner-be-able-to-create-read-up
upvoted 3 times
...
AzureJobsTillRetire
1 year, 4 months ago
Box1: User1 and User 2 Box2: User1 and User3 Explanations: User1: Owner of the subscription. User1 "can" create keys and secrets in the key vault. User1: Owner of the subscription. User1 "can" create keys in the key vault. User2: Key Vault Crypto Officer for KeyVault1. User2 can manage keys but not secrets User3: Key Vault Secrets Officer for KeyVault1. User3 can manage secrets but not keys User4: Key Vault Administrator for Key1 in ./KeyVault1/keys/. User4 only has control over one existing key. User4 cannot create either a key or a secret.
upvoted 5 times
AzureJobsTillRetire
1 year, 4 months ago
It does not make sense to suggest that an owner of the subscription CANNOT create keys and secrets in a key vault. He might not immediately able to do so, but he certainly can if he assigns himself the right RBAC roles.
upvoted 1 times
...
AzureJobsTillRetire
1 year, 3 months ago
Got this question in my exam yesterday. Passed with 935+. Box1 chosen Only User1, User2, and User4. Box2 chosen Only User1 and User3.
upvoted 5 times
...
...
Kelly8023
1 year, 7 months ago
Both answers are correct. https://learn.microsoft.com/en-us/azure/key-vault/general/rbac-guide?tabs=azure-cli
upvoted 2 times
...
Pasapugazh
1 year, 7 months ago
Role assignment for user4 is scoped to a particular key in the key vault. Not sure whether we have to take it into consideration or not.
upvoted 1 times
somenick
1 year, 7 months ago
Good catch! This will disqualify user4
upvoted 2 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 ...