MicrosoftExpert

AZ-305 Cheat Sheet

Azure Solutions Architect Expert — Quick reference for the exam

CLI Commands

58
TOP= might appear on the exam
D1 — Identity and Governance9 cmds
az role definition create --role-definition custom-role.jsonTOP

Create a custom RBAC role from JSON

az role definition update --role-definition custom-role.json

Update an existing custom role

az role assignment create --assignee <upn> --role "Custom Reader" --scope <scope>TOP

Assign a custom role to a scope

az account management-group create --name <mg-id> --display-name <name> --parent <parent-mg>TOP

Create a nested Management Group

az account management-group subscription add --name <mg-id> --subscription <sub-id>TOP

Move a subscription under a Management Group

az policy definition create --name <n> --rules policy.json --params params.json --mode IndexedTOP

Create a custom Azure Policy definition

az policy assignment create --name <n> --policy <def-id> --scope <scope> --enforcement-mode DefaultTOP

Assign a policy with a DeployIfNotExists/Deny effect

az policy set-definition create --name <n> --definitions policySet.json

Create an Initiative (policy set) grouping several policies

az stack sub create --name <stack> --location <region> --template-file main.bicep --deny-settings-mode denyWriteAndDelete --action-on-unmanage deleteResourcesTOP

Create a subscription-level Deployment Stack that protects its resources against changes (replacement for Blueprints)

Comparisons

8
LevelGuaranteeRead latencyAvailabilityUse case
StrongLinearizable, always the latest writeHighestLower (requires quorum)Financial systems, reservations
Bounded StalenessBounded lag (K versions or T time)LowHighGlobal apps needing guaranteed order
SessionConsistency within the client's sessionVery lowHighRecommended default — most apps
Consistent PrefixNever out-of-order reads (no latest-value guarantee)Very lowHighFeeds, messaging where order matters
EventualNo order guarantee, converges eventuallyLowestHighestLike counters, non-critical telemetry

Quick Reference

42

RBAC vs Azure Policy vs PIM

RBAC vs Azure PolicyTOP

RBAC controls WHO can perform WHAT action. Azure Policy controls WHAT configuration/resource is valid, regardless of who creates it.

Custom roles — scopeTOP

A custom role is defined at a scope (sub/MG) and can be assigned at that scope or below. AssignableScopes limits where it can be used.

Azure Policy — Deny effectTOP

Blocks the create/update operation if it doesn't meet the rule. Evaluated before the resource is created (unlike Audit).

DeployIfNotExistsTOP

Effect that automatically deploys a related resource if it's missing (e.g. Diagnostic Settings). Requires a managed identity with permissions.

PIM (Privileged Identity Management)TOP

Just-in-time role activation with approval, MFA, and automatic expiration. Reduces standing access for privileged roles.

Management Groups — hierarchyTOP

Up to 6 levels deep plus root. RBAC and Policy are inherited top-down throughout the hierarchy.

Policy Initiative

Groups several related Policy definitions (e.g. CIS Benchmark) so they can be assigned together as a single compliance unit.

Identity, security and data governance

B2B vs External IDTOP

Partners or employees of another company → B2B (guest users in your tenant). Customers of your app → Microsoft Entra External ID in an external tenant (successor to Azure AD B2C).

Microsoft Sentinel vs Defender for CloudTOP

Defender for Cloud assesses security posture (Secure Score) and protects workloads. Microsoft Sentinel is the SIEM/SOAR: it correlates events from multiple sources and automates the response.

Microsoft PurviewTOP

Data governance: discovers, catalogs, classifies and shows the lineage of data across Azure, on-premises and other clouds. Azure Policy governs resources; Purview governs data.

Deployment StacksTOP

Deploy resources defined in Bicep/ARM (policies, roles, resources) as a single unit and protect them with deny settings. They replace Azure Blueprints, retired in July 2026.

Front Door vs Traffic Manager vs App Gateway

Traffic ManagerTOP

DNS-level balancing (name layer). Doesn't see the actual HTTP traffic, only resolves the domain to the optimal endpoint. Works with any protocol.

Front DoorTOP

Global L7 (HTTP/S) balancing with TLS termination, WAF, caching, and path-based routing — acts as a global reverse proxy (anycast).

Application GatewayTOP

Regional L7 balancing (within a region/VNet). WAF, path-based routing, SSL offload. Not global like Front Door.

