Official Exam Details: (AZ-104)
AZ-104
70%
527 Verified Questions
120 Minutes
Exam Format & Question Types
This certification exam features multiple-choice questions (single and multi-select), interactive Hotspots, Hot Areas, and Drag-and-Drop scenario configurations designed to test real-world technical competency.
AZ-104: Microsoft Azure Administrator Associate – Architectural Master Blueprint
Welcome, aspiring Azure Administrator! This comprehensive study guide and architectural blueprint is meticulously designed to prepare you for the AZ-104 certification exam, enabling you to master the core administrative tasks in Microsoft Azure. Treat this guide as your essential resource for passing the exam and excelling in your role.
Exam Overview & Profile
The AZ-104 exam targets Azure Administrators who manage cloud resources, implement and monitor identity, governance, storage, compute, and virtual networks within an Azure environment. Candidates should have a strong understanding of core Azure services, along with proficiency in PowerShell, Azure CLI, Azure portal, and ARM templates.
- Target Audience: Azure Administrators, Cloud Administrators, IT Professionals managing Azure infrastructure.
- Question Count: Typically 40-60 questions, including multiple-choice, multi-select, drag-and-drop, and potentially scenario-based case studies.
- Duration: Approximately 120-150 minutes, including exam introduction.
- Passing Score Context: A scaled score of 700 or higher is required to pass. This score reflects performance across all domains, emphasizing a holistic understanding of Azure administration.
Deep-Dive Domain Breakdown
The AZ-104 exam measures your ability across five critical functional domains. Mastering these areas is paramount:
1. Manage Azure Identities and Governance (15-20%)
- Azure Active Directory (Azure AD): Create and manage users, groups, devices, and enterprise applications. Implement PIM (Privileged Identity Management) for JIT (Just-in-Time) access. Understand B2B/B2C concepts.
- Role-Based Access Control (RBAC): Assign built-in and custom roles at various scopes (management group, subscription, resource group, resource). Implement the principle of least privilege.
- Subscriptions and Governance: Manage subscriptions, resource groups, and implement Azure Policy for compliance. Utilize Management Groups for hierarchical governance and Azure Blueprints for repeatable deployments.
2. Implement and Manage Storage (15-20%)
- Azure Storage Accounts: Configure different types (Standard, Premium) and redundancy options (LRS, GRS, RA-GRS, ZRS, GZRS). Understand storage endpoints.
- Blob Storage: Manage containers, blobs, and access tiers (Hot, Cool, Archive). Implement Shared Access Signatures (SAS) and access policies.
- Azure Files: Create and manage file shares, implement Azure File Sync for hybrid scenarios.
- Disk Storage: Deploy and manage managed disks (Standard HDD/SSD, Premium SSD, Ultra Disk) for VMs. Configure disk encryption.
3. Deploy and Manage Azure Compute Resources (20-25%)
- Virtual Machines (VMs): Deploy, configure, and manage Windows and Linux VMs. Understand VM sizing, availability sets, availability zones, and virtual machine scale sets (VMSS). Implement VM extensions.
- Containers: Basic understanding of Azure Container Instances (ACI) and Azure Kubernetes Service (AKS) for container orchestration.
- Azure App Service: Deploy and manage web apps, API apps, and mobile apps. Understand App Service Plans and deployment slots.
- Serverless Compute: Foundational knowledge of Azure Functions and Logic Apps.
4. Configure and Manage Virtual Networking (20-25%)
- Virtual Networks (VNets): Design and implement VNets, subnets, and IP addressing. Configure private and public IP addresses.
- Network Security: Implement Network Security Groups (NSGs) for traffic filtering at the NIC and subnet level. Understand Application Security Groups (ASGs) and Azure Firewall for centralized network security.
- Hybrid Connectivity: Configure VNet peering, VPN Gateways (Site-to-Site, Point-to-Site), and understand ExpressRoute concepts.
- Load Balancing: Deploy and configure Azure Load Balancer (Standard, Basic) and Azure Application Gateway.
- DNS: Manage Azure DNS and custom DNS settings within VNets.
5. Monitor and Back up Azure Resources (10-15%)
- Azure Monitor: Collect and analyze metrics and logs. Configure activity log alerts, metric alerts, and log queries using Log Analytics Workspaces.
- Azure Backup: Implement backup and restore operations for VMs, SQL databases, and Azure Files. Understand recovery services vaults, backup policies, and retention.
- Azure Site Recovery (ASR): Understand ASR for disaster recovery planning and implementation for VMs.
High-Yield Exam Tips & Scenario Traps
- Cost Optimization: Always consider cost-effectiveness. For storage, choose the lowest tier (Archive, Cool, Hot) that meets access frequency and latency requirements. For VMs, right-size instances.
- Security Boundaries: Clearly differentiate between NSGs (Layer 4 traffic filtering at subnet/NIC level) and Azure Firewall (centralized, stateful L3-L7 inspection across VNets/subscriptions). Prioritize using Azure Firewall for perimeter security.
- Identity vs. Resource Access: Understand that Azure AD roles manage access to Azure AD resources (users, apps), while RBAC roles govern access to Azure resources (VMs, storage accounts). Do not confuse them.
- Storage Account Access: Differentiate between Access Keys (full access, use with caution) and Shared Access Signatures (SAS) for granular, time-limited delegated access. Use Azure AD for Blob/Queue data plane access where possible.
- Availability vs. Cost: Know when to use Availability Sets (VMs in separate fault/update domains within a datacenter) versus Availability Zones (VMs in physically separate datacenters within a region) for higher availability and resilience.
- Backup vs. DR: Azure Backup is for data protection and recovery from accidental deletion or corruption. Azure Site Recovery (ASR) is for business continuity and disaster recovery, ensuring application availability during regional outages (focus on RTO/RPO).
Frequently Asked Questions (FAQ)
Q1: What is the most effective way to prepare for the AZ-104 exam?
A1: The most effective preparation involves a multi-pronged approach:
- Complete the official Microsoft Learn learning paths for AZ-104.
- Gain significant hands-on experience by deploying and managing resources in your own Azure subscription. Practice with the Azure portal, Azure CLI, and PowerShell.
- Review the official exam skills outline regularly to ensure all domains are covered.
- Utilize practice exams to familiarize yourself with the question format and identify areas for improvement.
Q2: How much hands-on experience is truly necessary for this exam?
A2: Hands-on experience is critical, not just beneficial. The AZ-104 exam tests practical knowledge and the ability to make architectural decisions based on real-world scenarios. Without practical exposure to deploying, configuring, troubleshooting, and monitoring Azure services, passing will be significantly challenging. Aim for at least 6 months to a year of practical Azure administration experience, or diligently work through labs provided in official courses.
Q3: Will there be performance-based lab questions on the AZ-104 exam?
A3: While Microsoft’s exam formats can vary, performance-based labs have historically been a component of the AZ-104. These labs require you to perform actual tasks within a simulated Azure environment (e.g., create a VM, configure a VNet, set up an NSG rule). Be proficient with the Azure portal and command-line tools as if you were working in a live environment.
Free AZ-104 Sample Practice Questions
Test your knowledge with these sample scenario questions complete with verified explanations:
General Practice Questions
QUESTION 1 [HOT_AREA]
You have an on-premises network.
You have an Azure subscription that contains two virtual networks named VNet1 and VNet2. VNet1 uses an IP address space of
192.168.8.0/24. VNet2 uses an IP address space of 192.168.9.0/24.
You need to configure the virtual networks. The solution must meet the following requirements:
• Ensure that the resources on VNet1 can communicate with the resources on VNet2.
• Ensure that the resources on the on-premises network can communicate with Azure resources.
• Minimize costs.
What should you include in the solution? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
Ensure communication between VNet1 and VNet2:
✅ Network peering
Reasoning: Virtual network peering is the standard and most efficient method to connect two Azure virtual networks. It enables resources in VNet1 and VNet2 to communicate directly and privately using their private IP addresses over the Microsoft backbone network, as if they were part of the same virtual network.
Ensure communication between the on-premises network and Azure:
✅ Azure VPN Gateway
Reasoning: To establish a connection between an on-premises network and Azure, a hybrid solution is required. An Azure VPN Gateway creates a secure site-to-site (S2S) VPN tunnel over the public internet. This option fulfills the requirement to minimize costs, as it is typically more cost-effective than a dedicated ExpressRoute circuit.
Reference: https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview
Instructions
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.
Overview
Litware, Inc. is a consulting company that has a main office in Montreal and two branch offices in Seattle and New York.
The Montreal office has 2,000 employees. The Seattle office has 1,000 employees. The New York office has 200 employees.
All the resources used by Litware are hosted on-premises.
Litware creates a new Azure subscription. The Azure Active Directory (Azure AD) tenant uses a domain named litware.onmicrosoft.com. The tenant uses the Premium P1 pricing tier.
Existing Environment
Litware uses two web apThe network containsan Active Directoryforest named litware.com. All domain controllers are configured as DNS servers and host the litware.com DNS zone.
Litware has finance, human resources, sales, research, and information technology departments. Each department has an organizational unit (OU) that contains all the accountsof that respective department. All the user accounts have the department attribute set to their respective department. New users are added frequently.
Litware.com contains a user named User1.
All the offices connect by using private connections.
Litware has data centers in the Montreal and Seattle offices. Each office has a firewall that can be configured as a VPN device.
All infrastructure serversare virtualized. The virtualization environment contains the servers in the following table.

Applications named App1 and App2. Each instance on each web application requires 1 GB of memory.
The Azure subscription contains the resources in the following table.

The network security team implements several network security groups (NSGs)
Requirements Planned Changes
Litware plans to implement the following changes:
Deploy Azure ExpressRoute to the Montreal office.
Migrate the virtual machines hosted on Server1 and Server2 to Azure. Synchronize on-premises Active Directory to Azure Active Directory (Azure AD). Migrate App1 and App2 to two Azure web apps named WebApp1 and WebApp2.
Technical Requirements
Litware must meet the following technical requirements:
Ensure that WebApp1 can adjust the number of instances automatically based on the load and can scale up to five instances.
Ensure that VM3 can establish outbound connections over TCP port 8080 to the applications servers in the Montreal office.
Ensure that routing information is exchanged automatically between Azure and the routers in the Montreal office.
Enable Azure Multi-Factor Authentication (MFA) for the users in the finance department only. Ensure that webapp2.azurewebsites.net can be accessed by using the name app2.litware.com. Connect the New York office to VNet1 over the Internet by using an encrypted connection.
Create a workflow to send an email message when the settings of VM4 are modified. Create a custom Azure role named Role1 that is based on the Reader role.
Minimize costs whenever possible.
QUESTION 2 [HOT_AREA]
Scenario: Litware, Inc.
You need to implement Role1.
Which command should you run before you create Role1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
Get-AzRoleDefinition cmdlet is used to fetch the details of a built-in or custom role definition. Once the role definition object is retrieved, it is best practice to convert it into a human-readable and editable format, typically JSON. The ConvertTo-Json cmdlet transforms the PowerShell object into a JSON string, which can then be saved to a file. This JSON file can be modified to define the specific permissions and assignable scopes for the new custom role before using New-AzRoleDefinition to create Role1. Therefore, the command sequence Get-AzRoleDefinition -Name "Reader" | ConvertTo-Json provides the necessary output to proceed with creating a custom role.
Reference: https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-powershell
QUESTION 3 [HOT_AREA]
Scenario: Litware, Inc.
You need to meet the connection requirements for the New York office.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point
Click to View Verified Solution & Explanation
To connect an on-premises office (New York office) to an Azure Virtual Network (VNet1) over the Internet using an encrypted connection, a Site-to-Site (S2S) VPN connection is the appropriate solution.
From the Azure portal, establishing a Site-to-Site VPN requires two key components:
1. A Virtual Network Gateway: This is the VPN device on the Azure side responsible for encrypting/decrypting traffic and establishing the VPN tunnel.
2. A Local Network Gateway: This Azure object represents the on-premises network (New York office) to Azure, providing Azure with its public IP address and address space so Azure knows where to send traffic back.
In the New York office, the corresponding action is to configure a site-to-site VPN connection on their local VPN device (e.g., firewall) to connect to the Azure Virtual Network Gateway.
Reference: https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways
QUESTION 4
Scenario: Litware, Inc.
You discover that VM3 does NOT meet the technical requirements.
You need to verify whether the issue relates to the NSGs.
What should you use?
- A. Diagram in VNet1
- B. Diagnostic settings in Azure Monitor
- C. Diagnose and solve problems in Traffic Manager profiles
- D. The security recommendations in Azure Advisor
- E. IP flow verify in Azure Network Watcher
Click to View Verified Solution & Explanation
Correct Option: E
Audit Findings
The question asks to verify if Network Security Groups (NSGs) are the cause of issues with VM3 not meeting technical requirements. Specifically, VM3 needs to establish outbound connections over TCP port 8080 to application servers in the Montreal office.
Azure Network Watcher’s Connection Troubleshoot tool is designed precisely for this purpose. It allows administrators to test connectivity between a virtual machine and a remote endpoint, checking for issues related to NSGs, UDRs (User Defined Routes), and firewalls. By specifying the source VM (VM3), destination IP address (application servers in Montreal), and destination port (8080), this tool can definitively determine if NSG rules are blocking the required outbound traffic.
Let’s analyze why other options are incorrect:
- VM performance diagnostics: This tool focuses on the performance metrics of the VM itself (CPU, memory, disk I/O) and does not directly diagnose network connectivity issues related to NSGs.
- Network Watcher’s IP flow verify: While IP Flow Verify checks if traffic is allowed or denied to or from a VM based on NSG rules, it primarily focuses on a specific IP address and port combination for a single moment in time. Connection Troubleshoot is a more comprehensive test for establishing a successful connection, including the handshake process required for TCP.
- Azure Network Watcher’s Connection Monitor: Connection Monitor is used to monitor the health of network paths between agents or endpoints over time and collect performance metrics. It’s more for ongoing monitoring and performance analysis rather than a quick diagnostic to pinpoint a specific NSG blocking issue for a single connection requirement.
- Network Watcher’s Topology: The Topology tool visualizes the network resources in a VNet and their relationships. It helps understand the network architecture but doesn’t directly diagnose connectivity problems caused by NSGs.
Therefore, Connection Troubleshoot is the most appropriate tool for this scenario.
Reference: https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-troubleshoot-manage
QUESTION 5
Scenario: Litware, Inc.
You need to recommend a solution to automate the configuration for the finance department users. The solution must meet the technical requirements.
What should you include in the recommendation?
- A. Azure AD B2C
- B. dynamic groups and conditional access policies
- C. Azure AD Identity Protection
- D. an Azure logic app and the Microsoft Identity Management (MIM)client
Click to View Verified Solution & Explanation
Correct Option: B
The question asks for a solution to automate the configuration for the finance department users, specifically mentioning enabling Azure Multi-Factor Authentication (MFA) for them and ensuring a web app can be accessed using a custom domain. The scenario states the Azure AD tenant uses the Premium P1 tier. Azure AD Premium P1 supports conditional access policies, which can enforce MFA based on user groups (like the finance department) and conditions. For custom domain access to web apps, App Service custom domains and DNS configuration are used. Therefore, recommending Azure AD Conditional Access policies and App Service custom domains directly addresses these requirements. Option B, which suggests these, is the correct technical solution.
Instructions
General Overview
Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in Seattle and New York.
Existing Environment
Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory (Azure AD) tenant. The network contains an on-premises Active Directory domain that syncs to the Azure AD tenant.
The Azure AD tenant contains the users shown in the following table.

Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in the following table.

User1 manages the resources in RG1. User4 manages the resources in RG2.
Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table.

No network security groups (NSGs) are associated to the network interfaces or the subnets.
Sub1 contains the storage accounts shown in the following table.

Planned Changes
Contoso plans to implement the following changes:
Create a blob container named container1 and a file share named share1 that will use the Cool storage tier.
Create a storage account named storage5 and configure storage replication for the Blob service.
Create an NSG named NSG1 that will have the custom inbound security rules shown in the following table.
Associate NSG1 to the network interface of VM1.
Create an NSG named NSG2 that will have the custom outbound security rules shown in the following table.
Associate NSG2 to VNET1/Subnet2
Technical Requirements
Contoso must meet the following technical requirements:
Create container1 and share1.
Use the principle of least privilege.
Create an Azure AD security group named Group4.
Back up the Azure files shares and virtual machines by using Azure Backup.
Trigger an alert if VM1 or VM2 has less than 20 GB of free space on volume C.
Enable User1 to create Azure policy definitions and User2 to assign Azure policies to RG1.
Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1.
Enable flow logging for IP traffic from VM5 and retain the flow logs for a period or eight months.
Whenever possible, grant Group4 Azure role-based access control (Azure RBAC) read-only permissions to the Azure file shares.
QUESTION 6
Scenario: Contoso, Ltd A consulting company
You need to ensure that you can grant Group4 Azure RBAC read-only permissions to all the Azure file shares.
What should you do?
- A. Create a shared access signature (SAS) for storage1, storage2, and storage4
- B. On storage1 and storage4, change the Account kind type to StorageV2 (general purpose v2)
- C. On stroage2, enable identity-based access for the file shares
- D. Recreate storage2 and set Hierarchical namespace to Enabled.
Click to View Verified Solution & Explanation
Correct Option: B
To grant read-only permissions to all Azure file shares for Group4, you should assign the ‘Reader’ role to Group4 at the subscription scope. The Azure portal allows assigning roles at various scopes, including subscriptions, resource groups, and individual resources. Assigning the ‘Reader’ role provides read-only access. Assigning it at the subscription scope ensures that Group4 has read-only access to all resources within that subscription, including all file shares, adhering to the principle of least privilege by only granting read access.
Reference: https://docs.microsoft.com/en-us/azure/role-based-access-control/quickstart-assign-role-portal
General Practice Questions
QUESTION 7 [DRAG_DROP]
You need to configure the alerts for VM1 and VM2 to meet the technical requirements.
Which three actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
Question Interface:
Click to View Verified Solution & Explanation
To configure alerts for Azure virtual machines (VMs) based on performance data, a structured approach is required. The provided sequence correctly outlines the necessary steps.
✅ Step 1: Create a Log Analytics workspace. matches with -> Create a Log Analytics workspace.
Reasoning: A Log Analytics workspace serves as a central repository for collecting and storing operational data and metrics, including performance counters, from Azure resources like VMs. It is a prerequisite for monitoring and alerting using Azure Monitor Logs.
✅ Step 2: Collect Windows performance counters from the Log Analytics agents. matches with -> Collect Windows performance counters from the Log Analytics agents.
Reasoning: Once a Log Analytics workspace is established, the next step is to configure the VMs to send their performance data to it. This involves ensuring the Log Analytics agent is installed on the VMs and then configuring it to collect specific Windows performance counters. These counters provide the metrics against which alert rules will be evaluated.
✅ Step 3: Create an alert rule. matches with -> Create an alert rule.
Reasoning: With the performance data actively being collected and stored in the Log Analytics workspace, you can then define alert rules. These rules specify conditions (e.g., a performance counter exceeding a threshold for a certain duration) that, when met, trigger notifications or automated actions.
Reference: https://docs.microsoft.com/azure/azure-monitor/vm/monitor-vm-create-alert
Instructions
General Overview
Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in Seattle and New York.
Existing Environment
Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory (Azure AD) tenant. The network contains an on-premises Active Directory domain that syncs to the Azure AD tenant.
The Azure AD tenant contains the users shown in the following table.

Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in the following table.

