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

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?
A) Yes
B) No

Microsoft AZ-104 Exam - Topic 2 Question 140 Discussion

Actual exam question for Microsoft's AZ-104 exam
Question #: 140
Topic #: 2
[All AZ-104 Questions]

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?

Show Suggested Answer Hide Answer
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


Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel