ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 102 - AZ-720 discussion

Report
Export

HOTSPOT

A company uses a service principal to assign RBAC roles for an application hosted in Azure.

The company attempts to create a rule assignment. The following error displays:Insufficient privileges to complete the operation. You need to resolve the issue.

How should you complete the CLI command? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.


Question 102
Correct answer: Question 102

Explanation:

To resolve the issue, you should complete the CLI command as follows:

az role assignment create – assignee contoso-object-id --role “Owner” --scope

This command assigns the Owner role to the service principal with the object ID of contoso-object-id at the specified scope. The Owner role grants full access to all resources, including the right to assign roles to others1. The assignee parameter specifies the security principal to assign the role to2. The scope parameter specifies the level of access for the role assignment, such as a resource group or a subscription3.

asked 02/10/2024
Elham Alasmari
36 questions
User
0 comments
Sorted by

Leave a comment first