Practice Test

True or False: Resource groups in Azure are a way to organize resources that share the same management, access control, and compliance policies.

  • True
  • False

Answer: True

Explanation: In Azure, a resource group is a container that holds related resources for an Azure solution.

A single resource group can support resources that reside in different regions. True or False?

  • True
  • False

Answer: True

Explanation: A resource group is simply a logical container for resources deployed on Azure. Its location only affects metadata. It is absolutely possible for a resource group to contain resources that are in different regions.

Which of the following cannot be managed in Azure’s Resource Group?

  • a) Storage accounts
  • b) Virtual machines
  • c) Networks
  • d) Compliance policies

Answer: d) Compliance policies

Explanation: Compliance policies are not a resource that can be contained or managed in a Resource Group. Its scope is managed at the Management Group or subscription level, not at the Resource Group level.

In Azure, resources can only belong to one resource group. True or False?

  • True
  • False

Answer: True

Explanation: Each resource can only exist in one resource group. If you want to move a resource to another resource group, you would need to move the resource.

You can manage access control for a particular resource at the Resource Group level using Role-Based Access Control (RBAC). True or False?

  • True
  • False

Answer: True

Explanation: Access to resources can be managed with Role-Based Access Control (RBAC). You can set access controls on a whole resource group and it will cascade down to the resources within that group.

In Azure, it is possible to move resources from one resource group to another. True or False?

  • True
  • False

Answer: True

Explanation: With Azure, you can move resources to a new resource group or subscription. However, there are a few conditions and there may be some downtime for the resource during the move.

What is the relationship between resources, resource groups, and Azure subscriptions?

  • a) A resource group can contain multiple subscriptions and resources.
  • b) A subscription can contain multiple resource groups and resources.
  • c) A resource can contain multiple resource groups and subscriptions.
  • d) None of the above.

Answer: b) A subscription can contain multiple resource groups and resources.

Explanation: A subscription in Azure houses resource groups, and a resource group houses individual resources.

You can’t add or remove resources after a resource group has been created. True or False?

  • True
  • False

Answer: False

Explanation: You can add, remove or move resources after a resource group has been created.

Which one of these is not a valid reason to use multiple Resource Groups in Azure?

  • a) To delegate administrative tasks.
  • b) To control user access and permissions.
  • c) To allow for regional failover.
  • d) To increase the storage limit of a single resource group.

Answer: d) To increase the storage limit of a single resource group.

Explanation: Resource groups do not have a storage limit. Their purpose is to organize Azure resources for ease of management.

A resource group must be created before resources can be deployed. True or False?

  • True
  • False

Answer: True

Explanation: A resource group is a unit of management for resources in Azure. Every resource that is created must be placed into a resource group.

Interview Questions

What is the primary function of a resource group in Microsoft Azure?

A resource group in Microsoft Azure is a container that holds related resources for an Azure solution. The resource group includes those resources that you want to manage as a group.

Can a resource span across multiple resource groups in Azure?

No. In Azure, a resource can only exist in one resource group.

Can you move a resource from one resource group to another?

Yes, you can move a resource from one resource group to another. The user must have the necessary permissions to create resources in the target resource group.

Can you delete a resource group without deleting the resources within it?

No. Deleting a resource group will also delete all the resources contained within it.

What happens if you apply a tag to a resource group?

Tags assigned to the resource group are not inherited by the resources in that group. You would have to manually add tags to individual resources.

Can you lock a resource group in Microsoft Azure?

Yes. You can lock a resource group to prevent accidental deletion or modification of critical resources.

Can a resource group exist without any resources in it?

Yes, a resource group can exist without any resources. It’s just a container and does not require resources to exist.

Are resource groups region-specific in Azure?

Yes, when you create a resource group, you need to assign it to a region. However, this does not confine the resources in the group to the same region.

Can the resources within a resource group be located in a different region than the resource group itself?

Yes, the resources within a resource group can be located in any region, not necessarily in the same region as the resource group. The resource group’s region is just used for storing metadata about the group.

What is a resource group policy in Azure?

A resource group policy in Azure is a rule or set of rules that enforce specific actions or requirements on a resource group level.

When should you use resource locks in Microsoft Azure resource groups?

Resource locks in Microsoft Azure should be used when you want to prevent unintentional deletion or modification of resources within a resource group.

Can you apply Azure Policies at the resource group level?

Yes, you can apply Azure Policies at the resource group level to enforce rules and effects on the resources within the group.

Can you change the region of a resource group after it’s been created?

The region of a resource group can’t be changed directly after creation, but resources within the group can be moved to a new resource group in a different region.

Can resources in a resource group be accessed directly?

Yes, resources in a resource group can be accessed directly, based on the permissions assigned to the user.

Can you assign role-based access control (RBAC) at a resource group level?

Yes, you can assign RBAC at a resource group level to control who has access to the resources within the group and what actions they can perform.

Leave a Reply

Your email address will not be published. Required fields are marked *