MicrosoftAssociate

AZ-104 Cheat Sheet

Azure Administrator Associate — Quick reference for the exam

CLI Commands

47
TOP= might appear on the exam
Identity — Entra ID7 cmds
az ad user create --display-name <nombre> --password <pass> --user-principal-name <upn>TOP

Create a user in Entra ID

az ad user list --output table

List Entra ID users

az ad group create --display-name <nombre> --mail-nickname <nick>TOP

Create a security group

az ad group member add --group <id> --member-id <uid>

Add a member to a group

az role assignment create --assignee <upn> --role <rol> --scope <scope>TOP

Assign an RBAC role to a user

az role assignment list --assignee <upn>

View a user's role assignments

az role definition list --query "[].roleName" -o tsv

List available RBAC roles

Comparisons

6
RoleManage ResourcesAssign RolesView CostsTypical Scope
OwnerYesYesYesSubscription
ContributorYesNoYesRG or resource
ReaderNoNoYesRG or resource
User Access AdminNoYesNoSubscription
Virtual Machine ContributorVMs onlyNoNoRG
Storage Blob Data ContributorBlobs onlyNoNoStorage

Quick Reference

36

RBAC and Permissions

Scope orderTOP

Management Group > Subscription > Resource Group > Resource

Role inheritanceTOP

Roles inherit downward. Owner at sub level = Owner in all RGs

Deny assignmentsTOP

Block specific actions even if the role allows them

PIMTOP

Privileged Identity Management — just-in-time role activation

Entra vs RBACTOP

Entra ID roles = tenant management. RBAC = Azure resource management

Max role assignments

4000 per subscription

VM — Key Facts

Availability Set FDTOP

Fault Domains = physical racks (max 3). Protects against rack failure

Availability Set UDTOP

Update Domains = update groups (max 20)

VM deallocateTOP

The only way to stop paying for compute. Stop without deallocate still bills

Managed Disks

Microsoft manages the underlying Storage Accounts

Azure Spot VMsTOP

Up to 90% discount. Can be evicted with 30 sec notice

Hybrid BenefitTOP

Use your own Windows/SQL licenses in Azure to reduce cost

Networking — Key Facts

NSG priorityTOP

Lower number = higher priority. Range: 100–4096

Default NSG ruleTOP

Implicit DenyAllInBound at the end. AllowAzureLoadBalancer and AllowVNetInBound are default rules

VNet PeeringTOP

NOT transitive. A↔B, B↔C does not mean A↔C. Use a VPN Hub or Firewall

User Defined RouteTOP

Overrides system routes to force traffic through an NVA or Firewall

Private EndpointTOP

Private IP for a PaaS service inside the VNet (no internet)

Service Endpoint

Optimized route to PaaS over the Azure backbone. IP is still public

Storage — Key Facts

Account typesTOP

StorageV2 (general), BlobStorage, BlockBlobStorage, FileStorage

Soft deleteTOP

Retention for deleted blobs/containers (1-365 days)

Lifecycle managementTOP

Automatically move blobs between tiers based on rules

SAS TokenTOP

Shared Access Signature — temporary, granular access without credentials

Key vs Azure AD accessTOP

Prefer Azure AD (RBAC) over account keys for security

Archive rehydration

Moving from Archive to Hot/Cool: Standard (15h) or High Priority (1h)

Monitoring and Diagnostics

Azure MonitorTOP

Central hub for metrics, logs, and alerts across all resources

Log AnalyticsTOP

KQL queries over logs. Workspace centralizes logs from multiple resources

Application InsightsTOP

APM: traces, dependencies, exceptions for apps

Diagnostic SettingsTOP

Send logs/metrics to Log Analytics, Storage, or Event Hub

Activity LogTOP

Record of control-plane operations (who did what and when)

Default retentionTOP

Activity Log: 90 days. Log Analytics: 30 days (configurable up to 730)

Governance

Azure Policy effectsTOP

Deny, Audit, Modify, DeployIfNotExists, AuditIfNotExists, Disabled

Policy vs RBACTOP

Policy = WHAT resource. RBAC = WHO can do what

Management GroupsTOP

Group subscriptions. Up to 6 levels + root. Inherit Policy and RBAC

Blueprints

Package ARM + Policy + RBAC for reproducible environments

Resource lock ReadOnlyTOP

No one can modify the resource, not even Owner. Only delete/read

Cost ManagementTOP

Cost analysis, budgets, and spending alerts by scope

Ready to practice?

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

Start AZ-104 mock exam

Unlimited mock exams with the Pro plan

Back to top