How to Associate Each VM with Its Department in RG1

Manage Azure subscriptions and governance Create and configure virtual machines
Answer Correct answer: C — Apply department tags (for example, Department=HR) to the virtual machines in RG1 to associate each VM with its department without restructuring.

Your company has serval departments. Each department has a number of virtual machines (VMs). The company has an Azure subscription that contains a resource group named RG1. All VMs are located in RG1. You want to associate each VM with its respective department. What should you do?

  1. Create Azure Management Groups for each department.
  2. Create a resource group for each department.
  3. Assign tags to the virtual machines. Correct Answer
  4. Modify the settings of the virtual machines.

Community Insight

This question tests whether you recognize tags as the lightweight metadata mechanism for logically categorizing resources inside one resource group; the trap is reaching for a structural change like creating resource groups or management groups when none is needed.

When all departmental VMs already live in a single Azure resource group (RG1) and you only need a logical department association, Azure resource tags are the intended mechanism. The question tests knowledge of when tags—not resource groups, management groups, or VM settings—are the correct organizational tool, making C the right answer.

Option B (create a resource group per department) is the most tempting distractor, because resource groups feel like an 'organization' feature—but the scenario fixes all VMs in RG1 and asks only for an association, not a restructure. Option A fails because management groups govern subscriptions, not resources within a single subscription.

Community Discussion (124 comments)

