Microsoft Azure Administrator Associate AZ-104 Practice Question
You are an Azure administrator at a company that wants to restrict the sizes of virtual machines that can be deployed in a resource group named 'Production'. You need to implement a solution to enforce this requirement.
What should you use?
Configure a cost management budget on the resource group to limit spending on virtual machines.
Use a management group to control virtual machine size restrictions on the resource group.
Apply a resource lock to the resource group to prevent unauthorized changes.
Assign an Azure Policy to the resource group that restricts allowed virtual machine sizes.
Assigning an Azure Policy to the 'Production' resource group allows you to enforce restrictions on the types of resources that can be deployed within it. By creating a policy definition that specifies allowed virtual machine sizes and assigning it to the resource group, you ensure compliance with company standards. Resource locks prevent deletion or modification of resources but do not restrict the types of resources that can be created. Cost management budgets help monitor and control spending but cannot enforce resource configurations. Management groups are used to organize subscriptions and apply policies at a higher level but are not necessary for controlling settings within a single resource group.
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 an Azure Policy?
Open an interactive chat with Bash
How do resource locks differ from Azure Policies?
Open an interactive chat with Bash
Can a cost management budget enforce restrictions on VM sizes?
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...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .