Microsoft Certification

AZ-104 — Microsoft Azure Administrator Study Guide

59 practice questions with correct answers and detailed explanations. Use this guide to review concepts before taking the practice exam.

▶ Take Practice Exam 59 questions  ·  Free  ·  No registration

About the AZ-104 Exam

The Microsoft Microsoft Azure Administrator (AZ-104) certification validates professional expertise in Microsoft technologies. This study guide covers all 59 practice questions from our AZ-104 practice test, complete with correct answers and explanations to help you understand each concept thoroughly.

Review each question and explanation below, then test yourself with the full interactive practice exam to measure your readiness.

59 Practice Questions & Answers

Q1 Medium

You need to configure a user account to require multi-factor authentication (MFA) for Azure portal access. Which Azure service should you use?

  • A Azure Policy
  • B Azure Security Center
  • C Azure Active Directory Conditional Access ✓ Correct
  • D Azure Blueprints
Explanation

Azure AD Conditional Access policies allow you to enforce MFA based on specific conditions, such as sign-in risk or location. This is the primary method for enforcing MFA requirements.

Q2 Medium

Your organization needs to manage access to Azure resources using role-based access control (RBAC). What is the smallest scope at which you can assign an RBAC role?

  • A Resource ✓ Correct
  • B Management group
  • C Resource group
  • D Subscription
Explanation

RBAC roles can be assigned at multiple scopes: management group, subscription, resource group, or resource level. The resource level is the most granular scope available.

Q3 Medium

You have a virtual machine that needs to access Azure Key Vault without storing credentials in the application. Which approach should you implement?

  • A Store connection strings in the VM's environment variables
  • B Use managed identities to access Key Vault ✓ Correct
  • C Hard-code the service principal credentials in the application
  • D Create a dedicated storage account for storing credentials
Explanation

Managed identities provide an Azure-managed identity that applications can use to authenticate to Azure services without storing credentials, improving security and manageability.

Q4 Easy

You need to monitor Azure virtual machines for performance issues. Which Azure service provides real-time metrics and alerting capabilities?

  • A Azure Advisor
  • B Azure Service Health
  • C Azure Resource Manager
  • D Azure Monitor ✓ Correct
Explanation

Azure Monitor collects, analyzes, and acts on telemetry data from Azure and on-premises environments, providing metrics, logs, and alerting capabilities for performance monitoring.

Q5 Medium

Your organization requires that all Azure resources be tagged with cost center information for billing purposes. How should you enforce this requirement?

  • A Use Azure Blueprints to automatically add tags during resource provisioning
  • B Create an Azure Policy that denies resource creation without the required tags ✓ Correct
  • C Manually tag each resource after creation and monitor compliance monthly
  • D Implement a custom PowerShell script to scan and tag resources daily
Explanation

Azure Policy allows you to enforce tagging requirements by creating policies that deny resource creation or modification if required tags are missing, ensuring compliance.

Q6 Easy

You have deployed a virtual machine in Azure and need to ensure it receives security updates automatically. Which feature should you enable?

  • A Azure Automation State Configuration
  • B Azure Backup
  • C Azure Update Management ✓ Correct
  • D Azure Site Recovery
Explanation

Azure Update Management allows you to manage operating system updates for Windows and Linux virtual machines in Azure, including scheduling and deployment of patches.

Q7 Medium

You need to configure network security for a virtual network to restrict traffic. Which of the following is used to filter traffic at the network interface or subnet level?

  • A Azure Firewall
  • B Application Gateway
  • C Network Security Groups (NSGs) ✓ Correct
  • D Azure DDoS Protection
Explanation

Network Security Groups are stateful firewalls that filter traffic at the network interface or subnet level using inbound and outbound security rules based on source, destination, port, and protocol.

Q8 Hard

Your company needs to create multiple Azure resources with consistent configurations across different regions. What Azure tool should you use?

  • A Azure Policy
  • B Azure Resource Manager templates
  • C Azure Automation
  • D Azure Blueprints ✓ Correct
Explanation

Azure Blueprints allow you to define and deploy sets of Azure resources with consistent configurations, governance policies, and RBAC assignments across multiple subscriptions and regions.

Q9 Medium

