HOTSPOT - You need to implement Role1. Which command should you run before you create Role1? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area:
Addition:
Create customer azure role from Json
https://docs.microsoft.com/en-us/powershell/module/az.resources/new-azroledefinition?view=azps-6.2.0#example-2--create-using-json-file
Alright makes sense. We first need to get the basis of the RBAC "Reader" role. To do that we use the PowerShell/CLI command to first get the role definition. Once we have that, we can use the "New" commandlet to create a custom role based on the JSON definition.
To implement Role1, which is a custom Azure role based on the Reader role, you need to retrieve the definition of the Reader role first. The appropriate command to use for this purpose is:
Get-AzRoleDefinition -Name "Reader" and ConvertTo-Json
Has anyone actually ever tried this irl? The answer is technically correct, but ConvertTo-Json has a default object depth of 2. I wonder if there are information lost on just using the default depth rather than specifying it to go deeper with the -depth parameter.
https://learn.microsoft.com/en-us/azure/role-based-access-control/tutorial-custom-role-powershell
This also shows why we need to convert the output to JSON
Correct. As the requirement states "Create a custom Azure role named Role1 that is based on the Reader role"...
... then you first need to know what the Reader role implies.
This section is not available anymore. Please use the main Exam Page.AZ-104 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Gromble_ziz
Highly Voted 3 years, 10 months agoGromble_ziz
3 years, 10 months agoPanapi
2 years, 3 months agoatilla
Highly Voted 3 years ago[Removed]
Most Recent 7 months agoPMPft17
7 months, 1 week ago23169fd
11 months, 3 weeks agoMatAlves
1 year, 3 months agoRams786
1 year, 8 months agoDimsumDestroyer
1 year, 9 months agoiRish
1 year, 11 months agoCyberKelev
2 years, 2 months agomichaelmorar
3 years, 1 month agoajayasa
3 years, 2 months agoajayasa
3 years, 2 months agoajayasa
3 years, 2 months agobenvdw
3 years, 2 months agohusam421
3 years, 3 months agoFabioVi
3 years, 3 months ago