Front Door + App GatewayTOP

Common pattern: Front Door as the global entry point (WAF, cache), App Gateway as the regional balancer behind it, within each region.

Traffic Manager routing methodsTOP

Priority, Weighted, Performance, Geographic, MultiValue, Subnet — each resolves DNS using a different strategy.

When NOT to use Front Door

If the traffic isn't HTTP/S (e.g. raw TCP/UDP, RDP, direct SQL) — use Traffic Manager or Load Balancer instead.

Private Endpoint vs Service Endpoint (architect level)

Private EndpointTOP

Creates a NIC with a private VNet IP for the PaaS service. Traffic never leaves to the Internet — reachable even on-premises via VPN/ER.

Service EndpointTOP

Optimizes the route to the service over the Azure backbone, but the resource keeps a public IP. Only works from within the same region/VNet.

Private Link as a service (PLS)TOP

Lets you expose your own service (behind a Standard LB) as a Private Endpoint consumable by other VNets/tenants.

DNS with Private EndpointTOP

Requires a Private DNS Zone linked to the VNet to resolve the public FQDN to the endpoint's private IP (e.g. privatelink.blob.core.windows.net).

Firewall + Private EndpointTOP

When enabling a Private Endpoint, it's recommended to disable public access on the PaaS resource to force all traffic through the private route.

Cost

Service Endpoint is free. Private Endpoint has an hourly cost plus data processing charges.

Zone-redundant vs Zonal vs Regional

ZonalTOP

The resource is pinned to ONE specific zone (e.g. a VM pinned to Zone 1). If that zone fails, the resource is unavailable.

Zone-redundantTOP

The service automatically replicates across the region's availability zones (e.g. ZRS Storage, zone-redundant Standard LB). No client action needed.

Regional (non-zonal)TOP

The resource has no zone awareness — it lives in a single logical datacenter within the region.

Availability Zones — requirementTOP

Requires a region with Availability Zone support (not all Azure regions have them).

AZ vs secondary regionTOP

Availability Zones protect against datacenter failure (same region). A secondary (paired) region protects against a full regional failure.

SLA with 2+ zones

VMs distributed across 2+ Availability Zones offer a 99.99% SLA, the highest available for VMs.

Data architecture

Cosmos DB — partition keyTOP

Must be chosen to evenly distribute reads/writes and avoid "hot partitions." Cannot be changed after the container is created.

Cosmos DB RU (Request Units)TOP

A normalized unit of operation cost. Can be provisioned manually, autoscale, or serverless.

SQL Database elastic poolTOP

Shares resources (eDTU/vCore) across multiple databases with variable usage patterns — optimizes cost in multi-tenant SaaS.

Active geo-replication vs Failover GroupTOP

Geo-replication creates readable replicas. Failover Group adds a listener with automatic/manual failover and groups several DBs.

TDE (Transparent Data Encryption)

Encrypts data at rest at the page level in SQL Database/MI. Enabled by default, uses Microsoft-managed keys or BYOK.

Serverless SQL auto-pauseTOP

The vCore serverless compute pauses after configurable inactivity and only charges for storage — ideal for intermittent workloads.

Storage lifecycle managementTOP

Rules based on days since last modification/access to automatically move blobs between Hot → Cool → Archive → Delete.

Business continuity and DR

RPO vs RTOTOP

RPO = how much data loss is acceptable (measured backward from the failure). RTO = how much downtime is acceptable.

Azure Site Recovery (ASR)TOP

Continuously replicates entire VMs (OS + disks) to a secondary region. RPO of seconds/minutes, RTO of minutes via orchestrated failover.

Azure Backup vs ASRTOP

Backup protects against data loss/corruption (RPO in hours). ASR protects against a full datacenter/region outage (RPO in minutes).

Recovery Services Vault redundancyTOP

Configurable as LRS/ZRS/GRS. GRS is the default and recommended option — the vault itself must survive the disaster it protects against.

Failover Group grace periodTOP

Wait time before automatic failover (default 1h) to avoid unnecessary failovers from transient outages.

Paired regions

Azure prioritizes sequential updates and joint recovery between paired regions (e.g. East US ↔ West US).

Ready to practice?

Put what you learned to the test with original AZ-305 exam questions.

Start AZ-305 mock exam

Unlimited mock exams with the Pro plan

Back to top