You are managing storage accounts in Azure and need to prevent accidental deletion of critical data. Which feature provides this protection?

  • A Storage account access keys
  • B Soft delete for blobs and file shares ✓ Correct
  • C Azure Storage redundancy
  • D Storage account encryption
Explanation

Soft delete allows you to recover deleted blobs and file shares within a retention period, protecting against accidental or malicious deletion of data in Azure Storage.

Q10 Medium

Your organization uses Azure ExpressRoute for private connectivity to Azure. Which scenario is the primary use case for ExpressRoute?

  • A Providing DDoS protection for web applications
  • B Connecting remote offices to Azure with low-latency and predictable bandwidth ✓ Correct
  • C Encrypting data in transit between on-premises and Azure
  • D Reducing the cost of data transfer between Azure regions
Explanation

Azure ExpressRoute provides private, dedicated network connections between on-premises data centers and Azure with low latency, high reliability, and consistent bandwidth.

Q11 Medium

You need to automate the scaling of a web application based on CPU utilization. Which Azure service should you configure?

  • A Azure Traffic Manager
  • B Azure Load Balancer
  • C Azure App Service backup
  • D Virtual Machine Scale Sets with autoscale rules ✓ Correct
Explanation

Virtual Machine Scale Sets support autoscaling based on various metrics including CPU utilization, allowing automatic addition or removal of VM instances based on demand.

Q12 Hard

You are configuring backup for an Azure SQL Database. What is the primary recovery point objective (RPO) for automated backups?

  • A 24 hours
  • B 30 days
  • C 5 minutes ✓ Correct
  • D 1 hour
Explanation

Azure SQL Database performs automated backups with a recovery point objective of approximately 5 minutes due to transaction log backups, enabling recovery to any point within the retention period.

Q13 Medium

You need to implement a solution that allows users to access Azure resources from on-premises without exposing resources to the internet. Which networking solution is appropriate?

  • A Site-to-Site VPN gateway ✓ Correct
  • B Azure Traffic Manager for load balancing
  • C Public endpoints with IP whitelisting
  • D Azure Content Delivery Network
Explanation

Site-to-Site VPN creates a secure, encrypted connection between on-premises networks and Azure virtual networks, allowing private access without exposing resources to the internet.

Q14 Easy

Your organization needs to monitor and audit changes to Azure resources. Which service provides compliance tracking and resource change history?

  • A Azure Activity Log ✓ Correct
  • B Azure Performance Insights
  • C Azure Metrics
  • D Azure Diagnostics
Explanation

The Azure Activity Log records all control plane operations and changes to Azure resources, providing an audit trail for compliance and troubleshooting purposes.

Q15 Hard

You are implementing a disaster recovery solution for critical applications. Which Azure service provides native replication and failover capabilities for virtual machines?

  • A Azure Storage redundancy
  • B Azure Backup
  • C Azure Database replication
  • D Azure Site Recovery ✓ Correct
Explanation

Azure Site Recovery orchestrates replication and failover of virtual machines between Azure regions or on-premises to Azure, enabling comprehensive disaster recovery solutions.

Q16 Medium

You need to configure a custom domain name for an Azure App Service. Which Azure service should you use to manage DNS records?

  • A Azure Front Door
  • B Azure Traffic Manager
  • C Azure Application Gateway
  • D Azure DNS ✓ Correct
Explanation

Azure DNS provides DNS hosting for your domains with full support for DNS records, allowing you to configure custom domain names for Azure App Services and other resources.

Q17 Medium

Your organization requires encryption of data at rest in Azure Storage. What type of encryption is provided by default?

  • A Microsoft-managed keys (service-side encryption) ✓ Correct
  • B Client-side encryption required for all data
  • C No encryption by default
  • D Customer-managed keys only
Explanation

Azure Storage provides service-side encryption at rest using Microsoft-managed keys by default for all storage accounts, with optional customer-managed keys available.

Q18 Medium

You need to implement role-based access control for a team of developers. Which built-in Azure role provides read and write access to all Azure resources without managing permissions?

  • A Owner
  • B User Access Administrator
  • C Contributor ✓ Correct
  • D Reader
Explanation

The Contributor built-in role grants full access to manage all Azure resources but does not allow managing permissions or assignments, whereas Owner can do both.

Q19 Hard

You are configuring network connectivity between two virtual networks in different Azure regions. Which approach provides low-latency, private connectivity?

  • A Virtual network peering ✓ Correct
  • B Site-to-Site VPN
  • C ExpressRoute circuits
  • D Public IP addresses with firewall rules
Explanation

Virtual network peering provides low-latency, private connectivity between virtual networks within Azure, supporting both same-region and cross-region scenarios without routing through gateways.

Q20 Hard

You need to ensure that Azure virtual machines maintain consistent performance. Which metric should you monitor in Azure Monitor?

  • A All of the above ✓ Correct
  • B Available memory percentage
  • C Disk read operations per second
  • D Network bytes received
Explanation

Azure Monitor tracks multiple VM performance metrics including CPU, memory, disk I/O, and network activity. Comprehensive monitoring requires tracking all relevant metrics for optimal performance insight.

Q21 Hard

Your organization uses multiple Azure subscriptions for different departments. How should you enforce consistent security policies across all subscriptions?

  • A Use Azure Blueprints for each individual subscription
  • B Apply Azure Policy at the management group level ✓ Correct
  • C Configure policies only at the subscription scope
  • D Manually configure policies in each subscription separately
Explanation

Applying policies at the management group level ensures consistent enforcement across all child subscriptions and resource groups, providing centralized governance.

Q22 Easy

You need to store sensitive configuration data that applications can access securely. Which Azure service is designed specifically for this purpose?

  • A Azure Storage Accounts
  • B Azure Key Vault ✓ Correct
  • C Azure SQL Database
  • D Azure Cosmos DB
Explanation

Azure Key Vault is designed to securely store and manage secrets, encryption keys, and certificates, with built-in access control and audit logging for sensitive data.

Q23 Hard

You are implementing a highly available application tier in Azure. Which load balancing solution operates at Layer 7 (application layer)?

  • A Azure ExpressRoute
  • B Network Security Groups
  • C Azure Load Balancer
  • D Azure Application Gateway ✓ Correct
Explanation

Azure Application Gateway is a Layer 7 load balancer providing application-level routing based on hostnames, URL paths, and other HTTP properties, while Load Balancer operates at Layer 4.

Q24 Medium

Your company needs to maintain compliance with data residency requirements. Which Azure feature allows you to control where data is stored?

  • A Azure Redundancy options
  • B Azure Private Endpoints
  • C Azure regions and availability zones ✓ Correct
  • D Azure encryption keys
Explanation

By selecting specific Azure regions for resource deployment, you control data residency and can meet compliance requirements for data location and sovereignty.

Q25 Medium

You need to create a virtual network with a subnet that will contain 254 usable IP addresses. Which address space should you use?

  • A 10.0.0.0/22
  • B 10.0.0.0/24 ✓ Correct
  • C 10.0.0.0/23
  • D 10.0.0.0/25
Explanation

A /24 subnet provides 256 total addresses, with 254 usable for hosts (minus network and broadcast). A /25 would only provide 128 total addresses with 126 usable, which is insufficient.

Q26 Medium

Your organization requires that all Azure resources be tagged with a cost center. You need to enforce this requirement across all resource groups. Which Azure feature should you use?

  • A Azure RBAC role assignment
  • B Azure Policy with audit effect ✓ Correct
  • C Azure Blueprint definitions
  • D Azure Resource Manager templates only
Explanation

Azure Policy can enforce tagging requirements using the 'deny' or 'audit' effect to ensure compliance across subscriptions and resource groups. RBAC controls access, not resource properties.

Q27 Medium

You manage a virtual machine that experiences intermittent high CPU usage. You need to automatically scale the number of VMs based on CPU metrics. Which approach should you implement?

  • A Use Azure Automation runbooks to manually adjust VM count
  • B Enable performance diagnostics on each individual VM
  • C Configure a virtual machine scale set with autoscaling rules ✓ Correct
  • D Increase the VM size to handle peak loads
Explanation

Virtual machine scale sets with autoscaling rules automatically add or remove VM instances based on performance metrics like CPU usage. Manual runbooks or VM resizing do not provide automatic scaling.

Q28 Easy

You need to grant a developer access to resources in a specific resource group. The developer should be able to create and modify resources but cannot delete resources or assign permissions. Which role should you assign?

  • A Contributor ✓ Correct
  • B User Access Administrator
  • C Owner
  • D Reader
Explanation

The Contributor role allows users to create and modify resources but does not grant delete or permission assignment capabilities. Owner role would grant too much access, while Reader is read-only.

Q29 Medium

Your organization has multiple Azure subscriptions and needs centralized billing and policy management. Which service should you implement?

  • A Azure Lighthouse
  • B Azure Resource Groups
  • C Azure Cost Management
  • D Azure Management Groups ✓ Correct
Explanation

Azure Management Groups provide hierarchical organization of subscriptions for centralized policy application and billing aggregation across multiple subscriptions. Resource Groups organize resources within a subscription, not subscriptions themselves.

Q30 Medium

You have created a public IP address for a virtual machine but it is not currently in use. What will happen to your costs?

  • A Azure automatically deallocates unused public IPs after 30 days without charging
  • B Charges will be incurred only when the associated VM is running
  • C You will not incur charges because the IP is not assigned to a running resource
  • D You will incur charges for an unassociated public IP address ✓ Correct
Explanation

Azure charges for public IP addresses when they are allocated, regardless of whether they are associated with a running resource or actively used. To avoid charges, you must deallocate or delete the IP address.

Q31 Easy

You need to configure network security for a virtual machine to allow inbound HTTPS traffic from the internet while blocking all other inbound traffic. Which resource should you configure?

  • A Network Security Group rules ✓ Correct
  • B Application Gateway filtering rules
  • C Azure Firewall rules only
  • D Virtual machine firewall settings
Explanation

Network Security Groups (NSGs) are the primary resource for controlling inbound and outbound traffic to Azure resources at the network level. NSGs use rules to allow specific traffic like HTTPS (port 443).

Q32 Medium

You need to back up a virtual machine and retain the backup for 7 years due to compliance requirements. Which backup solution best meets this requirement?

  • A Azure Backup with long-term retention policy configured for 7 years ✓ Correct
  • B Virtual machine image captures stored in Shared Image Gallery
  • C Manual snapshots stored in Azure Blob Storage with lifecycle policies
  • D Azure Site Recovery replication to a secondary region
Explanation

Azure Backup supports long-term retention policies that can retain daily, weekly, monthly, and yearly backups for extended periods including 7+ years. Snapshots and Site Recovery are not designed for such long-term archival retention.

Q33 Easy

Your application requires a managed database solution that supports automatic backups, point-in-time restore, and scaling. Which Azure service should you choose?

  • A Azure Blob Storage
  • B Azure Storage accounts
  • C Azure SQL Database ✓ Correct
  • D SQL Server on a virtual machine
Explanation

Azure SQL Database is a managed service providing automatic backups, point-in-time restore, and elastic scaling without infrastructure management. SQL Server on VMs requires manual backup configuration.

Q34 Medium

You need to migrate an on-premises file server to Azure. The migration must minimize downtime and support ongoing synchronization of changes. Which tool should you use?

  • A Azure File Sync ✓ Correct
  • B Azure Import/Export service
  • C Azure Blob Storage with AzCopy
  • D Azure Data Box Gateway
Explanation

Azure File Sync enables hybrid cloud scenarios by synchronizing on-premises file servers with Azure file shares, supporting both initial migration and ongoing change replication. AzCopy is a one-time transfer tool without ongoing sync.

Q35 Medium

You are configuring authentication for an Azure App Service. You need to enable multi-factor authentication and support social identity providers. Which authentication method should you implement?

  • A Azure Active Directory B2C ✓ Correct
  • B Service principal authentication
  • C Azure Active Directory B2B
  • D Shared key authentication
Explanation

Azure AD B2C is designed for consumer-facing applications supporting multi-factor authentication, social identity providers, and custom user flows. B2B is for business-to-business collaboration with Azure AD users.

Q36 Easy

Your organization has a hybrid environment with on-premises Active Directory. You need to synchronize user identities to Azure AD with password hash synchronization. Which tool should you deploy?

  • A Azure AD Privileged Identity Management
  • B Azure AD Application Proxy
  • C Azure AD Connect Health
  • D Azure AD Connect ✓ Correct
