Bitzu

AZ-900 ยท Core architectural components

Resources and resource groups

Resources as the building blocks, resource groups as logical containers sharing a lifecycle, one group per resource, deleting a group deletes its resources.

Key points

  • Resource: any manageable Azure item (VM, database, web app).
  • Resource group: logical container for resources sharing a lifecycle; cannot be nested.
  • A resource is in exactly one group, but can be moved.
  • Group location only sets where metadata is stored; resources can be in other regions.
  • Deleting a group deletes its resources.
  • Policies, role assignments, locks: at group level; group tags are not inherited.

Source: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/overview

Practice questions

Single choice

How many resource groups can a single Azure resource belong to at the same time?

  1. Exactly one
  2. Up to two
  3. Up to ten
  4. Any number
Show answer

Answer: A. Exactly one

Each resource exists in exactly one resource group. You can move it to another group, but it never belongs to two at once.

Select all that apply

Which statements about resource groups are true?

  1. A resource can be moved to another resource group
  2. A resource group can contain child resource groups
  3. Resources can be in a different region than their group
  4. Tags on a group are inherited by every resource in it
  5. Deleting a group also deletes the resources inside it
Show answer

Answer: A. A resource can be moved to another resource group, C. Resources can be in a different region than their group, E. Deleting a group also deletes the resources inside it

You can move resources between groups, resources may live in a different region than their group, and deleting a group deletes its resources. Resource groups cannot contain other resource groups, and tags set on a group are not inherited by the resources in it.

True or false

Because a resource group has a location, every resource inside it must be deployed to that same region.

Show answer

Answer: False

False. Resources can be in other regions than their group; the group's location only determines where its metadata is stored. Keeping them in the same region is recommended, not required.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More AZ-900 topics in this module