Use Azure Resource Manager Flashcards
What enables you to work with Azure resources as a group?
Azure Resource Manager
Name three actions that Azure Resource Manager enables you to perform against groups.
- Deploy
- Update
- Delete
Name three solutions that Azure Resource Manager provides to manage resources.
- Security
- Auditing
- Tagging
What five tools use Azure Resource Manager to provide a consistent management experience?
- Azure PowerShell
- Azure CLI
- Azure portal
- REST API
- Client SDKs
RBAC
Role-Based Access Control
In Azure Resource Manager, what replaces scripts?
Declarative templates
Resource
A manageable item that is available through Azure.
Name examples of Azure “resources”.
i.e. virtual machine, storage account, web app, database, and virtual network
Resource Group
A container that holds related resources for an Azure solution. A logical collection of resources.
Resource Provider
A service that supplies the resources you can deploy and manage through Resource Manager.
Name examples of Azure “resource providers”.
Microsoft.Compute
Microsoft.Storage
Microsoft.Web
What resource provider supplies virtual machines?
Microsoft.Compute
What supplies the storage accounts?
Microsoft.Storage
What resource provider supplies resources for web apps?
Microsoft.Web
Template
A JavaScript Object Notation (JSON) file that defines one or more resources to deploy to a resource group.
Declarative Syntax
Circumvents programming commands with conversational English.
What resource provider stores keys and secrets and key vaults?
Microsoft.KeyVault
What is the format used to describe a resource provider with its resource type?
{resource-provider}/{resource-type}
i.e. Microsoft.KeyVault/vaults
Can resources exist in more than one resource group?
No
Can resource groups be renamed?
No
Can resource groups contain different types of resources?
Yes
Can resource groups contain resources from different regions?
Yes
Can resources within a resource group have different lifecycles?
No
Can resources be added or removed from a resource group at any time?
Yes
Can resources be moved between resource groups?
Yes
Can a resource group be used to scope access control for administration?
Yes
Can resources in different resource groups have interactions?
Yes
Why do resource groups need a location?
Specifies where the metadata is stored.
What protects resources from accidental deletion in Azure?
Resource Manager Locks
Read-Only lock
Prevents any change to the resource.
Delete lock
Prevents deletion.
What does it mean to “lock” a resource group?
You can’t add, update, or delete resources in the resource group.
What effect does moving a resource between resource groups have?
It locks the affected resource groups.
When deleting a resource group, what else is deleted?
Resourced contained within
What Powershell cmdlet removes a resource group?
Remove-AzResourceGroup
Can you delete resources from within a resource group?
Yes
Is there a maximum limit for Azure resources?
Yes
What Resource tab shows resource limits?
Usage + Quotas
A new project has several resources that need to be administered together. Which of the following strategies would provide a good solution?
- Azure templates
- Azure resource groups
- Azure subscriptions
Azure resource groups
Which of the following situations would be good example of when to use a resource lock?
- A ExpressRoute circuit with connectivity back to the on-premises network.
- A non-production virtual machine used to test occasional application builds.
- A storage account used to temporarily store images processed in a development environment.
A ExpressRoute circuit with connectivity back to the on-premises network.
Which of the following is true about resource groups?
- Resources can be in only one resource group.
- Role-based access control can’t be applied to a resource group
- Resource groups can be nested.
Resources can be in only one resource group.