rose harp 👍 1 Selected: C
Great resource for AZ-104 exam preparation! ExamTeacher offers helpful study resources to support your certification journey. Check it out: https://shorturl.at/4WyWE
MoshkaDoshka 👍 1 Selected: C
Answer is C
ITCERTPRO 👍 3 Selected: C
Answer C i passed the exam 12-Sep-2026, score 808, around 80% from exam came from exam topics
aws11 👍 1 Selected: C
Itll be tags.... Also, Go through these questions and youll be good for the exam. Thanks, just passed
mm2m 👍 1 Selected: C
C is correct because , we dont need to start the infra again , just to know departmental vm usage for costing.
Shrawangupta 👍 1 Selected: C
You want to associate each VM with its respective department, and all VMs already exist in the same resource group (RG1). The Azure feature designed exactly for this purpose is Tags.
SudeepBanjara 👍 1 Selected: C
Since the VMs are in same subscription and resource Group the only way to differentiate with the department is to add the tag to the virtual machines.
anasiou 👍 1 Selected: C
C is correct
Robbinson 👍 1 Selected: C
C is correct
NirajkumarJha 👍 1 Selected: C
C is correct
XxLORDNAOxX 👍 2 Selected: C
When the question is about categorization, ownership, cost tracking, or organization of Azure resources → use tags.
mavlouv 👍 1 Selected: C
C est correct parceque pour faire correspondre chaque VM à son département respectif il faut utilisé des tag (filtre)
thalasi 👍 1 Selected: C
assign a tag like: Department = Finance Department = HR Department = IT can apply these via Portal, CLI, PowerShell, ARM/Bicep, Terraform, or Azure Policy.
Basavarajss 👍 1 Selected: C
Using Tags we can associate the VMs for different departments
iymalki 👍 2 Selected: C
The correct answer is C. Assign tags to the virtual machines. Tags are the best way to logically organize and identify resources within the same resource group. You can use tags like Department=HR or Department=Finance to associate each VM with its respective department.
RushaShah 👍 2 Selected: C
Answer: C — Assign tags to the virtual machines. Tags let you logically group, filter and report across resources even when those resources live in the same resource group or across many resource groups/subscriptions (useful for cost reporting, search, automation). Tags are non-disruptive (no need to move VMs to different resource groups) and are easy to add or change via the Portal, CLI, PowerShell, ARM templates or policies. Why the other options are not ideal: A (Management Groups): these organize subscriptions, not individual VMs. B (Create a resource group per department): possible but heavy — resource groups are for lifecycle/permissions and moving many existing VMs between RGs is more work and may affect management boundaries. D (Modify VM settings): vague and not the built-in way to associate a VM with a department.
Vic_Somi 👍 1 Selected: C
Tagging will help associate VMs to the respective departments.
SherryJamkam 👍 1 Selected: C
Steps to Assign Tags in the Azure Portal: Navigate to RG1 (Resource Group). Select the VM you want to tag. In the VM’s overview, click on Tags. Add a new tag with: Name: Department (or another meaningful key). Value: The department name (e.g., Finance). Save the changes.
ZUMY 👍 1 Selected: C
C is correct
panna1 👍 1 Selected: C
Tags are great to view all resource, and able to efficiently manage cost for each department.
AKoselnik 👍 1 Selected: C
Tags for grouping resources in a bill in the fastest way to do that. Moreover all resources need to be kept in the same resource group. So C is correct.
gopi1405 👍 1 Selected: C
tags are best way to associate grouping departments in an organization which is also used for cost analysis
Emmanuel25512 👍 1 Selected: C
Avec des balises par département, il est possible de donner l'accès uniquement en fonction du profil
Makaziwe 👍 1 Selected: C
Tangs allows you to categorized resources like VMs without creating additional resources groups or management groupd
Makaziwe 👍 1 Selected: C
C is correct, the tags ASSOCIATE the vms to each deparment
andted98 👍 1 Selected: C
C is the correct answer because by assigning tags, you can easily separate the VMs based on the department name.
MZ1980 👍 1 Selected: C
C is correct
674c578 👍 2 Selected: C
Passed the exam 2 days ago. 847 score and only studied in here aside from few learnings in Azure official study materials that I didn't even complete. 80% of the questionnaires are in here. My case study was a little different from the established case studies in here but if you learn from the 61 pages you should be good. Answer in this Q is correct. I would say the contributor access for me is value for money as I will receive a bonus by passing this exam d^_^b But yes, the access is expensive as of today. Goodluck!
Ahitagni 👍 1 Selected: C
Assign tag to each of VMs
Nepton 👍 1 Selected: C
C is the Correct answer.
CheekuPR 👍 1 Selected: C
C is correct because TAGGING is the right way
HazeTech 👍 1 Selected: C
Is the correct answer
CSaha 👍 2 Selected: B
Why not B? Create a different RG and move the resources to that RG - much clean approach. ( C is also correct - but which one is more accurate ? Whats the differentiation factor ?
badass_1 👍 1 Selected: C
By assigning the department tags to each VM, cost can be charged back to each department
dcaa904 👍 1 Selected: C
anyone took the test recently?
henry_chou 👍 2 Selected: C
Since all VMs are in the same resource group, only way to distinguish between them is by adding department tags
knowakuk 👍 1 Selected: C
Frankly speaking i went through the course on Linkedin from microsoft press (depreciated one) and 50% or more questions can be answered after this course (8hrs only)
Gunstsings 👍 2 Selected: C
Since all VMs are in the same resource group, only way to distinguish between them is by adding department tags
Mark74 👍 1 Selected: C
Correct Answer is C
sca88 👍 1 Selected: C
Sholud be C
Kojogee 👍 3
S/O to mlantonis and everyone in the comments section. I passed mine today. Just want to give tips to everyone starting from here. Go through till you get to the end and make sure you understand every single thing. Some of the questions are repeated but there are newer ones as well(which is just MS changing the wording to confuse you). If you understand every question here, then you will pass. Understand not memorize.
MeJaHe 👍 1 Selected: C
I agree.
NaoVaz 👍 2 Selected: C
The correct answer in my opinion is C "Assign tags to the virtual machines". If all resources are in a single Resource Group, Management Groups wont help, neither modifying the VMs settings. Creating more Resource Groups would be the better option, but it would be more cumbersome, and out of the scope of this question.
Minaru 👍 2
Correct Answer is C . By assigning tags to the virtual machines, you can easily filter and group them based on the department they belong to. This allows for efficient resource management and organization. Creating Azure Management Groups or resource groups (options A and B) would provide higher-level organization but do not directly associate individual VMs with specific departments. Modifying the settings of the virtual machines (option D) would not be the most practical way to associate them with departments.
green_arrow 👍 93
C is correct, the tags ASSOCIATE the vms to each deparment, then for example it can be charged to each department.
Nathan12345 👍 1 Selected: C
TAGs is the answer
tsummey 👍 1 Selected: C
Tags in Azure are name/value pairs that enable you assign tags to each VM, associating them with their respective departments.
kicilo4977 👍 1
The given answer is correct
6f80f6c 👍 1 Selected: C
Answer is C
atfde 👍 1
c is correct
6b52b7a 👍 1 Selected: C
c is correct
tashakori 👍 2
C is right
gmbillye 👍 4 Selected: C
The question is about "associating", not designating access, management permissions, or anything like that. That's why "adding tags" is enough and perfecly appropriate.
_gio_ 👍 1 Selected: C
100% C
dev_okiok 👍 1
Tagging will allow to identify resources by department. But AFAIK, grouping by resource groupe would allow more security with IAM, no?
f6559df 👍 1
Answer of examtopics is correct.
shannonsharp 👍 1
Assigning tags is the correct answer
JLUIS09 👍 2 Selected: C
C is correct
alexel222 👍 1 Selected: C
claramente la C
fiahbone 👍 1 Selected: C
C
pb7o61 👍 3 Selected: C
The correct approach to associate each VM with its respective department without restructuring the resource groups is to use Azure Tags. Azure Tags allow you to associate metadata with resources to categorize and organize them based on your organization's needs.
pb7o61 👍 3
Explanation: A. Create Azure Management Groups for each department. This would not be the correct approach for the given scenario. Azure Management Groups are designed to manage access, policies, and compliance across multiple Azure subscriptions. B. Create a resource group for each department. This approach would involve restructuring the resources, and you'd have to move VMs between resource groups. It's a more disruptive approach than simply tagging the VMs. C. Assign tags to the virtual machines. This is the correct approach. Tags allow you to categorize resources without changing their actual configuration or moving them between resource groups. D. Modify the settings of the virtual machines. This is too vague and doesn't specify which settings would be changed. Simply modifying VM settings wouldn't inherently associate a VM with a department.
petlafleche 👍 1 Selected: C
C is correct
VV11_SS22 👍 1
C is CORRECT
james2033 👍 4 Selected: C
Question keyword "an Azure subscription". Azure Management Group (A) for case many Azure subscriptions, therefore exclude B. Question keyword "a resource group", what named "RG1", therore solution for many resource groups is not rationle, exclude B. Solution D is overhead operation and is not necessary. In the end, has only one remain solution, C, it is rationale, Assign tags to VM, tag VM by according department code.
JWS80 👍 1 Selected: C
C is correct
ShyamNallu_100813 👍 1 Selected: C
C is correct
james2033 👍 1 Selected: C
I choose C.
maheshwariravi 👍 1
C is correct
meimei0929 👍 2
C is correct
TonySuccess 👍 1 Selected: C
TAGS is correct.
dhivyamohanbabu 👍 1 Selected: C
C is correct
Kamar1120 👍 1
The correct answer is C. Assign tags to the virtual machines. Tags are labels that you can apply to Azure resources. You can use tags to organize your resources, track your costs, and manage your billing. To associate each VM with its respective department, you can create a tag for each department and then assign that tag to the VMs in that department. For example, you could create a tag named "Department" and then assign the value "Sales" to the VMs in the Sales department. You can then use tags to filter your resources in the Azure portal, or to generate reports on your resource usage.
tomoka 👍 1
Azure tagging is an excellent feature from Microsoft that was introduced recently that can help you to logically group your Azure resources and help you to track your resources. It also helps to automate the deployments of the resources and another important feature is this feature helps to provide the visibility of the resource costs that they are liable for.
Andre369 👍 1 Selected: C
Assigning tags to Azure resources, such as virtual machines, is a flexible way to organize and categorize resources based on custom metadata. Tags consist of name-value pairs that you can assign to resources, and they can be used for various purposes, including cost management, resource grouping, and access control. By assigning tags to the virtual machines, you can easily identify and filter the VMs based on the department they belong to. This provides a convenient way to organize and manage resources within the company's Azure subscription
jersonmartinez 👍 2
C is the correct answer.
Madbo 👍 1
C. Assign tags to the virtual machines. By assigning tags, you can organize resources in a way that makes sense for your organization, which will allow you to easily filter and view resources based on criteria such as department, environment, or cost center. In this case, you can create a tag called "Department" and assign the appropriate value to each VM.
emptyH 👍 1 Selected: C
C is correct. Tags are the best for organizing resources in Azure.
obaali1990 👍 2
As much as possible you will need the Contributor Access if you want to use this site to support whatever studies you have towards your AZ 104 exams. I studied using MS Learn, completed all labs and then used ET to prepare for the exams. Go for the Contributor Access. I must add that the discussions on this page is a goldmine, so valuable . You cant get it anywhere. I have learnt so much by following the discussions on every question on this site. Thanks to you all
DaJarHead 👍 1
Create a resource tag
Michal128 👍 1
Tags are the fastest way to assign resource to deparment. The same question appears in Microsoft learning path.
almikhdade 👍 1
C. Assign tags to the virtual machines.
vishalarora1607 👍 1
C is the correct answer as tags are great way to associate resources to correct department with minimal administrative work.
PrashantPPG 👍 1
Option C
UmbongoDrink 👍 1 Selected: C
C. Assign tags to the virtual machines
Bayron_Baquedano 👍 1 Selected: C
C is correct, the tags ASSOCIATE the vms to each deparment, then for example it can be charged to each department.
Ripaldo 👍 1 Selected: C
So the answer is C
myarali 👍 1 Selected: C
C is correct
comoon 👍 1 Selected: C
C is correct
Rufusinski 👍 1 Selected: C
C is correct.
ElDakhli 👍 2
C is the correct answer. However, if the exam mentions multiple subscriptions, the management groups will be more appropriate.
Collinswhite 👍 1
C is the correct answer
n1teshj 👍 1 Selected: C
C is correct answer. Virtual machines can be tagged as resource tagging as per defined department.
TimHolland 👍 2
I keep hitting a gateway error, not sure what the issue is. Just to finish off what I was writing the other day: Remember that the Case study section represents a big chunk of the exam - 6 out of 50 questions (although I don't know how points are awarded). Although no substitute for learning the material, I memorized the answers to the Case studies on the morning of the exam. There are only 21 or so questions/answers to remember and considering a quarter of the them were in the exam. The case studies are organised into tabs on the screen and it's a lot of info to look through given the time available during the exam. I think I found every question from the exam here.
kiratomato 👍 1 Selected: C
This is the correct answer
Stanh777 👍 1 Selected: C
Assign tags to the virtual machines, can also the use filters and bill the correct department
learnaitskills 👍 1
C correct answer
BigBigChannel 👍 1
C is correct.
Jhonattan 👍 1 Selected: C
C is correct, the tags ASSOCIATE the vms to each deparment
EmnCours 👍 1 Selected: C
Correct Answer: C
Ludo 👍 1 Selected: C
Assign a tag with vale=dept to all resources.
RalphLiang 👍 2 Selected: C
Answer is correct
kilowd 👍 1 Selected: C
Correct
Riyasriy 👍 1 Selected: C
To filter resources, tags play a crucial part.
brand9 👍 1
C is the correct answer
meoukg 👍 1
C is correct.
Dhanya2022 👍 1
C, Tags helps to organize resources based on key/value pair
anto69 👍 1
All VMs are already in a res group. A management group can contain more subscriptions. So the only option that makes sense is to use tags. Answer is C
nqthien041292 👍 2 Selected: C
Vote C
Davidthe1st 👍 1
C is correct
milan92stankovic 👍 1 Selected: C
C is correct.
zr79 👍 1
C is the answer
Happiman 👍 1
If your answer is NOT C, then you're wrong.
al608 👍 1 Selected: C
C is the right answer
PassForSure007 👍 1
C using tags
Shabbow 👍 1
C is the correct choice.
NishKum 👍 1 Selected: C
tags gives a way to do cost based on their names
Iclectic 👍 1
Answer is definitely C
Prano 👍 1
Ans : C Using tags , VM's can be attached to each department
jorgerys03 👍 1
It's C
verifedtomic 👍 15 Selected: C
Since all VMs are in the same resource group, only way to distinguish between them is by adding department tags
nherrerab 👍 1
C is correct.
Quantigo 👍 2
C According to this article, tagging can be used for departmental Identification.
Steve1983 👍 2
Thats the signal part, missing the decision part. Its selecting the group in the user part and then choose to do "something", when its met, like enforce MFA. The last part is missing. So NO is the answer.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

Azure tags are name/value pairs (for example, Department=HR or Department=Finance) applied to resources purely as metadata for logical organization, cost allocation, ownership, and reporting. Because the question states all VMs already sit in RG1 and only asks to "associate each VM with its respective department," no structural change is required—tags satisfy this directly. Tags work across resource types and can be applied per resource in the portal, CLI, or ARM/Bicep, and they support filtering and chargeback scenarios mentioned by green_arrow. As pb7o61 explained, tags let you categorize and organize resources "based on your organization's needs" without moving anything.

Exam Strategy

On AZ-104, when a question asks to organize, categorize, track costs, or identify ownership of resources that must stay where they are, default to tags. Only choose resource groups or management groups when the question explicitly mentions moving resources, applying policy, or governing multiple subscriptions.

Frequently Asked Questions

Why can't I create a resource group per department to associate the VMs?

The scenario states all VMs are already in RG1; creating new resource groups would require moving them, which goes beyond the requested logical association and changes the existing structure.

Why are Azure management groups incorrect for department association?

Management groups govern subscriptions hierarchically (policies, RBAC, compliance). This environment has one subscription and asks only about organizing resources inside RG1, so they don't apply.

More AZ-104 FAQ →

Related Analysis

Practice All AZ-104 Questions

Access 100 questions with complete answers and detailed explanations.

View Full AZ-104 Practice Test →

← Back to AZ-104 Study Guide