Microsoft AZ-305: Identity, Governance and Compliance — Study Guide

Part of the Microsoft Azure Solutions Architect Expert AZ-305 — Study Guide. Practice with verified answers in the Microsoft exam hub, or take timed practice tests on ExamRoll.io.

Overview

Identity, governance, and compliance in Azure hinge on a coherent design across Microsoft Entra ID (formerly Azure AD), policy-driven guardrails, and least-privilege access at both human and workload layers. A well-architected solution balances just-in-time elevation for administrators, risk-based adaptive controls for users, standardized resource governance at scale, and smooth external access for partners and consumers, all without sacrificing operational agility.

Privileged Access and Adaptive Risk Controls

Privileged Identity Management (PIM) converts standing admin access into time-bound, auditable entitlements. Assign privileged roles as eligible rather than active to minimize exposure; users must activate eligible roles, typically triggering multifactor authentication, ticket/justification entry, optional approval workflows, and limited activation duration. Role settings define approvers, MFA, notification, and incident ticket requirements. Combine this with privileged access groups so Azure AD roles and Azure resource roles can be governed via group membership subject to PIM activation, producing a single control plane with comprehensive auditing. Use access reviews within PIM to continually validate who retains eligible or active assignments for roles, groups, and enterprise applications. Reviews can auto-apply outcomes and remove access for non-responders, enabling periodic attestation without manual rework.

Identity Protection applies machine-learning risk detection to users and sign-ins. User risk policies evaluate compromised-credential likelihood and can require secure password change or block access until remediated; sign-in risk policies analyze the current session context (impossible travel, unfamiliar sign-in properties, malware-linked IPs) and can demand MFA or block for risky attempts. Configure remediations so that medium and high risks trigger MFA or password reset while low risk might be monitored. Feed signals into Conditional Access rather than per-user MFA; this centralizes enforcement, supports exceptions (break-glass accounts), and reduces administrative drift.

Conditional Access unifies context-aware decisions. Named locations let you classify ranges as trusted corporate networks or geolocations you block or require additional controls for; leverage verified trusted IPs and country-based rules to mitigate high-risk geographies. Device compliance integrates with Microsoft Intune so you can require a compliant device or a hybrid Azure AD joined state before granting access to sensitive apps, and optionally incorporate Defender for Endpoint risk. App-enforced restrictions narrow data exfiltration risk by returning a limited web experience in SharePoint Online and Exchange Online that disables download and sync for unmanaged devices. Session controls tune how long sessions persist and how often reauthentication is required; set sign-in frequency for regulated workloads, disable persistent browser sessions for shared kiosks, and use Conditional Access App Control (via Defender for Cloud Apps) to monitor and control in-session activities such as blocking download of sensitive files while allowing in-browser viewing. Combined with risk-based policies, these controls deliver stepped-up challenges only when needed, preserving user productivity.

External and Consumer Identity

Azure AD B2C separates customer IAM from workforce IAM and provides scalable sign-in for consumer apps. Built-in user flows cover sign-up/sign-in, profile edit, and password reset with minimal configuration. When you need complex orchestration—custom claims, conditional journeys, identity proofing, or REST API-based claims enrichment—use custom policies (Identity Experience Framework). B2C supports many identity providers: local accounts (email or phone), OpenID Connect and OAuth 2.0 providers (Microsoft, Google, Apple), SAML 2.0 identity providers, and enterprise federation. Token customization includes issuing custom attributes, optional claims, and claims transformation to downstream apps, controlling token lifetimes, and adding API connectors to validate or enrich user data at critical decision points.

For B2B collaboration, Entitlement Management standardizes external user onboarding and minimizes sprawl. Access packages encapsulate who gets access (groups, apps, SharePoint sites), who can request it, and how it’s approved. Connected organizations formalize trust with partner tenants, allowing their users to request packages without pre-creating guest accounts. Lifecycle policies ensure access doesn’t linger: set expirations, require periodic access reviews, auto-remove assignments on expiration or review failure, and revoke residual guest access if a user loses all assignments. This model aligns with least privilege and reduces manual guest lifecycle management.

Publishing internal web apps externally is best solved with Azure AD Application Proxy. Lightweight connectors installed on-premises open only outbound connections to Azure, eliminating inbound firewall holes. Group connectors for scale and affinity. Choose Azure AD pre-authentication to enforce Conditional Access before traffic reaches your network; fall back to Passthrough only for niche scenarios. For legacy apps using Integrated Windows Authentication, configure Kerberos Constrained Delegation so the connector can obtain a Kerberos ticket to the backend on behalf of the user, enabling seamless SSO from the cloud to on-premises.

Governance at Scale: Policy, Blueprints, and Management Groups

Azure Policy codifies guardrails. A policy definition uses conditions and effects with parameters so the same rule can be reused across environments. Organize related definitions into initiatives to simplify assignment and reporting. Assign policies at the right scope—management group for broad governance, subscription for platform alignment, resource group for local overrides—and rely on inheritance to push controls downward. Key effects include:

Azure Blueprints package a deployable, versioned landing zone. Artifacts include policy assignments, role assignments, ARM/Bicep templates, and resource group scaffolding. At assignment, input parameters bind a versioned blueprint to an environment. Resource locking modes (DoNotDelete or ReadOnly) protect foundational resources from accidental changes, enforcing separation between platform and workload responsibilities.

Management Groups provide the backbone hierarchy for enterprise-scale governance. Design a clear tree—typically platform, landing zones by line of business or region, and sandboxes—so that policy and RBAC inheritance reflect operating boundaries. RBAC assigned at a management group flows to all child subscriptions and resource groups, minimizing repetitive role assignments. Conflicts resolve by evaluation order and effect semantics; a deny from policy cannot be overridden by RBAC. Use this structure to apply global standards (security baselines, tagging) at upper levels while tailoring at lower tiers with parameterized initiatives.

Advanced Permissions and Workload Identity Federation

Microsoft Entra Permissions Management (CIEM) discovers human and machine identities and their effective permissions across Azure, AWS, and Google Cloud. It builds an activity-aware permissions graph to identify unused, excessive, and toxic combinations of privileges. Use insights to right-size roles, remove dormant access, and enforce least privilege for service principals, managed identities, and users. Access Explorer shows who can do what on which resource; automated remediation workflows can strip unneeded rights at scale, reducing blast radius and satisfying compliance audits.

Workload Identity Federation eliminates secrets for non-Azure workloads that need to call Azure APIs. Instead of storing client secrets in CI/CD, create a federated credential on an app registration/service principal that trusts a specific external issuer (for example, GitHub Actions OIDC) and restricts subject and audience claims (for example, repo, branch, or environment). The external workload exchanges its short-lived OIDC token for an Azure access token to assume the service principal identity. This provides ephemeral, scoped credentials with no secret rotation overhead and granular trust boundaries. For Kubernetes, pair federation with Azure Workload Identity so pods receive projected OIDC tokens tied to service accounts that map to federated credentials, further reducing secret management.

Practical Problem Scenario

Starbucks must modernize identity and governance while enabling secure partner access and preserving SSO to on-premises apps. They operate multiple Azure subscriptions across regions, run legacy SAP and intranet apps on-premises using Integrated Windows Authentication, build mobile consumer apps, and use GitHub Actions for CI/CD.

  1. Establish a management group hierarchy and baseline controls
  1. Implement least-privilege administration
  1. Enforce adaptive risk-based access
  1. Govern external partner access
  1. Publish on-premises applications securely
  1. Secure consumer applications
  1. Right-size permissions and remove secrets from CI/CD

All domains · Data Storage and Database Solutions

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Microsoft →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product