Courseiva
Implement a secure environmenthardMultiple ChoiceObjective-mapped

DP-300 Implement a secure environment Practice Question

Your company uses Azure SQL Database with Microsoft Entra ID (formerly Azure AD) authentication. You need to grant a group of external consultants access to a specific database with read-only permissions. The consultants are from a partner organization that uses their own Microsoft Entra ID tenant. What should you do?

⚠ Common exam trap

It's easy for candidates to assume you can directly map a contained database user to an external UPN without first establishing cross-tenant identity via B2B collaboration, or they mistakenly think Azure SQL Database can natively trust another Entra ID tenant.

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

Invite the consultants as guest users in your Microsoft Entra ID tenant using B2B collaboration, then create a contained database user for each guest user

External consultants from a different Microsoft Entra ID tenant must first be invited as guest users via B2B collaboration to your tenant. Once they are guest users, you can create contained database users in Azure SQL Database mapped to their guest user identities (e.g., their UPN in your tenant) and grant them read-only permissions (e.g., db_datareader role). This approach respects the isolation of the partner's tenant while enabling access through your tenant's identity.

Answer analysis

Option-by-option breakdown

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

  • Invite the consultants as guest users in your Microsoft Entra ID tenant using B2B collaboration, then create a contained database user for each guest user

    Why this is correct

    Guest users can authenticate to Azure SQL Database using their home tenant credentials and are then granted database permissions.

  • Create a contained database user mapped to the consultants' Microsoft Entra ID user principal names (UPNs)

    Why it's wrong here

    Contained database users require the Microsoft Entra ID users to exist in the same tenant.

  • Configure Azure SQL Database to trust the partner's Microsoft Entra ID tenant

    Why it's wrong here

    Azure SQL Database does not support cross-tenant trust for authentication.

  • Create a SQL Server authentication login and user for the consultants

    Why it's wrong here

    This would use SQL authentication, not Microsoft Entra ID authentication.

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.