Explanation

Azure AD Connect synchronizes on-premises Active Directory to Azure AD and supports password hash synchronization. AD Connect Health monitors the sync health, while App Proxy enables remote access to on-premises apps.

Q37 Medium

You have a storage account that contains sensitive data. You need to ensure that data is encrypted both in transit and at rest. Which encryption technologies should you verify are enabled?

  • A Client-side encryption exclusively without SSE
  • B Only transparent data encryption (TDE) for the storage account
  • C Storage Service Encryption (SSE) and HTTPS/TLS for data in transit ✓ Correct
  • D Azure Disk Encryption for all storage accounts
Explanation

Storage Service Encryption encrypts data at rest, while HTTPS/TLS encrypts data in transit. Together they provide comprehensive encryption. TDE applies to SQL databases, and Disk Encryption applies to VM disks.

Q38 Medium

You need to assign permissions to a group of developers to manage resources in a production resource group, but you want to prevent accidental deletions. Which approach is most appropriate?

  • A Assign Reader role and create custom role-based access control
  • B Assign Owner role with a deletion policy restriction
  • C Assign Contributor role and implement a delete lock on the resource group ✓ Correct
  • D Use Azure Blueprints to prevent all modifications
Explanation

Combining the Contributor role with a CanNotDelete lock prevents developers from accidentally deleting resources while still allowing resource creation and modification. Owner role grants too much access.

Q39 Medium

Your application stores session data in a Redis cache. You need to ensure the cache is highly available and can be scaled horizontally. Which Azure Cache for Redis tier should you use?

  • A Basic tier
  • B Developer tier
  • C Premium tier ✓ Correct
  • D Standard tier
Explanation

The Premium tier of Azure Cache for Redis supports clustering for horizontal scaling and high availability features including replication and failover. Standard and Basic tiers do not support clustering.

Q40 Easy

You need to monitor Azure resources and receive alerts when CPU usage exceeds 80%. Which service should you configure?

  • A Azure Monitor with metric alerts ✓ Correct
  • B Azure Advisor only
  • C Application Insights for infrastructure monitoring
  • D Azure Service Health exclusively
Explanation

Azure Monitor metric alerts can trigger notifications based on performance thresholds like CPU usage. Advisor provides recommendations, Service Health shows service status, and Application Insights focuses on application performance.

Q41 Hard

Your organization needs to implement disaster recovery for a web application with an RTO of 1 hour and RPO of 15 minutes. Which Azure service should you use?

  • A Azure Backup snapshots
  • B Azure Traffic Manager only
  • C Manual failover to a secondary region
  • D Azure Site Recovery ✓ Correct
Explanation

Azure Site Recovery provides automated replication and failover with configurable RTO/RPO objectives, supporting continuous replication to meet the 15-minute RPO requirement. Backup and manual failover do not provide the required automation.

Q42 Medium

You are configuring a storage account for a web application. You need to enable CORS for requests from a specific domain. Where should you configure CORS settings?

  • A In the network security group rules
  • B In the application's web.config file
  • C In the Azure Application Gateway settings
  • D In the storage account's CORS configuration ✓ Correct
Explanation

CORS settings for Azure Storage are configured directly in the storage account's CORS configuration to allow cross-origin requests from specified domains. Application-level configuration does not control storage CORS.

Q43 Hard

You have deployed an application to multiple regions and need to distribute traffic based on geographic location. Which Azure service should you use?

  • A Azure Load Balancer
  • B Azure Traffic Manager
  • C Azure Front Door ✓ Correct
  • D Azure Application Gateway
Explanation

Azure Front Door provides global load balancing and geographic routing at the edge network level. Traffic Manager routes at the DNS level, while Load Balancer and Application Gateway operate regionally.

Q44 Easy

You need to automate the deployment of Azure resources using a declarative template. Which tool should you use?

  • A Azure CLI commands executed sequentially
  • B Azure Resource Manager templates ✓ Correct
  • C Manual Azure Portal deployment
  • D Azure PowerShell scripts
Explanation

Azure Resource Manager (ARM) templates provide declarative infrastructure-as-code for repeatable, consistent deployments. CLI and PowerShell scripts are imperative and require sequential execution.

