All virtual machines are in resource group RG1. You need to associate each VM with its corresponding department. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Assign tags to the virtual machines..
Why this is the answer
Assigning tags to virtual machines is the correct approach because tags are key-value pairs that you can apply to Azure resources to logically organize them. You can create a tag named "Department" and assign values like "HR," "Finance," or "IT" to the respective VMs. This allows for easy filtering, grouping, and management based on departmental association. Creating Azure Management Groups is incorrect because management groups are used for managing access, policy, and compliance across multiple subscriptions, not for categorizing individual resources within a resource group. Creating a resource group for each department is also incorrect as all VMs are already in RG1, and moving them to new resource groups would be an unnecessary and complex operation for simple departmental association. Modifying the settings of the virtual machines is too vague and doesn't specify a mechanism for departmental association.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed