Finance wants cost per team, but resources aren't tagged consistently. What do you do?
IntermediateScenarioIdentity, Access and Governance
Answer
Situation read → Fix tagging going forward with policy, backfill with remediation, and use RG/subscription structure as a fallback.
What I'd do →
- Define the tag schema (
costcenter,owner,env) - Require tags on RGs, inherit to resources with Modify policies, and remediate
- Enable tag inheritance in Cost Management settings so usage records pick up RG tags
- Build a Cost Management view grouped by
costcenter, scheduled export for finance - Report untagged spend as its own line so owners feel the pressure
Why → Tags on RGs plus inheritance is far less work than tagging every resource by hand.
Interview tip → Mention shared costs (hub firewall) need an allocation rule, not tags.
More on Identity, Access and Governance
A new developer joins and needs to deploy to the dev resource group only. How do you give access?BeginnerYour GitHub Actions workflow uses a client secret stored in a repo secret. Security wants it gone. What do you do?BeginnerAuditors ask "who has Owner on production, and why?" How do you answer and fix it?IntermediateA VM application needs to read blobs from one container. How do you set up access without keys?IntermediateTeams keep creating resources in random regions and without tags. How do you stop it?BeginnerA contractor needs temporary read access to logs for two weeks. How do you handle it?Beginner