Q45 Medium

Your organization requires that virtual machines use managed disks for all new deployments. You need to enforce this requirement across all subscriptions. Which solution should you implement?

  • A Azure Blueprints that suggest managed disk usage
  • B RBAC role that prevents unmanaged disk creation
  • C Azure Policy with a deny effect for unmanaged disks ✓ Correct
  • D Manual enforcement through change control procedures
Explanation

Azure Policy with a deny effect prevents the creation of resources that violate the policy, enforcing mandatory use of managed disks. Manual procedures and Blueprints are not enforceable, and RBAC does not control resource properties.

Q46 Medium

You need to access an on-premises database from an Azure application without exposing the database to the internet. Which technology should you implement?

  • A Replicating data to Azure SQL Database
  • B Azure Application Gateway with internet routing
  • C Public IP address for the database server
  • D Azure ExpressRoute or Site-to-Site VPN ✓ Correct
Explanation

ExpressRoute or Site-to-Site VPN creates secure private connectivity between Azure and on-premises networks without internet exposure. Public IPs and internet routing would expose the database.

Q47 Medium

You are managing multiple virtual machines and need to apply configuration management at scale. Which Azure service provides this capability?

  • A Azure Automation with Desired State Configuration (DSC) ✓ Correct
  • B Manual RDP connections to each VM
  • C Azure Backup configuration only
  • D Azure Monitor diagnostic settings
Explanation

Azure Automation with Desired State Configuration enables automated configuration management across multiple VMs at scale. Manual connections do not scale, and Backup/Monitor have different purposes.

Q48 Medium

You need to ensure that a virtual machine can access an Azure Key Vault to retrieve encryption keys without storing credentials. Which feature should you use?

  • A Shared Access Signatures (SAS)
  • B Azure AD user account on the VM
  • C Managed Identity ✓ Correct
  • D Service Principal with stored credentials
Explanation

Managed Identity allows VMs to authenticate to Azure services without storing credentials, automatically managing token refresh. Service Principals require credential storage, SAS tokens are for storage access, and user accounts require password management.

Q49 Hard

Your organization has strict data residency requirements requiring data to remain in a specific geographic region. Which Azure feature helps enforce this requirement?

  • A Network security groups filtering by region
  • B Azure Policy with location conditions ✓ Correct
  • C Manually selecting regions during deployment
  • D Azure Resource Groups in specific regions
Explanation

Azure Policy can enforce location restrictions using conditions that deny resource creation outside specified regions. Manual selection is not enforceable, resource groups do not enforce location compliance, and NSGs do not control deployment regions.

Q50 Medium

You need to configure Azure virtual machines to automatically scale based on CPU utilization. Which Azure service should you use?

  • A Azure Virtual Machine Scale Sets with autoscale rules ✓ Correct
  • B Azure Traffic Manager with performance routing
  • C Azure Load Balancer with health probes
  • D Azure Application Gateway with WAF policies
Explanation

Virtual Machine Scale Sets combined with autoscale rules allow automatic scaling of VMs based on metrics like CPU utilization. The other services handle load balancing or routing but don't provide autoscaling functionality.

Q51 Medium

Your organization requires that all Azure resources be tagged with a cost center code. What is the most efficient way to enforce this requirement?

  • A Configure resource groups to automatically inherit tags from the parent management group
  • B Manually add tags to each resource after creation
  • C Create a PowerShell script to tag resources weekly
  • D Use Azure Policy to enforce tagging requirements across the subscription ✓ Correct
Explanation

Azure Policy provides governance at scale by enforcing tagging requirements and preventing non-compliant resources from being created. Manual tagging and scripts are not scalable solutions.

Q52 Medium

You are managing storage accounts and need to ensure that data is automatically tiered between hot, cool, and archive access tiers based on age. Which feature should you implement?

  • A Blob lifecycle management policies ✓ Correct
  • B Immutable blob storage with legal holds
  • C Azure Data Lake Storage replication
  • D Storage account encryption
Explanation

Blob lifecycle management policies automatically move blobs between access tiers based on age and other criteria. This optimizes costs by moving infrequently accessed data to cooler tiers.

Q53 Medium

