Skip to Content

AZ-140: Does assigning the Azure Virtual Desktop service principal the Owner role allow Admin1 to assign Scaling1 to Pool1?

Discover whether assigning the Owner role to the Azure Virtual Desktop service principal enables Admin1, with Desktop Virtualization Contributor role, to assign Scaling1 to Pool1 in Azure subscription Sub1.

Table of Contents

Question

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem.

After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.

You have an Azure subscription named Sub1 that contains the resources shown in the following table.

Name Description
Pool1 Azure Virtual Desktop host pool
Scaling1 Scaling plan

You have a user named Admin1 that is assigned the Desktop Virtualization Contributor role for Sub1.

You need to ensure that Admin1 can assign Scaling1 to Pool1.

Solution: You assign the Azure Virtual Desktop service principal the Owner role for Sub1.

Does this meet the goal?

A. Yes
B. No

Answer

No, assigning the Azure Virtual Desktop service principal the Owner role for Sub1 does not meet the goal of ensuring that Admin1 can assign Scaling1 to Pool1.

B. No

Explanation

The Desktop Virtualization Contributor role assigned to Admin1 already provides sufficient permissions to manage Azure Virtual Desktop resources, including assigning scaling plans to host pools. Giving the Azure Virtual Desktop service principal the Owner role for the entire subscription is excessive and unnecessary for this specific task.

To enable Admin1 to assign Scaling1 to Pool1, they simply need to have the appropriate Azure Virtual Desktop roles, such as Desktop Virtualization Contributor or Desktop Virtualization Host Pool Contributor, scoped to the relevant resource group or resources. The service principal’s role does not directly impact Admin1’s ability to perform this action.

In summary, the solution of assigning the Owner role to the Azure Virtual Desktop service principal does not address the goal of allowing Admin1 to assign the scaling plan to the host pool. Admin1’s existing Desktop Virtualization Contributor role should be sufficient for this task.

Microsoft AZ-140 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Microsoft AZ-140 exam and earn Microsoft AZ-140 certification.