Using Azure Resource Manager (ARM) Flashcards

1
Q

We might put all resources that are core infrastructure into this resource group. But we could also organize them strictly by resource type. For example, put all VNets in one resource group, all virtual machines in another resource group, and all Azure Cosmos DB instances in yet another resource group.

We could organize them by environment (prod, qa, dev).

We could organize them by department (marketing, finance, human resources).

A

Resource Group - Organizing principles

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Since resource groups are a scope of RBAC, you can organize resources by who needs to administer them.

A

Resource Group - Organizing for authorization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

placing resources in the same resource group is a way to group them for usage in billing reports. If you’re trying to understand how your costs are distributed in your Azure environment, grouping them by resource group is one way to filter and sort the data to better understand where costs are allocated.

A

Resource Group - Organizing for billing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

name/value pairs of text data that you can apply to resources and resource groups.

A

Tags

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ALI CLI “Tag”

A

az resource tag –tags Department=Finance \

   - -resource-group msftlearn-core-infrastructure-rg \
   - -name msftlearn-vnet1 \
   - -resource-type "Microsoft.Network/virtualNetworks"
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

You can use tags to group your billing data. For example, if you’re running multiple VMs for different organizations, use the tags to group usage by cost center. You can also use tags to categorize costs by runtime environment, such as the billing usage for VMs running in the production environment. When exporting billing data or accessing it through billing APIs, tags are included in that data and can be used to further slice your data from a cost perspective.

A

tags for organization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Azure Policy - Note

A

You can enforce naming conventions across your Azure environment. You can also enforce that specific tags are applied to resources. Let’s take a look at how policies work.

We could use policy to restrict which Azure regions we can deploy resources to.

We could use policy to restrict which types of virtual machine sizes can be deployed.

We could also use policy to enforce naming conventions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

RBAC allows you to perform specific actions, such as read, write, or delete. Therefore, if one role assignment grants you read permissions to a resource group, and a different role assignment grants you write permissions to the same resource group, you will have both read and write permissions on that resource group.

A

RBAC - Allow Access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

a setting that can be applied to any resource to block modification or deletion.

A

Resource locks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly