AZ-301 Exam QuestionsBrowse all questions from this exam

AZ-301 Exam - Question 71


Note: This question is part of series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You are designing an Azure solution for a company that has four departments. Each department will deploy several Azure app services and Azure SQL databases.

You need to recommend a solution to report the costs for each department to deploy the app services and the databases. The solution must provide a consolidated view for cost reporting.

Solution: Place all resources in the same resource group. Assign tags to each resource.

Does this meet the goal?

Show Answer
Correct Answer: A

To report costs for each department deploying the app services and databases, placing all resources in the same resource group and assigning tags to each resource is a viable solution. Tags provide a way to organize and retrieve related resources across resource groups for billing and management purposes. Assigning tags to each resource ensures that cost allocation can be accurately reported based on the tags associated with each department's resources.

Discussion

24 comments
Sign in to comment
praiser
Dec 11, 2019

Answer here is a clear yes (A).

Ekramy_Elnaggar
Jan 13, 2020

Correct answer is A . There are 2 Solutions here : both are correct 1- Place Each department resources in a separate RG . Assign tags to each resource. 2- Place all resources in the same RG. Assign tags to each resource. The key point is "Assign tags to each resource" , as tags are not inherited which means if you assign a tag to a RG >> it will not propagated/inherited to the underneath resources , so you MUST assign tags to each individual resource.

bolbol
Feb 17, 2020

ref: https://docs.microsoft.com/en-gb/azure/azure-resource-manager/management/tag-resources Tags are not applicable to all resources :)

xfit
Mar 10, 2020

Exactly Bolbol. Therefore by creating 4 different RGs then you can guarantee a more accurate costing per department. https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/quick-acm-cost-analysis

pieixoto
May 28, 2020

Azure Cost Management doesn't support resource group tags. From your link above: "Most Azure resources support tagging. However, some tags aren't available in Cost Management and billing. Additionally, resource group tags aren't supported."

pieixoto
May 28, 2020

Azure Cost Management doesn't support resource group tags. From your link above: "Most Azure resources support tagging. However, some tags aren't available in Cost Management and billing. Additionally, resource group tags aren't supported."

xfit
Mar 10, 2020

Exactly Bolbol. Therefore by creating 4 different RGs then you can guarantee a more accurate costing per department. https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/quick-acm-cost-analysis

pieixoto
May 28, 2020

Azure Cost Management doesn't support resource group tags. From your link above: "Most Azure resources support tagging. However, some tags aren't available in Cost Management and billing. Additionally, resource group tags aren't supported."

pieixoto
May 28, 2020

Azure Cost Management doesn't support resource group tags. From your link above: "Most Azure resources support tagging. However, some tags aren't available in Cost Management and billing. Additionally, resource group tags aren't supported."

us3r
Feb 12, 2022

the below is correct as well Create a separate resource group for each department. Place the resources for each department in its respective resource group. https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/group-filter#:~:text=Resource%20group

Alposu
Sep 24, 2019

Why this is incorrect? It doesnt matter in which RG resources are if there is tags?

tartar
Sep 18, 2020

A is ok

dciti
Oct 22, 2019

I suspect this is youd want to associate tags with specific resource. So they can be retrieved by group (Get-AzResourceGroup -Tag @{ Dept="Finance" }).ResourceGroupName

cjsammaejs
Jan 10, 2020

In general, I would never use ONE resource group for ALL resource types. I believe in general one would normally organize your resource groups by departments and resource type. The only time you should assign tags to the individual resources is if different department or cost centers got mixed and deployed in wrong groups or you did have a shared resource group for some reason. I do like being exact and assigning tags to the individual resource anyway, and not just the resource group but that's me. I like the other answer in general "Create a resources group for each resource type. Assign tags to each resource group"

bootyholeman
Feb 17, 2020

Even if it's not the best practice it does solve the task.The answer you provided would not work because tags are not inherited, you need to assign those to a specific group.

Famous_Guy
Apr 29, 2020

it doesn't matter how u do it. but the answer solve the task. ans- A

PhenomMpho
Jul 13, 2020

Remember some people might organise their resources groups by environments. It might not be best practice but it does work to add tags to each resource.

asdfgh1234567
Jul 22, 2020

Also with automation, assigning tags to the resource is quite simple.

asdfgh1234567
Jul 22, 2020

Also with automation, assigning tags to the resource is quite simple.

eug45
Jul 27, 2020

Answer is A Yes, by assigning a tag to each resource, you can view the cost allocation of the resources tag wise - https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-resources

mlourh
Apr 11, 2020

I think the answer will be A but the best practice is to separate resources for each depart ment to a dedicated RG with tag we can consolidate all costs in the same report

pandeya442
May 13, 2020

Answer is Yes, we can segregate the bill by tags on Resources

Pierrick
May 15, 2020

Answer is Yes, you can add tag on each ressource and get a consolidated view

yilpiz
Jun 7, 2020

Agree with most. Answer is Yes. As long as each resource is tagged properly, it will work.

DeveshSolanki
Jun 26, 2020

Yes... Place all resources in the same resource group. Assign tags to each resource.

jonnybugaloo
Jun 29, 2020

No is correct. The questions states about "Several Service Apps". Who has already worked with this, knows that you can't have Service apps for Linux and Windows in the same RG, because of the different Service Apps plans. The best practice is to have them in different RGs.

sourabh7257
Jul 27, 2020

where it is mentioned in Question about Linux and windows?

macco455
Sep 16, 2020

This is irrelevant to this question. Answer is Yes

Aaru
Jul 2, 2020

A) Yes... In single RG if Tags are assigned to each resource then you can differentiate. Tag applies to the RG level if single RG for all resources not useful.

tanito83
Jul 20, 2020

The correct answer is A. Please, modify it.

sanketshah
Jan 2, 2021

A is correct answer.

glam
Feb 2, 2021

A. Yes

aktorodka
Apr 18, 2020

Have a same feeling to the best approach but still will work. A is correct.

mon_k
May 8, 2020

"Each department will deploy several Azure app services and Azure SQL databases". Since only app service and db resources are in question and both support tagging, why we can't do this? This might be not ideal in actual scenario, but still it satisfies the condition.

RStover
May 8, 2020

Key to look @here is "The solution must provide a consolidated view for cost reporting" so with that i say B is more appropriate. Split them into Diff resource groups and tag each resource.

Plumari
May 19, 2020

We should think about best pratices, that works too, but is not the best pratice.

SkyDream
May 27, 2020

Answer is B As you cannot add tags to each resource. So add tag to RG by creating a different RG

corona2020
Jun 1, 2020

I will select No, sincle all resources don't support resource tagging, but resource groups can

mrgandra
Jun 22, 2020

Correct answer is B. (Not all resource types support tags. To determine if you can apply a tag to a resource type).

Neetiniti
Jul 19, 2020

Correct Answer: B. Most Azure resources support tagging. However, some tags aren't available in Cost Management and billing. Additionally, resource group tags aren't supported. Support for tags applies to usage reported after the tag was applied to the resource. Tags aren't applied retroactively for cost rollups. https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/quick-acm-cost-analysis