exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 3 question 73 discussion

Actual exam question from Microsoft's AZ-104
Question #: 73
Topic #: 3
[All AZ-104 Questions]

You have an Azure Storage account that contains 5,000 blobs accessed by multiple users.

You need to ensure that the users can view only specific blobs based on blob index tags.

What should you include in the solution?

  • A. a role assignment condition
  • B. a stored access policy
  • C. just-in-time (JIT) VM access
  • D. a shared access signature (SAS)
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
Siraf
Highly Voted 1 year, 8 months ago
Anser is A: An Azure role assignment condition is an optional check that you can add to your role assignment to provide more fine-grained access control. For example, you can add a condition that requires an object to have a specific tag to read the object. https://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-role-assignments-portal
upvoted 24 times
...
sreemog
Highly Voted 1 year, 2 months ago
The answer is D. A. role assignment condition: This would control access at the container level, not individual blobs. You need more granular control for specific blobs based on tags. B. stored access policy: This can be used to define access levels for a container or blob, but it wouldn't allow you to filter based on tags dynamically. C. just-in-time (JIT) VM access: This is used for managing access to virtual machines, not blob storage. D. shared access signature (SAS): This provides temporary access to blobs with granular control over permissions. You can generate SAS tokens with conditions based on blob index tags, allowing users to access only the relevant blobs.
upvoted 9 times
...
Josh219
Most Recent 1 month, 1 week ago
Selected Answer: D
D. a shared access signature (SAS) If your blobs are tagged and you need users to access only certain tags, you create a SAS that includes conditions related to those tags. When the user attempts to access, they match the SAS signature constraints, effectively only viewing blobs with the permitted tags. On the other hand, Role assignment conditions might offer control at a broader scope and not as precisely at the blob level based on index tags.
upvoted 1 times
...
Josh219
1 month, 1 week ago
D. a shared access signature (SAS) While role assignment conditions are powerful for broad access management, SAS tokens provide the flexibility and granularity needed to limit access based on blob index tags efficiently.
upvoted 1 times
...
[Removed]
5 months, 1 week ago
Role assignment conditions allow you to apply conditions to role-based access control (RBAC) roles. In this case, you can use blob index tags as a condition to restrict access to specific blobs. Here are why the other options aren't suitable: Stored access policy is used to manage shared access signatures (SAS) over a long period but does not filter access based on blob index tags. Just-in-time (JIT) VM access is for managing virtual machine access and does not apply to Azure Storage. Shared access signature (SAS) can provide limited-time access to blobs but doesn't inherently work with blob index tags for filtering. Therefore, the correct answer is: A. a role assignment condition.
upvoted 1 times
...
117b84e
5 months, 3 weeks ago
chatGpt said: To ensure that users can view only specific blobs based on blob index tags in an Azure Storage account, you should include Option D: a shared access signature (SAS) in the solution.
upvoted 2 times
...
[Removed]
6 months ago
Selected Answer: A
it´s A
upvoted 1 times
...
SofiaLorean
8 months, 3 weeks ago
Selected Answer: A
A. Role Assignment https://learn.microsoft.com/en-us/azure/storage/blobs/storage-auth-abac-portal
upvoted 2 times
...
varinder82
9 months, 3 weeks ago
Final Answer: Role assignment Condition
upvoted 1 times
...
tashakori
1 year ago
A is correct
upvoted 1 times
...
Watcharin_start
1 year ago
Selected Answer: A
A role assignment condition can `Restrict access to blobs based on a blob index tag` Ref: https://learn.microsoft.com/en-us/azure/storage/blobs/storage-auth-abac-portal
upvoted 2 times
...
devops_devops
1 year, 1 month ago
This question was in exam 15/01/24
upvoted 6 times
Nickybambi
8 months, 4 weeks ago
What is the answer?
upvoted 1 times
...
...
Xerinzxx
1 year, 2 months ago
Answer: A Role assignment Condition
upvoted 1 times
...
SgtDumitru
1 year, 3 months ago
Selected Answer: A
Answer: A - Role assignment condition. Stored access policy is a setup for SAS token. But since we don't mention here how users will access blobs, this means it should work both for SAS and AAD, which automatically removes option B & D.
upvoted 3 times
rumino
1 year, 2 months ago
Option B is also invalid because: A stored access policy is defined on a resource container, which can be a blob container, table, queue, or file share. https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview
upvoted 1 times
...
...
amsioso
1 year, 3 months ago
Answer: D Finding data using blob index tags can be performed by the Storage Blob Data Owner and by anyone with a Shared Access Signature that has permission to find blobs by tags (the f SAS permission). In addition, RBAC users with the Microsoft.Storage/storageAccounts/blobServices/containers/blobs/filter/action permission can perform this operation. https://learn.microsoft.com/en-us/azure/storage/blobs/storage-manage-find-blobs?tabs=azure-portal#finding-data-using-blob-index-tags Remember the principle of least privilege roles/access.
upvoted 3 times
...
Ahkhan
1 year, 3 months ago
Here is the whole procedure to do it via role assignment condition. Answer is A. This is a fairly new feature called ABAC (Attribute-based access control). https://learningbydoing.cloud/blog/control-access-to-azure-storage-blobs-with-abac/
upvoted 6 times
...
PrabodhM
1 year, 3 months ago
Answer - D https://learn.microsoft.com/en-us/azure/storage/blobs/storage-manage-find-blobs?tabs=azure-portal Important Setting blob index tags can be performed by the Storage Blob Data Owner and by anyone with a Shared Access Signature that has permission to access the blob's tags (the t SAS permission).
upvoted 3 times
PrabodhM
1 year, 3 months ago
SAS permissions Callers using a shared access signature (SAS) may be granted scoped permissions to operate on blob index tags.
upvoted 1 times
...
PrabodhM
1 year, 3 months ago
Permissions and authorization You can authorize access to blob index tags using one of the following approaches: Using Azure role-based access control (Azure RBAC) to grant permissions to a Microsoft Entra security principal. Use Microsoft Entra ID for superior security and ease of use. For more information about using Microsoft Entra ID with blob operations, see Authorize access to data in Azure Storage. Using a shared access signature (SAS) to delegate access to blob index. For more information about shared access signatures, see Grant limited access to Azure Storage resources using shared access signatures (SAS). Using the account access keys to authorize operations with Shared Key. For more information, see Authorize with Shared Key.
upvoted 1 times
josola
1 year, 3 months ago
So the answer is both "A" and "D"?
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago