AZ-305 Practice Question 93: Resource Graph Cross Subscription Inventory

Microsoft Azure Solutions Architect Expert (AZ-305) · Test 10 · question 3 of 10

Identity, Governance & Monitoringmedium

A holding company has more than 200 Azure subscriptions spread across 15 management groups. The cloud governance team needs to run ad hoc queries such as "list every public IP address that is not associated with an Azure Firewall or Application Gateway" and "count storage accounts without a private endpoint by subscription", returning results in seconds across all subscriptions at once, without exporting resource data anywhere or granting the team write access to any subscription.

What should you include in the design?

Select one answer
Show answer and explanation

Answer:

  • B. Grant the team the Reader role at the tenant root management group and have them run Kusto Query Language queries with Azure Resource Graph

Azure Resource Graph is a query service built to explore Azure resources at scale across many subscriptions and management groups at once, using Kusto Query Language against an indexed store that returns results in seconds. Reader access at the tenant root management group gives the team read visibility everywhere without granting write permissions on any subscription, and Resource Graph does not require exporting data to a separate store.

Option A is wrong because building a nightly export pipeline is unnecessary engineering effort and introduces stale data when Resource Graph already indexes resources close to real time. Option C is wrong because Defender for Cloud's inventory page is scoped and browsed per subscription, which does not satisfy the requirement for instant cross-subscription queries. Option D is wrong because Log Analytics with diagnostic settings tracks activity log and resource changes over time, not the current configuration state of arbitrary resource types, and standing up that pipeline across 200 subscriptions is far more than the ad hoc query requirement needs.

Reference: Overview of Azure Resource Graph

Practice Test 10 ›

Study guides for AZ-305