Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-104 Exam - Topic 2 Question 140 Discussion

Posted by Rueben on Sep 28, 2026 at 10:45 AM

You have an Azure Storage account named storage1.

You need to enable a user named User1 to list and regenerate storage account keys for storage1.

Solution: You assign the Storage Account Key Operator Service Role to User1.

Does this meet the goal?

Suggested Answer: A

The built-in Storage Account Key Operator Service Role grants exactly the Microsoft.Storage/storageAccounts/listkeys/action and Microsoft.Storage/storageAccounts/regeneratekey/action permissions, which allow a principal to list and regenerate the account's shared keys without granting broader data-plane or control-plane rights (it cannot create/delete storage accounts, configure networking, or manage RBAC). This matches the stated requirement precisely and follows least-privilege practice, since roles like Contributor or Owner would also work but grant unnecessary additional permissions. Reader and Storage Blob Data Reader would not permit key operations at all. Because the assigned role's actions match the task exactly, this solution meets the goal.

Official Reference

Azure built-in roles --- Storage Account Key Operator Service Role --- https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/storage#storage-account-key-operator-service-role


Get Premium AZ-104 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
11 comments · newest first
JO
Joni
I feel it's B) No. Key regeneration needs more permissions.
CE
Ceola 5 days ago
I think the answer is A) Yes. It makes sense.
BU
Buck 10 days ago
Yup, that's how it works!
VE
Velda 15 days ago
Wait, can they really regenerate keys with just that role?
CA
Cassi 20 days ago
Totally agree, that role fits perfectly!
DO
Dominque 26 days ago
I thought you needed a higher role for that?
TR
Truman 1 month ago
Yes, that's correct!
KR
Kristeen 1 month ago
I’m a bit confused; I thought there was a different role for listing keys. I need to double-check the permissions for this role.
TA
Talia 1 month ago
I’m pretty confident that the Storage Account Key Operator role is specifically for key management, so I would lean towards "Yes."
HY
Hyun 2 months ago
I remember a practice question about roles and permissions, and I feel like this role might not give full access to regenerate keys.
CY
Cyril 2 months ago
I think assigning the Storage Account Key Operator Service Role should allow User1 to manage the keys, but I'm not entirely sure if it covers listing them too.
0/2000 characters

Save Cancel