You need to monitor Azure resources and create alerts when specific conditions occur. A colleague suggests using Azure Monitor. Which of the following is NOT a capability of Azure Monitor?

  • A Creating metric-based alerts for resource CPU usage
  • B Automatically patching virtual machines on a schedule ✓ Correct
  • C Collecting and analyzing log data from multiple sources
  • D Tracking application performance through Application Insights
Explanation

Azure Monitor handles alerting, logging, and performance tracking, but automatic VM patching is handled by Update Management or Azure Automation. Azure Monitor does not directly manage patch schedules.

Q54 Hard

Your organization has multiple Azure subscriptions across different departments. You need to implement a centralized billing and governance structure. What should you use?

  • A Azure management groups with multiple subscriptions organized in a hierarchy ✓ Correct
  • B Azure DevOps projects to manage subscription access and billing
  • C A single large subscription with separate resource groups for each department
  • D Multiple independent subscriptions without any organizational structure
Explanation

Management groups enable hierarchical organization of multiple subscriptions, allowing centralized policy application and billing oversight across departments. A flat subscription structure lacks governance capabilities.

Q55 Hard

You have configured a Network Security Group (NSG) with inbound rules that allow SSH on port 22 from a specific IP address. After deployment, SSH connections are still blocked. What is the most likely cause?

  • A The virtual machine requires a public IP address in addition to NSG rules
  • B Azure Firewall is blocking the connection at the firewall level
  • C The NSG is not properly associated with the network interface or subnet ✓ Correct
  • D The SSH service is not running on the virtual machine
Explanation

NSG rules only take effect when the NSG is associated with a subnet or network interface. If the NSG exists but isn't attached to the correct resource, it won't be applied.

Q56 Hard

You are designing a disaster recovery solution for a critical application. The business requirement is that data loss should not exceed 1 hour and downtime should not exceed 4 hours. Which metrics are you defining?

  • A MTTR of 4 hours and MTTF of 1 hour
  • B RTO of 4 hours and RPO of 1 hour ✓ Correct
  • C RPO of 4 hours and RTO of 1 hour
  • D SLA of 99.9% and backup frequency of hourly
Explanation

RTO (Recovery Time Objective) is maximum allowable downtime, and RPO (Recovery Point Objective) is maximum acceptable data loss. The question specifies 4 hours downtime tolerance and 1 hour data loss tolerance.

Q57 Hard

You need to provide developers with temporary access to Azure resources for testing. Which approach provides the most secure method with automatic expiration?

  • A Assign Owner role to developers for the duration of testing
  • B Create service principals with storage account connection strings shared via email
  • C Create permanent user accounts and manually remove after testing completes
  • D Use Azure AD Privileged Identity Management (PIM) with time-bound role assignments ✓ Correct
Explanation

Azure AD PIM provides just-in-time access with automatic expiration, time limits, and approval workflows. This is more secure than permanent accounts or overly permissive Owner role assignments.

Q58 Medium

You are configuring backup for Azure virtual machines. Which backup solution provides the ability to backup VMs across regions and retain backups for up to 10 years?

  • A Snapshot copies stored in a secondary storage account
  • B Azure Data Box for offline backup
  • C Azure Backup with Geo-redundant storage (GRS) and long-term retention policies ✓ Correct
  • D Azure Site Recovery for continuous replication
Explanation

Azure Backup combined with GRS provides cross-region protection and supports retention policies up to 10 years for long-term archival needs. Site Recovery is for disaster recovery, not long-term backup retention.

Q59 Medium

Your organization uses Azure virtual networks with on-premises infrastructure. You need to establish a secure, encrypted connection with predictable latency. Which solution is most appropriate?

  • A Azure Virtual WAN with basic SKU
  • B Internet-based VPN connection with IPSec encryption
  • C Azure ExpressRoute private peering for dedicated connectivity ✓ Correct
  • D Peering between virtual networks in different regions
Explanation

ExpressRoute provides dedicated, private connectivity with consistent performance and encryption capabilities, superior to internet-based VPN for latency-sensitive workloads. It does not traverse the public internet.

Ready to test your knowledge?

You've reviewed all 59 questions. Take the interactive practice exam to simulate the real test environment.

▶ Start Practice Exam — Free