Courseiva
Implement Azure securityhardMultiple SelectObjective-mapped

AZ-204 Implement Azure security Practice Question

Your company stores sensitive documents in an Azure Storage account. You need to ensure that only authorized Microsoft Entra ID users can read the documents, and that shared keys (account access keys) cannot be used. Which two steps must you take? (Choose the most appropriate single answer that describes the combined action.)

⚠ Common exam trap

The trap is that user-delegation SAS tokens appear to use Entra ID, but they do not restrict access to specific users; anyone with the token can access. The correct approach is to disable shared key access and assign RBAC roles to Entra ID users.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Disable shared key access and configure RBAC roles for Microsoft Entra ID users

To ensure that only authorized Microsoft Entra ID users can read documents and that shared keys cannot be used, you must disable shared key access and configure RBAC roles to authorize specific users. Option A does exactly that. Option D disables shared key access but uses user-delegation SAS tokens, which can be used by anyone possessing the token, not only authorized Entra ID users. Therefore, only option A fully meets the requirement.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Disable shared key access and configure RBAC roles for Microsoft Entra ID users

    Why this is correct

    Ly disables shared key access and configures RBAC roles, ensuring only authorized Microsoft Entra ID users can read documents.

  • Enable Microsoft Entra ID authentication and use SAS tokens with a stored access policy

    Why it's wrong here

    Microsoft Entra ID authentication is enabled, but SAS tokens with a stored access policy still rely on account keys, violating the requirement to disable shared keys.

  • Enable firewall and virtual network service endpoints, then assign RBAC roles

    Why it's wrong here

    Firewalls and virtual network service endpoints control network access but do not restrict authentication methods; shared keys could still be used.

  • Use user-delegation SAS tokens and disable shared key access

    Why it's wrong here

    User-delegation SAS tokens are signed with Microsoft Entra ID credentials, but they can be used by anyone possessing the token, not only authorized Entra ID users. Additionally, disabling shared key access alone does not enforce Entra ID authentication; RBAC roles are still needed.

Quick reference

Access Control Model Comparison

ModelAcronymWho Controls Access?Best For
Discretionary Access ControlDACResource ownerSmall teams, file shares
Mandatory Access ControlMACSystem / security labelsClassified govt / military
Role-Based Access ControlRBACAdministrator (via roles)Enterprise environments
Attribute-Based Access ControlABACPolicy engine (user + resource attributes)Fine-grained, dynamic policies
Rule-Based Access ControlRuBACSystem rules / ACLsFirewall rules, network ACLs

About these practice questions

Courseiva writes every AZ-204 question from scratch — 881 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.