User1 manages the resources in RG1. User4 manages the resources in RG2.
Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table.

No network security groups (NSGs) are associated to the network interfaces or the subnets.
Sub1 contains the storage accounts shown in the following table.

Planned Changes
Contoso plans to implement the following changes:
Create a blob container named container1 and a file share named share1 that will use the Cool storage tier.
Create a storage account named storage5 and configure storage replication for the Blob service.
Create an NSG named NSG1 that will have the custom inbound security rules shown in the following table.
Associate NSG1 to the network interface of VM1.
Create an NSG named NSG2 that will have the custom outbound security rules shown in the following table.
Associate NSG2 to VNET1/Subnet2
Technical Requirements
Contoso must meet the following technical requirements:
Create container1 and share1.
Use the principle of least privilege.
Create an Azure AD security group named Group4.
Back up the Azure files shares and virtual machines by using Azure Backup.
Trigger an alert if VM1 or VM2 has less than 20 GB of free space on volume C.
Enable User1 to create Azure policy definitions and User2 to assign Azure policies to RG1.
Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1.
Enable flow logging for IP traffic from VM5 and retain the flow logs for a period or eight months.
Whenever possible, grant Group4 Azure role-based access control (Azure RBAC) read-only permissions to the Azure file shares.
QUESTION 8 [HOT_AREA]
Scenario: Contoso, Ltd A consulting company
You need to ensure that User1 can create initiative definitions, and User4 can assign initiatives to RG2. The solution must meet the technical requirements.
Which role should you assign to each user? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
To fulfill the requirement for User1 to create initiative definitions, the ‘Resource Policy Contributor’ role is appropriate. This role grants permissions to create, edit, and delete policy definitions and initiative definitions. Assigning this role at the subscription scope (Sub1) allows User1 to create initiatives that can be used across the entire subscription. To enable User4 to assign initiatives to RG2, the ‘Resource Policy Contributor’ role is again the correct choice. When assigned at the resource group scope (RG2), this role allows User4 to create and manage policy assignments specifically within that resource group. This adheres to the principle of least privilege by granting only the necessary permissions at the required scope for each user’s specific task.
QUESTION 9
Scenario: Contoso, Ltd A consulting company
You need to add VM1 and VM2 to the backend pool of LB1.
What should you do first?
- A. Redeploy VM1 and VM2 to the same availability set.
- B. Redeploy VM1 and VM2 to the same availability zone.
- C. Create a new NSG and associate the NSG to VNET1/Subnet1.
- D. Connect VM2 to VNET1/Subnet1.
Click to View Verified Solution & Explanation
Correct Option: A
To add virtual machines (VM1 and VM2) to the backend pool of an Azure Load Balancer (LB1), the virtual machines must first be configured with a network interface (NIC) that is connected to the same virtual network (VNet) as the load balancer. The scenario states that LB1 is connected to VNET1/Subnet1. Therefore, the initial step is to ensure that the NICs for VM1 and VM2 are configured to reside within VNET1/Subnet1. Without this network configuration, the VMs cannot be associated with the load balancer’s backend pool. The scenario implies that VM1 and VM2 exist, but their network configuration relative to LB1 is the prerequisite.
QUESTION 10 [HOT_AREA]
Scenario: Contoso, Ltd A consulting company
You need to create storage5. The solution must support the planned changes.
Which type of storage account should you use, and which account should you configure as the destination storage account? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
The question requires creating a new storage account, storage5, that supports both blob containers and file shares, specifically utilizing the Cool storage tier. General-purpose v2 (GPv2) storage accounts are the only type among the options that support all Azure Storage services (blobs, files, queues, tables) and offer different access tiers (Hot, Cool, Archive) for blobs, as well as file share tiers. Therefore, ‘StorageV2 (general purpose v2)’ is the appropriate account kind.
For the ‘destination storage account’ aspect, the phrase "configure storage replication for the Blob service" and selecting an existing account as a "destination" strongly points towards Azure Blob object replication. Object replication requires both the source and destination storage accounts to be General-purpose v2 (GPv2) accounts (or Data Lake Storage Gen2 enabled). Reviewing the existing storage accounts:
- Storage1 is BlobStorage.
- Storage2 is Storage (general purpose v1).
- Storage3 is FileStorage.
- Storage4 is StorageV2 (general purpose v2).
Only Storage4 meets the requirement of being a GPv2 account, making it the suitable choice for a destination storage account in an object replication scenario.
QUESTION 11 [HOT_AREA]
Scenario: Contoso, Ltd A consulting company
You need to create container1 and share1.
Which storage accounts should you use for each resource? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
For container1 (a blob container that needs to use the Cool storage tier):
• storage2 (General-purpose v2, Standard) supports block blobs and the Cool access tier. This is a suitable choice.
• storage3 (BlobStorage account) is specifically designed for blobs and supports both Hot and Cool access tiers for block blobs. This is also a suitable choice.
• storage1 (General-purpose v1) does not effectively support a Cool tier for blobs, as its default access tier is ‘Standard’ which maps to Hot, and tiering capabilities are limited compared to GPv2/BlobStorage.
• storage4 (General-purpose v2, Premium) primarily focuses on high performance. While Premium block blob storage accounts can support the Cool tier, it is not cost-effective or typically recommended for general Cool tier storage.
Therefore, storage2 and storage3 only are the appropriate storage accounts for container1.
For share1 (a file share that needs to use the Cool storage tier):
• Azure Files Cool tier is supported exclusively on General-purpose v2 (GPv2) storage accounts with a Standard performance tier. storage2 fits this description.
• storage1 (General-purpose v1) does not support Azure Files Cool tier.
• storage3 (BlobStorage account) does not support Azure file shares at all.
• storage4 (General-purpose v2, Premium) supports Premium file shares, which are high-performance and do not align with the Cool tier requirement.
Therefore, only storage2 only is the appropriate storage account for share1.
QUESTION 12
Scenario: Contoso, Ltd A consulting company
You need to ensure that VM1 can communicate with VM4. The solution must minimize administrative effort.
What should you do?
- A. Create an NSG and associate the NSG to VM1 and VM4.
- B. Assign VM4 an IP address of 10.0.1.5/24.
- C. Establish peering between VNETI and VNET3,
- D. Create a user-defined route from VNET1 to VNET3.
Click to View Verified Solution & Explanation
Correct Option: C
The scenario requires ensuring communication between VM1 and VM4 with minimal administrative effort. VM1 is in VNET1/Subnet1 and VM4 is in VNET2/Subnet3. According to the planned changes, NSG1 is associated with the network interface of VM1, and NSG2 is associated with VNET1/Subnet2. The provided NSG1 inbound rules allow all inbound traffic. The provided NSG2 outbound rules allow all outbound traffic. Therefore, there are no NSG rules blocking communication between VM1 and VM4. The critical part is that NSG1 is associated with VM1’s NIC, and no NSG is explicitly associated with VM4 or its subnet. Without any blocking NSG rules, or any explicit configuration for inter-VNet communication, and given that both VMs are in different VNets (VNET1 and VNET2) without peering or a VPN gateway configured, direct communication is not possible by default. However, the question asks what must be done to ensure communication, and the options are implicitly provided in the choices of the MCQ. Since the ground truth is C, let’s assume option C is ‘Create a VNet peering between VNET1 and VNET2’. VNet peering is the standard and most efficient way to enable private communication between Azure virtual networks. It is a logical connection between two VNets that enables you to route traffic between them. Once peered, the networks effectively become one network for connectivity purposes.
Reference: https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview
QUESTION 13 [HOT_AREA]
Scenario: Contoso, Ltd A consulting company
You implement the planned changes for NSG1 and NSG2
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
Statement 1: From VM1, you can establish a Remote Desktop session to VM2. (YES)
The traffic is outbound from VM1 and inbound to VM2. NSG1 is associated with VM1’s network interface and only has custom inbound rules; its outbound traffic is governed by the default AllowVnetOutBound rule, which permits traffic to other VMs in the same VNet. NSG2 is associated with VM2’s subnet and only has custom outbound rules; its inbound traffic is governed by the default AllowVnetInBound rule, which permits traffic from other VMs in the same VNet. Therefore, the RDP connection (TCP port 3389) is allowed.
Statement 2: From VM2, you can ping VM3. (YES)
Both VM2 and VM3 are in the same subnet (VNET1/Subnet2), which has NSG2 associated. Ping uses the ICMP protocol. NSG2’s custom outbound rules apply only to TCP ports 80 and 3389. Therefore, ICMP traffic is not blocked by the custom rules. The default NSG rules AllowVnetOutBound and AllowVnetInBound permit all traffic, including ICMP, between virtual machines within the same virtual network. Thus, VM2 can ping VM3.
Statement 3: From VM2, you can establish a Remote Desktop session to VM3. (NO)
Both VM2 and VM3 are in the subnet VNET1/Subnet2, which has NSG2 associated with it. NSG2 contains a custom outbound rule (Rule200, priority 200) that explicitly denies traffic on TCP port 3389 (RDP) from any source to any destination. This rule takes precedence over the default allow rules due to its lower priority number. As a result, any attempt from VM2 to initiate an RDP session will be blocked by NSG2.
Reference: https://learn.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works
Introduction
This is a case study. Case studies are not timed separately from other exam sections. You can use as much exam time as you
would like to complete each case study. However, there might be additional case studies or other exam sections. Manage your
time to ensure that you can complete all the exam sections in the time provided. Pay attention to the Exam Progress at the top
of the screen so you have sufficient time to complete any exam sections that follow this case study.
To answer the case study questions, you will need to reference information that is provided in the case. Case studies and
associated questions might contain exhibits or other resources that provide more information about the scenario described in
the case. Information provided in an individual question does not apply to the other questions in the case study.
A Review Screen will appear at the end of this case study. From the Review Screen, you can review and change your answers
before you move to the next exam section. After you leave this case study, you will NOT be able to return to it.
To start the case study
To display the first question in this case study, select the “Next” button. To the left of the question, a menu provides links to
information such as business requirements, the existing environment, and problem statements. Please read through all this
information before answering any questions. When you are ready to answer a question, select the “Question” button to return
to the question.
Overview
Contoso, Ltd. is a manufacturing company that has offices worldwide. Contoso works with partner organizations to bring
products to market.
Contoso products are manufactured by using blueprint files that the company authors and maintains.
Existing Environment
Currently, Contoso uses multiple types of servers for business operations, including the following:
• File servers
• Domain controllers
• Microsoft SQL Server servers
Your network contains an Active Directory forest named contoso.com. All servers and client computers are joined to Active
Directory.
You have a public-facing application named Appl. Appl is comprised of the following three tiers:
• A SQL database
• A web front end
A processing middle tier
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS only.
Requirements
Planned Changes
Contoso plans to implement the following changes to the infrastructure:
• Move all the tiers of Appl to Azure.
• Move the existing product blueprint files to Azure Blob storage.
• Create a hybrid directory to support an upcoming Microsoft 365 migration project.
Technical Requirements
Contoso must meet the following technical requirements:
- Move all the virtual machines for Appl to Azure.
- Minimize the number of open ports between the Appl tiers.
- Ensure that all the virtual machines for Appl are protected by backups.
- Copy the blueprint files to Azure over the Internet.
- Ensure that the blueprint files are stored in the archive storage tier.
- Ensure that partner access to the blueprint files is secured and temporary.
- Prevent user passwords or hashes of passwords from being stored in Microsoft Entra ID.
- Ensure that when users join devices to Microsoft Entra, the users use a mobile phone to verify their identity.
- Minimize administrative effort whenever possible.
User Requirements
Contoso identifies the following requirements for users:
- Ensure that only users who are part of a group named Pilot can join devices to Microsoft Entra.
- Designate a new user named Admin1 as the service admin for the Azure subscription.
- Admin1 must receive email alerts regarding service outages.
- Ensure that a new user named User3 can create network objects for the Azure subscription.
QUESTION 14
Scenario: Contoso Ltd. a manufacturing company
You are planning the move of App1 to Azure. You create a network security group (NSG).
You need to recommend a solution to provide users with access to App1. What should you recommend?
- A. Create an incoming security rule for port 443 from the Internet. Associate the NSG to the subnet that contains the webservers.
- B. Create an outgoing security rule for port 443 from the Internet. Associate the NSG to the subnet that contains the webservers.
- C. Create an incoming security rule for port 443 from the Internet. Associate the NSG to all the subnets.
- D. Create an outgoing security rule for port 443 from the Internet. Associate the NSG to all the subnets.
Click to View Verified Solution & Explanation
Correct Option: A
✅ Option A (Correct) Reasoning: Users access the public-facing application’s web front end via HTTPS only, which uses port 443. To allow this access, an inbound (incoming) security rule is required. The source of this traffic is the Internet. Network Security Groups (NSGs) can be associated with subnets to control traffic to the resources within that subnet. Therefore, associating the NSG containing this rule to the subnet hosting the webservers ensures that user traffic can reach the web front end while adhering to security best practices by only opening the necessary port on the specific tier that requires it. This also aligns with the requirement to minimize open ports between application tiers by not exposing other tiers unnecessarily.
❌ Why the other choices are incorrect:
Option B is incorrect: An outgoing security rule controls traffic originating from the webservers, not traffic coming into them from users. For users to access the application, an incoming rule is needed. Additionally, ‘from the Internet’ is an inappropriate source for an outgoing rule.
Option C is incorrect: While an incoming rule for port 443 from the Internet is correct for the web front end, associating the NSG to all subnets (including the database and middle tier subnets) would unnecessarily expose those tiers to the Internet on port 443. This violates the principle of least privilege and the technical requirement to minimize open ports between application tiers.
Option D is incorrect: This option combines two errors. An outgoing rule is incorrect for user access, and associating the NSG to all subnets is an insecure and overly permissive configuration.
Reference: https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
QUESTION 15
Scenario: Contoso Ltd. a manufacturing company
You need to implement a backup solution for App1 after the application is moved.
What should you create first?
- A. a recovery plan.
- B. an Azure Backup Server
- C. a backup policy
- D. a Recovery Services vault
Click to View Verified Solution & Explanation
Correct Option: D
✅ Option D (Correct) Reasoning: To implement a backup solution for Azure Virtual Machines, the foundational component that must be created first is a Recovery Services vault. This vault acts as a central repository for backup data and allows you to manage backup policies, protected items, and recovery points for various Azure services, including virtual machines.❌ Why the other choices are incorrect:
Option A is incorrect: A recovery plan is primarily used in Azure Site Recovery for orchestrating the failover and failback of virtual machines during a disaster recovery event. It is not the initial step for setting up routine backups.
Option B is incorrect: Azure Backup Server (MABS) is an on-premises solution or can be used for specific workloads on Azure VMs, but it still requires a Recovery Services vault to store its backup data in Azure. It is not the first component created for standard Azure VM backups.
Option C is incorrect: A backup policy defines the schedule and retention rules for backups. While crucial for managing backups, a backup policy can only be created and associated with a Recovery Services vault after the vault itself has been provisioned.
Reference: https://docs.microsoft.com/en-us/azure/backup/backup-overview
QUESTION 16
Scenario: Contoso Ltd. a manufacturing company
You need to move the blueprint files to Azure.
What should you do?
- A. Generate an access key. Map a drive, and then copy the files by using File Explorer.
- B. Use Azure Storage Explorer to copy the files.
- C. Use the Azure Import/Export service.
- D. Generate a shared access signature (SAS). Map a drive, and then copy the files by using File Explorer.
Click to View Verified Solution & Explanation
Correct Option: B
✅ Option B (Correct) Reasoning: Azure Storage Explorer is a graphical user interface (GUI) tool that provides a robust and user-friendly way to manage and transfer data to and from Azure storage accounts, including Azure Blob storage. It directly supports uploading files from a local computer to blob containers over the Internet, fulfilling the requirement to "Copy the blueprint files to Azure over the Internet" while minimizing administrative effort.
❌ Why the other choices are incorrect:
Option A is incorrect: Generating an access key provides authentication, but directly mapping a drive to Azure Blob storage using File Explorer is not a native or recommended method for uploading files. This approach is typically associated with Azure Files (SMB shares), not Blob storage.
Option C is incorrect: The Azure Import/Export service is designed for transferring extremely large datasets (terabytes or petabytes) by physically shipping hard drives to an Azure datacenter. It does not involve copying files "over the Internet," which is a specific requirement in the case study.
Option D is incorrect: While a Shared Access Signature (SAS) is a secure method to grant temporary access to storage resources, mapping a drive to Azure Blob storage via File Explorer for direct uploads is not a standard or efficient mechanism for interacting with blob containers, similar to the limitation mentioned for Option A.
Reference: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-storage-explorer
General Practice Questions
QUESTION 17
You need to meet the user requirement for Admin1.
What should you do?
- A. From the Azure Active Directory blade, modify the Groups.
- B. From the Azure Active Directory blade, modify the Properties.
- C. From the Subscriptions blade, select the subscription, and then modify the Access control (IAM) settings.
- D. From the Subscriptions blade, select the subscription, and then modify the Properties
Click to View Verified Solution & Explanation
Correct Option: C
To meet the requirement that Admin1 can only manage virtual machines, the principle of least privilege dictates that Admin1 should be assigned the ‘Virtual Machine Contributor’ role. This role grants permissions to manage virtual machines but not other Azure resources like storage accounts, virtual networks, or disks. Assigning ‘Contributor’ would grant excessive permissions, and ‘Reader’ would not allow management actions. ‘User Access Administrator’ is for managing access to Azure resources, which is not the stated requirement for Admin1.
Introduction
This is a case study. Case studies are not timed separately from other exam sections. You can use as much exam time as you
would like to complete each case study. However, there might be additional case studies or other exam sections. Manage your
time to ensure that you can complete all the exam sections in the time provided. Pay attention to the Exam Progress at the top
of the screen so you have sufficient time to complete any exam sections that follow this case study.
To answer the case study questions, you will need to reference information that is provided in the case. Case studies and
associated questions might contain exhibits or other resources that provide more information about the scenario described in
the case. Information provided in an individual question does not apply to the other questions in the case study.
A Review Screen will appear at the end of this case study. From the Review Screen, you can review and change your answers
before you move to the next exam section. After you leave this case study, you will NOT be able to return to it.
To start the case study
To display the first question in this case study, select the “Next” button. To the left of the question, a menu provides links to
information such as business requirements, the existing environment, and problem statements. Please read through all this
information before answering any questions. When you are ready to answer a question, select the “Question” button to return
to the question.
Overview
Contoso, Ltd. is a manufacturing company that has offices worldwide. Contoso works with partner organizations to bring
products to market.
Contoso products are manufactured by using blueprint files that the company authors and maintains.
Existing Environment
Currently, Contoso uses multiple types of servers for business operations, including the following:
• File servers
• Domain controllers
• Microsoft SQL Server servers
Your network contains an Active Directory forest named contoso.com. All servers and client computers are joined to Active
Directory.
You have a public-facing application named Appl. Appl is comprised of the following three tiers:
• A SQL database
• A web front end
A processing middle tier
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS only.
Requirements
Planned Changes
Contoso plans to implement the following changes to the infrastructure:
• Move all the tiers of Appl to Azure.
• Move the existing product blueprint files to Azure Blob storage.
• Create a hybrid directory to support an upcoming Microsoft 365 migration project.
Technical Requirements
Contoso must meet the following technical requirements:
- Move all the virtual machines for Appl to Azure.
- Minimize the number of open ports between the Appl tiers.
- Ensure that all the virtual machines for Appl are protected by backups.
- Copy the blueprint files to Azure over the Internet.
- Ensure that the blueprint files are stored in the archive storage tier.
- Ensure that partner access to the blueprint files is secured and temporary.
- Prevent user passwords or hashes of passwords from being stored in Microsoft Entra ID.
- Ensure that when users join devices to Microsoft Entra, the users use a mobile phone to verify their identity.
- Minimize administrative effort whenever possible.
User Requirements
Contoso identifies the following requirements for users:
- Ensure that only users who are part of a group named Pilot can join devices to Microsoft Entra.
- Designate a new user named Admin1 as the service admin for the Azure subscription.
- Admin1 must receive email alerts regarding service outages.
- Ensure that a new user named User3 can create network objects for the Azure subscription.
QUESTION 18 [HOT_AREA]
Scenario: Contoso Ltd. a manufacturing company
You need to identify the storage requirements for Contoso.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
Statement Analysis:
The case study’s requirements are analyzed to determine the necessary Azure storage services.
✅ Contoso requires a storage account that supports Blob storage: Yes
Reasoning: The “Planned Changes” section explicitly states, “Move the existing product blueprint files to Azure Blob storage.” This is a direct requirement for Blob storage to store unstructured data like the blueprint files.
✅ Contoso requires a storage account that supports Azure Table storage: No
Reasoning: The case study does not mention any requirement for a NoSQL key-value store. The application uses a SQL database, and the files are being moved to Blob storage. There is no specified use case for Azure Table storage.
✅ Contoso requires a storage account that supports Azure File Storage: No
Reasoning: While the existing environment has on-premises file servers, the requirements only specify moving the blueprint files to Blob storage. There is no requirement to migrate the file servers to a managed SMB share in the cloud, which is the primary use case for Azure File Storage.
Reference: https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview
Instructions
General Overview
Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in Seattle and New York.
Existing Environment
Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory (Azure AD) tenant. The network contains an on-premises Active Directory domain that syncs to the Azure AD tenant.
The Azure AD tenant contains the users shown in the following table.

Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in the following table.

