Azure Solutions Architect · Domain 1 of 4 · 28% of the exam

Azure Solutions Architect Domain 1: Design Identity, Governance, and Monitoring Solutions

56 free practice questions for Design Identity, Governance, and Monitoring Solutions in the Microsoft Azure Solutions Architect Expert (AZ-305) exam. Try each question first, then open "Show answer" for the correct option and explanation.

Design Identity, Governance, and Monitoring Solutions practice questions

  1. Question 1. A company is designing a management group hierarchy for 40 subscriptions. What is a recommended practice?

    1. Create one management group for every resource group
    2. Nest management groups as deeply as the org chart allows
    3. Keep it shallow, grouped by governance needs (platform, landing zones)
    4. Put every subscription directly under the root with no groups
    Show answer

    Answer: C. Keep it shallow, grouped by governance needs (platform, landing zones)

    Azure landing zone guidance uses a few levels aligned to policy and access needs, not to org charts.

  2. Question 2. Policies must apply to all current and future subscriptions for a business unit. Where should they be assigned?

    1. Each resource group, one at a time
    2. Each resource individually
    3. The Microsoft Entra tenant's user settings
    4. The management group that contains those subscriptions
    Show answer

    Answer: D. The management group that contains those subscriptions

    Assignments on a management group are inherited by all child subscriptions, including new ones.

  3. Question 3. Developers must be able to create resources only in approved regions. What should the design use?

    1. An Azure Policy assignment of "Allowed locations"
    2. An RBAC custom role for each region
    3. A resource lock on each subscription
    4. A tag on each resource group
    Show answer

    Answer: A. An Azure Policy assignment of "Allowed locations"

    Policy evaluates resource properties at deployment and can deny non-compliant requests.

  4. Question 4. Every new storage account must have diagnostic settings sent to a Log Analytics workspace, even if the deployer forgets. Which policy effect fits?

    1. Audit
    2. DeployIfNotExists
    3. Deny
    4. Disabled
    Show answer

    Answer: B. DeployIfNotExists

    DeployIfNotExists deploys the missing configuration through a managed identity, and remediation tasks fix existing resources.

  5. Question 5. A tag must be added to resources automatically if it's missing at creation. Which policy effect fits?

    1. Deny
    2. Modify
    3. AuditIfNotExists
    4. Manual
    Show answer

    Answer: B. Modify

    Modify adds or changes properties such as tags during create or update.

  6. Question 6. Several related policies must be assigned together and tracked as one compliance score. What should be used?

    1. A resource group per policy
    2. A management group per policy
    3. A policy initiative (policy set definition)
    4. A blueprint artifact per policy
    Show answer

    Answer: C. A policy initiative (policy set definition)

    Initiatives group policy definitions for single assignment and combined compliance reporting.

  7. Question 7. A team needs to temporarily allow one resource to skip a policy while tracking the reason and expiry. What fits?

    1. Deleting the policy assignment
    2. A policy exemption with an expiration date
    3. A resource lock on the resource
    4. Moving the resource to a new tenant
    Show answer

    Answer: B. A policy exemption with an expiration date

    Exemptions record a category (waiver or mitigated) and can expire automatically.

  8. Question 8. An auditor needs read-only access to all subscriptions in the tenant. At what scope should the Reader role be assigned?

    1. Each resource individually
    2. The root or top-level management group
    3. A single resource group
    4. The auditor's own user object
    Show answer

    Answer: B. The root or top-level management group

    Assigning at a high scope gives inherited access with one assignment, which is easy to review.

  9. Question 9. A team needs a role that can restart VMs but not delete them. No built-in role matches exactly. What should the design include?

    1. The Owner role with a lock
    2. The Contributor role with a policy
    3. A guest account with elevated access
    4. A custom RBAC role with only the needed actions
    Show answer

    Answer: D. A custom RBAC role with only the needed actions

    Custom roles list allowed actions and scopes, supporting least privilege.

  10. Question 10. Administrators should only have privileged roles when they need them, with approval and time limits. What should be used?

    1. Microsoft Entra Privileged Identity Management
    2. Permanent Owner role assignments
    3. Shared administrator accounts for the team
    4. Resource locks on every subscription
    Show answer

    Answer: A. Microsoft Entra Privileged Identity Management

    PIM provides just-in-time, time-bound, approval-based activation with audit history.

  11. Question 11. Group memberships and role assignments must be reviewed quarterly by managers. What should be used?

    1. Azure Policy compliance reports
    2. Azure Advisor recommendations
    3. Activity log alerts
    4. Microsoft Entra access reviews
    Show answer

    Answer: D. Microsoft Entra access reviews

    Access reviews ask reviewers to confirm or remove access, and can remove it automatically.

  12. Question 12. Sign-ins from unfamiliar locations must require MFA, while trusted office sign-ins don't. What should be designed?

    1. Conditional Access policies with named locations
    2. Security defaults for all users
    3. Per-user MFA disabled for all
    4. A network security group on the tenant
    Show answer

    Answer: A. Conditional Access policies with named locations

    Conditional Access evaluates signals such as location, device, and risk to require controls like MFA.

  13. Question 13. Sign-ins flagged as high risk by Microsoft Entra ID Protection must be blocked or forced to reset passwords. What should be used?

    1. Azure Policy assignments with deny effects
    2. Risk-based Conditional Access policies
    3. RBAC deny assignments on the tenant
    4. Key Vault access policies for users
    Show answer

    Answer: B. Risk-based Conditional Access policies

    User risk and sign-in risk conditions can require MFA, password change, or block access.

  14. Question 14. An app running on Azure VMs must access Key Vault without storing credentials. What should the design use?

    1. A client secret in the app's config file
    2. A shared storage account key
    3. A managed identity for the VM
    4. A user account with a password
    Show answer

    Answer: C. A managed identity for the VM

    Managed identities get tokens from Microsoft Entra ID automatically, with no secrets to manage.

  15. Question 15. Five apps in different resource groups must share one identity with the same permissions. Which managed identity type fits?

    1. System-assigned managed identity
    2. A service principal with a certificate per app
    3. A guest user account
    4. User-assigned managed identity
    Show answer

    Answer: D. User-assigned managed identity

    User-assigned identities have their own lifecycle and can be attached to many resources.

  16. Question 16. A partner company's employees need access to one internal app using their own work accounts. What should be used?

    1. Microsoft Entra External ID for customers
    2. Microsoft Entra B2B collaboration
    3. Local accounts created for each partner user
    4. A shared account for the partner company
    Show answer

    Answer: B. Microsoft Entra B2B collaboration

    B2B invites external users as guests who sign in with their own identities.

  17. Question 17. A consumer app must let millions of customers sign up with email or social accounts. Which identity solution fits?

    1. Microsoft Entra B2B guest accounts
    2. Microsoft Entra External ID for customers (CIAM)
    3. Active Directory Domain Services on VMs
    4. Local users in each app's database
    Show answer

    Answer: B. Microsoft Entra External ID for customers (CIAM)

    External ID for customers provides sign-up, sign-in, and branded user flows at scale.

  18. Question 18. On-premises Active Directory users must sign in to cloud apps with the same password, and the company wants no on-premises authentication dependency. Which method fits?

    1. Password hash synchronization
    2. Pass-through authentication
    3. Federation with AD FS
    4. Cloud-only accounts with new passwords
    Show answer

    Answer: A. Password hash synchronization

    Hash sync authenticates in the cloud and keeps working if on-premises servers are down.

  19. Question 19. A company requires that password validation happen only against on-premises domain controllers. Which method fits?

    1. Password hash synchronization
    2. Cloud-only authentication
    3. Certificate-based authentication only
    4. Pass-through authentication
    Show answer

    Answer: D. Pass-through authentication

    Pass-through authentication agents validate passwords on-premises in real time.

  20. Question 20. Legacy apps on Azure VMs require Kerberos and LDAP, but the company doesn't want to manage domain controllers. What fits?

    1. Microsoft Entra ID only with OAuth
    2. Microsoft Entra External ID
    3. Microsoft Entra Domain Services
    4. Azure Key Vault
    Show answer

    Answer: C. Microsoft Entra Domain Services

    Domain Services provides managed domain join, Group Policy, Kerberos, and LDAP.

  21. Question 21. Secrets, keys, and certificates for an application must be stored centrally with access auditing. What should be designed?

    1. Azure Key Vault with RBAC and logging
    2. App settings stored in plain text
    3. A table in a storage account
    4. Environment variables on each VM
    Show answer

    Answer: A. Azure Key Vault with RBAC and logging

    Key Vault centralizes secrets with access control, rotation, and logs.

  22. Question 22. Keys must be kept in a single-tenant, FIPS 140-3 Level 3 validated HSM that only the customer controls. What fits?

    1. Azure Key Vault Managed HSM
    2. Key Vault Standard tier
    3. A secret in App Configuration
    4. A storage account with encryption
    Show answer

    Answer: A. Azure Key Vault Managed HSM

    Managed HSM is a dedicated, single-tenant HSM pool with customer-controlled security domain.

  23. Question 23. Key Vault must be reachable only from the company's virtual networks. What should the design include?

    1. A service tag added to the key vault
    2. A private endpoint, with public access disabled
    3. A resource lock on the key vault
    4. A higher pricing tier for the key vault
    Show answer

    Answer: B. A private endpoint, with public access disabled

    Private endpoints give the vault a private IP in the VNet, and public access can be turned off.

  24. Question 24. Keys in Key Vault must not be permanently deleted by mistake. What should be enabled?

    1. Soft delete and purge protection
    2. Resource locks only
    3. Key rotation policies
    4. Access policies instead of RBAC
    Show answer

    Answer: A. Soft delete and purge protection

    Purge protection prevents permanent deletion during the retention period, even by admins.

  25. Question 25. Logs from all subscriptions must be analyzed centrally with KQL. What is the core design component?

    1. A separate storage account per subscription only
    2. An Event Hub with no consumers attached
    3. A central Log Analytics workspace fed by diagnostic settings
    4. An Azure Monitor action group per subscription
    Show answer

    Answer: C. A central Log Analytics workspace fed by diagnostic settings

    Log Analytics stores logs for querying. Diagnostic settings, often deployed by policy, send data there.

  26. Question 26. Platform logs must be retained for 7 years for compliance at low cost, but queried rarely. What fits?

    1. Interactive retention in Log Analytics for 7 years
    2. Keeping them only in the activity log
    3. Sending them to an action group
    4. Log Analytics archive, or storage with lifecycle tiers
    Show answer

    Answer: D. Log Analytics archive, or storage with lifecycle tiers

    Long-term archive and cold storage cost much less than interactive retention.

  27. Question 27. Logs must stream in near real time to a third-party SIEM. What should the diagnostic settings target?

    1. A Log Analytics workspace only
    2. An Azure Monitor workbook
    3. Azure Event Hubs
    4. An action group
    Show answer

    Answer: C. Azure Event Hubs

    Event Hubs is the standard integration point for streaming to external tools.

  28. Question 28. An application needs end-to-end request tracing, dependency maps, and failure analysis. What should be designed?

    1. Activity log alerts on the resource group
    2. Azure Policy guest configuration audits
    3. Application Insights with OpenTelemetry
    4. Azure Advisor performance recommendations
    Show answer

    Answer: C. Application Insights with OpenTelemetry

    Application Insights provides distributed tracing, availability tests, and application maps.

  29. Question 29. Alerts from many resources must notify the on-call team by SMS and create a ticket in an ITSM tool. What should be reused across alert rules?

    1. A Log Analytics workspace
    2. An Azure Monitor action group
    3. A diagnostic setting
    4. A policy initiative
    Show answer

    Answer: B. An Azure Monitor action group

    Action groups define notifications and automated actions and can be shared by many alert rules.

  30. Question 30. A single alert rule must fire when CPU is high on any of 500 VMs in a subscription. What should be used?

    1. 500 separate alert rules, one for each VM
    2. An activity log alert on VM creation
    3. A workbook with conditional formatting
    4. One multi-resource metric alert at subscription scope
    Show answer

    Answer: D. One multi-resource metric alert at subscription scope

    Multi-resource metric alerts monitor the same metric across many resources of one type in a region.

  31. Question 31. Operations teams need interactive reports that combine metrics, logs, and text in one view. What should be designed?

    1. Action groups
    2. Diagnostic settings
    3. Azure Monitor workbooks
    4. Resource locks
    Show answer

    Answer: C. Azure Monitor workbooks

    Workbooks combine KQL queries, metrics, and parameters into shareable interactive reports.

  32. Question 32. VM guest OS logs and performance counters must be collected with centrally managed rules. What should be used?

    1. Azure Monitor Agent with data collection rules
    2. The legacy Log Analytics agent only
    3. Boot diagnostics only
    4. Azure Advisor recommendations
    Show answer

    Answer: A. Azure Monitor Agent with data collection rules

    Data collection rules define what to collect and where to send it, and can be associated at scale with policy.

  33. Question 33. A security team needs a cloud-native SIEM with analytics rules and automated response across Azure and other clouds. What fits?

    1. Azure Monitor action groups
    2. Microsoft Sentinel
    3. Azure Advisor
    4. Azure Policy
    Show answer

    Answer: B. Microsoft Sentinel

    Sentinel runs on Log Analytics and adds detection, investigation, and playbook automation.

  34. Question 34. Which service assesses the security posture of Azure resources and recommends fixes, with a secure score?

    1. Azure Advisor cost recommendations
    2. Microsoft Defender for Cloud
    3. Azure Resource Graph
    4. Azure Service Health
    Show answer

    Answer: B. Microsoft Defender for Cloud

    Defender for Cloud provides CSPM recommendations and workload protection plans.

  35. Question 35. An organization needs to query the configuration of thousands of resources across subscriptions in seconds. What should be used?

    1. The activity log
    2. Azure Monitor metrics
    3. Azure Resource Graph
    4. Azure Blob inventory
    Show answer

    Answer: C. Azure Resource Graph

    Resource Graph supports KQL queries across subscriptions for inventory and governance.

  36. Question 36. Leaders need cost reports by department, and costs must be allocated using tags. What is a prerequisite?

    1. A consistent tagging strategy enforced with policy
    2. A separate tenant per department
    3. One subscription for all workloads
    4. Resource locks on every resource group
    Show answer

    Answer: A. A consistent tagging strategy enforced with policy

    Cost Management can group and allocate costs by tag when tags are applied consistently.

  37. Question 37. Teams should be alerted when monthly spending reaches 80% of an amount. What should be configured?

    1. A budget in Cost Management with alert thresholds
    2. An Azure Policy with a Deny effect
    3. A metric alert on CPU usage
    4. A resource lock on the subscription
    Show answer

    Answer: A. A budget in Cost Management with alert thresholds

    Budgets notify and can trigger action groups, but don't stop resources by themselves.

  38. Question 38. Production resources must be protected from accidental deletion by anyone with Contributor rights. What fits?

    1. A tag named "production"
    2. A CanNotDelete resource lock
    3. A policy with the Audit effect
    4. A diagnostic setting
    Show answer

    Answer: B. A CanNotDelete resource lock

    Locks override permissions for delete or modify operations until removed.

  39. Question 39. Which design gives consistent, repeatable subscription setup with policies, RBAC, and networking for new workloads?

    1. Manual portal configuration for each subscription
    2. Azure landing zones deployed with infrastructure as code
    3. One shared subscription for all teams
    4. Resource locks on the tenant root
    Show answer

    Answer: B. Azure landing zones deployed with infrastructure as code

    Landing zones provide a scalable, governed foundation, often with subscription vending.

  40. Question 40. A regulated workload must keep data in a specific geography and restrict certain services. What should the design include?

    1. A single resource lock on the subscription
    2. A custom RBAC role with all actions allowed
    3. A public IP restriction on all the VMs
    4. Policies for allowed locations and resource types
    Show answer

    Answer: D. Policies for allowed locations and resource types

    Policies enforce residency and service restrictions across the scope at deployment time.

  41. Question 41. Which built-in capability provides a regulatory compliance dashboard mapping controls to standards such as ISO 27001?

    1. Regulatory compliance in Defender for Cloud
    2. The Azure Advisor score for the tenant
    3. The Service Health dashboard alerts
    4. Azure Cost Management reports by tag
    Show answer

    Answer: A. Regulatory compliance in Defender for Cloud

    Defender for Cloud maps assessments to compliance standards and shows control status.

  42. Question 42. An app must authenticate to Azure resources from a GitHub Actions workflow without storing secrets. What should the design use?

    1. A client secret stored in the repository
    2. A shared user account with MFA disabled
    3. Workload identity federation with a federated credential
    4. A storage account key saved in the pipeline
    Show answer

    Answer: C. Workload identity federation with a federated credential

    The workflow exchanges its OIDC token for a Microsoft Entra token, so there's no long-lived secret.

  43. Question 43. Which statement about Azure RBAC and Microsoft Entra roles is correct?

    1. They are the same role system under two different names
    2. Microsoft Entra roles control access to virtual machines
    3. Azure RBAC covers resources; Entra roles cover directory objects
    4. Azure RBAC is used to control user password resets
    Show answer

    Answer: C. Azure RBAC covers resources; Entra roles cover directory objects

    Global Administrator can elevate to manage Azure access, but the role systems are separate.

  44. Question 44. A company must monitor the health of Azure services in its regions and be told about planned maintenance. What should be used?

    1. Azure Advisor security recommendations
    2. Resource Graph queries
    3. Azure Service Health with alerts
    4. Activity log diagnostic settings only
    Show answer

    Answer: C. Azure Service Health with alerts

    Service Health reports outages, planned maintenance, and health advisories that affect your resources.

  45. Question 45. A design needs detection of misconfigurations and attack paths across Azure, AWS, and GCP in one place. What fits?

    1. Defender for Cloud with multicloud connectors
    2. Azure Policy assignments on Azure only
    3. Azure Monitor platform metrics
    4. Azure Resource Graph queries only
    Show answer

    Answer: A. Defender for Cloud with multicloud connectors

    Defender for Cloud connects AWS and GCP accounts for posture management and threat protection.

  46. Question 46. Emergency access must be possible if Conditional Access or MFA fails. What should the identity design include?

    1. Disabling MFA for all of the administrators
    2. A shared admin password kept on a sticky note
    3. Break-glass accounts excluded from Conditional Access
    4. Permanent Global Administrator for all engineers
    Show answer

    Answer: C. Break-glass accounts excluded from Conditional Access

    Emergency access accounts are cloud-only, strongly protected, excluded from normal policies, and alerted on use.

  47. Question 47. A multi-tenant SaaS app must let users from any Microsoft Entra organization sign in. How should it be registered?

    1. As a single-tenant app registration in each customer tenant
    2. As a managed identity
    3. As a multitenant app registration
    4. As a guest user in each tenant
    Show answer

    Answer: C. As a multitenant app registration

    Multitenant apps get a service principal in each customer tenant after consent.

  48. Question 48. Which approach limits blast radius when separating production and non-production workloads?

    1. Separate resource groups in the same subscription only
    2. Separate subscriptions under different management groups
    3. Different tags on the same resources
    4. Different regions in one resource group
    Show answer

    Answer: B. Separate subscriptions under different management groups

    Subscriptions are strong boundaries for quotas, policy, access, and billing.

  49. Question 49. A company needs to log all changes to Azure resources, such as who deleted a VM. Where is this recorded?

    1. Boot diagnostics
    2. Guest OS performance counters
    3. Azure Advisor
    4. The Azure activity log
    Show answer

    Answer: D. The Azure activity log

    The activity log records control-plane operations, and it can be routed to Log Analytics for long retention.

  50. Question 50. A web app's secrets must rotate without redeploying the app. What should the design use?

    1. Secrets hard-coded in the app package
    2. Environment variables set at build time
    3. A storage account key in a config file
    4. Key Vault references using a managed identity
    Show answer

    Answer: D. Key Vault references using a managed identity

    App Service reads the current secret version from Key Vault, so rotation doesn't need a redeploy.

  51. Question 51. Azure Policy must audit settings inside VMs, such as installed software or OS settings. What should be used?

    1. Resource locks on the VMs
    2. Azure Machine Configuration
    3. Activity log alerts on the VMs
    4. NSG flow logs for the subnet
    Show answer

    Answer: B. Azure Machine Configuration

    Machine Configuration audits and can configure settings inside machines, including Arc-enabled servers.

  52. Question 52. Governance and policies must also apply to on-premises and multicloud servers. What should be designed?

    1. Azure Arc-enabled servers
    2. A VPN from each server to Azure only
    3. Azure Lighthouse only
    4. A separate tenant per datacenter
    Show answer

    Answer: A. Azure Arc-enabled servers

    Arc projects servers into Azure Resource Manager so policy, monitoring, and Defender apply.

  53. Question 53. A managed service provider needs to manage resources in many customer tenants from its own tenant. What fits?

    1. Azure Lighthouse
    2. Microsoft Entra B2B guests in each tenant only
    3. Shared customer passwords
    4. Azure Arc on each subscription
    Show answer

    Answer: A. Azure Lighthouse

    Lighthouse delegates resource management across tenants with auditable, scoped access.

  54. Question 54. Logs from several teams go to one workspace, but each team must see only its own resources' logs. What should be used?

    1. Resource-context access to the workspace with Azure RBAC
    2. A separate tenant per team
    3. Disabling workspace access for all users
    4. Storage account shared keys
    Show answer

    Answer: A. Resource-context access to the workspace with Azure RBAC

    Resource-context access lets users query logs only for resources they can read.

  55. Question 55. A design must record how an Azure app performs from users' locations around the world. What should be added?

    1. Activity log alerts for the app
    2. Application Insights availability tests
    3. NSG flow logs for the app subnet
    4. Azure Policy audit rules on the app
    Show answer

    Answer: B. Application Insights availability tests

    Availability tests ping the app from multiple locations and alert on failures or slowness.

  56. Question 56. Which design choice reduces Log Analytics costs for high-volume, rarely queried verbose logs?

    1. Interactive retention increased to 2 years
    2. Duplicating the logs into two workspaces
    3. Sending the logs to an action group
    4. The Basic or Auxiliary table plan for those tables
    Show answer

    Answer: D. The Basic or Auxiliary table plan for those tables

    Lower-cost table plans trade query features for much cheaper ingestion and storage.

Microsoft and Azure are trademarks of the Microsoft group of companies. These questions are original study material, not questions from the real exam.