Courseiva
Implement a secure environmentmediumMultiple SelectObjective-mapped

DP-300 Implement a secure environment Practice Question

Which TWO actions should you take to implement a secure environment for Azure SQL Database that meets the principle of least privilege?

⚠ Common exam trap

Test-takers frequently confuse server-level logins with contained database users, assuming that server-level logins are required for all Azure SQL Database scenarios, when in fact contained users with Azure AD authentication provide a more secure, least-privilege-compliant alternative.

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

Assign database roles instead of individual permissions.

Assigning database roles instead of individual permissions (Option A) aligns with the principle of least privilege by grouping necessary permissions into predefined roles, reducing the risk of over-privileging and simplifying permission management. Contained database users with Azure AD authentication (Option C) eliminate the dependency on server-level logins, allowing authentication at the database level and enabling fine-grained access control without granting server-wide privileges.

Answer analysis

Option-by-option breakdown

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

  • Assign database roles instead of individual permissions.

    Why this is correct

    Roles simplify permission management and follow least privilege.

  • Enable all database features for maximum functionality.

    Why it's wrong here

    This violates least privilege.

  • Use contained database users with Azure AD authentication.

    Why this is correct

    Contained users are scoped to the database.

  • Use server-level logins for all users.

    Why it's wrong here

    Server-level logins have more privileges than necessary.

  • Grant the db_owner role to all application users.

    Why it's wrong here

    db_owner has full control, which is excessive.

About these practice questions

One of 906 original DP-300 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.