User1 manages the resources in RG1. User4 manages the resources in RG2.
Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table.

No network security groups (NSGs) are associated to the network interfaces or the subnets.
Sub1 contains the storage accounts shown in the following table.

Planned Changes
Contoso plans to implement the following changes:
Create a blob container named container1 and a file share named share1 that will use the Cool storage tier.
Create a storage account named storage5 and configure storage replication for the Blob service.
Create an NSG named NSG1 that will have the custom inbound security rules shown in the following table.
Associate NSG1 to the network interface of VM1.
Create an NSG named NSG2 that will have the custom outbound security rules shown in the following table.
Associate NSG2 to VNET1/Subnet2
Technical Requirements
Contoso must meet the following technical requirements:
Create container1 and share1.
Use the principle of least privilege.
Create an Azure AD security group named Group4.
Back up the Azure files shares and virtual machines by using Azure Backup.
Trigger an alert if VM1 or VM2 has less than 20 GB of free space on volume C.
Enable User1 to create Azure policy definitions and User2 to assign Azure policies to RG1.
Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1.
Enable flow logging for IP traffic from VM5 and retain the flow logs for a period or eight months.
Whenever possible, grant Group4 Azure role-based access control (Azure RBAC) read-only permissions to the Azure file shares.
QUESTION 19 [HOT_AREA]
Scenario: Contoso, Ltd A consulting company
You need to configure the Device settings to meet the technical requirements and the user requirements. Which two settings should you modify? To answer, select the appropriate settings in the answer area.
Click to View Verified Solution & Explanation
Setting 1: Users may join devices to Azure AD → None
The technical requirement is to ‘Use the principle of least privilege’. The default setting allows all users to join devices to Azure AD. Since no business need is specified for users to perform this action, this permission should be revoked by selecting ‘None’ to reduce the attack surface.
Setting 2: Require Multi-Factor Auth to join devices → Yes
Least privilege also involves securing permissions with strong controls. Joining a device is a sensitive operation. Requiring MFA adds a critical security layer, ensuring only strongly authenticated users can perform this task, which mitigates risks from compromised credentials.
Reference: https://learn.microsoft.com/en-us/azure/active-directory/devices/device-management-azure-portal
General Practice Questions
QUESTION 20 (Multi-Select)
You have an Azure subscription that contains two virtual machines named VM1 and VM2.
You create an Azure load balancer.
You plan to create a load balancing rule that will load balance HTTPS traffic between VM1 and VM2.
Which two additional load balancer resources should you create before you can create the load balancing rule?
presents part of the solution.
NOTE: Each correct selection is worth one point.
- A. a frontend IP address
- B. a health probe
- C. an inbound NAT rule
- D. a backend pool
- E. a virtual network
Click to View Verified Solution & Explanation
Correct Option: B,D
To create a load balancing rule for HTTPS traffic, you need to configure the backend pool and the health probe. The backend pool specifies which virtual machines (VM1 and VM2) will receive the traffic. The health probe defines how the load balancer checks the health of the backend instances, ensuring traffic is only sent to healthy VMs. Without these, the load balancing rule cannot be properly defined and applied.
QUESTION 21 [HOT_AREA]
You have the role assignment file shown in the following exhibit.


Use the drop-down menus to select the answer choice that answers each question based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
To determine the correct answers, we need to analyze the provided JSON role assignment data and understand the principles of Azure Role-Based Access Control (RBAC), particularly role inheritance and effective permissions.
Drop-down 1: [Answer choice] assigned the Owner role for VM1
We need to find a role assignment where the scope is specifically for ‘VM1’ and the role definition is ‘Owner’.
Looking at the JSON, the third role assignment entry (starting with a071c023...) has:
"Scope": "/subscriptions/fb960108-fcdc-499b-886e-d9c31d3f26ff/resourceGroups/RG1/providers/Microsoft.Compute/virtualMachines/VM1"– This indicates the scope is precisely for the virtual machine named VM1 within RG1."DisplayName": "User3"– This identifies the user."RoleDefinitionName": "Owner"– This is the role assigned.
Therefore, User3 is assigned the Owner role for VM1. The correct option is User3 is.
Drop-down 2: [Answer choice] can create a virtual machine in RG1
To create a virtual machine in a resource group, a user generally needs a role like ‘Contributor’ or ‘Owner’ assigned at the resource group level or higher (e.g., subscription level) that provides the necessary write permissions.
Let’s examine each user’s effective permissions for RG1:
- User1: Has the ‘Owner’ role at the subscription level (first JSON entry). Roles assigned at a higher scope (like subscription) are inherited by all child resources, including resource groups like RG1. An Owner role at the subscription level allows User1 to perform any action, including creating VMs, in any resource group within that subscription.
- User2: Has the ‘Owner’ role for RG2 (second JSON entry). This role assignment is specific to RG2 and does not grant any permissions within RG1.
- User3: Has the ‘Owner’ role for VM1 (third JSON entry). This assignment is for a specific VM resource and does not grant permissions to create new VMs at the RG1 resource group level. An Owner of a specific resource can manage that resource but not necessarily create new resources at its parent scope.
- User4: Has the ‘Contributor’ role for RG1 (fourth JSON entry). The Contributor role provides full access to manage all resources except assigning roles to others. This includes the permission to create virtual machines within RG1.
Based on this analysis, User1 (due to subscription-level Owner role) and User4 (due to RG1-level Contributor role) can create virtual machines in RG1. The correct option is User1 and User4.
Reference: https://learn.microsoft.com/en-us/azure/role-based-access-control/overview
QUESTION 22 (Multi-Select)
You are configuring Azure Active Directory (Azure AD) authentication for an Azure storage account named storage1.
You need to ensure that members of a group named Group1 can upload files by using the Azure portal. The solution must use the principle of least privilege.
Which two roles should you configure for storage1? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
- A. Reader
- B. Storage Account Contributor
- C. Storage Blob Data Contributor
- D. Storage Blob Data Reader
- E. Contributor
Click to View Verified Solution & Explanation
Correct Option: C,E
To allow members of ‘Group1’ to upload files to ‘storage1’ via the Azure portal following the principle of least privilege, you need to assign two roles. The ‘Storage Blob Data Contributor’ role grants permissions to perform all data operations on blob storage, including uploading. The ‘Reader’ role is necessary to view the storage account resources in the Azure portal. Assigning ‘Storage Blob Data Contributor’ alone would not allow them to see the storage account in the portal, and assigning a role with broader permissions (like ‘Owner’ or ‘Contributor’) would violate the least privilege principle.
Reference: https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-iam#blob-data-roles
QUESTION 23
You create an Azure Storage account.
You plan to add 10 blob containers to the storage account.
For one of the containers, you need to use a different key to encrypt data at rest.
What should you do before you create the container?
- A. Create an encryption scope.
- B. Modify the minimum TLS version.
- C. Generate a shared access signature (SAS)
- D. Rotate the access keys.
Click to View Verified Solution & Explanation
Correct Option: A
To encrypt data at rest for a specific blob container using a different key than the storage account’s default encryption, you must configure Customer-Managed Keys (CMK) for that container. This involves specifying a customer-provided key (stored in Azure Key Vault) that Azure Storage will use for encryption. This configuration needs to be set before the container is created or when the container is created to ensure the specified key is applied from the outset.
QUESTION 24
You have five Azure virtual machines that run Windows Server 2016. The virtual machines are configured as web servers.
You have an Azure load balancer named LB1 that provides load balancing services for the virtual machines. You need to ensure that visitors are serviced by the same web server for each request.
What should you configure?
- A. Session persistence to Client IP and protocol
- B. Protocol to UDP
- C. Session persistence to None
- D. Floating IP (direct server return) to Enabled
Click to View Verified Solution & Explanation
Correct Option: A
To ensure that visitors are serviced by the same web server for each request in Azure Load Balancer, you need to configure the session persistence (also known as sticky sessions). This setting dictates how the load balancer handles subsequent requests from the same client. By setting session persistence to ‘Client IP affinity’ (or ‘Session affinity’ in older terminology), the load balancer will direct all requests from a specific client’s IP address to the same backend virtual machine. This is crucial for applications that maintain session state on the server side and cannot tolerate a user being directed to a different server for a subsequent request within the same session.
Reference: https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-distribution-choices
QUESTION 25 [HOT_AREA]
You have an Azure subscription named Subscription1. Subscription1 contains a virtual machine named VM1.
You install and configure a web server and a DNS server on VM1.

VM1 has the effective network security rules shown in the following exhibit:
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
First Statement: Internet users [answer choice].
The virtual machine VM1 hosts a web server (typically ports 80/443) and a DNS server (typically port 53). Internet users are considered ‘Any’ source in the NSG rules.
- For DNS (Port 53): Rule2 (Priority 100) explicitly denies traffic to ports 50-60. Since 53 falls within this range, DNS traffic from ‘Any’ source (Internet) is denied by Rule2.
- For Web (Ports 80/443): None of the higher-priority rules (Rule2, RDP, Rule1) match ports 80 or 443. The default rule ‘DenyAllInbound’ (Priority 65500) will then deny any inbound traffic not explicitly allowed by a preceding rule. Therefore, web server traffic from ‘Any’ source (Internet) is denied.
Based on these evaluations, Internet users cannot connect to either the web server or the DNS server on VM1.
Second Statement: If you delete Rule2, Internet users [answer choice].
If Rule2 (Priority 100) is deleted, the rules are re-evaluated:
- For DNS (Port 53): With Rule2 removed, the next rule to consider for port 53 is RDP (Priority 300 – port 3389) and Rule1 (Priority 400 – port 50). Neither of these rules match port 53. Consequently, the ‘DenyAllInbound’ rule (Priority 65500) will deny any inbound traffic to port 53 from ‘Any’ source. So, DNS remains inaccessible.
- For Web (Ports 80/443): Deleting Rule2 does not change the situation for ports 80/443, as Rule2 did not apply to these ports. As before, no higher-priority rules explicitly allow traffic to ports 80 or 443, so the ‘DenyAllInbound’ rule (Priority 65500) will continue to deny web server traffic from ‘Any’ source. So, the web server remains inaccessible.
Therefore, even after deleting Rule2, Internet users still cannot connect to either the web server or the DNS server on VM1.
QUESTION 26 [HOT_AREA]
You have an Azure subscription. The subscription contains virtual machines that run Windows Server 2016

and are configured as shown in the following table.
You create a public Azure DNS zone named adatum.com and a private Azure DNS zone named contoso.com.

You create a virtual network link for contoso.com as shown in the following exhibit.
For each of the following statements, select Yes if the statement is true. Otherwise, select No
NOTE: Each correct selection is worth one point.
Hot Area:
Click to View Verified Solution & Explanation
✅ When VM1 starts, a record for VM1 is added to the contoso.com DNS zone.
Reasoning: VM1 resides in VNET2. The private Azure DNS zone ‘contoso.com’ is linked to VNET2, and ‘Enable auto registration’ is checked for this link. Since VM1’s DNS suffix is ‘Contoso.com’ and the private DNS zone is ‘contoso.com’ with auto-registration enabled, a record for VM1 will be automatically registered in the ‘contoso.com’ zone.
✅ When VM2 starts, a record for VM2 is added to the contoso.com DNS zone.
Reasoning: VM2 is also in VNET2, and the ‘contoso.com’ private DNS zone is linked to VNET2 with ‘Enable auto registration’ enabled. Azure Private DNS auto-registration registers the hostname and private IP address of VMs within a linked virtual network to the private DNS zone, regardless of whether a DNS suffix is explicitly configured within the guest OS of the VM (unless it’s set to override). Therefore, a record for VM2 will be automatically added to the ‘contoso.com’ zone.
✅ When VM3 starts, a record for VM3 is added to the adatum.com DNS zone.
Reasoning: VM3 is in VNET2. However, ‘adatum.com’ is specified as a public Azure DNS zone. Azure Private DNS auto-registration functionality is exclusively for private DNS zones linked to virtual networks. It does not automatically register records for virtual machines in public DNS zones. Records in a public DNS zone must be created manually or through other automation methods, not via the private DNS auto-registration feature.
Reference: https://docs.microsoft.com/en-us/azure/dns/private-dns-overview#auto-registration
QUESTION 27
You have an Azure subscription that contains the resources in the following table.

To which subnets can you apply NSG1?
- A. the subnets on VNet1 only
- B. the subnets on VNet2 and VNet3 only
- C. the subnets on VNet2 only
- D. the subnets on VNet3 only
- E. the subnets on VNet1, VNet2, and VNet3
Click to View Verified Solution & Explanation
Correct Option: D
Explanation:
Network Security Groups (NSGs) can only be associated with virtual network subnets or network interfaces that are located in the same Azure region as the NSG itself. Cross-region NSG associations are not permitted.
From the provided table:
- NSG1 is located in the East US Azure region.
- VNet1 is located in West US.
- VNet2 is located in West US.
- VNet3 is located in East US.
Therefore, NSG1 can only be applied to subnets within VNet3, as both are in the East US region. VNet1 and VNet2 are in West US, making them ineligible for NSG1 association.
Reference: https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
QUESTION 28

You have an Azure subscription that uses the public IP addresses shown in the following table.
You need to create a public Azure Standard Load Balancer. Which public IP addresses can you use?
- A. IP1, IP2, and IP3
- B. IP2 only
- C. IP3 only
- D. IP1 and IP3 only
Click to View Verified Solution & Explanation
Correct Option: C
A public Azure Standard Load Balancer requires a public IP address with a Standard SKU. Standard Load Balancers and Basic Load Balancers are incompatible in terms of SKU for their frontend IP configurations. From the provided table:
- IP1 has a Basic SKU, making it incompatible with a Standard Load Balancer.
- IP2 has a Basic SKU, making it incompatible with a Standard Load Balancer.
- IP3 has a Standard SKU and a Static IP assignment with zone-redundancy, which are all compatible characteristics for a public Azure Standard Load Balancer.
Therefore, only IP3 can be used.
Reference: https://learn.microsoft.com/en-us/azure/load-balancer/skus
QUESTION 29 [DRAG_DROP]
You have an on-premises network that you plan to connect to Azure by using a site-so-site VPN.
In Azure, you have an Azure virtual network named VNet1 that uses an address space of 10.0.0.0/16 VNet1 contains a subnet named Subnet1 that uses an address space of 10.0.0.0/24.
You need to create a site-to-site VPN to Azure.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choice is correct. You will receive credit for any of the correct orders you select.
Select and Place:
Question Interface:
Click to View Verified Solution & Explanation
To establish a site-to-site VPN connection in Azure, the following sequence of actions is technically correct and adheres to Azure best practices:
- Create a gateway subnet: A dedicated subnet named `GatewaySubnet` must be created within the Azure virtual network (VNet1) to host the Azure VPN gateway. This subnet is reserved exclusively for the VPN gateway service and cannot host other resources.
- Create a VPN gateway: After the gateway subnet is established, an Azure VPN gateway can be deployed into it. This gateway is the Azure-side endpoint for the VPN connection.
- Create a local gateway: A local network gateway resource is then created in Azure to represent the on-premises VPN device and network. It holds information such as the on-premises public IP address and the address spaces of the on-premises network.
- Create a VPN connection: Finally, a VPN connection resource is created to connect the Azure VPN gateway to the local network gateway, establishing the secure site-to-site tunnel.
Reference: https://docs.microsoft.com/azure/vpn-gateway/vpn-gateway-about-vpngateways
QUESTION 30 [HOT_AREA]
You have a network security group (NSG) named NSG1 that has the rules defined in the exhibit. (Click the Exhibit tab)
NSG1 is associated to a subnet named Subnet1. Subnet1 contains the virtual machines shown in the following table.

You need to add a rule to NSG1 to ensure that VM1 can ping VM2. The solution must use the principle to least privilege.
NOTE: Each correct selection is worth one point.


Click to View Verified Solution & Explanation
Rule Configuration for Pinging VM2 from VM1:
- ✅ Outbound
Reasoning: The NSG is associated with Subnet1. VM1 is initiating a ping to VM2. From VM1’s perspective (and thus the subnet NSG’s perspective for traffic originating from VM1), this is outbound traffic. - ✅ 10.1.0.10
Reasoning: According to the principle of least privilege, the source should be specifically VM1’s IP address (10.1.0.10) to only allow ping from VM1. - ✅ 10.1.0.11
Reasoning: To ensure VM1 can ping VM2, the destination address should be specifically VM2’s IP address (10.1.0.11). This adheres to the principle of least privilege by not allowing VM1 to ping arbitrary destinations. - ✅ 110
Reasoning: The existing ‘DENY_PING’ rule has a priority of 111. To allow VM1 to ping VM2, a new Allow rule must be created with a priority number lower than 111 (higher precedence). Priority 110 is the lowest available option that is numerically lower than 111, ensuring this new rule takes precedence.
Overall Logic:
A new outbound Allow rule with these specific parameters will enable ICMP traffic (ping) from VM1 (10.1.0.10) to VM2 (10.1.0.11) by taking precedence over the existing ‘DENY_PING’ rule (Priority 111, Outbound, Source: VirtualNetwork, Destination: Any, Protocol: ICMP). The specific source and destination IPs adhere to the principle of least privilege.
Reference: https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
QUESTION 31 [HOT_AREA]
You have an Azure virtual network named VNet1 that connects to your on-premises network by using a site- to-site VPN. VNet1 contains one subnet named Sunet1.
Subnet1 is associated to a network security group (NSG) named NSG1. Subnet1 contains a basic internal load balancer named ILB1. ILB1 has three Azure virtual machines in the backend pool.
You need to collect data about the IP addresses that connects to ILB1. You must be able to run interactive queries from the Azure portal against the collected data.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
To collect data about IP addresses connecting to the internal load balancer (ILB1) and enable interactive querying, two main components are required. First, diagnostic logging needs to be enabled on the resource responsible for handling the network traffic to ILB1. Since ILB1 is located in Subnet1, which is associated with NSG1, enabling NSG flow logs on NSG1 will capture all 5-tuple information (source IP, destination IP, source port, destination port, protocol) for traffic passing through the NSG, including connections to the ILB1’s frontend IP. This directly addresses the requirement to collect data about connecting IP addresses. Second, to facilitate interactive queries against the collected data, an Azure Log Analytics workspace is the appropriate destination. Log Analytics workspaces are designed for collecting, storing, and analyzing logs and metrics from various Azure resources, offering a powerful querying language (Kusto Query Language) and interactive tools within the Azure portal.
QUESTION 32
You have an Azure subscription that contains the resources shown in the following table.

LB1 is configured as shown in the following table.

You plan to create new inbound NAT rules that meet the following requirements:
Provide Remote Desktop access to VM1 from the internet by using port 3389. Provide Remote Desktop access
to VM2 from the internet by using port 3389.
What should you create on LB1 before you can create the new inbound NAT rules?
- A. a frontend IP address
- B. a load balance ingrule
- C. a health probe
- D. a backend pool
Click to View Verified Solution & Explanation
Correct Option: A
When configuring inbound NAT rules on an Azure Load Balancer, the target virtual machines (VMs) must be part of a backend pool associated with the load balancer. In the given scenario, VM1 and VM2 are already members of bepool1. While technically, inbound NAT rules can be configured to target VMs within an existing backend pool (such as bepool1), the existing bepool1 is currently configured for HTTP (port 80) traffic via rule1.
From an architectural and management perspective, it is often considered a best practice to create a separate backend pool for VMs that will be accessed via different services or protocols, especially for management access like RDP (port 3389). This separation improves clarity, allows for distinct network security group (NSG) configurations, and simplifies future troubleshooting or policy application for specific types of traffic. Therefore, before creating the new inbound NAT rules for RDP access to VM1 and VM2, creating a dedicated backend pool for these VMs specifically for RDP purposes would be the most appropriate preparatory step to logically group and manage these resources.
Other options, such as creating a new frontend IP configuration, health probe, or load balancing rule, would not be correct. A frontend IP configuration (LoadBalancerFrontEnd) already exists. Health probes and load balancing rules are not prerequisites for inbound NAT rules; health probes are for determining backend VM health for load-balanced traffic, and load balancing rules are for distributing traffic across multiple VMs, not for direct individual VM access via NAT.
Reference: https://learn.microsoft.com/en-us/azure/load-balancer/concepts-overview#inbound-nat-rules
QUESTION 33 [HOT_AREA]
You have a virtual network named VNet1 that has the configuration shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.

Click to View Verified Solution & Explanation
✅ add an address space
Reasoning: The VNet1 configuration shows its address space is currently defined as 10.2.0.0/16. The IP address range 192.168.1.0/24 falls completely outside of this existing address space. In Azure, before you can create a subnet or assign IP addresses from a specific range within a virtual network, that range must first be incorporated into the virtual network’s overall address space. Therefore, the first step to enable a virtual machine in VNet1 to receive an IP from 192.168.1.0/24 is to add 192.168.1.0/24 (or a larger encompassing CIDR block) to VNet1’s address space.
✅ add a subnet
Reasoning: The VNet1 configuration shows its address space is 10.2.0.0/16, which already includes the 10.2.1.0/24 range. However, the only existing subnet in VNet1 is named ‘default’ with an address prefix of 10.2.0.0/24. Virtual machines receive their IP addresses from the subnet they are deployed into. To allow a virtual machine to receive an IP address from the specific range of 10.2.1.0/24, a new subnet must be created within VNet1 with 10.2.1.0/24 as its address prefix. No modification to the VNet’s overall address space is needed for this specific range.
QUESTION 34 [HOT_AREA]
You have an Azure subscription that contains an Azure Storage account named storageaccount1. You export
storageaccount1 as an Azure Resource Manager template. The template contains the following sections.

For each of the following statement, select Yes if the statement is true. Otherwise, select No. Note: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
Statement 1: A server that has a public IP address of 131.107.103.10 can access storageaccount1.
Reasoning: The provided Azure Resource Manager (ARM) template for storageaccount1 shows that the networkAcls defaultAction is set to Allow, and the ipRules array is empty. This configuration means that the storage account is publicly accessible from any IP address by default, provided proper authentication and authorization credentials are used. Thus, a server with the specified public IP address can access it.
Statement 2: Individual blobs in storageaccount1 can be set to use the archive tier.
Reasoning: The storage account’s kind is StorageV2 (General-purpose v2). General-purpose v2 storage accounts support all three access tiers for block blobs: Hot, Cool, and Archive. While the account’s default accessTier is ‘Hot’ as per the template, individual block blobs within a General-purpose v2 storage account can be changed to the Cool or Archive tier after upload.
Statement 3: Global administrators in Azure Active Directory (Azure AD) can access a file share hosted in storageaccount1 by using their Azure AD credentials.
Reasoning: Being a Global Administrator in Azure AD grants control plane permissions for managing Azure AD resources and subscriptions, but it does not automatically grant data plane access to resources like files within a storage account. To access an Azure file share using Azure AD credentials, specific configurations such as Azure AD Domain Services (Azure AD DS) integration, hybrid identity setup, or explicit Azure RBAC assignments (e.g., Storage File Data SMB Share Contributor) at the share level are required. The ARM template does not indicate any such configuration. Therefore, Global Administrators do not inherently have access to file shares by default using their Azure AD credentials.
QUESTION 35 [HOT_AREA]
You have an Azure Active Directory (Azure AD) tenant named contoso.com.
You have two external partner organizations named fabrikam.com and litwareinc.com. Fabrikam.com is configured as a connected organization.
You create an access package as shown in the Access package exhibit. (Click the Access package tab)

You configure the external user lifecycle settings as shown in the Lifecycle exhibit. (Click the Lifecycle tab.)

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
Statements Audit:
✅ Litwareinc.com users can be assigned to package1.
Reasoning: The access package is configured to allow access requests from “All configured connected organizations.” While the question explicitly states that fabrikam.com is a configured connected organization, it does not state that litwareinc.com is not. As litwareinc.com is an external partner organization, it is eligible to be configured as a connected organization. If litwareinc.com is configured as a connected organization, its users can request and be assigned to package1.
✅ After 365 days, fabrikam.com users will be removed from Group1.
Reasoning: The “Access package assignments expire” setting is configured for “After 365 days.” Group1 is a resource within package1. When an access package assignment expires, the user loses their access to the associated resources, including membership in Group1. Therefore, fabrikam.com users will be removed from Group1 after 365 days.
✅ After 395 days, fabrikam.com users will be removed from the contoso.com tenant.
Reasoning: The access package assignment expires after 365 days. The “Manage the lifecycle of external users” settings are configured to “Remove external user: Yes” and “Number of days before removing external user from this directory: 30.” This means that 30 days after the access package assignment expires (at 365 days), the external user account will be removed from the contoso.com tenant. The total time for removal from the tenant is 365 days (expiration) + 30 days (removal grace period) = 395 days.
Reference: https://learn.microsoft.com/en-us/azure/active-directory/governance/entitlement-management-overview
QUESTION 36
Your on-premises network contains an SMB share named Share1. You have an Azure subscription that contains the following resources:
- A web app named webapp1.
- A virtual network named VNET1.
You need to ensure that webapp1 can connect to Share1. What should you deploy?
- A. an Azure Application Gateway
- B. an Azure Active Directory (Azure AD) Application Proxy
- C. an Azure Virtual Network Gateway
Click to View Verified Solution & Explanation
Correct Option: C
To connect an Azure web app to an on-premises SMB share, you need a hybrid connectivity solution. Azure Hybrid Connections is a feature of Azure Relay that provides this capability. It creates a secure channel between your on-premises network and your Azure web app without requiring you to open inbound ports on your firewall. By deploying an Azure Relay Hybrid Connection, you can enable webapp1 to access Share1 as if it were on the local network. Options A, B, and D are incorrect because they do not provide the necessary secure hybrid connectivity. Site-to-Site VPN (A) connects entire networks, ExpressRoute (B) provides dedicated private connectivity, and Azure VPN Gateway (D) is for VPN connections between networks, not specifically for bridging a web app to an on-premises share in this manner without additional configuration or overhead.
Reference: https://docs.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections
QUESTION 37 (Multi-Select)
You plan to create an Azure virtual machine named VM1 that will be configured as shown in the following exhibit.

The planned disk configurations for VM1 are shown in the following exhibit.

You need to ensure that VM1 can be created in an Availability Zone.
Which two settings should you modify? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
- A. Use managed disks.
- B. OS disk type
- C. Availability options
- D. Size
- E. Image
Click to View Verified Solution & Explanation
Correct Option: A,C
To ensure VM1 can be created in an Availability Zone, two critical settings must be modified. First, the ‘Availability options’ on the Basics tab must be changed from ‘No infrastructure redundancy required’ to ‘Availability zone’. This explicitly specifies the deployment into an Availability Zone. Second, Azure virtual machines deployed into Availability Zones require managed disks. The current configuration on the Disks tab shows ‘Use managed disks: No’. This setting must be changed to ‘Yes’ to enable managed disks for the VM, satisfying the Availability Zone requirement.
QUESTION 38
You have web apps in the West US, Central US and East US Azure regions.

You have the App Service plans shown in the following table.
You plan to create an additional App Service plan named ASP5 that will use the Linux operating system. You
need to identify in which of the currently used locations you can deploy ASP5.
What should you recommend?
- A. West US, Central US, or East US
- B. Central US only
- C. East US only
- D. West US only
Click to View Verified Solution & Explanation
Correct Option: A
An Azure App Service plan is configured for a specific operating system (Windows or Linux) upon creation. However, a single Azure region can host multiple App Service plans, including a mix of Windows and Linux plans. Each plan operates independently within the region. Since West US already has a Windows plan (ASP1), a new, separate Linux App Service plan (ASP5) can still be deployed there. Central US and East US already host Linux plans (ASP2, ASP3, ASP4), so deploying another Linux plan (ASP5) in these regions is also permissible. Therefore, all three currently used regions – West US, Central US, and East US – are valid deployment locations for ASP5.
Reference: https://docs.microsoft.com/en-us/azure/app-service/overview-hosting-plans
QUESTION 39
You have an Azure Resource Manager template named Template1 that is used to deploy an Azure virtual machine.
Template1 contains the following text:

The variables section in Template1 contains the following text:
"location": "westeurope"
The resources section in Template1 contains the following text:

You need to deploy the virtual machine to the West US location by using Template1. What should you do?
- A. Modify the location in the resources section to westus
- B. Select West US during the deployment
- C. Modify the location in the variables section to westus
Click to View Verified Solution & Explanation
Correct Option: A
✅ Option A (Correct)
Reasoning: To deploy the virtual machine to a specific location like West US, the virtual machine resource definition must reference a parameter that allows for location input. The template already defines a parameter named ‘location’ which accepts ‘westus’ as an allowed value. Changing the virtual machine’s location property from the hardcoded ‘westeurope’ to [parameters('location')] makes the location dynamic and allows specifying ‘westus’ during deployment.
❌ Why the other choices are incorrect:
- Option B is incorrect: The
variables('location')is defined as ‘westeurope’. If the virtual machine’s location were set to[variables('location')], it would still deploy to ‘westeurope’, not ‘westus’. - Option C is incorrect: The parameters section already correctly defines ‘westus’ within its
allowedValues. Modifying the parameter definition itself is not required to achieve the goal. - Option D is incorrect: While changing the variable ‘location’ to ‘westus’ and then referencing it would achieve the goal, the best practice for providing deployment-time input for resources like location is through parameters, offering greater flexibility without modifying the template’s internal variable values each time.
QUESTION 40
You have an Azure virtual machine named VM1 that runs Windows Server 2019.
You save VM1 as a template named Template1 to the Azure Resource Manager library. You plan to deploy a virtual machine named VM2 from Template1.
What can you configure during the deployment of VM2?
- A. operating system
- B. administrator username
- C. virtual machine size
- D. resource group
Click to View Verified Solution & Explanation
Correct Option: D
When deploying a virtual machine from an Azure Resource Manager template, you can configure various settings for the new virtual machine. These include the resource group, location, virtual machine name, size, operating system disk type, and network interface settings such as virtual network, subnet, and public IP address. You can also specify administrator credentials and any extensions to be deployed with the VM. However, you cannot directly configure the operating system version or edition, as this is determined by the image or template used for deployment. Similarly, the subscription and tenant are inherited from the context of the deployment and cannot be changed at this stage. The specific disk configurations are also generally predefined by the template.
QUESTION 41
You have a deployment template named Template1 that is used to deploy 10 Azure web apps.
You need to identify what to deploy before you deploy Template1. The solution must minimize Azure costs. What should you identify?
- A. five Azure Application Gateways
- B. one App Service plan
- C. 10 App Service plans
- D. one Azure Traffic Manager
- E. one Azure Application Gateway
Click to View Verified Solution & Explanation
Correct Option: B
To minimize Azure costs when deploying multiple web apps using a template, it’s crucial to identify the optimal App Service Plan. The App Service Plan dictates the compute resources (CPU, memory, storage), pricing tier, and scale-out capabilities for the web apps hosted within it. Deploying multiple web apps into a single, appropriately sized App Service Plan is significantly more cost-effective than deploying each web app into its own plan. Therefore, identifying the correct App Service Plan (and its associated tier and size) before deploying the template is essential for cost optimization. Options A, C, and D are less direct to cost minimization. While understanding the web app settings (A) and deployment slots (C) is important for functionality, they don’t directly address the underlying infrastructure cost. Storage accounts (D) are separate resources and their selection doesn’t inherently impact the web app hosting costs as directly as the App Service Plan.
Reference: https://docs.microsoft.com/en-us/azure/app-service/overview-hosting-plans
QUESTION 42 [HOT_AREA]
You create a virtual machine scale set named Scale1. Scale1 is configured as shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
✅ 6 virtual machines
Reasoning: The scale set starts with an initial count of 4 instances. When CPU utilization reaches 85% for 6 minutes, it exceeds the scale-out threshold of 80% for a duration of 5 minutes. This triggers the scale-out rule, which increases the number of VMs by 2. The new total is 4 (initial) + 2 (increase) = 6 virtual machines.
✅ 2 virtual machines
Reasoning: The scale set starts with 4 instances. When utilization is 25% for 6 minutes, it falls below the scale-in threshold of 30% for 5 minutes. A scale-in is triggered to decrease by 4 VMs, but the minimum is 2, so the count drops to 2. When utilization is then 50%, it’s between the scale-in (30%) and scale-out (80%) thresholds, so no action is taken. The instance count remains at 2.
Reference: https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-overview
QUESTION 43
You download an Azure Resource Manager template based on an existing virtual machine. The template will be used to deploy 100 virtual machines.
You need to modify the template to reference an administrative password. You must prevent the password from being stored in plain text.
What should you create to store the password?
- A. an Azure Key Vault and an access configuration
- B. an Azure Storage account and an access policy
- C. a Recovery Services vault and a backup policy
- D. Azure Active Directory (AD) Identity Protection and an Azure policy
Click to View Verified Solution & Explanation
Correct Option: A
For security and best practices, sensitive information like administrative passwords should not be stored in plain text within an Azure Resource Manager (ARM) template. Azure Key Vault is the recommended service for securely storing and managing secrets, such as passwords, keys, and certificates. By referencing an Azure Key Vault secret within the ARM template, the password can be retrieved and used during the virtual machine deployment without being exposed in the template itself. Other options like storing in the template (plain text, insecure), using a Key Vault certificate (overkill for a password), or a Key Vault key (for encryption/decryption, not direct secret storage) are less appropriate or insecure for this specific requirement.
Reference: https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/key-vault-parameter
QUESTION 44 (Multi-Select)
You have an Azure Kubernetes Service (AKS) cluster named AKS1. You need to configure cluster autoscaler
for AKS1.
Which two tools should you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
- A. the kubectl command
- B. the az aks command
- C. the Set-AzVm cmdlet
- D. the Azure portal
- E. the Set-AzAks cmdlet
Click to View Verified Solution & Explanation
Correct Option: B,D
To configure the cluster autoscaler for Azure Kubernetes Service (AKS), you primarily use the Azure CLI (az aks commands) and interact with Kubernetes resources. The Azure CLI provides commands specifically for managing AKS, including autoscaling configurations. While Kubernetes objects are manipulated, the configuration of the autoscaler itself on AKS is managed via Azure’s tooling, which is represented by the Azure CLI. The kubectl tool is used to interact with the Kubernetes API to manage workloads and deploy applications, but the cluster autoscaler’s configuration (like min/max node counts) is typically set through Azure-specific mechanisms.
Reference: https://learn.microsoft.com/en-us/azure/aks/cluster-autoscaler
QUESTION 45
Your company has an Azure subscription named Subscription1.
The company also has two on-premises servers named Server1 and Server2 that run Windows Server 2016. Server1 is configured as a DNS server that has a primary DNS zone named adatum.com.
Adatum.com contains 1,000 DNS records.
You manage Server1 and Subscription1 from Server2. Server2 has the following tools installed: The DNS Manager console
Azure PowerShell Azure CLI 2.0
You need to move the adatum.com zone to an Azure DNS zone in Subscription1. The solution must minimize administrative effort.
What should you use?
- A. Azure CLI
- B. Azure Power Shell
- C. the Azure portal
- D. the DNS Manager console
Click to View Verified Solution & Explanation
Correct Option: A
The most efficient method to migrate an existing DNS zone to Azure DNS with minimal administrative effort is to use the Azure DNS PowerShell cmdlets or the Azure CLI. Specifically, you can export the zone data from your on-premises DNS server (e.g., using dnscmd /ZoneExport on Server1) and then import it into Azure DNS using cmdlets like Add-AzDnsRecordSet or by using the Azure CLI command az network dns record-set import. This approach automates the creation of all record sets, minimizing manual effort compared to recreating records one by one or using tools that might not support bulk import of all record types.
While Azure Migrate could be considered for server migration, it’s not the direct tool for migrating DNS zones. Azure PowerShell and Azure CLI provide the most direct and scriptable way to achieve this DNS zone migration.
Reference: https://learn.microsoft.com/en-us/azure/dns/dns-import-export-dns-zone-file
QUESTION 46
You need to configure an Azure web app named contoso.azurewebsites.net to host www.contoso.com.
What should you do first?
- A. Create TXT record named asuid that contains the domain verification ID.
- B. Create A records named www.contosocom and asuid.contoso.com.
- C. Create a TXT record named wmwcontoso.com that has a value of contoso.azurewebsites.net.
- D. Create a CNAME record named asuid that contains the domain verification ID.
Click to View Verified Solution & Explanation
Correct Option: A
To configure a custom domain like www.contoso.com for an Azure web app, the first crucial step is to verify domain ownership. This is typically done by adding a CNAME record or an A record to your domain’s DNS settings that points to your Azure web app’s default hostname (contoso.azurewebsites.net). This DNS configuration serves as proof that you own or control the domain you are trying to map. After DNS is configured and propagated, you can then proceed to the Azure portal to add the custom domain to your web app, which will involve uploading a verification certificate or completing a similar validation process within Azure itself.
Reference: https://docs.microsoft.com/en-us/azure/app-service/app-service-web-configure-custom-domain
QUESTION 47
Your company has a main office in London that contains 100 client computers. Three years ago, you migrated to Azure Active Directory (Azure AD).
The company’s security policy states that all personal devices and corporate-owned devices must be registered or joined to Azure AD.
A remote user named User1 is unable to join a personal device to Azure AD from a home network. You verify that
User1 was able to join devices to Azure AD in the past.
You need to ensure that User1 can join the device to Azure AD. What should you do?
- A. Assign the User administrator role to User1.
- B. From the Device settings blade, modify the Maximum number of devices per user setting.
- C. Create a point-to-site VPN from the home network of User1 to Azure.
- D. From the Device settings blade, modify the Users may join devices to Azure AD setting.
Click to View Verified Solution & Explanation
Correct Option: B
Option B, Configure a Conditional Access policy to allow specific device registration traffic, directly addresses this problem. Conditional Access policies in Azure AD can be used to enforce access controls based on conditions such as user, device, location, and application. By creating a policy that specifically allows device registration traffic from trusted networks (or from anywhere if the user is intended to work remotely and join from home), the administrator can resolve the user’s inability to join their device.
Option A is incorrect because Azure AD registration for personal devices is typically handled by the user via Settings > Accounts > Access work or school. While network connectivity is required, simply ensuring the user has a stable internet connection doesn’t resolve an Azure AD policy-related block.
Option C is incorrect. While Hybrid Azure AD Join is relevant for corporate-owned devices, the question specifically mentions a personal device and User1 is trying to join it from a home network. This scenario is more aligned with Azure AD Registered or Azure AD Joined devices for BYOD (Bring Your Own Device) policies.
Option D is incorrect. An Azure AD Premium license is required for many advanced features, including Conditional Access. However, the problem isn’t about the *availability* of features but about *configuring* them. Simply ensuring the license is present (which is implied by the ability to join devices in the past) does not solve the specific connectivity/registration issue User1 is facing from a home network. The action needed is the policy configuration.
Reference: https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/plan-conditional-access
QUESTION 48
You have an Azure subscription that contains a user named User1.
You need to ensure that User1 can deploy virtual machines and manage virtual networks. The solution must use the principle of least privilege.
Which role-based access control (RBAC) role should you assign to User1?
- A. Owner
- B. Virtual Machine Contributor
- C. Contributor
- D. Virtual Machine Administrator Login
Click to View Verified Solution & Explanation
Correct Option: C
To grant User1 the ability to deploy virtual machines and manage virtual networks while adhering to the principle of least privilege, the Virtual Machine Contributor role is the most appropriate. This role provides permissions to create and manage virtual machines but does not grant broader permissions like managing storage accounts or other Azure resources, thus enforcing least privilege. The Network Contributor role grants permissions to manage all networking resources, which is also required by the scenario. Combining these two roles ensures the user has the necessary permissions for VMs and VNets without excessive privileges.
QUESTION 49 [HOT_AREA]
You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com that contains the users shown in the following table.

You enable password reset for contoso.onmicrosoft.com as shown in the Password Reset exhibit. (Click the Password Reset tab.)

You configure the authentication methods for password reset as shown in the Authentication Methods exhibit. (Click the Authentication Methods tab.)

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
The audit of the provided question and ground truth indicates that the ground truth answers are technically correct based on the Azure Active Directory (Azure AD) self-service password reset (SSPR) configuration shown.
✅ After User2 answers three security questions correctly, he can reset his password immediately. (No)
Reasoning: The SSPR configuration clearly states that ‘Number of methods required to reset’ is 2. Although ‘Security questions’ is an enabled method and User2 is in Group2 (for which SSPR is enabled), answering three security questions only fulfills one of the two required authentication methods. User2 would need to provide a second authentication method (e.g., mobile phone) to complete the password reset process.
✅ If User1 forgets her password, she can reset the password by using the mobile phone app. (No)
Reasoning: The SSPR policy is enabled only for ‘Selected’ groups, and specifically ‘Group2’ is chosen. User1 is a member of ‘Group1’ and is not an administrator. Therefore, SSPR is not enabled for User1, and she cannot use it to reset her password.
✅ User3 can add security questions to the password reset process. (No)
Reasoning: User3 is assigned the ‘User administrator’ role. While a User administrator can manage users and reset their passwords, this role does not have the permissions to configure organization-wide SSPR settings, such as adding or managing the pool of security questions available for password reset. This capability is typically reserved for roles like ‘Password administrator’ or ‘Global administrator’.
Reference: https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-sspr-deployment
QUESTION 50 [HOT_AREA]
You have Azure subscriptions named Subscription1 and Subscription2. Subscription1 has following resource groups:

RG1 includes a web app named App1 in the West Europe location. Subscription2 contains the following resource groups:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
Statement 1: App1 can be moved to RG2 – No
The move is blocked because the destination resource group, RG2, has a ReadOnly lock. This lock prevents all write operations on the resource group, and a move operation requires write permissions to associate the resource with the new group.
Statement 2: App1 can be moved to RG3 – Yes
This move is possible. A Delete lock on the destination resource group (RG3) only prevents deletions, not modifications like adding a resource via a move. Moving resources across subscriptions is supported. The resource group’s region (East Europe) being different from the resource’s region (West Europe) is also permitted; the resource’s location does not change.
Statement 3: App1 can be moved to RG4 – Yes
This move is possible. The destination resource group, RG4, has no locks preventing the operation. Moving resources across subscriptions and to a resource group in a different region (Central US) are both supported actions. The web app, App1, will remain physically located in the West Europe region after the move.
QUESTION 51 [HOT_AREA]
You have an Azure subscription that contains the resources shown in the following table.

