Courseiva
Implement a secure environmenteasyMultiple ChoiceObjective-mapped

DP-300 Implement a secure environment Practice Question

Exhibit

Refer to the exhibit.

```json
{
  "role": "Azure SQL Database Contributor",
  "scope": "/subscriptions/12345/resourceGroups/ProdRG/providers/Microsoft.Sql/servers/prodserver/databases/proddb",
  "assignee": "user@contoso.com",
  "condition": "((!(ActionMatches{'Microsoft.Sql/servers/databases/read'})) OR (@Request[Microsoft.Sql/servers/databases/read:DataAction] NotExists))",
  "conditionVersion": "2.0"
}
```

Refer to the exhibit. The exhibit shows an Azure role assignment with a condition. When user@contoso.com tries to read data from the database 'proddb', what will be the effect of this condition?

⚠ Common exam trap

Many candidates assume a condition only restricts certain operations or that metadata reads are separate from data reads, but Azure RBAC deny assignments unconditionally block the specified action, and 'read data' encompasses all data retrieval operations on the database.

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

The user will be denied the ability to read data from the database.

The condition in the Azure role assignment explicitly denies read access to the database 'proddb' for user@contoso.com. In Azure RBAC, a deny assignment overrides any allow assignments, so even if the user has other roles granting read permissions, this condition will block all data read operations on that specific database. Therefore, the user will be denied the ability to read data from the database.

Answer analysis

Option-by-option breakdown

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

  • The user will be allowed to read all data from the database.

    Why it's wrong here

    The condition actually denies read data actions, not allows them.

  • The user will be denied the ability to read data from the database.

    Why this is correct

    The condition denies read data actions because it excludes the data read action from the role.

  • The user will be able to read the database metadata but not the data.

    Why it's wrong here

    The condition affects data read, not metadata read.

  • The user will be able to assign the role to others.

    Why it's wrong here

    The condition does not affect role assignment permissions.

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

This DP-300 question is part of Courseiva's 906-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 DP-300 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 DP-300 exam.