nerdexam
Microsoft

DP-300 · Question #465

Hotspot Question You have an on-premises server named Server1 that has Microsoft SQL Server installed. Server1 contains a database named DB1. You have an Azure subscription that contains a user…

The correct answer is Role:: Contributor; Resource provider:: Microsoft.DataMigration. This question tests knowledge of the minimum RBAC role required to register resource providers and create Azure Database Migration Service instances, as well as identifying the correct resource provider for database migration.

Submitted by priya_blr· Mar 6, 2026Implement a secure environment

Question

Hotspot Question You have an on-premises server named Server1 that has Microsoft SQL Server installed. Server1 contains a database named DB1. You have an Azure subscription that contains a user named User1. You need to ensure that User1 can perform the following actions: - Register a resource provider to support migrating DB1 to Azure. - Create an Azure Database Migration Service instance. - Migrate DB1 to Azure SQL Database. The solution must follow the principle of least privilege. Which role should you assign to User1 for the subscription, and which resource provider should User1 register? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer:

Exhibit

DP-300 question #465 exhibit

Answer Area

  • Role:Contributor
    ContributorSQL DB ContributorSQL Server ContributorSQL Security Manager
  • Resource provider:Microsoft.DataMigration
    Microsoft.DataboxMicrosoft.DataMigrationMicrosoft.Migrate

Explanation

This question tests knowledge of the minimum RBAC role required to register resource providers and create Azure Database Migration Service instances, as well as identifying the correct resource provider for database migration.

Approach. The correct role to assign User1 is Contributor at the subscription level. The Contributor role allows the user to create and manage all types of Azure resources (including Azure Database Migration Service instances) and register resource providers, without granting the ability to manage access/permissions (which would require Owner). The Owner role would violate least privilege since it also grants permission management. The correct resource provider to register is Microsoft.DataMigration, which is the Azure resource provider that enables the Azure Database Migration Service. Without registering this provider, User1 cannot create a Database Migration Service instance or perform database migrations to Azure SQL Database.

Concept tested. The question tests understanding of Azure RBAC least privilege principles (Contributor vs Owner vs Reader), the requirement to register resource providers before using certain Azure services, and the specific resource provider namespace (Microsoft.DataMigration) associated with Azure Database Migration Service.

Reference. https://docs.microsoft.com/en-us/azure/dms/quickstart-create-data-migration-service-portal and https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#contributor

Topics

#Azure RBAC#least privilege#database migration#Azure DMS

Community Discussion

No community discussion yet for this question.

Full DP-300 Practice