Microsoft Azure Administrator Associate AZ-104 Practice Question
Your company wants to allow a group of developers to manage virtual machines within a specific resource group in Azure. They should be able to start, stop, and restart virtual machines, but should not have permissions to delete virtual machines or assign roles to others. You need to create a role that meets these requirements. What should you do?
Add the developers to the 'Virtual Machine Operator' built-in role at the subscription level.
Create an Azure AD role with the required permissions and assign it to the developers.
Assign the developers the 'Contributor' role on the resource group.
Create a custom Azure RBAC role with the required permissions and assign it to the developers at the resource group scope.
Creating a custom Azure RBAC role with the required permissions and assigning it to the developers at the resource group scope is the correct solution. This approach allows you to include specific actions like starting, stopping, and restarting virtual machines while excluding delete permissions and role assignments. Assigning it at the resource group scope ensures the permissions are limited to that resource group.
Assigning the 'Contributor' role would grant excessive permissions, including the ability to delete resources. Creating an Azure AD role is inappropriate because Azure AD roles manage permissions to Azure Active Directory resources, not Azure resources like virtual machines. Assigning the 'Virtual Machine Operator' built-in role at the subscription level is too broad in scope and may not precisely meet the permission requirements.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Azure RBAC and how does it work?
Open an interactive chat with Bash
What is the process for creating a custom role in Azure?
Open an interactive chat with Bash
What types of permissions can be assigned to an Azure custom role?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Manage Azure identities and governance
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access