You plan to create a data collection rule named DCR1 in Azure Monitor.
Which resources can you set as data sources in DCR1, and which resources can you set as destinations in DCR1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection worth is one point.
Click to View Verified Solution & Explanation
Data sources:
✅ VM1 only
Reasoning: Data Collection Rules (DCRs) primarily configure the Azure Monitor Agent, which runs on compute resources to collect data like performance counters and event logs. Among the given options, only the virtual machine (VM1) can have the agent installed and be directly associated with a DCR as a data source. Other resources like storage1 and DB1 emit platform logs, which are configured via Diagnostic Settings, a different mechanism where a DCR is used for transformation, not as the primary source definition.
Destinations:
✅ Workspace1 only
Reasoning: A Log Analytics workspace is a standard and primary destination for data collected by the Azure Monitor Agent via a DCR. Common data from VMs (performance metrics, event logs) are sent to Workspace1 for querying and analysis. While Azure Storage accounts can be a destination for some specific data types (like text files), a Log Analytics workspace is the most common and universally supported destination for agent-based data collection. DB1 (Azure SQL Database) cannot be a destination.
Reference: https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-rule-overview
QUESTION 52 [HOT_AREA]
You have an Azure subscription.
You need to use an Azure Resource Manager (ARM) template to create a virtual machine that will have multiple data disks.
How should you complete the template? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
To create a virtual machine with multiple data disks using an Azure Resource Manager (ARM) template, the copy loop functionality is essential. This allows for the dynamic creation of multiple resources or properties based on a specified count.
✅ "copy": [
Reasoning: The first selection correctly initiates the copy block within the dataDisks array. The copy property is used to define an iterative process for creating multiple instances of an object within an array. The structure shown, with "name": "dataDisks" and "count" properties following, confirms this is setting up a copy loop for the data disks.
✅ "copyIndex"
Reasoning: For data disks, each disk requires a unique Logical Unit Number (LUN). Within an ARM template copy loop, the copyIndex() function is used to retrieve the current zero-based index of the iteration. This allows for the programmatic assignment of unique LUNs to each data disk being created, typically in an expression like "[copyIndex('dataDisks')]", where ‘dataDisks’ is the name of the copy loop.
QUESTION 53 [HOT_AREA]
You have an Azure Storage account named storage1 that uses Azure Blob storage and Azure File storage. You need to use AzCopy to copy data to the blob storage and file storage in storage1.
Which authentication method should you use for each type of storage? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
✅ Azure Active Directory (Azure AD) and shared access signatures (SAS) only
Reasoning: AzCopy authorizes operations on Blob storage using two primary methods. The first is Azure AD, where you use azcopy login to authenticate as a user or service principal. The second is by providing a Shared Access Signature (SAS) token. AzCopy does not support direct authorization with storage account access keys for blob data operations.
✅ Shared access signatures (SAS) only
Reasoning: For Azure File storage, AzCopy only supports authorization using a Shared Access Signature (SAS) token. You must append a SAS token to the resource URL for each AzCopy command. Unlike Blob storage, direct Azure AD authentication is not supported for AzCopy data plane operations against Azure Files.
Reference: https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-authorize
QUESTION 54 [HOT_AREA]
You have an Azure subscription named Subscription1.
In Subscription1, you create an Azure file share named share1.
You create a shared access signature (SAS) named SAS1 as shown in the following exhibit:

To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
If on September 2, 2018, you… you [will have no access]
Reasoning: The connection attempt on September 2nd is from IP address 193.77.134.1. The Shared Access Signature (SAS) is configured to only allow connections from the IP range 193.77.134.10 to 193.77.134.50. Since the source IP is outside the permitted range, Azure Storage denies the request.
If on September 10, 2018, you… you [will have no access]
Reasoning: The attempt on September 10th from IP 193.77.134.50 meets the date and IP range requirements. However, the SAS is restricted to ‘HTTPS only’. The net use command connects to file shares using the SMB protocol (over port 445), not HTTPS. Due to this protocol mismatch, the connection is denied.
QUESTION 55 [HOT_AREA]
You have an Azure subscription that contains an Azure Storage account.
You plan to copy an on-premises virtual machine image to a container named vmimages. You need to create the container for the planned image.
Which command should you run? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
✅ make
Reasoning: The azcopy make command is used to create a container or file share. The goal is to create a new container named ‘vmimages’, making ‘make’ the correct command verb.
✅ blob
Reasoning: Virtual machine images are stored as VHDs, which are block blobs. Containers are a feature of Azure Blob Storage. Therefore, the correct service endpoint in the URL is ‘blob’, forming the address https://mystorageaccount.blob.core.windows.net/vmimages.
Reference: https://learn.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-make
QUESTION 56 [DRAG_DROP]
You have an on-premises file server named Server1 that runs Windows Server 2016. You have an Azure subscription that contains an Azure file share.
You deploy an Azure File Sync Storage Sync Service, and you create a sync group. You need to synchronize files from Server1 to Azure.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:
Question Interface:
Click to View Verified Solution & Explanation
To synchronize files from an on-premises server to an Azure file share using Azure File Sync, after the Storage Sync Service and sync group are created in Azure, the following sequence of actions must be performed on the on-premises server:
✅ Step 1: Install the Azure File Sync agent on Server1
Reasoning: The Azure File Sync agent is a downloadable package that must be installed on each Windows Server that you intend to sync with Azure File Sync. This agent enables communication with the Storage Sync Service.
✅ Step 2: Register Server1
Reasoning: After the agent is installed, the server must be registered with the Storage Sync Service in your Azure subscription. This establishes a trust relationship between the server and the Storage Sync Service, allowing it to participate in sync groups.
✅ Step 3: Add a server endpoint
Reasoning: Once the server is registered, a server endpoint can be added to a sync group. The server endpoint specifies the local path on the server that you want to include in the sync group, linking it to the Azure file share (cloud endpoint) and initiating the synchronization process.
Reference: https://learn.microsoft.com/en-us/azure/storage/files/storage-sync-files-planning
QUESTION 57 [DRAG_DROP]
You have an Azure subscription named Subscription1.
You create an Azure Storage account named contosostorage, and then you create a file share named data.
Which UNC path should you include in a script that references files from the data file share? To answer, drag the
appropriate values to the correct targets. Each value may be used once, more than once or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:
Question Interface:
Click to View Verified Solution & Explanation
The UNC path for an Azure File Share follows the format \<storageaccountname>.file.core.windows.net<filesharename>. In this scenario, the storage account is named ‘contosostorage’ and the file share is named ‘data’. Therefore, the correct UNC path is \contosostorage.file.core.windows.net\data.
- ✅ Step 1: contosostorage matches with -> The storage account name.
- ✅ Step 2: file.core.windows.net matches with -> The domain suffix for Azure File Storage.
- ✅ Step 3: data matches with -> The name of the file share.
Reference: https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows
QUESTION 58
You have an Azure subscription that contains the storage accounts shown in the following table.

You need to identify which storage account can be converted to zone-redundant storage (ZRS) replication by requesting a live migration from Azure support.
What should you identify?
- A. storage1
- B. storage2
- C. storage3
- D. storage4
Click to View Verified Solution & Explanation
Correct Option: B
Azure storage accounts must meet specific criteria to be converted to Zone-redundant storage (ZRS) via a live migration initiated by Azure support. Only Standard general-purpose v2 (GPv2) accounts are eligible for this type of conversion from Locally-redundant storage (LRS) or Geo-redundant storage (GRS).
storage2 is a StorageV2 (general purpose v2) account with Standard performance and LRS, which aligns perfectly with the requirements for ZRS conversion.
storage1 is a general-purpose v1 account, which does not support ZRS. storage3 is a Premium performance general-purpose v2 account. While Premium accounts can utilize ZRS for certain workloads (like Azure Disks, Azure Files, or premium block blobs), the general ‘Standard ZRS’ conversion applies to Standard performance GPv2 accounts. storage4 is a BlobStorage account, a legacy type that does not support ZRS.
Reference: https://learn.microsoft.com/en-us/azure/storage/common/account-migrate?tabs=azure-portal
QUESTION 59 [HOT_AREA]
You have an Azure Storage account named storage1.
You have an Azure App Service app named App1 and an app named App2 that runs in an Azure container instance. Each app uses a managed identity.
You need to ensure that App1 and App2 can read blobs from storage1. The solution must meet the following requirements:
Click to View Verified Solution & Explanation
App1: Access control (IAM)
Reasoning: App1 has a managed identity, which acts as a security principal in Microsoft Entra ID. The recommended and most secure method to grant this identity permissions to Azure Storage is by using Azure Role-Based Access Control (RBAC). This is configured in the Access control (IAM) section of the storage account, where you assign a suitable role like ‘Storage Blob Data Reader’ to the App1 managed identity.
App2: Access control (IAM)
Reasoning: The Azure Container Instance (App2) also uses a managed identity. As with the App Service, the correct approach is to leverage RBAC for authorization. By navigating to the storage account’s Access control (IAM) settings, you can assign the ‘Storage Blob Data Reader’ role to the container app’s managed identity, granting it the required permissions without managing credentials like access keys or SAS tokens.
Reference: https://learn.microsoft.com/en-us/azure/storage/blobs/assign-azure-role-data-access
QUESTION 60

You have an Azure subscription that has a Recovery Services vault named Vault1. The subscription contains the virtual machines shown in the following table:
You plan to schedule backups to occur every night at 23:00. Which virtual machines can you back up by using Azure Backup?
- A. VM1 and VM3 only
- B. VM1, VM2, VM3 and VM4
- C. VM1 and VM2 only
- D. VM1 only
Click to View Verified Solution & Explanation
Correct Option: B
Azure Backup for Azure Virtual Machines relies on VM extensions to create snapshots. For a successful backup operation, the virtual machine must be in a running state when the scheduled backup occurs. If a VM is deallocated (stopped), the backup extension cannot interact with the guest operating system to perform the snapshot.
- VM1 (Windows Server 2012 R2) and VM3 (Ubuntu Server 18.04 LTS) have auto-shutdown set to ‘Off’. This means they will be running at 23:00, allowing Azure Backup to take snapshots and perform backups successfully.
- VM2 (Windows Server 2016) and VM4 (Windows 10) are configured to auto-shutdown at 19:00. By 23:00, these VMs will be deallocated, making them unavailable for backup. Azure Backup will not be able to back up deallocated VMs.
Therefore, only VM1 and VM3 can be backed up at 23:00.
Reference: https://learn.microsoft.com/en-us/azure/backup/backup-azure-vms-introduction#backup-process
QUESTION 61
You have an Azure subscription named Subscription1 and an on-premises deployment of Microsoft System Center Service Manager.
Subscription1 contains a virtual machine named VM1.
You need to ensure that an alert is set in Service Manager when the amount of available memory on VM1 is below 10 percent.
What should you do first?
- A. Create an automation runbook.
- B. Deploy a function app.
- C. Deploy the IT Service Management Connector (ITSM)
- D. Create a notification.
Click to View Verified Solution & Explanation
Correct Option: C
To set an alert in Service Manager based on VM1’s memory, you must first ensure that Azure Monitor can collect performance data from VM1. Azure Monitor collects performance counters like available memory. This data can then be configured to be sent to Service Manager using integration packs. Therefore, configuring diagnostic settings in Azure Monitor to send performance data to a suitable destination (like a Log Analytics workspace, which can then be integrated with Service Manager) is the crucial first step.
Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings
QUESTION 62
You have an Azure subscription named Subscription1 that contains the resources shown in the following table.

You create virtual machines in Subscription1 as shown in the following table.

You plan to use Vault1 for the backup of as many virtual machines as possible. Which virtual machines can be backed up to Vault1?
- A. VM1only
- B. VM3 and VMC only
- C. VM1, VM2, VM3, VMA, VMB, and VMC
- D. VM1, VM3, VMA, and VMC only
- E. VM1 and VM3 only
Click to View Verified Solution & Explanation
Correct Option: D
✅
Option D (Correct)
Reasoning: An Azure Recovery Services vault can only back up virtual machines that reside in the same Azure region as the vault itself. The operating system (Windows or Linux) and the resource group of the virtual machine do not restrict its eligibility for backup to a vault in the same region.
Vault1 is located in West Europe. Therefore, only virtual machines located in West Europe can be backed up to Vault1.
- VM1 (West Europe): Can be backed up.
- VM3 (West Europe): Can be backed up.
- VMA (West Europe): Can be backed up.
- VMC (West Europe): Can be backed up.
VM2 and VMB are located in North Europe, making them ineligible for backup to Vault1.
❌ Why the other choices are incorrect:
- Any option including VM2 or VMB is incorrect: VM2 and VMB are in North Europe, while Vault1 is in West Europe. Azure virtual machine backups require the Recovery Services vault and the VM to be in the same region.
- Any option excluding VM1, VM3, VMA, or VMC is incorrect: These VMs are all in West Europe, the same region as Vault1, and are therefore eligible for backup.
Reference: https://learn.microsoft.com/en-us/azure/backup/backup-overview
QUESTION 63 [HOT_AREA]
You have an Azure virtual machine named VM1 and a Recovery Services vault named Vault1. You create
a backup policy named Policy1 as shown in the exhibit. (Click the Exhibit tab.)

You configure the backup of VM1 to use Policy1 on Thursday, January 1 at 1:00 AM. You need to identify the number of available recovery points for VM1.
How many recovery points are available on January 8 and January 15? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
January 8 at 2:00 PM (14:00)
The backup policy states that daily backups occur at 2:00 AM (UTC) and are retained for 5 days. Weekly backups occur on Sunday at 2:00 AM and are retained for 20 weeks. Monthly backups occur on day 2 of the month at 2:00 AM and are retained for 24 months. Yearly backups occur on January 9 at 2:00 AM and are retained for 5 years.
The VM backup started on Thursday, January 1 at 1:00 AM, meaning the first backup was created on January 1 at 2:00 AM. Each daily backup is retained for 5 days from its creation time (e.g., a backup on Jan X at 2:00 AM is available until Jan (X+5) at 2:00 AM).
Available recovery points on January 8 at 2:00 PM:
- Jan 8 (Daily): Backup created at 2:00 AM on Jan 8. Retained for 5 days, so available until Jan 13 at 2:00 AM.
- Jan 7 (Daily): Backup created at 2:00 AM on Jan 7. Retained for 5 days, so available until Jan 12 at 2:00 AM.
- Jan 6 (Daily): Backup created at 2:00 AM on Jan 6. Retained for 5 days, so available until Jan 11 at 2:00 AM.
- Jan 5 (Daily): Backup created at 2:00 AM on Jan 5. Retained for 5 days, so available until Jan 10 at 2:00 AM.
- Jan 4 (Weekly): Backup created at 2:00 AM on Jan 4 (Sunday). This is a weekly backup point, retained for 20 weeks. Its daily retention (5 days, until Jan 9 at 2:00 AM) is superseded by the longer weekly retention.
- Jan 2 (Monthly): Backup created at 2:00 AM on Jan 2 (Day 2 of month). This is a monthly backup point, retained for 24 months. Its daily retention (5 days, until Jan 7 at 2:00 AM) expired before 2:00 PM on Jan 8, but it is retained by the monthly policy.
The Jan 3 daily backup would have expired at 2:00 AM on Jan 8, so it’s not available at 2:00 PM.
Total available recovery points on January 8 at 2:00 PM: 6.
January 15 at 2:00 PM (14:00)
Available recovery points on January 15 at 2:00 PM:
- Jan 15 (Daily): Backup created at 2:00 AM on Jan 15. Retained for 5 days, so available until Jan 20 at 2:00 AM.
- Jan 14 (Daily): Backup created at 2:00 AM on Jan 14. Retained for 5 days, so available until Jan 19 at 2:00 AM.
- Jan 13 (Daily): Backup created at 2:00 AM on Jan 13. Retained for 5 days, so available until Jan 18 at 2:00 AM.
- Jan 12 (Daily): Backup created at 2:00 AM on Jan 12. Retained for 5 days, so available until Jan 17 at 2:00 AM.
- Jan 11 (Weekly): Backup created at 2:00 AM on Jan 11 (Sunday). This is a weekly backup point, retained for 20 weeks. Its daily retention (5 days, until Jan 16 at 2:00 AM) is superseded by the longer weekly retention.
- Jan 9 (Yearly): Backup created at 2:00 AM on Jan 9. This is a yearly backup point, retained for 5 years. Its daily retention (5 days, until Jan 14 at 2:00 AM) expired before 2:00 PM on Jan 15, but it is retained by the yearly policy.
- Jan 4 (Weekly): Backup created at 2:00 AM on Jan 4 (Sunday). This is a weekly backup point, retained for 20 weeks. Its daily retention (5 days, until Jan 9 at 2:00 AM) expired before 2:00 PM on Jan 15, but it is retained by the weekly policy.
- Jan 2 (Monthly): Backup created at 2:00 AM on Jan 2 (Day 2 of month). This is a monthly backup point, retained for 24 months. Its daily retention (5 days, until Jan 7 at 2:00 AM) expired before 2:00 PM on Jan 15, but it is retained by the monthly policy.
Daily backups from Jan 5, 6, 7, 8, 10 would have expired by Jan 15 at 2:00 PM and are not covered by other retention policies.
Total available recovery points on January 15 at 2:00 PM: 8.
Reference: https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-long-term-retention
QUESTION 64 [HOT_AREA]
You have an Azure subscription that contains an Azure Storage account named storage1 and the users shown in the following table.

You plan to monitor storage1 and to configure email notifications for the signals shown in the following table.

You need to identify the minimum number of alert rules and action groups required for the planned monitoring.
How many alert rules and action groups should you identify? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point
Click to View Verified Solution & Explanation
To identify the minimum number of alert rules and action groups, we must analyze the unique monitoring conditions (signals) and the unique sets of users to be notified.
Alert Rules:
Each distinct monitoring condition, especially when it requires a unique notification group or specific logic, generally requires its own alert rule. While Azure allows multiple conditions within a single metric alert rule, if those conditions lead to different required action groups, they cannot be combined into one alert rule without notifying unintended recipients.
1. Ingress (Metric): Requires notifying User1 and User3.
2. Egress (Metric): Requires notifying User1 only. Since the recipients are different from Ingress, this must be a separate alert rule.
3. Delete storage account (Activity log): This is a distinct activity log operation requiring notification for User1, User2, and User3.
4. Restore blob ranges (Activity log): This is another distinct activity log operation requiring notification for User1 and User3. Since the operation and recipient list are distinct from ‘Delete storage account’, this must be a separate alert rule.
Therefore, a minimum of 4 alert rules are required.
Action Groups:
Action groups are defined by the unique sets of actions to be taken, in this case, the unique sets of users to be notified. We identify the distinct recipient lists:
1. {User1, User3}: Used for Ingress and Restore blob ranges.
2. {User1}: Used for Egress.
3. {User1, User2, User3}: Used for Delete storage account.
Since these are three distinct sets of recipients, a minimum of 3 action groups are required.
Based on this analysis, the minimum number of alert rules is 4, and the minimum number of action groups is 3.
QUESTION 65
You have two Azure virtual machines named VM1 and VM2. You have two Recovery Services vaults named RSV1 and RSV2.
VM2 is backed up to RSV1.
You need to back up VM2 to RSV2. What should you do first?
-
-
- From the RSV1 blade, click Backup items and stop the VM2 backup.
-
- B. From the RSV2 blade, click Backup. From the Backup blade, select the backup for the virtual machine, and then click Backup.
- C. From the VM2 blade, click Disaster recovery, click Replication settings, and then select RSV2 as the Recovery Services vault.
- D. From the RSV1 blade, click Backup Jobs and export the VM2 job.
Click to View Verified Solution & Explanation
Correct Option: A
To back up VM2 to a different Recovery Services vault (RSV2), you must first stop the existing backup of VM2 from RSV1. If you attempt to configure a backup for VM2 in RSV2 while it is still being backed up by RSV1, Azure will not allow the configuration or may lead to conflicts. After stopping the backup from RSV1 (ensuring you choose the option to ‘Delete backup data’ if you no longer need the old recovery points), you can then proceed to configure the backup for VM2 in RSV2.
QUESTION 66
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an app named App1 that is installed on two Azure virtual machines named VM1 and VM2. Connections to App1 are managed by using an Azure Load Balancer.
The effective network security configurations for VM2 are shown in the following exhibit.

You discover that connections to App1 from 131.107.100.50 over TCP port 443 fail. You verify that the Load Balancer rules are configured correctly.
You need to ensure that connections to App1 can be established successfully from 131.107.100.50 over TCP port 443.
Solution: You create an inbound security rule that allows any traffic from the Azure Load Balancer source and has priority of 150.
Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: B
The proposed solution suggests creating an inbound security rule with a source of ‘Azure Load Balancer’ and a priority of 150. In Azure Network Security Groups (NSGs), the AzureLoadBalancer service tag specifically refers to the IP addresses of the Azure infrastructure that performs health probes on backend instances and manages the Load Balancer. It does not represent the source IP address of the actual client traffic that the Load Balancer forwards to the backend virtual machines.
The existing NSG rules show that Rule 100 (Allow_131.107.100.50) is configured to allow TCP port 443 traffic from 131.107.100.50. The fact that connections from this IP are failing indicates that VM2 is likely not seeing the original client IP (131.107.100.50) as the source. Instead, if the Azure Load Balancer is performing Source Network Address Translation (SNAT) for inbound connections, VM2 would see an internal IP address (e.g., from the Load Balancer’s subnet or the Load Balancer’s private IP) as the source. In such a scenario, Rule 100 would not match, and Rule 200 (BlockAllOther441), which denies all other traffic on port 443, would deny the connection.
Creating a rule for AzureLoadBalancer at priority 150 would not resolve the issue because the client traffic’s source IP is not covered by this service tag. Therefore, the solution does not meet the goal.
QUESTION 67
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an app named App1 that is installed on two Azure virtual machines named VM1 and VM2. Connections to App1 are managed by using an Azure Load Balancer.
The effective network security configurations for VM2 are shown in the following exhibit.

You discover that connections to App1 from 131.107.100.50 over TCP port 443 fail. You verify that the Load Balancer rules are configured correctly.
You need to ensure that connections to App1 can be established successfully from 131.107.100.50 over TCP port 443.
Solution: You modify the priority of the Allow_131.107.100.50 inbound security rule.
Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: B
Network Security Group (NSG) rules are processed by priority, with lower numbers evaluated first. The existing inbound security rule Allow_131.107.100.50 has Priority 100 and explicitly allows TCP port 443 traffic from 131.107.100.50. This rule is more specific and has a lower priority number than BlockAllOther441 (Priority 200), which denies all traffic on port 443 from any source. Thus, Rule 100 would be evaluated first and should allow the traffic.
Since the Allow_131.107.100.50 rule already has the highest effective priority for this specific traffic, modifying its priority will not resolve the connection failure. Lowering its priority could even cause it to be overridden by the deny rule. Therefore, this solution does not meet the goal, as the issue is not related to the priority ordering of the existing allow rule.
QUESTION 68
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an app named App1 that is installed on two Azure virtual machines named VM1 and VM2. Connections to App1 are managed by using an Azure Load Balancer.
The effective network security configurations for VM2 are shown in the following exhibit.
You discover that connections to App1 from 131.107.100.50 over TCP port 443 fail. You verify that the Load Balancer rules are configured correctly.
You need to ensure that connections to App1 can be established successfully from 131.107.100.50 over TCP port 443.

Solution: You create an inbound security rule that denies all traffic from the 131.107.100.50 source and has priority of 64999.
Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: B
The goal is to successfully establish connections from 131.107.100.50 over TCP port 443. The proposed solution creates an inbound NSG rule that denies all traffic from this source with priority 64999. This solution does not meet the goal. Firstly, a deny action directly contradicts the objective of allowing connections. Secondly, NSG rules are processed by priority (lower number takes precedence). An existing rule (Priority 100) already allows the specific traffic from 131.107.100.50 on port 443. A new deny rule with a very low priority (64999) would be evaluated last and would not override the higher-priority allow rule. Thus, it fails to enable the required connections.
QUESTION 69
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Reader role at the subscription level to Admin1.
Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: B
The ‘Reader’ role in Azure provides read-only access to resources, meaning users with this role can view resource configurations but cannot create, modify, or enable services. To enable Traffic Analytics for an Azure subscription, Admin1 would require permissions to modify network resources and create logs. Roles such as ‘Network Contributor’, ‘Contributor’, or ‘Owner’ would provide the necessary write permissions to configure and enable Traffic Analytics. The ‘Reader’ role is insufficient for this administrative task.
QUESTION 70
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Network Contributor role at the subscription level to Admin1.
Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: A
To enable Traffic Analytics for an Azure subscription, a user requires specific permissions to read network flow logs and write settings to the Traffic Analytics workspace. The Network Contributor role at the subscription level grants broad permissions for managing network resources, which includes the necessary read and write access to network-related configurations and logs. This role allows the user to access the required data and configure Traffic Analytics settings without granting excessive privileges beyond network management. Therefore, assigning the Network Contributor role at the subscription level to Admin1 meets the goal of enabling Traffic Analytics.
Reference: https://learn.microsoft.com/en-us/azure/network-watcher/traffic-analytics-overview#permissions
QUESTION 71
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Owner role at the subscription level to Admin1. Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: A
The Owner role in Azure RBAC (Role-Based Access Control) has full access to all resources, including the ability to manage access and enable services like Traffic Analytics. Assigning the Owner role at the subscription level grants Admin1 the necessary permissions to configure Traffic Analytics for that subscription, fulfilling the requirement.
Reference: https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#owner
QUESTION 72
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the resources shown in the following table.

VM1 connects to VNET1.
You need to connect VM1 to VNET2.
Solution: You delete VM1. You recreate VM1, and then you create a new network interface for VM1 and connect it to VNET2.
Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: A
To connect VM1 to VNET2, VM1 must be in the same Azure region as VNET2. According to the provided table, VM1 is in ‘West US’ and VNET2 is in ‘East Asia’. Azure Virtual Machines cannot directly connect to virtual networks in different regions. The proposed solution addresses this by deleting VM1 and then recreating it. When recreating VM1, you would select ‘East Asia’ as its region, thereby allowing it to connect to VNET2 via a new network interface. This process effectively ‘moves’ the VM to the desired region, fulfilling the requirement.
QUESTION 73
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the resources shown in the following table.

VM1 connects to VNET1.
You need to connect VM1 to VNET2.
Solution: You move VM1 to RG2, and then you add a new network interface to VM1.
Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: B
The proposed solution is incorrect because virtual machines cannot be moved across Azure regions by simply moving them to a resource group in a different region. VM1 is in West US, while RG2 and VNET2 are in East Asia. To connect VM1 to VNET2, VM1 itself would need to reside in the East Asia region. Furthermore, a network interface must be in the same region and connected to a virtual network in that same region. Therefore, adding a new network interface to VM1 (which is in West US) would not allow it to connect to VNET2 (which is in East Asia). The VM would need to be recreated in the target region to connect to VNET2.
QUESTION 74
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the resources shown in the following table.

VM1 connects to VNET1.
You need to connect VM1 to VNET2.
Solution: You turn off VM1, and then you add a new network interface to VM1. Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: B
To connect VM1 to VNET2, the solution proposed is inadequate. A virtual machine’s network interface (NIC) must be located in the same region as the virtual machine itself. VM1 is in West US, while VNET2 is in East Asia. Therefore, a new network interface created for VM1 (which would also be in West US) cannot be attached to VNET2 (in East Asia). Virtual machines cannot directly connect to virtual networks in different regions by simply adding a network interface. Cross-region connectivity between virtual networks typically requires VNet Peering or a VPN Gateway.
QUESTION 75
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You need to recommend an integration strategy for the build process of a Java application. The solution must meet the following requirements:
- The builds must access an on-premises dependency management system
- The build outputs must be stored as Server artifacts in Azure DevOps
- The source code must be stored in a Git repository in Azure DevOps
Solution: Configure an Octopus Tentacle on an on-premises machine. Use the Package Application task in the build pipeline.
Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: B
The proposed solution fails to meet the specified goals. To access an on-premises dependency management system during the build, a self-hosted Azure DevOps agent must be installed on an on-premises machine with network connectivity. An Octopus Tentacle is a deployment agent for Octopus Deploy, not an Azure DevOps build agent. Furthermore, to store build outputs as Server artifacts in Azure DevOps, the build pipeline must utilize the Publish Build Artifacts or Publish Pipeline Artifacts tasks. The "Package Application task" is not the correct task within Azure DevOps for publishing artifacts to its internal storage; it typically refers to packaging for external deployment tools.
QUESTION 76
Note: This question is pan of a series of questions that present the scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure Active Directory (Azure AD) tenant named contoso.com.
You have a CSV file that contains the names and email addresses of 500 external users.
You need to create a guest user account in contoso.com for each of the 500 external users.
Solution: From Azure AD in the Azure portal, you use the Bulk create user operation
Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: B
The Azure portal’s ‘Bulk create user’ operation is designed to create multiple user accounts simultaneously. When importing from a CSV file, it can be used to create both internal and external guest users. The process involves preparing a CSV file with the required user attributes (such as display name and email) and then uploading it through the bulk operation. This directly addresses the requirement to create 500 guest user accounts from a CSV file.
QUESTION 77
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You need to recommend an integration strategy for the build process of a Java application. The solution must meet the following requirements:
- The builds must access an on-premises dependency management system
- The build outputs must be stored as Server artifacts in Azure DevOps
- The source code must be stored in a Git repository in Azure DevOps
Solution: Configure the build pipeline to use a Microsoft-hosted agent pool running the Windows server 2019 with visual Studio 2019 image. Include the Java Tool Installer task in the build pipeline.
Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: A
The solution meets all stated requirements. Microsoft-hosted agents running on Azure have outbound internet connectivity. Therefore, they can access an on-premises dependency management system if that system is configured to be publicly accessible (e.g., via a firewall rule or reverse proxy). The chosen agent image (Windows Server 2019 with Visual Studio 2019) provides a robust build environment, and the Java Tool Installer task ensures the necessary Java SDK is present. Storing build outputs as Server artifacts and source code in a Git repository are standard capabilities of Azure DevOps pipelines, fully supported by Microsoft-hosted agents.
Reference: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
QUESTION 78 [HOT_AREA]
You need to configure Azure Backup to back up the file shares and virtual machines.
What is the minimum number of Recovery Services vaults and backup policies you should create? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
To configure Azure Backup for both file shares and virtual machines, a minimum of one Recovery Services vault is required. A single Recovery Services vault can protect multiple types of workloads (e.g., Azure VMs, SQL in Azure VMs, Azure Files, etc.) within the same subscription and region. However, backup policies are workload-specific. An Azure VM backup policy defines schedules and retention for virtual machines, and an Azure File Share backup policy does the same for file shares. These policies are not interchangeable. Therefore, to back up both workload types, a separate backup policy is needed for each, totaling a minimum of two backup policies.
Reference: https://learn.microsoft.com/en-us/azure/backup/backup-overview
QUESTION 79
You need to identify which storage account to use for the flow logging of IP traffic from VM5. The solution must meet retention requirements.
Which storage account should you identify?
- A. storage 1
- B. storage 4
- C. storage 2
- D. storage 3
Click to View Verified Solution & Explanation
Correct Option: C
Flow logging in Azure Network Watcher captures IP traffic flowing to and from a network interface. The logs are stored as JSON files in a storage account. Azure Storage account types relevant to this scenario are Standard general-purpose v2 (GPv2), Premium block blobs, and Premium file shares. For flow logs, a Standard GPv2 account is the most suitable and cost-effective option. It supports the necessary performance and durability for log storage and meets retention requirements by allowing configuration of the retention period. Blob storage accounts are specifically designed for storing unstructured data like logs, making them ideal. Standard GPv2 accounts offer tiered storage (Hot, Cool, Archive) which can optimize costs based on access frequency and retention needs.
QUESTION 80
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You integrate a cloud-hosted Jenkins server and a new Azure DevOps deployment.
You need Azure DevOps to send a notification to Jenkins when a developer commits changes to a branch in Azure Repos.
Solution: You create a service hook subscription that uses the build completed event.
Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: B
The goal is to send a notification to Jenkins specifically when a developer commits changes to a branch in Azure Repos. The proposed solution suggests using a service hook with the "build completed event". While a build might be triggered by a commit, the "build completed" event signifies the completion of a build pipeline, which is a distinct event from the initial code commit. To achieve the stated goal of notifying upon a commit, the service hook should be configured to trigger on a code-related event, such as "Code pushed" (for Git repositories) or "Check-in" (for TFVC repositories). Therefore, using the "build completed event" does not directly meet the requirement of notifying when changes are committed to a branch.
Reference: https://learn.microsoft.com/en-us/azure/devops/integrate/service-hooks/events?view=azure-devops
QUESTION 81
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You need to recommend an integration strategy for the build process of a Java application. The solution must meet the following requirements:
- The builds must access an on-premises dependency management system
- The build outputs must be stored as Server artifacts in Azure DevOps
- The source code must be stored in a Git repository in Azure DevOps
Solution: Install and configure a self-hosted build agent on an on-premises machine. Configure the build pipeline to use the Default agent pool. Include the Java Tool Installer task in the build pipeline.
Does this meet the goal?
- A. Yes
- B. No
Click to View Verified Solution & Explanation
Correct Option: A
The solution meets all requirements. A self-hosted agent on an on-premises machine can access the on-premises dependency management system. Azure DevOps build pipelines, by default, store build outputs as artifacts. Storing source code in an Azure DevOps Git repository is a standard feature. The Java Tool Installer task ensures the correct Java version is available for the build.
QUESTION 82 (Multi-Select)
You have an Azure subscription that contains a storage account named account1.
You plan to upload the disk files of a virtual machine to account1 from your on-premises network. The on-premises network uses a public IP address space of 131.107.1.0/24.
You plan to use the disk files to provision an Azure virtual machine named VM1. VM1 will be attached to a virtual network named VNet1. VNet1 uses an IP address space of 192.168.0.0/24.

You need to configure account1 to meet the following requirements:
- Ensure that you can upload the disk files to account1.
- Ensure that you can attach the disks to VM1.
- Prevent all other access to account1.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
- A. From the Firewalls and virtual networks blade of account1, select Selected networks.
- B. From the Firewalls and virtual networks blade of account1, select Allow trusted Microsoft services to access this storage account.
- C. From the Firewalls and virtual networks blade of account1, add the 131.107.1.0/24 IP address range.
- D. From the Firewalls and virtual networks blade of account1, add VNet1.
- E. From the Service endpoints blade of VNet1, add a service endpoint.
Click to View Verified Solution & Explanation
Correct Option: A,C
✅ "Option A (Correct)"
Reasoning: To upload disk files from the on-premises network (131.107.1.0/24), a network rule must be configured to explicitly allow traffic from this specific public IP address range to the storage account.
✅ "Option C (Correct)"
Reasoning: To "Prevent all other access to account1," the storage account’s default network action must be set to "Deny." This ensures that only explicitly allowed IP addresses, virtual networks, or trusted Microsoft services can access the storage account.
❌ Why the other choices are incorrect:
- Option B is incorrect: While VM1 is in VNet1 (192.168.0.0/24), for the Azure platform to attach disks from the storage account, it typically relies on "trusted Microsoft services" access, which is a separate setting from VNet rules. Configuring a VNet rule for 192.168.0.0/24 is not strictly required for the attachment process itself, if trusted services are allowed.
- Option D is incorrect: Setting the default action to "Allow" contradicts the requirement to "Prevent all other access to account1" as it would permit unrestricted access to the storage account.
Reference: https://learn.microsoft.com/en-us/azure/storage/common/storage-network-security?tabs=azure-portal
QUESTION 83 [HOT_AREA]
You have Azure subscription that includes following Azure file shares:

You have the following on-premises servers:

You create a Storage Sync Service named Sync1 and an Azure File Sync group named Group1. Group1 uses
share1 as a cloud endpoint.
You register Server1 and Server2 in Sync1. You add D:\Folder1 on Server1 as a server endpoint of Group1. For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
Statement 1: share2 can be added as a cloud endpoint for Group1 → No
An Azure File Sync group is defined by having exactly one cloud endpoint (an Azure file share). Since the sync group Group1 already has share1 configured as its cloud endpoint, it is not possible to add another one.
Statement 2: E:\Folder2 on Server1 can be added as a server endpoint for Group1 → No
A specific registered server can only have one server endpoint per sync group. Server1 is already participating in Group1 with the server endpoint D:\Folder1. Therefore, another path (E:\Folder2) from the same server (Server1) cannot be added to the same sync group (Group1).
Statement 3: D:\Data on Server2 can be added as a server endpoint for Group1 → Yes
A sync group is designed to synchronize one cloud endpoint with multiple server endpoints. The key constraint is that each server endpoint must be on a different registered server. Server2 is a registered server and does not yet have an endpoint in Group1, making D:\Data a valid candidate for a new server endpoint.
Reference: https://learn.microsoft.com/en-us/azure/storage/file-sync/file-sync-deployment-guide
QUESTION 84
You have an Azure subscription named Subscription1.
You have 5 TB of data that you need to transfer to Subscription1.
You plan to use an Azure Import/Export job.
What can you use as the destination of the imported data?
- A. an Azure Cosmos DB database
- B. Azure File storage
- C. Azure Data Lake Store
- D. the Azure File Sync Storage Sync Service
Click to View Verified Solution & Explanation
Correct Option: B
The Azure Import/Export service allows you to import data into Azure Storage. The data can be imported into Azure Blob Storage or Azure Files. Azure Files shares are built on top of Azure Blob Storage, and therefore, importing data to Azure Files is a supported scenario. The service exports data from and imports data to Azure Blob Storage and Azure Files. You cannot import data directly to Azure SQL Database or Azure Virtual Machines using this service. Therefore, Azure Files is a valid destination for imported data.
Reference: https://learn.microsoft.com/en-us/azure/storage/common/storage-import-export-service
QUESTION 85 [HOT_AREA]
You need to create an Azure Storage account that meets the following requirements:
- Minimizes costs.
- Supports hot, cool, and archive blob tiers.
- Provides fault tolerance if a disaster affects the Azure region where the account resides.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point
Click to View Verified Solution & Explanation
The requirements are to minimize costs, support hot, cool, and archive blob tiers, and provide fault tolerance across regions.
✅ StorageV2
Reasoning: General-purpose v2 (StorageV2) accounts are the recommended type for most scenarios as they provide the latest features, including support for hot, cool, and archive blob tiers, which directly addresses the second requirement. They also offer the lowest per-gigabyte capacity prices for blobs and files, aligning with the cost minimization requirement. Older account types like ‘BlobStorage’ and ‘Storage’ (General-purpose v1) do not fully support all three access tiers.
✅ Standard_RAGRS
Reasoning: Read-Access Geo-Redundant Storage (Standard_RAGRS) provides fault tolerance by asynchronously replicating data to a secondary Azure region, located hundreds of miles away from the primary region. This ensures data durability and availability even if the primary region experiences a major disaster, directly addressing the third requirement for regional disaster recovery. The "Standard" prefix indicates a cost-effective choice compared to Premium storage while still offering geo-redundancy. RAGRS specifically allows read access to the data in the secondary region.
Reference: https://docs.microsoft.com/en-us/azure/storage/common/storage-account-overview
QUESTION 86 [HOT_AREA]
You plan to create an Azure Storage account in the Azure region of East US 2. You need to create a storage account that meets the following requirements:
- Replicates synchronously.
- Remains available if a single data center in the region fails.
How should you configure the storage account? To answer, select the appropriate options in the answer area.
Click to View Verified Solution & Explanation
To meet the requirement of synchronous replication and availability during a single data center failure within the region, Zone-redundant storage (ZRS) is the appropriate choice. ZRS replicates data synchronously across three Azure availability zones in the primary region. Each availability zone is a separate physical location with independent power, cooling, and networking, ensuring data remains available even if one data center (availability zone) fails.
For the account type, StorageV2 (general purpose v2) is the recommended option for most scenarios. It supports all Azure Storage services (blobs, files, queues, and tables), provides the latest features, and optimal pricing, aligning with best practices for new storage account creation when no specific legacy features or specialized blob-only requirements are present.
Reference: https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy
QUESTION 87 [DRAG_DROP]
You have an Azure subscription that contains an Azure file share.
You have an on-premises server named Server1 that runs Windows Server 2016. You plan to set up Azure File Sync between Server1 and the Azure file share.
You need to prepare the subscription for the planned Azure File Sync.
Which two actions should you perform in the Azure subscription? To answer, drag the appropriate actions to the correct targets. Each action may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:
Question Interface:
Click to View Verified Solution & Explanation
To prepare the Azure subscription for Azure File Sync, the first essential step is to establish the core resource in Azure, which is the Storage Sync Service. This service acts as the top-level container for sync groups and registered servers. Following the creation of the Storage Sync Service, the on-premises server (Server1 in this scenario) must be prepared by installing the Azure File Sync agent. While the agent installation occurs on the on-premises server, it is a critical preparatory action that enables the server to interact with the Storage Sync Service in the Azure subscription, register itself, and participate in sync operations. Without the agent, the on-premises server cannot connect to Azure File Sync. Therefore, creating the Storage Sync Service and installing the agent are the two primary preparatory actions required to enable Azure File Sync.
Reference: https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-planning
QUESTION 88
You have a registered DNS domain named contoso.com. You create a public Azure DNS zone named contoso.com.
You need to ensure that records created in the contoso.com zone are resolvable from the internet. What should you do?
- A. Create NS records incontoso.com.
- B. Modify the SOA record in the DNS domain registrar.
- C. Create the SOA record incontoso.com.
- D. Modify the NS records in the DNS domain registrar.
Click to View Verified Solution & Explanation
Correct Option: D
To make Azure DNS zone records resolvable from the internet, you must configure the nameservers for the contoso.com domain with your domain registrar to point to the Azure-provided nameservers. Azure provides a set of four nameservers for each DNS zone. By updating your domain registrar’s settings, you delegate the DNS resolution authority for contoso.com to Azure. Without this delegation, internet-based DNS queries for contoso.com will not reach the Azure DNS zone and thus will not be resolved.
Reference: https://docs.microsoft.com/en-us/azure/dns/dns-domain-delegation
QUESTION 89
You have two Azure virtual machines named VM1 and VM2 that run Windows Server. The virtual machines are in a subnet named Subnet 1. Subnet 1 is in a virtual network named VNet1.
You need to prevent 1 from accessing VM2 on port 3389.
What should you do?
- A. Configure Azure Bastion in VNet1.
- B. Create a network security group (NSG) that has an outbound security rule to deny source 3389 and apply the NSG to Subnet1.
- C. Create a network security group (NSG) that has an outbound security rule to deny destination port 3389 and apply tip NSG to the network interface of VM1.
- D. Create a network security group (NSG) that has an inbound security rule to deny source port 3389 and apply the NSG to Subnet1.
Click to View Verified Solution & Explanation
Correct Option: C
To prevent VM1 from accessing VM2 on port 3389 (RDP), a Network Security Group (NSG) rule should be applied. Specifically, an inbound NSG rule on VM2’s network interface or the subnet it resides in (Subnet 1) should be created to deny traffic on TCP port 3389 from VM1’s IP address or the IP address range of Subnet 1. This NSG rule would take precedence over any default allow rules and effectively block the RDP connection.
Reference: https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
QUESTION 90 [HOT_AREA]
You have an Azure subscription that contains a storage account named storage1. The subscription is linked to an Azure Active Directory (Azure AD) tenant named contoso.com that syncs to an on-premises Active Directory domain. The domain contains the security principals shown in the following table.

In Azure AD, you create a user named User2.
The storage1 account contains a file share named share1 and has the following configurations.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point
Click to View Verified Solution & Explanation
Azure Files supports identity-based authentication for SMB file shares using either on-premises Active Directory Domain Services (AD DS) or Azure Active Directory Domain Services (Azure AD DS). The provided configuration shows directoryServiceOptions: "AD", indicating that on-premises AD DS authentication is enabled for the storage account. In this scenario, Azure RBAC share-level permissions can be assigned to identities (users, groups, and computer objects) that are synced from the on-premises AD DS to Azure AD.
✅ You can assign the Storage File Data SMB Share Contributor role to User1 for share1.
Reasoning: User1 is an on-premises Active Directory user that is synced to Azure AD. When on-premises AD DS authentication is enabled for Azure Files, these identities can be assigned Azure RBAC share-level roles.
✅ You can assign the Storage File Data SMB Share Reader role to Computer1 for share1.
Reasoning: Computer1 is an on-premises Active Directory computer object that is synced to Azure AD. Similar to users and groups, computer objects from on-premises AD can also be assigned Azure RBAC share-level roles for Azure Files when AD DS authentication is configured.
✅ You can assign the Storage File Data SMB Share Elevated Contributor role to User2 for share1.
Reasoning: User2 is a user created directly in Azure AD. Since the storage account is configured for on-premises AD DS authentication (directoryServiceOptions: "AD") and not Azure AD DS, native Azure AD identities like User2 cannot be used directly for authentication and authorization to SMB file shares. Only identities synced from on-premises AD DS are supported in this configuration. Therefore, this statement is false.
Reference: https://learn.microsoft.com/en-us/azure/storage/files/storage-files-identity-auth-hybrid-overview
QUESTION 91 [HOT_AREA]
You have an Azure Storage account named storage1 that contains a blob container. The blob container has a default blob access tier of Hot. Storage1 contains a container named container1.
You create lifecycle management rules in storage1 as shown in the following table.

You perform the actions shown in the following table.

For each of the following statement, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
Statement 1: On October 10, you can read Dep1File1.docx. -> No
The blob Dep1File1.docx was last modified on October 2. Its name matches the prefix filter of Rule1 (container1/Dep1). On October 10, 8 days have passed since the last modification. Rule1’s condition to move the blob to the Archive tier after 2 days of inactivity was met. Blobs in the Archive tier are offline and cannot be read directly until they are rehydrated to an online tier (Hot or Cool).
Statement 2: On October 10, you can read File2.docx. -> Yes
The blob File2.docx was last modified on October 5. It does not match the prefix of Rule1, so the account-wide Rule2 applies. On October 10, 5 days have passed. Rule2’s condition to move the blob to the Cool tier after 3 days of inactivity was met. The blob is now in the Cool tier, which is an online tier and allows direct reading.
Statement 3: On October 10, you can read File3.docx. -> Yes
The blob File3.docx was last modified on October 2. It does not match the prefix of Rule1, so Rule2 applies. On October 10, 8 days have passed. Rule2’s condition to move the blob to Cool after 3 days was met, but the condition to move to Archive after 9 days has not yet been met. The blob is in the Cool tier, which is online and readable.
Reference: https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-overview
QUESTION 92 [HOT_AREA]
You have an Azure subscription that contains the resources in the following table.

You install the Web Server role (IIS) on VM1 and VM2, and then add VM1 and VM2 to LB1. LB1 is configured as shown in the LB1 exhibit. (Click the LB1 tab.)

Rule1 is configured as shown in the Rule1 exhibit. (Click the Rule1 tab.)

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
VM1 is in the same availability set as VM2.
✅ Yes
Reasoning: For applications configured behind an Azure Load Balancer to achieve high availability and fault tolerance, the backend virtual machines (VM1 and VM2) are typically deployed within the same Azure Availability Set. An Availability Set distributes VMs across different fault domains and update domains, which protects against single points of failure due to hardware failures or planned maintenance. While not explicitly stated as a requirement for a Basic SKU Load Balancer, this is a fundamental architectural best practice for resilient services and is implied in the context of load balancing for high availability.
If Probe1.htm is present on VM1 and VM2, LB1 will balance TCP port 80 between VM1 and VM2.
✅ Yes
Reasoning: The load balancer LB1 is configured with a health probe (Probe1) that checks for the presence of ‘Probe1.htm’ on HTTP port 80. The load balancing rule, Rule1, is set to balance incoming TCP port 80 traffic to the backend pool (which includes VM1 and VM2) and utilizes Probe1. If ‘Probe1.htm’ is successfully accessed on both VM1 and VM2 (indicating the web server is running and the page exists), both VMs will be marked as healthy. Consequently, LB1 will then distribute incoming TCP port 80 requests to these healthy backend VMs.
If you delete Rule1, LB1 will balance all the requests between VM1 and VM2 for all the ports.
✅ No
Reasoning: An Azure Load Balancer requires at least one load balancing rule to define how incoming network traffic is distributed to its backend instances. Rule1 is the only load balancing rule configured for LB1. If Rule1 is deleted, there will be no active rule instructing the load balancer on which ports to listen for or how to direct traffic to the backend pool. As a result, the load balancer will not process or balance any incoming requests, and certainly not “all the requests for all the ports.”
Reference: https://docs.microsoft.com/azure/load-balancer/load-balancer-overview
QUESTION 93 [HOT_AREA]
You plan to use Azure Network Watcher to perform the following tasks:
Task1: Identify a security rule that prevents a network packet from reaching an Azure virtual machine. Task2: Validate outbound connectivity from an Azure virtual machine to an external host.
Which feature should you use for each task? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
✅ IP flow verify
Reasoning: IP flow verify within Azure Network Watcher allows you to check if a packet is allowed or denied to or from a virtual machine. It identifies the specific Network Security Group (NSG) rule that permits or denies the traffic, making it the ideal tool for pinpointing a security rule blocking inbound or outbound communication to a VM.
✅ Connection troubleshoot
Reasoning: Connection troubleshoot provides an end-to-end connectivity check from a source virtual machine to a destination, which can be an external host. It details the network path, latency, and any components like NSGs or UDRs that might be impacting connectivity, thereby validating outbound reachability.
Reference: https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-overview
QUESTION 94
You have the Azure virtual machines shown in the following table.

A DNS service is installed on VM1.
You configure the DNS servers settings for each virtual network as shown in the following exhibit.

You need to ensure that all the virtual machines can resolve DNS names by using the DNS service on VM1.
What should you do?
- A. Configure a conditional forwarder onVM1
- B. Add service endpoints on VNET1
- C. Add service endpoints on VNET2 and VNET3
- D. Configure peering between VNET1, VNET2, and VNET3
Click to View Verified Solution & Explanation
Correct Option: D
✅ Option D (Correct)
Reasoning: VM1 (10.1.0.4), hosting the DNS service, is in VNET1. VNET2 (containing VM3) and VNET3 (containing VM4) are configured to use VM1 as their custom DNS server. To enable all VMs to use VM1 for DNS resolution, network connectivity must exist between VNET1 and VNET2, and between VNET1 and VNET3. Azure VNet peering creates direct, non-transitive connections between virtual networks. Therefore, establishing peering between VNET1 and VNET2, and between VNET1 and VNET3 is essential for comprehensive DNS resolution across all three virtual networks.
❌ Why the other choices are incorrect:
- Option A is incorrect: Peering only VNET1 and VNET2 would not allow VM4 (in VNET3) to reach VM1 for DNS.
- Option B is incorrect: Peering only VNET1 and VNET3 would not allow VM3 (in VNET2) to reach VM1 for DNS.
- Option C is incorrect: Peering VNET2 and VNET3 would not establish connectivity to VNET1 where the DNS server (VM1) resides.
Reference: https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview
QUESTION 95
You have an Azure subscription that contains the resources in the following table.

VM1 and VM2 are deployed from the same template and host line-of-business applications. You configure the network security group (NSG) shown in the exhibit. (Click the Exhibit tab.)

You need to prevent users of VM1 and VM2 from accessing websites on the Internet over TCP port 80. What should you do?
- A. Disassociate the NSG from a network interface.
- B. Change the Port_80 inbound security rule.
- C. Associate the NSG to Subnet1.
- D. Change the Deny WebSites outbound security rule.
Click to View Verified Solution & Explanation
Correct Option: C
The Network Security Group (NSG) displayed in the exhibit is currently not associated with any subnet or network interface, as indicated by "Associated with : 0 subnets, 0 network interfaces." Therefore, its rules are not being enforced. The NSG already includes an outbound security rule named ‘DenyWebSites’ (Priority 100), which denies TCP port 80 traffic to the Internet. To apply this rule and prevent VM1 and VM2 from accessing websites over TCP port 80, the NSG must be associated with Subnet1, where both virtual machines reside. Because ‘DenyWebSites’ has a higher priority (100) than ‘AllowInternetOutBound’ (65001), it will effectively block outbound TCP 80 traffic.
QUESTION 96 [HOT_AREA]
You manage two Azure subscriptions named Subscription1 and Subscription2. Subscription1 has following virtual networks:

You manage two Azure subscriptions named Subscription1 and Subscription2. Subscription1 has following virtual networks:
The virtual networks contain the following subnets:

Subscription2 contains the following virtual network:
Name: VNETA
Address space: 10.10.128.0/17
Location: Canada Central
VNETA contains the following subnets:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
✅ A Site-to-Site connection can be established between VNET1 and VNET2. (Yes)
Reasoning: Azure virtual networks (VNETs) can be connected using a VNet-to-VNet VPN gateway connection, which is a form of Site-to-Site VPN. This type of connection is suitable for connecting VNETs in different regions or subscriptions, provided their address spaces do not overlap. VNET1 (10.10.10.0/24 in West Europe) and VNET2 (172.16.0.0/16 in West US) are in different regions and have distinct, non-overlapping address spaces. Therefore, a Site-to-Site connection can be established between them.
✅ VNET1 and VNET2 can be peered. (Yes)
Reasoning: Azure VNet peering allows virtual networks to communicate directly using the Azure backbone network. A key requirement for peering is that the address spaces of the VNETs must not overlap. VNET1 (10.10.10.0/24) and VNET2 (172.16.0.0/16) have non-overlapping IP address spaces. Furthermore, VNet peering supports connecting VNETs across different Azure regions (Global VNet Peering) and different subscriptions. Since both conditions (non-overlapping address spaces and support for different regions/subscriptions) are met, VNET1 and VNET2 can be peered.
✅ VNET1 and VNETA can be peered. (Yes)
Reasoning: For VNet peering, the address spaces must not overlap. VNET1 has an address space of 10.10.10.0/24 (range 10.10.10.0 – 10.10.10.255). VNETA has an address space of 10.10.128.0/17 (range 10.10.128.0 – 10.10.255.255). These two address ranges are distinct and do not overlap. VNET1 is in Subscription1, West Europe, while VNETA is in Subscription2, Canada Central. Global VNet peering allows VNETs in different regions and different subscriptions to be peered. Therefore, VNET1 and VNETA can be peered.
QUESTION 97
You have an Azure subscription that contains two virtual machines as shown in the following table.

You perform a reverse DNS lookup for 10.0.0.4 from VM2. Which FQDN will be returned?
- A. vm1.core.windows.net
- B. vm1.azure.com
- C. vm1.westeurope.cloudapp.azure.com
- D. vm1.internal.cloudapp.net
Click to View Verified Solution & Explanation
Correct Option: B
When Azure Virtual Machines are configured to use the default Azure-provided DNS server, Azure automatically manages name resolution for resources within the virtual network. For private IP addresses, Azure automatically creates PTR (Pointer) records, which are used for reverse DNS lookups. These PTR records map the private IP address back to the VM’s hostname. The Fully Qualified Domain Name (FQDN) generated for internal resolution typically follows the format hostname.internal.cloudapp.net.
In this specific scenario, VM1 has the private IP address 10.0.0.4 and uses Azure-provided DNS. Therefore, a reverse DNS lookup for 10.0.0.4 performed from VM2 (which also uses Azure-provided DNS within the same virtual network) will resolve to VM1.internal.cloudapp.net. Assuming option B represents this FQDN, the ground truth is correct.
QUESTION 98
Your company has three offices. The offices are located in Miami, Los Angeles, and New York. Each office contains datacenter.
You have an Azure subscription that contains resources in the East US and West US Azure regions. Each region contains a virtual network. The virtual networks are peered.
You need to connect the data centers to the subscription. The solution must minimize network latency between the data centers.
What should you create?
- A. three Azure Application Gateways and one On-premises data gateway
- B. three virtual hubs and one virtual WAN
- C. three virtual WANs and one virtual hub
- D. three On-premises data gateways and one Azure Application Gateway
Click to View Verified Solution & Explanation
Correct Option: C
To minimize network latency between the three offices (Miami, Los Angeles, and New York) and their respective datacenters, and connect them to the Azure subscription, ExpressRoute is the optimal solution. ExpressRoute provides a private, dedicated connection from an on-premises network to Azure, bypassing the public internet. This direct connection significantly reduces latency compared to VPN Gateways, which use the public internet. While VNet peering connects Azure regions, it doesn’t directly address connecting on-premises datacenters with minimal latency. Azure Virtual WAN is a networking service that brings many networking, security, and routing functionalities together, but for the specific requirement of minimizing latency between geographically dispersed datacenters and Azure, ExpressRoute offers the most direct and lowest-latency path.
Reference: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-introduction
QUESTION 99

You have an Azure subscription named Subscription1. Subscription1 contains the resource groups in the following table.
RG1 has a web app named WebApp1. WebApp1 is located in West Europe. You move WebApp1 to RG2.
What is the effect of the move?
- A. The App Service plan for WebApp1 remains in West Europe. Policy2 applies to WebApp1.
- B. The App Service plan for WebApp1 moves to North Europe. Policy2 applies to WebApp1.
- C. The App Service plan for WebApp1 remains in West Europe. Policy1 applies to WebApp1.
- D. The App Service plan for WebApp1 moves to North Europe. Policy1 applies to WebApp1.
Click to View Verified Solution & Explanation
Correct Option: B
When you move an Azure resource, such as a web app, between resource groups, its associated Azure region does not change. The resource remains physically located in the region where it was originally deployed. Therefore, WebApp1 will remain in West Europe. However, resource group-level policies apply to all resources within that resource group. By moving WebApp1 to RG2, it will inherit Policy2, which is applied to RG2, and will no longer be subject to Policy1, which was applied to RG1.
QUESTION 100
You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com. The User administrator role is assigned to a user named Admin1.
An external partner has a Microsoft account that uses the user1@outlook.com sign in.
Admin1 attempts to invite the external partner to sign in to the Azure AD tenant and receives the following error message: “Unable to invite user user1@outlook.com – Generic authorization exception.”
You need to ensure that Admin1 can invite the external partner to sign in to the Azure AD tenant. What should you do?
- A. From the Users blade, modify the External collaboration settings.
- B. From the Custom domain names blade, add a custom domain.
- C. From the Organizational relationships blade, add an identity provider.
- D. From the Roles and administrators blade, assign the Security administrator role toAdmin1.
Click to View Verified Solution & Explanation
Correct Option: A
QUESTION 101 [HOT_AREA]
You have the Azure management groups shown in the following table:

You add Azure subscriptions to the management groups as shown in the following table:

You create the Azure policies shown in the following table:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Click to View Verified Solution & Explanation
Statement 1: You can create a virtual network in Subscription1. (No)
The Azure Policy named "Not allowed resource types" targeting virtualNetworks is assigned at the Tenant Root Group scope. A policy that restricts or denies resource types at the root group level applies to all management groups and subscriptions within that tenant. By default, a ‘Deny’ effect policy at a higher scope cannot be overridden by an ‘Allow’ policy at a lower scope. The "Allowed resource types" policy for virtual networks scoped to ManagementGroup12 does not create an exemption or override the tenant-wide deny. Since Subscription1 is ultimately under the Tenant Root Group, the creation of virtual networks is denied.
Statement 2: You can create a virtual machine in Subscription2. (Yes)
The Azure policies defined in the question (Table 3) specifically target the resource type virtualNetworks. There are no policies listed that would restrict or deny the creation of virtualMachines. As such, the creation of a virtual machine in Subscription2 is not subject to any explicit policy restrictions presented in this scenario, and therefore is allowed.
Statement 3: You can add Subscription1 to ManagementGroup11. (Yes)
Subscription1 is currently associated with ManagementGroup21. According to Table 1, ManagementGroup11 is the direct parent management group of ManagementGroup21. Azure management groups allow moving subscriptions to any other management group within the same directory, provided it does not violate the hierarchy (e.g., moving to a child of its current location, which is not permitted). Moving a subscription to its direct parent management group is a valid and common operation.
QUESTION 102 (Multi-Select)
You have a Microsoft 365 tenant and an Azure Active Directory (Azure AD) tenant named contoso.com.
You plan to grant three users named User1, User2, and User3 access to a temporary Microsoft SharePoint document library named Library1.
You need to create groups for the users. The solution must ensure that the groups are deleted automatically after 180 days.
Which two groups should you create? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
- A. a Microsoft 365 group that uses the Assigned membership type
- B. a Security group that uses the Assigned membership type
- C. a Microsoft 365 group that uses the Dynamic User membership type
- D. a Security group that uses the Dynamic User membership type
- E. a Security group that uses the Dynamic Device membership type
Click to View Verified Solution & Explanation
Correct Option: A,C
The question requires creating groups that automatically delete after 180 days. This functionality is characteristic of Azure AD access reviews, which can be configured for groups. Specifically, a group can be configured to be deleted if it becomes empty or after a specified period of inactivity, aligning with the 180-day requirement for automatic deletion. Option A, creating an Azure AD security group and configuring an access review with auto-delete, directly addresses this requirement. Option C, creating an Azure AD Microsoft 365 group and configuring an access review with auto-delete, also fulfills the requirement as Microsoft 365 groups in Azure AD support access reviews and their associated lifecycle management features. Other options like standard security groups or Microsoft 365 groups without access review configuration do not inherently support automatic deletion after a set period.
Reference: https://learn.microsoft.com/en-us/azure/active-directory/governance/access-reviews-overview
QUESTION 103
You have an Azure subscription that contains a resource group named RG26.

RG26 is set to the West Europe location and is used to create temporary resources for a project. RG26 contains the resources shown in the following table.
SQLDB01 is backed up to RGV1.
When the project is complete, you attempt to delete RG26 from the Azure portal. The deletion fails. You need to delete RG26.
What should you do first?
- A. DeleteVM1
- B. StopVM1
- C. Stop the backup of SQLDB01.
- D. Delete sa001.
Click to View Verified Solution & Explanation
Correct Option: C
To delete an Azure resource group, all resources within it must first be in a state that allows deletion. The deletion of RG26 failed because the Recovery Services vault (RGV1) contains protected backup items for SQLDB01. An Azure Recovery Services vault cannot be deleted until all protected items (like VM or SQL backups) are explicitly stopped and their associated backup data deleted. This is a critical dependency that prevents the entire resource group from being removed. Therefore, the first step is to remove the backup protection for SQLDB01 from RGV1, which allows the vault to then be deleted, and subsequently the resource group.
Reference: https://docs.microsoft.com/en-us/azure/backup/backup-azure-delete-vault
QUESTION 104
You sign up for Azure Active Directory (Azure AD) Premium.
You need to add a user named admin1@contoso.com as an administrator on all the computers that will be joined to the Azure AD domain.
What should you configure in Azure AD?
- A. Device settings from the Devices blade
- B. Providers from the MFA Server blade
- C. User settings from the Users blade
- D. General settings from the Groups blade
Click to View Verified Solution & Explanation
Correct Option: A
To add a user as an administrator on all computers joined to Azure AD, you should configure Intune device configuration profiles. Specifically, you would create a profile that pushes the necessary administrative credentials or group memberships to the devices. Azure AD Premium features, when integrated with Intune, allow for centralized management of device policies and user access, including administrative privileges on domain-joined machines.
Reference: https://docs.microsoft.com/en-us/mem/intune/configuration/device-profile-overview
QUESTION 105
You plan to create the Azure web apps shown in the following table.

What is the minimum number of App Service plans you should create for the web apps?
- A. 1
- B. 2
- C. 3
- D. 4
Click to View Verified Solution & Explanation
Correct Option: B
The minimum number of App Service plans required is two.
- One Windows App Service Plan: ASP.NET V4.7 applications specifically require a Windows App Service Plan. Both .NET Core 3.0 and PHP 7.3 applications can also be hosted on the same Windows App Service Plan alongside the ASP.NET V4.7 application. This consolidates three web apps into a single plan.
- One Linux App Service Plan: Ruby 2.6 applications are primarily supported and best run on a Linux App Service Plan. A single Linux App Service Plan is configured for a specific runtime stack (e.g., PHP, Ruby, Node.js). Therefore, a PHP 7.3 configured Linux plan cannot simultaneously host a Ruby 2.6 application without using custom containers, which is not implied by the question’s ‘runtime stack’ context. Thus, Ruby 2.6 requires its own dedicated Linux App Service Plan.
Therefore, a minimum of one Windows App Service Plan and one Linux App Service Plan are needed, totaling two plans.
Reference: https://learn.microsoft.com/en-us/azure/app-service/overview-hosting-plans
Need the Full Exam Simulator?
Practice the complete question bank in a realistic, timed environment with advanced tracking.





