Courseiva

DP-300 Implement a secure environment Practice Question

You have an Azure SQL Database named SalesDB. You need to grant a user named 'ReportingUser' the ability to read all data in the Sales schema but not modify any data. You want to follow the principle of least privilege. What should you do?

⚠ Common exam trap

The trap here is defaulting to built-in roles like db_datareader, which grant access to the entire database rather than a specific schema.

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

✓

Grant SELECT permission on the Sales schema to ReportingUser.

Granting SELECT on the Sales schema directly to ReportingUser provides read-only access to only that schema, adhering to least privilege. The other options grant broader permissions that either include unnecessary access to other schemas or allow data modification, which is not required.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Grant SELECT permission on the Sales schema to ReportingUser.

    Why this is correct

    Granting SELECT on the Sales schema specifically allows ReportingUser to read all data in that schema while denying access to other schemas. This follows the principle of least privilege by limiting permissions to only what is needed. It is the most precise way to meet the requirement.

  • ✗

    Add ReportingUser to the db_datareader role.

    Why it's wrong here

    The db_datareader role grants SELECT permission on all tables and views in the database, not just the Sales schema. This violates the principle of least privilege because ReportingUser would have read access to all schemas, not only Sales. Therefore, it does not meet the requirement.

  • ✗

    Grant CONTROL permission on the Sales schema to ReportingUser.

    Why it's wrong here

    CONTROL permission grants full administrative rights on the schema, including the ability to modify data and schema objects. This far exceeds the requirement of read-only access and violates least privilege. It would allow ReportingUser to alter or drop objects, which is not desired.

  • ✗

    Add ReportingUser to the db_owner role.

    Why it's wrong here

    The db_owner role grants full control over the entire database, including the ability to modify data, schema, and security settings. This is excessive and does not follow least privilege. It would give ReportingUser far more permissions than needed for read-only access to the Sales schema.

About these practice questions

Courseiva writes every DP-300 question from scratch — 574 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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Microsoft exam blueprint

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.