Microsoft Azure Administrator (AZ104) Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Study for the Microsoft Azure Administrator (AZ104) Exam. Prepare with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Practice this question and more.


When can a resource in Azure not be moved between resource groups?

  1. When it has dependencies on other resources

  2. When it is in a different Azure region

  3. When it is locked

  4. All of the above

The correct answer is: All of the above

A resource in Azure cannot be moved between resource groups under several conditions, which are collectively highlighted in the correct answer. When a resource has dependencies on other resources, attempting to move it could disrupt the functionality of those dependent resources. Azure enforces the integrity of these dependencies, ensuring that all interconnected services remain operational, which is why such a resource cannot be relocated. Additionally, if a resource is located in a different Azure region, it cannot be moved to another resource group. Resources must reside in the same region when being moved to ensure compatibility and performance standards across services, as some resources are region-specific due to data residency and compliance requirements. A locked resource also cannot be moved. Resource locks are applied to prevent accidental deletion or modification, and this protection mechanism extends to moving the resource. The lock must be removed before any operation, including moving, can take place. These conditions collectively illustrate that there are specific restrictions on moving resources within Azure to maintain service integrity, compliance, and security.