50 Free Azure Administrator Practice Questions (AZ-104)
Preparing for the Azure Administrator certification? These 50 free practice questions cover all five domains of the AZ-104 exam.
Domain 1: Manage Azure Identities and Governance (Questions 1–10)
Question 1
What is the primary role of Azure RBAC?
a) Authenticating users
b) Authorizing access to Azure resources based on assigned roles
c) Encrypting data at rest
d) Monitoring resource usage
Show Answer
Answer: b) Authorizing access to Azure resources based on assigned roles
Explanation: Azure RBAC (Role-Based Access Control) manages who has access to Azure resources, what they can do with them, and what areas they have access to.
Question 2
Which Azure service provides identity and access management for Azure resources?
a) Azure AD (Entra ID)
b) Azure Policy
c) Azure Blueprints
d) Azure Key Vault
Show Answer
Answer: a) Azure AD (Entra ID)
Explanation: Azure Active Directory (now Microsoft Entra ID) provides identity services including authentication, SSO, and access management for Azure resources and applications.
Question 3
What is a management group in Azure?
a) A group of users for RBAC
b) A container for managing access, policies, and compliance across multiple subscriptions
c) A resource group for management tools
d) A security group
Show Answer
Answer: b) A container for managing access, policies, and compliance across multiple subscriptions
Explanation: Management groups provide hierarchical organization for subscriptions, enabling governance at scale with inherited policies and RBAC assignments.
Question 4
Which Azure Policy effect prevents resource creation that violates the policy?
a) Audit
b) Deny
c) Append
d) Disabled
Show Answer
Answer: b) Deny
Explanation: The Deny effect blocks resource creation or modification that violates the policy. Audit creates a warning but allows the action. Append adds additional fields.
Question 5
What is the difference between a resource lock and Azure Policy?
a) Resource locks prevent deletion/modification; policies enforce compliance rules
b) They are the same
c) Policies prevent deletion; locks enforce compliance
d) Resource locks are for networking only
Show Answer
Answer: a) Resource locks prevent deletion/modification; policies enforce compliance rules
Explanation: Resource locks (CanNotDelete, ReadOnly) prevent accidental deletion/modification. Azure Policy enforces organizational standards and compliance rules.
Question 6
Which scope has the highest priority in RBAC inheritance?
a) Management group
b) Subscription
c) Resource group
d) Resource
Show Answer
Answer: d) Resource
Explanation: RBAC permissions are additive and inherited downward. The most specific scope (resource) can override inherited permissions from higher scopes.
Question 7
What is the purpose of Azure Blueprints?
a) Defining a repeatable set of Azure resources that comply with standards
b) Creating network diagrams
c) Designing application architecture
d) Planning resource costs
Show Answer
Answer: a) Defining a repeatable set of Azure resources that comply with standards
Explanation: Azure Blueprints package artifacts (policies, RBAC, ARM templates, resource groups) into a deployable blueprint for consistent environment creation.
Question 8
Which feature allows self-service password reset in Azure AD?
a) SSPR (Self-Service Password Reset)
b) Azure AD Connect
c) Password Hash Sync
d) Pass-through Authentication
Show Answer
Answer: a) SSPR (Self-Service Password Reset)
Explanation: SSPR allows users to reset their passwords without IT intervention. It requires Azure AD Premium licensing and proper configuration.
Question 9
What is a service principal in Azure?
a) A user account for Azure services
b) An identity for applications and automation tools to access Azure resources
c) A managed identity for Azure services
d) A service administrator account
Show Answer
Answer: b) An identity for applications and automation tools to access Azure resources
Explanation: A service principal is an identity created for use with applications, hosted services, and automation tools to access Azure resources with specific permissions.
Question 10
Which authentication method synchronizes password hashes from on-premises AD to Azure AD?
a) Pass-through Authentication
b) Password Hash Sync
c) Federation (AD FS)
d) Certificate-based authentication
Show Answer
Answer: b) Password Hash Sync
Explanation: Password Hash Sync synchronizes password hashes from on-premises AD to Azure AD. Pass-through Authentication validates passwords against on-premises AD directly.
Domain 2: Implement and Manage Storage (Questions 11–17)
Question 11
Which Azure Storage replication option provides the highest durability across multiple regions?
a) LRS
b) ZRS
c) RA-GRS
d) GZRS
Show Answer
Answer: d) GZRS (Geo-Zone-Redundant Storage)
Explanation: GZRS synchronously replicates data across three AZs in the primary region, then asynchronously to a secondary region. It offers 16 nines of durability.
Question 12
Which storage access tier provides the lowest storage cost for long-term archival?
a) Hot
b) Cool
c) Cold
d) Archive
Show Answer
Answer: d) Archive
Explanation: Archive tier is the lowest cost (~$0.002/GB/month) but requires 12+ hours for data retrieval. Hot tier has highest cost but instant access.
Question 13
What is a shared access signature (SAS) used for?
a) Encrypting storage data
b) Providing delegated access to storage resources with specific permissions and expiration
c) Managing storage accounts
d) Creating storage containers
Show Answer
Answer: b) Providing delegated access to storage resources with specific permissions and expiration
Explanation: SAS tokens provide time-limited, permission-restricted access to storage resources without sharing the account key. They can be service, account, or user delegation SAS.
Question 14
Which Azure tool is used to efficiently copy data to and from Azure Storage?
a) Azure Storage Explorer
b) AzCopy
c) Azure Portal
d) Azure CLI
Show Answer
Answer: b) AzCopy
Explanation: AzCopy is a command-line utility designed for high-performance upload, download, and copy of data to/from Azure Storage with resume capabilities.
Question 15
What is the maximum size of a single Azure blob?
a) 2 TB
b) 4.75 TB
c) 5 TB
d) 10 TB
Show Answer
Answer: b) 4.75 TB (4.75 TiB)
Explanation: The maximum size of a single blob in Azure Blob Storage is approximately 4.75 TB (or larger with premium block blob accounts).
Question 16
Which Azure Files feature provides caching of Azure file shares on on-premises servers?
a) Azure File Sync
b) Azure Backup
c) Azure Site Recovery
d) Azure Import/Export
Show Answer
Answer: a) Azure File Sync
Explanation: Azure File Sync caches frequently accessed files from Azure file shares on on-premises Windows Servers, enabling hybrid file server scenarios with cloud tiering.
Question 17
What is the purpose of storage lifecycle management in Azure?
a) Creating storage accounts automatically
b) Automating tier transitions and data expiration based on rules
c) Managing storage account keys
d) Monitoring storage performance
Show Answer
Answer: b) Automating tier transitions and data expiration based on rules
Explanation: Lifecycle management rules automatically move blobs between access tiers (Hot → Cool → Archive) or expire old data to optimize storage costs.
Domain 3: Deploy and Manage Azure Compute Resources (Questions 18–27)
Question 18
Which Azure compute service provides serverless container execution?
a) Azure VMs
b) Azure Container Instances (ACI)
c) Azure Kubernetes Service (AKS)
d) Azure Batch
Show Answer
Answer: b) Azure Container Instances (ACI)
Explanation: ACI provides serverless container execution — you define containers without managing underlying VMs. It's ideal for simple, fast container workloads.
Question 19
Which VM availability option protects against hardware failures within a single datacenter?
a) Availability Zones
b) Availability Sets
c) VM Scale Sets
d) Proximity Placement Groups
Show Answer
Answer: b) Availability Sets
Explanation: Availability Sets distribute VMs across fault domains (different racks) and update domains (maintenance windows) within a datacenter. They protect against hardware failures and planned maintenance.
Question 20
What is the purpose of Azure VM Scale Sets?
a) Managing a single VM
b) Automatically scaling a group of identical VMs based on demand
c) Creating virtual networks
d) Managing storage
Show Answer
Answer: b) Automatically scaling a group of identical VMs based on demand
Explanation: VMSS creates and manages a group of identical, load-balanced VMs that can automatically scale in/out based on metrics or schedules.
Question 21
Which disk type provides the highest performance for Azure VMs?
a) Standard HDD
b) Standard SSD
c) Premium SSD
d) Ultra Disk
Show Answer
Answer: d) Ultra Disk
Explanation: Ultra Disk provides the highest performance with sub-millisecond latency and configurable IOPS/throughput for I/O-intensive workloads.
Question 22
What is the difference between Azure Functions Consumption and Premium plans?
a) Premium plan provides always-ready instances and VNet integration
b) Consumption plan provides always-warm instances
c) They are identical
d) Premium plan has lower cost
Show Answer
Answer: a) Premium plan provides always-ready instances and VNet integration
Explanation: Premium plan eliminates cold starts with pre-warmed instances and supports VNet connectivity. Consumption plan scales from zero (cold starts possible) and has lower cost.
Question 23
Which Azure service provides a fully managed Kubernetes cluster?
a) Azure Container Instances
b) Azure Kubernetes Service (AKS)
c) Azure Container Registry
d) Azure Service Fabric
Show Answer
Answer: b) Azure Kubernetes Service (AKS)
Explanation: AKS provides a managed Kubernetes control plane with automated upgrades, scaling, and integration with Azure services (AD, networking, monitoring).
Question 24
What is an Azure App Service deployment slot?
a) A storage slot for application data
b) A live environment for staging and swapping deployments
c) A slot in a load balancer
d) A time slot for deployment
Show Answer
Answer: b) A live environment for staging and swapping deployments
Explanation: Deployment slots (like staging, production) allow zero-downtime deployments by swapping slots. Traffic can be redirected to validate changes before full deployment.
Question 25
Which ARM template function returns a unique string based on the resource group ID?
a) uniqueString()
b) concat()
c) resourceGroup().id
d) subscription().id
Show Answer
Answer: a) uniqueString()
Explanation: uniqueString() creates a deterministic hash string based on the provided parameters, useful for creating unique resource names.
Question 26
What is the purpose of Azure Container Registry (ACR) tasks?
a) Running containers
b) Building and patching container images automatically
c) Storing container images
d) Monitoring containers
Show Answer
Answer: b) Building and patching container images automatically
Explanation: ACR Tasks automate building and patching container images on code commit or base image update, enabling CI/CD pipelines for containers.
Question 27
Which VM type should you choose for a GPU-intensive workload?
a) D-series (general purpose)
b) E-series (memory optimized)
c) NC/NV-series (GPU)
d) L-series (storage optimized)
Show Answer
Answer: c) NC/NV-series (GPU)
Explanation: NC, ND, and NV series VMs include NVIDIA GPUs for compute-intensive workloads like AI training, rendering, and visualization.
Domain 4: Configure and Manage Virtual Networking (Questions 28–38)
Question 28
Which Azure service enables connectivity between on-premises networks and Azure over a dedicated private connection?
a) VPN Gateway
b) ExpressRoute
c) VNet Peering
d) Azure Front Door
Show Answer
Answer: b) ExpressRoute
Explanation: ExpressRoute provides dedicated private connections from on-premises to Azure, bypassing the public internet for higher reliability, lower latency, and higher security.
Question 29
What is the purpose of a Network Security Group (NSG)?
a) Filtering network traffic to/from Azure resources based on rules
b) Load balancing traffic
c) Encrypting network traffic
d) Creating virtual networks
Show Answer
Answer: a) Filtering network traffic to/from Azure resources based on rules
Explanation: NSGs filter network traffic at the subnet or NIC level using inbound/outbound rules with source/destination IP, port, and protocol.
Question 30
Which Azure load balancer operates at Layer 7 (HTTP/HTTPS)?
a) Azure Load Balancer
b) Application Gateway
c) Traffic Manager
d) Azure Front Door
Show Answer
Answer: b) Application Gateway
Explanation: Application Gateway operates at Layer 7 with features like URL-based routing, SSL termination, session affinity, and WAF integration.
Question 31
What is the difference between VNet peering and VPN Gateway?
a) VNet peering connects VNets within Azure; VPN Gateway connects on-premises to Azure
b) VPN Gateway connects VNets; VNet peering connects on-premises
c) They are the same
d) VNet peering is encrypted; VPN Gateway is not
Show Answer
Answer: a) VNet peering connects VNets within Azure; VPN Gateway connects on-premises to Azure
Explanation: VNet peering connects two Azure VNets (same or different regions) using Microsoft's backbone. VPN Gateway connects on-premises networks to Azure over the internet.
Question 32
What is Azure Bastion?
a) A firewall service
b) A fully managed RDP/SSH access service without public IPs
c) A VPN gateway
d) A load balancer
Show Answer
Answer: b) A fully managed RDP/SSH access service without public IPs
Explanation: Azure Bastion provides secure RDP/SSH connectivity to VMs directly from the Azure Portal, eliminating the need for public IPs on VMs.
Question 33
Which DNS feature allows you to resolve Azure resources using custom domains?
a) Azure DNS
b) Azure Private DNS Zones
c) Azure Traffic Manager
d) Azure Front Door
Show Answer
Answer: b) Azure Private DNS Zones
Explanation: Private DNS Zones manage DNS records within VNets, enabling custom domain resolution for internal resources without exposing them to the internet.
Question 34
What is the purpose of Azure Firewall?
a) A managed, cloud-based firewall service with built-in high availability
b) A virtual firewall appliance
c) A web application firewall
d) A network security group
Show Answer
Answer: a) A managed, cloud-based firewall service with built-in high availability
Explanation: Azure Firewall is a managed firewall service with built-in high availability, auto-scaling, and features like threat intelligence, FQDN filtering, and DNS proxy.
Question 35
Which service provides DDoS protection for Azure resources?
a) Azure Firewall
b) Azure DDoS Protection
c) Network Security Groups
d) Application Gateway WAF
Show Answer
Answer: b) Azure DDoS Protection
Explanation: Azure DDoS Protection mitigates DDoS attacks. Basic tier is automatically enabled, Standard tier provides advanced attack analytics and mitigation.
Question 36
What is the purpose of Azure Private Link?
a) Connecting Azure VNets
b) Providing private connectivity to Azure PaaS services from a VNet
c) Creating VPN connections
d) Load balancing traffic
Show Answer
Answer: b) Providing private connectivity to Azure PaaS services from a VNet
Explanation: Private Link creates private endpoints for Azure PaaS services (SQL, Storage, etc.), allowing access over private IPs within a VNet instead of public endpoints.
Question 37
Which routing type does Traffic Manager use for the lowest latency?
a) Priority
b) Weighted
c) Performance
d) Geographic
Show Answer
Answer: c) Performance
Explanation: Performance routing directs traffic to the endpoint with the lowest latency for the user. Geographic routes based on user location.
Question 38
What is a service endpoint in Azure networking?
a) A VPN connection endpoint
b) A connection from a VNet to Azure PaaS services over the Microsoft backbone
c) An endpoint for Azure Firewall
d) A load balancer endpoint
Show Answer
Answer: b) A connection from a VNet to Azure PaaS services over the Microsoft backbone
Explanation: Service endpoints provide direct connectivity from VNets to Azure services (SQL, Storage, etc.) over the Azure backbone, bypassing the internet.
Domain 5: Monitor and Maintain Azure Resources (Questions 39–50)
Question 39
Which Azure service provides a unified monitoring experience for resources and applications?
a) Azure Monitor
b) Azure Service Health
c) Azure Advisor
d) Azure Sentinel
Show Answer
Answer: a) Azure Monitor
Explanation: Azure Monitor provides a single platform for collecting, analyzing, and acting on telemetry from Azure and on-premises environments.
Question 40
Which Azure Backup component provides backup for Azure VMs?
a) Backup Center
b) Recovery Services vault
c) Azure Site Recovery
d) Azure File Sync
Show Answer
Answer: b) Recovery Services vault
Explanation: The Recovery Services vault stores backup data and manages backup policies for Azure VMs, Azure Files, SQL Server, and SAP HANA.
Question 41
What is the purpose of Azure Site Recovery?
a) Backing up files
b) Replicating workloads to a secondary region for disaster recovery
c) Monitoring application performance
d) Managing OS updates
Show Answer
Answer: b) Replicating workloads to a secondary region for disaster recovery
Explanation: Azure Site Recovery replicates Azure VMs and on-premises workloads to a secondary region, enabling orchestrated failover and failback for disaster recovery.
Question 42
Which Azure Advisor recommendation category focuses on reducing costs?
a) Cost
b) Security
c) Reliability
d) Performance
Show Answer
Answer: a) Cost
Explanation: Azure Advisor provides recommendations in five categories: Cost (right-sizing, reserved instances), Security (NSG rules, encryption), Reliability (backups, redundancy), Performance (scaling, slow queries), and Operational Excellence.
Question 43
What is a Log Analytics workspace used for?
a) Storing log data for analysis and querying
b) Creating log files
c) Managing log storage accounts
d) Collecting application metrics
Show Answer
Answer: a) Storing log data for analysis and querying
Explanation: Log Analytics workspaces store log and metric data from Azure resources. KQL (Kusto Query Language) is used to query and analyze the data.
Question 44
What is a metric alert in Azure Monitor?
a) An alert based on log search queries
b) An alert triggered when a metric value crosses a defined threshold
c) An alert for service health issues
d) An alert for budget thresholds
Show Answer
Answer: b) An alert triggered when a metric value crosses a defined threshold
Explanation: Metric alerts evaluate resource metrics (CPU, memory, requests) at regular intervals and trigger actions when conditions are met.
Question 45
Which action group notification type can send SMS messages?
a) Email
b) SMS
c) Webhook
d) ITSM
Show Answer
Answer: b) SMS
Explanation: Action groups define notification and action responses when alerts fire. Supported notifications include email, SMS, push notifications, voice calls, webhooks, and ITSM connections.
Question 46
What is the purpose of diagnostic settings in Azure Monitor?
a) Configuring alert thresholds
b) Defining which logs and metrics to collect and where to send them
c) Creating monitoring dashboards
d) Setting up autoscale
Show Answer
Answer: b) Defining which logs and metrics to collect and where to send them
Explanation: Diagnostic settings specify which platform logs and metrics to collect from Azure resources and where to send them (Log Analytics, Storage Account, Event Hub).
Question 47
Which query language is used in Azure Log Analytics?
a) SQL
b) KQL (Kusto Query Language)
c) Python
d) PowerShell
Show Answer
Answer: b) KQL (Kusto Query Language)
Explanation: KQL is the query language used in Log Analytics for searching, filtering, aggregating, and visualizing log data.
Question 48
What is the purpose of Azure Update Management?
a) Managing Windows updates for on-premises servers only
b) Assessing and deploying updates to Azure and on-premises VMs
c) Updating Azure resource configurations
d) Managing application versions
Show Answer
Answer: b) Assessing and deploying updates to Azure and on-premises VMs
Explanation: Update Management (in Azure Automation) assesses update compliance and schedules update deployments for Windows and Linux VMs across Azure and on-premises.
Question 49
Which tool provides real-time cost analysis and budgeting for Azure resources?
a) Azure Monitor
b) Azure Cost Management + Billing
c) Azure Advisor
d) Azure Pricing Calculator
Show Answer
Answer: b) Azure Cost Management + Billing
Explanation: Azure Cost Management + Billing provides cost analysis, budget creation, alerts, and recommendations for optimizing Azure spending.
Question 50
What is the purpose of tags in Azure?
a) Organizing resources for cost allocation, management, and automation
b) Encrypting resources
c) Creating backup policies
d) Managing network traffic
Show Answer
Answer: a) Organizing resources for cost allocation, management, and automation
Explanation: Azure Tags (key-value pairs) categorize resources by purpose, owner, environment, or cost center. They enable filtered cost reports, policy enforcement, and automation.
How Did You Score?
- 0–25 correct: Review the Azure Administrator Exam Guide.
- 26–40 correct: On track. Build hands-on experience.
- 41–50 correct: Ready for the exam!
Access all AZ-104 practice questions →
Related Articles
Bereit, dein Wissen zu testen?
Probiere unsere Übungsprüfungen mit Hunderten von realistischen Fragen aus.
Üben starten →