Courseiva

AZ-104 (AZ-104) — Questions 676750

1049 questions total · 14pages · All types, answers revealed

Page 9

Page 10 of 14

Page 11
676
MCQeasy

A legal team stores archived case files in Azure Blob Storage. The files are rarely read, but they must remain online and available immediately when needed. Which access tier should the administrator use?

A.Hot tier
B.Cool tier
C.Archive tier
D.Premium tier
AnswerB

Cool tier is correct because it is designed for data that is infrequently accessed but must remain instantly available when needed. Archived legal case files meet this pattern: they are rarely read, but when a request or legal proceeding requires them, there is no time to rehydrate from offline storage. Cool tier offers lower storage costs than Hot tier, while still keeping blobs online with immediate read access and no retrieval delay, making it the most cost-effective and practical choice.

Why this answer

The Cool tier is designed for data that is infrequently accessed but must remain online with low-latency retrieval. Archived case files that are rarely read but need immediate availability fit this profile, as Cool tier offers lower storage costs than Hot tier while still providing millisecond access times.

Exam trap

The trap here is that candidates often choose Archive tier for 'archived' data without reading the 'available immediately' requirement, missing that Archive tier requires rehydration and cannot serve data on demand.

Why the other options are wrong

A

The Hot tier is designed for frequently accessed data with high transaction costs, making it unnecessarily expensive for rarely read archived case files that must remain online.

C

The Archive tier has the highest retrieval latency (up to 15 hours) and requires rehydration before data can be accessed, which violates the requirement that files must be 'available immediately when needed.'

D

The Premium tier is designed for low-latency, high-performance workloads with consistent access, not for rarely-read archived files. It incurs higher costs and is unnecessary for files that must remain online but are seldom accessed.

When would these options actually be correct?

A

An administrator needs to store frequently accessed data, such as active customer transaction logs that are read and written multiple times per day, and requires low latency access.

C

This option would be correct in a scenario where the legal team stores archived case files that are rarely accessed and can tolerate several hours of retrieval delay, such as for compliance data that only needs to be restored upon audit requests.

D

A question requiring ultra-low latency and high transaction rates for frequently accessed data, such as a real-time analytics pipeline or an interactive application with strict performance SLAs, would make the Premium tier correct.

Why candidates pick the wrong answer

A

Candidates may assume 'online and available immediately' requires the Hot tier, overlooking that Cool tier also provides immediate access with lower storage costs for infrequently accessed data.

C

Candidates may confuse 'archived' in the question with the 'Archive' tier name, assuming that archived files automatically belong in the Archive tier without considering the immediate availability requirement.

D

Candidates may mistakenly believe 'Premium' implies better availability or online access, overlooking that the Cool tier already provides immediate availability at lower cost for infrequent access.

677
MCQmedium

A storage account has public network access disabled. A VM in VNet-App can reach a private endpoint for the account, but the storage name still resolves to the public IP address from the VM, and connections are denied. What should the administrator configure?

A.A service endpoint on the subnet so the storage account uses a private IP address.
B.A private DNS zone for the storage blob endpoint linked to VNet-App.
C.A storage account access key on the VM so the public endpoint will accept the connection.
D.A user-defined route sending storage traffic to the virtual network gateway.
AnswerB

Private DNS is needed so the blob FQDN resolves to the private endpoint IP inside the VNet.

Why this answer

When public network access is disabled on a storage account and a private endpoint is configured, the storage account's public DNS name must resolve to the private endpoint's private IP address within the virtual network. By default, the DNS name continues to resolve to the public IP address, causing connection failures. Linking a private DNS zone (privatelink.blob.core.windows.net) to VNet-App enables automatic resolution of the storage blob endpoint to the private IP address, allowing the VM to connect successfully.

Exam trap

The trap here is that candidates confuse service endpoints (which still use the public endpoint) with private endpoints (which use a private IP address), and assume that disabling public network access alone is sufficient without configuring DNS resolution to point to the private endpoint.

Why the other options are wrong

A

A service endpoint does not change DNS resolution; the storage account name would still resolve to its public IP address. Since public network access is disabled, the connection would still be denied even with a service endpoint.

C

The storage account has public network access disabled, so even with an access key, the public endpoint will reject connections. The VM cannot reach the storage via its public IP because access is blocked at the storage account level.

D

A user-defined route (UDR) sending storage traffic to the virtual network gateway is unnecessary because the private endpoint already provides a direct, private connection to the storage account within the same virtual network. The issue is DNS resolution, not routing; traffic is already reaching the public IP due to default DNS behavior.

When would these options actually be correct?

A

A service endpoint would be correct if the storage account has public network access enabled and the goal is to restrict access to a specific subnet, or if the VM needs to access the storage account via the Microsoft.Storage service endpoint without using a private endpoint.

C

If the storage account had public network access enabled but was configured to require firewall rules, and the VM needed to authenticate using an access key from a non-trusted network, then providing the access key on the VM would allow the connection through the public endpoint.

D

A UDR would be correct in a scenario where an organization wants to force all outbound traffic from a subnet to the internet through a network virtual appliance (NVA) or firewall for inspection, and the storage account is accessed via its public endpoint (no private endpoint). The UDR would route traffic to the NVA/gateway for security controls.

Why candidates pick the wrong answer

A

Candidates may confuse service endpoints with private endpoints, thinking both provide private IP connectivity, but service endpoints do not alter DNS resolution or provide a private IP address.

C

Candidates may think that providing the access key is sufficient for authentication regardless of network restrictions, overlooking that the storage account's public network access is disabled, which blocks all public endpoint traffic.

D

Candidates may confuse routing issues with DNS resolution problems, thinking that a UDR can force traffic to a private IP, but private endpoints rely on DNS, not routing, to direct traffic to the private IP.

678
MCQmedium

A developer can access an Azure Blob container from the portal using Microsoft Entra sign-in, but their custom app gets a 403 error when reading the same blob. The storage account is configured to use Azure AD authorization. What is the most likely fix?

A.Assign the user the Storage Blob Data Reader role on the container or storage account.
B.Assign the user the Reader role on the subscription.
C.Enable shared key access so the app can bypass Azure AD permissions.
D.Move the container to the Hot tier so Azure AD authentication can succeed.
AnswerA

A 403 in this scenario usually means the identity lacks data-plane permissions. The user needs an Azure RBAC role such as Storage Blob Data Reader at the appropriate scope so the app can read blob content through Azure AD authorization.

Why this answer

The developer can authenticate via the portal because the portal uses the user's own Microsoft Entra identity, which may have implicit permissions (e.g., via group membership or subscription-level Reader). However, the custom app must explicitly be granted the Storage Blob Data Reader role on the container or storage account to authorize data plane operations (reading blobs). Without this role assignment, the app's identity lacks the RBAC permission to perform blob read operations, resulting in a 403 error.

Exam trap

The trap here is that candidates confuse the management plane Reader role (which allows viewing the storage account in the portal) with the data plane Storage Blob Data Reader role (which is required to actually read blob content), leading them to incorrectly select Option B.

Why the other options are wrong

B

The Reader role on the subscription grants read access to Azure Resource Manager resources (e.g., VM, storage account metadata) but does not grant data-level permissions to blob containers. The 403 error occurs because the app lacks data-plane authorization, which requires a role like Storage Blob Data Reader.

C

Enabling shared key access would allow the app to bypass Azure AD authorization, but the storage account is configured to use Azure AD authorization, and the issue is that the app is not using Azure AD tokens. The correct fix is to assign the appropriate RBAC role, not to enable a less secure authentication method.

D

Moving a container to the Hot tier does not affect Azure AD authentication; tier changes impact cost and performance, not authorization. The 403 error is due to missing RBAC role assignment, not storage tier.

When would these options actually be correct?

B

This option would be correct in a scenario where the question asks: 'A user can see the storage account in the portal but cannot view its configuration settings. What role should be assigned?' The Reader role on the subscription provides read-only access to Azure resources, enabling the user to view storage account properties.

C

This option would be correct if the question stated that the storage account requires shared key access for legacy applications that cannot use Azure AD, and the developer's app needs to access blobs without Azure AD integration.

D

A question where a blob storage container is in the Cool or Archive tier and an application needs to read blobs, but the app fails because the container is offline (Archive) or has higher latency. Moving to Hot would resolve access latency or restore online status.

Why candidates pick the wrong answer

B

Candidates may confuse Azure RBAC roles with Azure AD data-plane roles, assuming that any 'Reader' role grants access to data. They might also think subscription-level access cascades to all data, which is incorrect for Azure Storage.

C

Candidates may think enabling shared key access is a quick workaround to bypass permission errors, without understanding that Azure AD authorization is the intended and more secure method, and that the real issue is missing role assignment.

D

Candidates may confuse storage tier properties with authentication mechanisms, thinking that certain tiers restrict Azure AD access, or they may recall that Archive tier blobs must be rehydrated before reading, leading them to incorrectly assume a tier change fixes authorization errors.

679
MCQmedium

Administrators need to manage Linux virtual machines that do not have public IP addresses. They want to connect from a browser without installing a VPN client. Which Azure service should they use?

A.Azure Bastion
B.VPN Gateway
C.Load Balancer
D.Private endpoint
AnswerA

Azure Bastion is a fully managed PaaS service that provides secure, seamless RDP and SSH access to virtual machines directly through the Azure portal over TLS. Because it connects to the VM's private IP address, no public IP address or inbound internet-facing rule is required on the VM's NSG, eliminating the need for a VPN client or a jump box. It also supports session monitoring, multi-factor authentication (via Azure AD integration), and is deployed in a dedicated AzureBastionSubnet, making it the correct service for interactive browser-based administrative access.

Why this answer

Azure Bastion provides secure, seamless RDP/SSH connectivity to virtual machines directly from the Azure portal over TLS, without requiring public IP addresses or a VPN client. It uses a browser-based HTML5 client, making it ideal for administrators who need to manage Linux VMs without exposing them to the internet or installing additional software.

Exam trap

The trap here is that candidates often confuse Azure Bastion with VPN Gateway, assuming a VPN is required for private VM access, but Bastion eliminates the need for a VPN client by providing browser-based connectivity directly through the Azure portal.

Why the other options are wrong

B

VPN Gateway requires a VPN client on the browser machine and typically assigns public IPs to the gateway, not directly connecting to VMs without public IPs. It also does not provide browser-based connectivity.

C

Azure Load Balancer distributes network traffic across multiple VMs but does not provide browser-based RDP/SSH connectivity without a public IP or VPN client.

D

Private endpoint provides secure connectivity to Azure services over a private IP address, but it does not enable browser-based RDP/SSH connectivity without a VPN client. The question requires a service that allows browser access to VMs without public IPs, which Azure Bastion provides.

When would these options actually be correct?

B

A question requiring site-to-site or point-to-site encrypted connectivity from on-premises networks to Azure VNets, where the client installs a VPN client (not browser-based) and VMs may have private IPs.

C

A question asking for distributing inbound traffic across multiple virtual machines for high availability or scaling, without requiring direct VM management from a browser.

D

A question asks: 'You need to securely connect to an Azure Storage account from a virtual network without using a public endpoint. Which Azure service should you use?' In that context, Private endpoint would be correct.

Why candidates pick the wrong answer

B

Candidates may confuse VPN Gateway's ability to connect to private VMs with the browser-based, clientless connectivity that Bastion offers, especially since both involve private network access.

C

Candidates may confuse load balancing with providing access, thinking it can route connections to VMs without public IPs, but it lacks the secure tunnel and browser-based access capabilities of Azure Bastion.

D

Candidates may confuse private endpoint with Bastion because both involve private connectivity. They might think private endpoint provides remote access to VMs, but it only enables private IP-based access to Azure PaaS services, not VM management.

680
MCQeasy

A company wants to peer two Azure virtual networks so that workloads can communicate privately. VNet-A uses 10.10.0.0/16. VNet-B is being designed now. Which address space should be chosen for VNet-B?

A.10.10.5.0/24, because it is a smaller subnet inside the same private range.
B.10.11.0.0/16, because it does not overlap and is still within a private IPv4 range.
C.10.10.0.0/24, because peering automatically separates overlapping subnets.
D.192.168.1.0/24, because peered networks must always use the 192.168.x.x range.
AnswerB

10.11.0.0/16 does not overlap with VNet-A's 10.10.0.0/16 and sits fully within the RFC 1918 private address space. That makes it a valid address space for a peered VNet because Azure VNet peering only requires that the full CIDR ranges of the two VNets are non-overlapping; it does not require any specific prefix or class. Choosing a distinct /16 also leaves plenty of room for subnets without risk of future overlap conflicts.

Why this answer

VNet peering requires non-overlapping address spaces to enable direct private IP connectivity between resources. 10.11.0.0/16 is a unique private IPv4 range (RFC 1918) that does not overlap with VNet-A's 10.10.0.0/16, ensuring successful peering without routing conflicts.

Exam trap

The trap here is that candidates assume smaller subnets within the same larger range can be peered because they are 'different subnets,' but Azure VNet peering requires completely non-overlapping address spaces at the VNet level, not just at the subnet level.

Why the other options are wrong

A

VNet-B's address space 10.10.5.0/24 overlaps with VNet-A's 10.10.0.0/16, which is not allowed for peering. Azure requires non-overlapping address spaces for virtual network peering.

C

VNet-A uses 10.10.0.0/16, which includes the 10.10.0.0/24 range. Overlapping address spaces prevent successful peering because Azure cannot route between overlapping IPs.

D

Peered Azure virtual networks can use any private IP address range (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) as long as they do not overlap. There is no requirement to use 192.168.x.x.

When would these options actually be correct?

A

If the question asked for a subnet within VNet-A (e.g., 'Which subnet should be used for a new application in VNet-A?'), then 10.10.5.0/24 would be a valid choice as it falls within the VNet's address space.

C

If the question asked about adding a subnet to VNet-A (not peering a new VNet), then 10.10.0.0/24 would be a valid subnet within the existing VNet-A address space.

D

If the question stated that the company's on-premises network uses 10.0.0.0/8 and 172.16.0.0/12, and they want to avoid any conflict with existing routes, then using 192.168.1.0/24 could be correct to ensure no overlap with on-premises ranges.

Why candidates pick the wrong answer

A

Candidates may think that using a smaller subnet from the same range is acceptable, or they confuse subnetting within a VNet with the requirement for non-overlapping address spaces between peered VNets.

C

Candidates may mistakenly believe that peering automatically handles overlapping ranges or that smaller subnets can be used without conflict, ignoring the fundamental requirement of non-overlapping address spaces for VNet peering.

D

Candidates may mistakenly believe that Azure requires peered networks to use the 192.168.x.x range, possibly confusing it with common home network setups or outdated documentation.

681
MCQmedium

An administrator is deploying a site-to-site VPN gateway in Azure. The GatewaySubnet already exists, but the deployment fails because no public-facing address is available for the gateway. What is required for the gateway to deploy and accept the on-premises connection?

A.Assign a standard Load Balancer to the GatewaySubnet.
B.Create a private endpoint for the virtual network gateway.
C.Create and associate a public IP address with the VPN gateway.
D.Delegate the GatewaySubnet to Microsoft.Network/privateEndpoints.
AnswerC

A site-to-site VPN gateway needs a public IP address so the on-premises VPN device can establish and maintain the tunnel to Azure. The GatewaySubnet is the correct dedicated subnet, but it is not enough by itself. The gateway also requires a public-facing address resource assigned during deployment so it can receive VPN connections from outside Azure.

Why this answer

A site-to-site VPN gateway in Azure requires a public IP address to establish the encrypted tunnel with the on-premises VPN device. The public IP address is assigned to the gateway's frontend configuration, enabling it to send and receive IPsec/IKE traffic over the internet. Without this public-facing address, the gateway cannot be provisioned or accept the on-premises connection.

Exam trap

The trap here is that candidates may confuse the GatewaySubnet delegation requirement (which is already satisfied by default) with the need for a public IP address, or incorrectly think a Load Balancer or private endpoint can substitute for the public IP that is mandatory for site-to-site VPN connectivity.

Why the other options are wrong

A

A standard Load Balancer is not used for VPN gateway public IP assignment; VPN gateways require a public IP address resource, not a load balancer, to provide the public-facing endpoint for site-to-site connections.

B

A private endpoint is used to securely connect to Azure PaaS services over a private IP address, not to provide public-facing connectivity for a VPN gateway. The VPN gateway requires a public IP address to establish the site-to-site tunnel with the on-premises device.

D

Delegating the GatewaySubnet to Microsoft.Network/privateEndpoints is used for private endpoints, not for VPN gateways. VPN gateways require a public IP address for site-to-site connectivity, not a private endpoint delegation.

When would these options actually be correct?

A

When deploying a load-balanced application behind a VPN gateway, such as for high-availability scenarios, you might associate a Standard Load Balancer with the gateway subnet to distribute traffic across multiple gateway instances.

B

This option would be correct in a scenario where the question asks how to securely connect to an Azure SQL Database from an on-premises network without exposing it to the public internet. In that case, creating a private endpoint for the SQL Database within a virtual network would be the appropriate solution.

D

This option would be correct in a scenario where you need to allow a private endpoint (e.g., for Azure SQL Database) to be created in a subnet. The question would ask: 'You need to configure a subnet to host a private endpoint. What should you do?'

Why candidates pick the wrong answer

A

Candidates may confuse the need for a public endpoint with load balancing, thinking a load balancer can provide the public IP, or they may recall that load balancers are used in other Azure networking scenarios.

B

Candidates may confuse private endpoints with the need for private connectivity, thinking that a private endpoint could replace the public IP requirement for the VPN gateway, or they may mistakenly believe that a private endpoint can provide the necessary network interface for the gateway.

D

Candidates may confuse the need for network connectivity with private endpoints, thinking that delegating the subnet to a service provider is required for the gateway to function, similar to how subnet delegation works for other Azure services.

682
MCQeasy

A contractor team changes every few weeks. The administrator wants Azure access to stay the same when individual contractors leave or join, without editing role assignments for each person. What should be assigned the Azure role?

A.Each contractor user account individually
B.A Microsoft Entra ID security group
C.A device group
D.An Azure subscription
AnswerB

Assigning RBAC roles to a Microsoft Entra ID security group is a best practice because the group acts as a stable security principal. When contractors join or leave the team, you only update group membership—via manual, dynamic, or group-based assignment—while the role assignments remain unchanged. This decouples identity lifecycle from permission management, ensuring access stays accurate without editing role assignments each time.

Why this answer

Assigning the Azure role to a Microsoft Entra ID security group allows the administrator to manage access by adding or removing contractors from the group, rather than editing individual role assignments. This approach ensures that role assignments remain unchanged when contractors leave or join, as the group itself retains the role. It leverages Azure RBAC's support for group-based access control, which is the recommended method for dynamic teams.

Exam trap

The trap here is that candidates may think assigning roles to individual user accounts is simpler, but the question specifically requires a solution that avoids editing role assignments when contractors change, making group-based assignment the only correct answer.

Why the other options are wrong

A

Assigning roles to individual contractor accounts requires manual updates each time a contractor leaves or joins, which contradicts the requirement to maintain consistent access without editing role assignments.

C

Device groups are used for managing device compliance and configuration policies, not for assigning Azure role-based access control (RBAC) permissions to users. They cannot grant Azure resource access to contractors.

D

Assigning an Azure role to an Azure subscription would grant access to all resources in that subscription, not just the contractor team, and does not address the need to manage access for a dynamic group of contractors without editing role assignments.

When would these options actually be correct?

A

If the question specified that each contractor needs unique permissions based on their specific role or project, and the team is stable with no frequent changes, then assigning roles to individual user accounts would be appropriate.

C

A question asks: 'You need to ensure that only corporate-owned, compliant devices can access company resources. What should you configure in Microsoft Entra ID?' In that scenario, a device group would be correct for conditional access policies.

D

A question asks: 'You need to grant a team access to all resources in a subscription. What should you assign the role to?' In that case, assigning the role to the subscription itself would be correct.

Why candidates pick the wrong answer

A

Candidates may think that roles must be assigned directly to user accounts because that is the most straightforward method, overlooking the administrative overhead of managing individual assignments for a frequently changing team.

C

Candidates may confuse device groups with security groups, thinking that since devices can be assigned to groups, those groups can also hold Azure roles. They overlook that Azure RBAC roles are assigned to security principals (users, groups, service principals), not devices.

D

Candidates may think that assigning a role at the subscription level is a broad and simple way to grant access to a team, overlooking that it affects all users and resources in the subscription, not just the contractor group.

683
MCQmedium

You need to allow a support engineer to restart virtual machines in the RG-App resource group, but the engineer must not be able to create, delete, or resize the virtual machines. What should you do?

A.Assign the Virtual Machine Contributor role at the RG-App scope
B.Create a custom role that includes restart permissions and assign it at the RG-App scope
C.Assign the Contributor role at the subscription scope
D.Assign the Reader role at the RG-App scope
AnswerB

A custom role is necessary because no built-in role provides only the Microsoft.Compute/virtualMachines/restart/action. Defining a role with just that action and assigning it at the RG-App scope limits the support engineer to restarting VMs in that specific resource group, following the principle of least privilege.

Why this answer

The Virtual Machine Contributor role includes permissions to restart VMs but also allows creating, deleting, and resizing VMs, which violates the requirement. A custom role with only the Microsoft.Compute/virtualMachines/restart/action permission assigned at the RG-App scope grants the exact restart capability without broader management rights.

Exam trap

The trap here is that candidates often assume the Virtual Machine Contributor role is restrictive enough for restart-only tasks, but it actually includes full VM management permissions, making a custom role necessary for precise access control.

Why the other options are wrong

A

The Virtual Machine Contributor role includes permissions to create, delete, and resize VMs, which violates the requirement to restrict those actions.

C

The Contributor role at the subscription scope grants full management access to all resources in the subscription, including the ability to create, delete, and resize virtual machines, which violates the requirement to restrict the engineer from performing those actions.

D

The Reader role only allows read-only access to resources, so it does not include permissions to restart virtual machines, which is a write operation.

When would these options actually be correct?

A

If the requirement were to allow a support engineer to manage VMs (including restart, create, delete, resize) but not manage the resource group or other resources, assigning the Virtual Machine Contributor role at the RG-App scope would be correct.

C

If the question required granting a user full management access to all resources in a subscription, including the ability to create, delete, and resize virtual machines, then assigning the Contributor role at the subscription scope would be correct.

D

If the requirement was to allow the engineer to view virtual machine properties and status in RG-App without making any changes, assigning the Reader role at the RG-App scope would be correct.

Why candidates pick the wrong answer

A

Candidates may think Virtual Machine Contributor is a narrowly scoped role that only allows restart, but it actually grants broader VM management permissions.

C

Candidates may think that assigning a broad role like Contributor at a higher scope is simpler and still meets the requirement, not realizing that it grants excessive permissions beyond just restarting VMs.

D

Candidates may think that since restarting is a basic operation, the Reader role might include it, or they confuse read access with the ability to perform actions like restart.

684
MCQmedium

An application VM in a subnet without a public IP must access Azure Blob Storage. The storage account must not be reachable from the public internet, and DNS resolution should stay inside the virtual network. What should you implement?

A.Enable a service endpoint for Microsoft.Storage on the subnet and keep the public endpoint enabled.
B.Create a private endpoint for the storage account and link the appropriate private DNS zone.
C.Use a SAS token and allow access from any network for the storage account.
D.Assign a managed identity to the VM and remove all network restrictions from the storage account.
AnswerB

A private endpoint attaches a network interface with a private IP from your VNet to the storage account, causing all traffic destined to that account to traverse the Microsoft backbone instead of the public internet. Linking the private endpoint to the appropriate private DNS zone ensures that the storage account's FQDN resolves to that private IP, so the VM can connect without egress to a public address. This is the correct way to provide secure, private access from a subnet that has no public IP.

Why this answer

A private endpoint assigns the storage account a private IP from the VM's virtual network, making it reachable without public internet exposure. Linking the private DNS zone ensures that DNS resolution for the storage account (e.g., `mystorageaccount.blob.core.windows.net`) resolves to the private IP within the VNet, meeting both requirements.

Exam trap

The trap here is confusing service endpoints with private endpoints; service endpoints only secure traffic to the public endpoint via the VNet but do not remove public internet accessibility, whereas private endpoints fully isolate the resource within the VNet.

Why the other options are wrong

A

A service endpoint keeps the storage account reachable from the public internet (even if restricted to the subnet), which violates the requirement that the storage account must not be reachable from the public internet.

C

A SAS token with public network access violates the requirement that the storage account must not be reachable from the public internet, and it does not keep DNS resolution inside the virtual network.

D

Assigning a managed identity and removing network restrictions would make the storage account publicly accessible from the internet, violating the requirement that the storage account must not be reachable from the public internet.

When would these options actually be correct?

A

If the requirement were to allow a VM in a subnet to access Azure Storage without a public IP, but the storage account could still be accessible from the internet (just restricted to the subnet), then enabling a service endpoint on the subnet would be correct.

C

A question where a client outside Azure (e.g., on-premises) needs temporary, time-limited access to a specific blob in a storage account that is otherwise private, and public internet access is acceptable.

D

A question where a VM needs to authenticate to Azure Blob Storage without using keys or SAS tokens, and the storage account's network restrictions are not a concern (e.g., the storage account is already isolated via other means).

Why candidates pick the wrong answer

A

Candidates may confuse service endpoints with private endpoints, thinking both provide private connectivity, but service endpoints still use the public endpoint of the storage service.

C

Candidates may think SAS tokens provide secure, granular access without realizing they still rely on public endpoints and do not restrict network-level access.

D

Candidates may think managed identity provides secure access without public exposure, but they overlook that removing network restrictions opens the storage account to the internet.

685
MCQhard

A business stores audit exports in Blob Storage. The account must continue serving writes if one availability zone fails, and reporting users in the paired region must still be able to read the replicated data if the primary region becomes unavailable. Which redundancy option best meets the requirement?

A.ZRS, because it protects against a zone failure inside one region.
B.RA-GRS, because it provides read access to the secondary region but not zone redundancy.
C.RA-GZRS, because it combines zone redundancy in the primary region with read access to the secondary region.
D.GRS, because it keeps a full second copy in another region.
AnswerC

RA-GZRS is the only option that satisfies both parts of the business requirement: it protects the primary region against a zone failure and also exposes the secondary region for read access if the primary region is unavailable. That combination is exactly what zone resilience plus readable geo-redundancy requires.

Why this answer

RA-GZRS (Read-Access Geo-Zone-Redundant Storage) is the correct choice because it combines synchronous zone-redundant replication across three availability zones in the primary region (protecting against a single zone failure) with asynchronous geo-replication to a paired secondary region, and enables read access to the secondary region if the primary becomes unavailable. This satisfies both requirements: continued writes during a zone failure and readable replicated data from the paired region during a primary region outage.

Exam trap

The trap here is that candidates often confuse GRS with RA-GRS or think ZRS alone is sufficient, failing to recognize that the requirement for both zone failure protection and secondary region read access necessitates the specific combination of zone redundancy and geo-replication with read access, which only RA-GZRS provides.

Why the other options are wrong

A

ZRS only protects against zone failure within a single region, but does not provide read access to a secondary region for reporting users if the primary region becomes unavailable.

B

RA-GRS provides read access to the secondary region but does not offer zone redundancy in the primary region, so a zone failure would interrupt writes, failing the requirement to continue serving writes if one availability zone fails.

D

GRS does not provide read access to the secondary region unless a failover occurs, so reporting users cannot read replicated data if the primary region becomes unavailable. It also lacks zone redundancy in the primary region.

When would these options actually be correct?

A

A question requiring data durability and availability within a single region, with no need for cross-region read access, such as a web application that must remain available during a zone failure but does not require a secondary region for reads.

B

A scenario where the requirement is to have read access to replicated data in a secondary region during a primary region outage, but zone redundancy is not needed (e.g., the primary region is not using availability zones or the application can tolerate brief write interruptions during a zone failure).

D

A scenario where the requirement is only to protect against a regional disaster and no need for immediate read access to the secondary region, such as a backup storage account for disaster recovery that is only accessed after failover.

Why candidates pick the wrong answer

A

Candidates may focus on the zone failure protection requirement and overlook the need for read access from the paired region, assuming ZRS alone is sufficient.

B

Candidates may focus on the read-access requirement and overlook the zone-failure write continuity requirement, assuming RA-GRS is sufficient because it provides geo-redundancy with read access.

D

Candidates may confuse GRS with RA-GRS, assuming that GRS automatically provides read access to the secondary region, or they may overlook the need for zone redundancy in the primary region.

686
MCQmedium

A batch job fails with a blob read error after the administrator moved a 200-GB blob to the archive tier. The file must be available again within a few hours, and the administrator wants the least disruptive recovery. What should be done?

A.Delete the archived blob and upload a new copy from backup.
B.Change the blob tier to Hot or Cool and wait for the rehydration process to finish.
C.Enable soft delete on the storage account and retry the read operation.
D.Convert the storage account to premium performance.
AnswerB

Archive blobs are offline and cannot be read directly until they are rehydrated. The administrator should change the tier from Archive to Hot or Cool, which starts rehydration and makes the blob readable again after the process completes. This is the least disruptive recovery path because it preserves the existing blob and uses the supported restore mechanism instead of recreating the data.

Why this answer

Moving a blob to the archive tier makes it offline; to read it, you must first rehydrate it by changing the tier to Hot or Cool. Rehydration typically completes within a few hours (up to 15 hours for archive), meeting the requirement. This is the least disruptive method as it avoids data loss or additional uploads.

Exam trap

The trap here is that candidates may think soft delete (Option C) or changing the account tier (Option D) can immediately restore access, when in fact only explicit rehydration by tier change makes an archived blob readable.

Why the other options are wrong

A

Deleting the archived blob and re-uploading from backup is disruptive and time-consuming for a 200-GB blob, and unnecessary because Azure Blob Storage supports rehydration from the Archive tier to Hot or Cool tiers without data loss.

C

Enabling soft delete does not rehydrate an archived blob; it only protects against accidental deletion. The blob is still in the archive tier and unreadable until rehydrated.

D

Converting to premium performance does not affect blob tier or rehydration; the blob is archived and must be rehydrated to a hot or cool tier before reading. Premium performance is for low-latency workloads, not for recovering archived blobs.

When would these options actually be correct?

A

This option would be correct if the blob was corrupted or lost due to accidental deletion or storage account failure, and no rehydration capability existed (e.g., in a legacy system without tiering support).

C

If the question were about recovering from accidental deletion of a blob (e.g., a user deleted a blob and needs to restore it), enabling soft delete and then undeleting the blob would be the correct approach.

D

If the question were about improving I/O latency for frequently accessed blobs in a performance-sensitive application, and cost was not a concern, converting the storage account to premium performance would be correct.

Why candidates pick the wrong answer

A

Candidates may think re-uploading is faster or simpler than waiting for rehydration, or they may not be aware that archive blobs can be rehydrated to a hot or cool tier.

C

Candidates may confuse soft delete with a recovery mechanism for inaccessible blobs, or think that enabling a feature can immediately fix read errors without understanding the archive tier's offline nature.

D

Candidates may mistakenly think that premium performance can speed up data access or bypass the rehydration delay, confusing performance tier with access tier capabilities.

687
MCQmedium

You removed public IP addresses from a backend subnet containing 20 VMs. The VMs still need outbound internet access for updates, and the organization wants all outbound traffic to appear from one predictable public IP. No inbound publishing is required. Which Azure service should you use?

A.A public load balancer with inbound NAT rules for each VM.
B.Azure NAT Gateway associated with the subnet.
C.A private load balancer with a backend pool of the VMs.
D.A VPN gateway connection to a remote network.
AnswerB

Azure NAT Gateway is a fully managed, subnet-scoped NAT service that provides outbound-only internet connectivity. When attached to the subnet, it translates VM private IPs to its configured public IP(s) or public IP prefix, giving stable egress even after the VMs' own public IPs are removed. Because it scales to 64,000 concurrent connections per assigned IP and decouples outbound NAT from the VM's NIC, it is the designed solution for reliable outbound internet in this scenario.

Why this answer

Azure NAT Gateway is the correct choice because it provides outbound-only internet connectivity for a subnet, translating all VM traffic to a single public IP address without requiring inbound NAT rules or a load balancer. It supports SNAT (Source Network Address Translation) for up to 64,000 concurrent flows per IP, meeting the requirement for predictable outbound IP and no inbound publishing.

Exam trap

The trap here is that candidates often confuse Azure NAT Gateway with a public load balancer for outbound traffic, mistakenly thinking inbound NAT rules are required for outbound connectivity, or assume a private load balancer can provide internet access via some indirect method.

Why the other options are wrong

A

A public load balancer with inbound NAT rules is designed for inbound traffic, not outbound. It does not provide a single predictable outbound public IP for all VMs in the subnet.

C

A private load balancer only handles internal traffic within a virtual network and does not provide outbound internet connectivity. The VMs need outbound internet access, which a private load balancer cannot supply.

D

A VPN gateway connects on-premises networks to Azure, not to the internet. It does not provide outbound internet access for Azure VMs.

When would these options actually be correct?

A

This option would be correct if the question required inbound access to each VM from the internet, such as RDP or SSH, with distinct public IPs or ports for each VM, and outbound access was not the primary concern.

C

When you need to distribute inbound traffic from internal clients to a set of backend VMs (e.g., a multi-tier application) without exposing them to the internet, and no outbound internet access is required.

D

An organization needs to securely connect an Azure virtual network to an on-premises datacenter over the internet, requiring site-to-site VPN connectivity.

Why candidates pick the wrong answer

A

Candidates may confuse load balancer capabilities, thinking that a public load balancer can handle outbound traffic similarly to NAT Gateway, or they may overlook the specific requirement for a single predictable outbound IP.

C

Candidates may confuse load balancer types, thinking a private load balancer can also provide outbound connectivity, or they may focus on the 'backend pool' concept without considering the direction of traffic.

D

Candidates may confuse VPN gateways with providing internet access, or think that routing traffic through a VPN to a remote network with internet access is a valid outbound path.

688
MCQmedium

Based on the exhibit, which action should the administrator take so Contractor01 can manage the team membership without receiving Azure resource permissions?

A.Add Contractor01 as an owner of the AppOps-Admins group.
B.Add Contractor01 as a member of the AppOps-Admins group.
C.Assign Contractor01 the User Administrator role at the tenant scope.
D.Assign Contractor01 Contributor on the subscription.
AnswerA

Adding Contractor01 as an owner of the AppOps-Admins group grants them the Azure AD delegated permission to manage membership and ownership-related settings for that specific group. This allows the contractor to add or remove members without receiving any Azure RBAC rights to access subscription or resource group resources. It is the least-privilege solution that precisely matches the stated need.

Why this answer

Adding Contractor01 as an owner of the AppOps-Admins group grants them the ability to manage group membership (add/remove members) without inheriting any Azure resource permissions. Group ownership is an Azure AD role that controls group administration only, not access to Azure resources like VMs or storage. This meets the requirement of managing team membership without resource permissions.

Exam trap

The trap here is that candidates often confuse Azure AD group ownership with Azure RBAC roles, assuming that managing a group requires a high-privilege directory role like User Administrator, or they mistakenly think adding the user as a member of the group will suffice without understanding that membership inherits the group's resource permissions.

Why the other options are wrong

B

Adding Contractor01 as a member of AppOps-Admins grants them only group membership, not the ability to manage team membership. To manage membership, they need owner permissions on the group, not member permissions.

C

The User Administrator role at tenant scope grants permissions to manage user accounts and groups across the entire Azure AD tenant, which includes Azure resource permissions indirectly through group management. The question requires managing team membership without receiving Azure resource permissions, and this role provides broader administrative access than needed.

D

The Contributor role grants full management access to Azure resources, including permissions to create, modify, and delete resources, which contradicts the requirement to avoid giving Contractor01 Azure resource permissions.

When would these options actually be correct?

B

This option would be correct if the goal was to grant Contractor01 the same permissions as other team members (e.g., access to resources) without allowing them to manage group membership. For example, if the question asked 'Which action grants Contractor01 access to the resources assigned to AppOps-Admins?'

C

This option would be correct if the question asked for an administrator who needs to manage user accounts, groups, and licensing for all users in the tenant, without any focus on Azure resource permissions or team membership management within a specific group.

D

A question where the goal is to allow a user to manage all resources in a subscription (e.g., deploy and configure VMs, storage, etc.) without granting access to manage Azure AD or user permissions. For example: 'You need to grant a developer the ability to deploy and manage virtual machines in a subscription. Which role should you assign?'

Why candidates pick the wrong answer

B

Candidates may confuse 'member' with 'owner' roles, assuming that being a member of a group allows management of that group, or they may think that adding as a member is sufficient to delegate group management.

C

Candidates may think the User Administrator role is appropriate because it allows management of group memberships, but they overlook that it also grants broader Azure AD administrative privileges that could lead to unintended Azure resource permissions.

D

Candidates may confuse 'managing team membership' with general resource management, assuming Contributor is a catch-all role for any administrative task, or they may overlook the specific requirement to avoid Azure resource permissions.

689
MCQhard

A system-assigned managed identity is attached to an Azure VM to call Key Vault. The VM is frequently reimaged and sometimes redeployed to a different name during scale events, but the application must keep the same identity and secretless access. What should the administrator use instead?

A.A system-assigned managed identity on each newly deployed VM.
B.A user-assigned managed identity associated with the workload.
C.A shared storage account key placed in the VM custom script.
D.A policy exemption for the Key Vault access policy.
AnswerB

A user-assigned managed identity is a standalone Azure resource that exists independently of any single VM. It can be assigned to multiple VMs or scale sets and remains valid across reimages, redeployments, or replacement of underlying compute. This identity allows the workload to authenticate to Azure Active Directory and securely retrieve secrets from Key Vault without embedding credentials, making it the correct choice for a workload that needs a stable identity across infrastructure changes.

Why this answer

A user-assigned managed identity is decoupled from the VM lifecycle, so it persists independently when VMs are reimaged or redeployed with different names. This allows the application to retain the same identity and secretless access to Key Vault without requiring manual reconfiguration or credential rotation.

Exam trap

The trap here is that candidates assume system-assigned identities are reusable across VM redeployments, but they are instance-scoped and destroyed with the VM, whereas user-assigned identities are persistent and can be reassigned to any resource.

Why the other options are wrong

A

A system-assigned managed identity is tied to the lifecycle of a specific VM instance. When the VM is reimaged or redeployed with a different name, the identity is lost, and the new VM would get a new identity, breaking the application's access.

C

A shared storage account key placed in a custom script exposes a static secret that must be managed and rotated, violating the requirement for secretless access and not preserving identity across VM reimages or redeployments.

D

A policy exemption does not provide authentication; it only bypasses Azure Policy effects. The VM still needs a managed identity or other credential to authenticate to Key Vault, and a policy exemption does not grant access to secrets.

When would these options actually be correct?

A

A system-assigned managed identity would be correct if the VM is never reimaged or redeployed, and the identity is used only for a single, persistent VM instance that does not change over time.

C

In a scenario where a legacy application cannot use managed identities and needs to access Azure Storage from a VM, and the requirement is to avoid interactive logins, a storage account key in a custom script (or better, a managed identity) could be used, but only if secretless access is not required.

D

A policy exemption would be correct if the question described a scenario where an Azure Policy (e.g., requiring Key Vault firewall rules) is blocking legitimate access, and the administrator needs to allow access for a specific VM while maintaining the policy for other resources.

Why candidates pick the wrong answer

A

Candidates may think system-assigned managed identities are simpler to configure and assume they persist across VM operations, not realizing they are tied to the VM's lifecycle and are lost on reimage or redeployment.

C

Candidates may think a shared key is a simple way to provide consistent access without understanding that it introduces a static secret, contradicts secretless access, and fails to maintain identity across VM changes.

D

Candidates may confuse policy exemptions with access policies or think that exempting a VM from policy automatically grants it access to Key Vault, misunderstanding the separation between Azure Policy and Azure RBAC/access policies.

690
MCQhard

A finance web app in AppSubnet must connect to Azure SQL Database over the service's public endpoint. Only AppSubnet should be allowed, and the security team does not want to deploy any private IPs or change DNS. What should you configure?

A.A private endpoint for the SQL server and a private DNS zone linked to AppSubnet.
B.Enable the Microsoft.Sql service endpoint on AppSubnet and add a virtual network rule on the SQL server.
C.Create an NSG rule on AppSubnet to allow outbound TCP 1433 traffic to the SQL server's public IP address.
D.Publish the AppSubnet public IP address range in the SQL server firewall as an allow list.
AnswerB

A service endpoint keeps Azure SQL reachable through its public endpoint while allowing access only from the authorized subnet. The subnet must have the Microsoft.Sql service endpoint enabled, and the SQL server must have a virtual network rule that permits AppSubnet. This satisfies the requirement to avoid private IPs and DNS changes while still restricting access to the subnet.

Why this answer

Enabling the Microsoft.Sql service endpoint on AppSubnet allows traffic from that subnet to reach Azure SQL Database's public endpoint without requiring public IP addresses or DNS changes. Adding a virtual network rule on the SQL server restricts access exclusively to that subnet, meeting the security requirement without deploying private IPs.

Exam trap

The trap here is that candidates often confuse service endpoints with private endpoints, assuming private IPs are required for secure connectivity, or they mistakenly think NSG rules alone can restrict access to Azure SQL Database without considering the SQL server firewall.

Why the other options are wrong

A

The question requires connecting over the SQL server's public endpoint, but a private endpoint uses a private IP address, which contradicts the requirement to not deploy any private IPs. Additionally, the security team does not want to change DNS, but a private endpoint typically requires a private DNS zone to resolve the server name to the private IP.

C

NSG rules control traffic within the virtual network but do not bypass the SQL server's firewall. The SQL server's public endpoint still requires firewall rules to allow the source IP, and NSG rules alone cannot grant access.

D

The question requires that only AppSubnet be allowed to connect, but publishing the AppSubnet public IP range in the firewall allows any subnet with those IPs, and the SQL server's public endpoint remains accessible from the internet if the firewall rule is misconfigured. Additionally, the security team wants to avoid using private IPs or changing DNS, but this option does not restrict access to only AppSubnet.

When would these options actually be correct?

A

A scenario where the requirement is to connect to Azure SQL Database using a private IP address within the virtual network, and the security team allows DNS changes. For example: 'A web app in AppSubnet must connect to Azure SQL Database privately, without exposing traffic to the public internet. You need to ensure the connection uses a private IP and DNS resolution works from AppSubnet.'

C

If the question required restricting outbound traffic from AppSubnet to only the SQL server's public IP for security compliance, and the SQL server's firewall already allowed the subnet's public IP range, then an NSG rule would be the correct answer.

D

A scenario where a specific subnet's public IP range is static and the SQL server must be accessible from the internet (not just the subnet), and the requirement is to allow only that subnet's public IPs while still using the public endpoint. For example, a legacy application that cannot use service endpoints or private endpoints.

Why candidates pick the wrong answer

A

Candidates may confuse private endpoints with service endpoints, thinking both provide secure connectivity, but private endpoints are for private IP scenarios, not for accessing the public endpoint with subnet-level access control.

C

Candidates may think NSG rules can control access to Azure PaaS services, but they overlook that PaaS firewalls are separate and must also allow the traffic.

D

Candidates may think that adding the subnet's public IP range to the firewall is a simple way to restrict access, but they overlook that the subnet's public IPs can change (unless using a NAT gateway) and that this does not enforce network-level access control like a service endpoint does.

691
Multi-Selecteasy

An administrator wants future VMs to start from the same approved server build as an existing generalized VM. Which two image sources can be used to create the new VM? Select two.

Select 2 answers
A.A managed image created from the approved server build.
B.An image stored in Azure Compute Gallery.
C.A Marketplace image from the operating system vendor.
D.A single managed disk snapshot.
E.A public IP address assigned to the VM.
AnswersA, B

A managed image captures a generalized VM that has been prepared with tools like Sysprep (Windows) or waagent -deprovision (Linux), removing machine-specific identifiers and state. This image is stored as a managed resource and can be used repeatedly to deploy new VMs with the exact approved server build, ensuring consistent configuration, patching, and security baselines across the fleet.

Why this answer

A managed image captures the exact configuration of a generalized VM, including the OS and data disks, and can be used to deploy multiple identical VMs. This ensures that future VMs start from the same approved server build without needing to recreate the image each time.

Exam trap

The trap here is that candidates often confuse a single disk snapshot with a managed image, not realizing that a snapshot lacks the VM configuration and multiple disk support required to replicate the full approved build.

Why the other options are wrong

C

A Marketplace image is a pre-configured image from a vendor, not a custom image created from the approved server build. The question requires using the same approved server build, which must be a custom image, not a generic Marketplace image.

D

A single managed disk snapshot cannot be used to create a new VM with the same approved server build because it lacks the necessary OS and disk configuration metadata that a managed image provides. Snapshots are point-in-time copies of a disk, not deployable images.

E

A public IP address is a networking resource, not an image source. It cannot be used to create a VM from a specific server build.

When would these options actually be correct?

C

If the question asked for deploying a VM using a standard, vendor-provided OS image without customization, or if the approved server build matched a specific Marketplace image, then a Marketplace image would be correct.

D

A managed disk snapshot would be correct if the question asked for a method to create a new VM from an existing VM's disk for disaster recovery or to create a VM with the same data but not necessarily the same build configuration, such as when restoring from a backup.

E

When the question asks which resource must be assigned to a VM to enable internet access, a public IP address is correct. For example: 'You need to ensure a new VM can be reached from the internet. What should you assign?'

Why candidates pick the wrong answer

C

Candidates may think any image source can be used, or they confuse Marketplace images with custom images, assuming a vendor image can serve as the approved build.

D

Candidates may confuse snapshots with images, thinking that a snapshot of the OS disk can be used directly to deploy a VM, not realizing that a snapshot lacks the generalized state and image definition required for consistent deployments.

E

Candidates may confuse the need for a public IP to access the VM with the process of creating a VM from an image, mistakenly thinking the IP is part of the VM creation source.

692
MCQmedium

A subnet NSG contains these inbound rules: Deny-All-Inbound at priority 300, Allow-HTTPS-From-Bastion at priority 200, and Allow-HTTPS-From-AdminIP at priority 350. An administrator expects a management workstation on the internet to connect to a VM over TCP 443, but the connection is blocked. What is the most likely reason?

A.NSG rules are evaluated from the highest priority number to the lowest priority number.
B.The deny rule at priority 300 is matched before the allow rule at priority 350.
C.Azure NSGs cannot allow inbound traffic from public IP addresses.
D.TCP 443 requires an application security group to be used as the source.
AnswerB

NSG rules are processed in ascending order, where the lowest priority number wins. In this case, Deny-All-Inbound at 300 is evaluated before the new allow rule at 350. Because the deny rule matches inbound traffic first, the packet is blocked and the later allow rule never gets a chance. The fix is to give the allow rule a lower number than 300 or otherwise narrow the deny rule.

Why this answer

NSG rules are evaluated in priority order, from the lowest priority number (highest priority) to the highest priority number (lowest priority). The Allow-HTTPS-From-AdminIP rule at priority 350 is evaluated after the Deny-All-Inbound rule at priority 300. Since the deny rule at priority 300 matches all inbound traffic before the allow rule at priority 350 is evaluated, the traffic is blocked.

The administrator's connection from the internet is denied because the deny rule with a lower priority number (300) takes precedence over the allow rule with a higher priority number (350).

Exam trap

The trap here is that candidates often confuse 'priority' with 'order of evaluation,' mistakenly thinking higher priority numbers are evaluated first, when in fact lower numbers (higher priority) are evaluated first, causing the deny rule to block traffic before the allow rule is checked.

Why the other options are wrong

A

NSG rules are evaluated from lowest priority number to highest, meaning a lower number (higher priority) is matched first. Option A states the opposite, which is incorrect.

C

Azure NSGs can allow inbound traffic from public IP addresses by specifying the public IP as the source in the rule. The Allow-HTTPS-From-AdminIP rule at priority 350 is intended to do that, but it is never evaluated because the Deny-All-Inbound rule at priority 300 is matched first.

D

TCP 443 (HTTPS) can be allowed from public IP addresses using a standard NSG rule with the source set to 'Any' or a specific public IP address; an application security group is not required for this purpose.

When would these options actually be correct?

A

This would be correct if the question described a different rule evaluation order, such as in a hypothetical scenario where NSG rules are evaluated from highest to lowest priority number, or if the question asked about the default evaluation order of custom routes instead of NSG rules.

C

This would be correct if the question stated that Azure NSGs cannot allow inbound traffic from public IP addresses when the VM is in a virtual network that uses forced tunneling, or if the NSG is associated with a subnet that has a route table directing all traffic to a firewall. In those cases, the NSG rule might be ineffective, but the statement itself is false.

D

In a scenario where a VM's NIC has an NSG with a rule that specifies an application security group as the source, but the VM is not a member of that ASG, causing traffic to be denied. The question would state that the rule uses an ASG source and the VM is not in the ASG.

Why candidates pick the wrong answer

A

Candidates may confuse NSG priority with other numbering systems (e.g., route tables where lower metric is preferred) or mistakenly think higher numbers mean higher priority.

C

Candidates may mistakenly believe that Azure NSGs only support private IP ranges or that public IPs must be handled differently, confusing NSG capabilities with Azure Firewall or other network security features.

D

Candidates may confuse application security groups with network security groups, thinking that ASGs are mandatory for allowing traffic from the internet, when in fact ASGs are used to group VMs and simplify rule management, not to enable internet connectivity.

693
MCQmedium

The operations team wants an email and SMS notification whenever any production virtual machine's average CPU stays above 85 percent for 10 minutes. They also want to reuse the same notification targets for future alerts. What should they configure?

A.A diagnostic setting on each VM that sends metrics to a storage account
B.An action group attached to a metric alert rule
C.A Log Analytics query alert with no notification target
D.A resource lock on the virtual machines
AnswerB

An action group centralizes the email and SMS targets, and a metric alert can evaluate CPU percentage over a 10-minute window. Linking the alert to the action group gives the team reusable notifications for future monitoring rules without recreating contact information each time.

Why this answer

An action group in Azure Monitor defines the notification targets (email, SMS, etc.) for alerts, and a metric alert rule can be configured to trigger when the average CPU percentage exceeds 85% for 10 minutes. By attaching the same action group to multiple alert rules, the operations team can reuse the notification targets for future alerts without reconfiguring them each time.

Exam trap

The trap here is that candidates often confuse diagnostic settings (which only export data) with alert rules that require an action group to deliver notifications, or they mistakenly think a resource lock can provide monitoring capabilities.

Why the other options are wrong

A

A diagnostic setting sending metrics to a storage account only archives data for later analysis; it does not trigger real-time notifications like email or SMS when CPU exceeds a threshold.

C

A Log Analytics query alert with no notification target cannot send email or SMS notifications, which is a core requirement of the question.

D

Resource locks prevent accidental deletion or modification of resources but do not provide any monitoring or notification capabilities for performance metrics like CPU usage.

When would these options actually be correct?

A

If the question asked for long-term retention of VM performance metrics for compliance or auditing purposes, configuring a diagnostic setting to stream metrics to a storage account would be correct.

C

This option would be correct if the question asked for a way to analyze historical CPU trends across multiple VMs without requiring immediate notifications, and the team planned to add notification targets later via an action group.

D

A resource lock would be correct in a scenario where the question asks how to prevent accidental deletion or modification of critical virtual machines, such as production VMs, to ensure they are not inadvertently removed or altered.

Why candidates pick the wrong answer

A

Candidates may confuse diagnostic settings with alerting, thinking that sending metrics to storage enables notifications, or they may overlook the requirement for immediate notification.

C

Candidates may think a Log Analytics query alert is necessary for complex metric conditions like average CPU over 85% for 10 minutes, but a metric alert rule can handle this directly without Log Analytics.

D

Candidates might confuse resource locks with a security or management feature that could be used to 'lock down' monitoring settings, not realizing locks have no effect on alerting or notifications.

694
MCQmedium

A team has Windows VMs in a subnet that need to access an Azure Storage account. The storage account should remain reachable through its public endpoint, but only traffic from that one subnet should be allowed. Which configuration best meets the requirement?

A.Create a private endpoint and disable public network access on the storage account.
B.Enable a service endpoint on the subnet and add a virtual network rule for that subnet on the storage account firewall.
C.Place the subnet behind a NAT gateway and use a shared public IP.
D.Add a VPN gateway and route storage traffic through the branch office.
AnswerB

A service endpoint lets resources in the subnet access the storage account through the service's public endpoint while presenting the subnet's Azure identity to the firewall. By adding a virtual network rule for that subnet, the storage account allows traffic from that subnet and blocks traffic from others. This satisfies the requirement to keep the public endpoint and restrict access to a single subnet.

Why this answer

A service endpoint extends the virtual network private address space to the storage account, allowing traffic from the specified subnet to reach the storage account via the Azure backbone while keeping the public endpoint accessible. By adding a virtual network rule on the storage account firewall, you restrict access to only traffic originating from that subnet, meeting the requirement of allowing only that subnet through the public endpoint.

Exam trap

The trap here is that candidates often confuse service endpoints with private endpoints, thinking that a private endpoint is required to restrict access to a specific subnet, but service endpoints with firewall rules achieve the same goal while keeping the public endpoint accessible.

Why the other options are wrong

A

The requirement states the storage account must remain reachable through its public endpoint, but option A disables public network access, which violates that condition.

C

A NAT gateway provides outbound internet access but does not restrict inbound access to the storage account to a specific subnet; it only changes the source IP for outbound traffic, so the storage account firewall cannot filter by subnet.

D

A VPN gateway routes traffic over an encrypted tunnel to a branch office, not directly to Azure Storage. It does not restrict storage access to a specific subnet's traffic; instead, it adds unnecessary complexity and latency.

When would these options actually be correct?

A

When the requirement is to completely isolate the storage account from the public internet and allow access only from a specific virtual network, such as for a highly sensitive application that must not be exposed to any public endpoint.

C

If the requirement were to allow VMs in a subnet to access the internet (e.g., for updates) while hiding their private IPs behind a single public IP, a NAT gateway would be the correct solution.

D

A question requiring secure, encrypted connectivity from an on-premises network to Azure resources, such as 'A company needs to connect its branch office to Azure VMs over the internet with encrypted traffic.' In that case, a VPN gateway would be correct.

Why candidates pick the wrong answer

A

Candidates may think that private endpoints are the standard for secure access and overlook the explicit requirement to keep the public endpoint enabled.

C

Candidates may confuse NAT gateway with service endpoints, thinking that a shared public IP can be used in a storage firewall rule to restrict access, but storage firewalls cannot filter by NAT gateway public IPs.

D

Candidates may think a VPN gateway provides a secure, private connection to Azure Storage, confusing site-to-site VPN with subnet-level access control, and overlook that the requirement is about restricting access from a specific subnet, not encrypting traffic.

695
MCQeasy

A user accidentally deleted a file from an Azure VM. The administrator wants to recover only the deleted file from the most recent backup instead of restoring the entire VM. What should the administrator use?

A.File recovery from the Azure Backup restore process
B.A new VM image
C.A metric alert
D.An NSG flow log
AnswerA

File recovery lets the administrator mount or browse backup data and restore only the needed files instead of the full VM.

Why this answer

Azure Backup's file-level recovery (also known as item-level restore) allows you to recover individual files or folders from a VM backup point without restoring the entire VM. This is achieved by mounting the recovery point as a drive on the same or another VM, enabling direct file copy. Option A is correct because this feature is specifically designed for granular recovery of deleted files from the most recent backup.

Exam trap

The trap here is that candidates may confuse Azure Backup's full VM restore with its file-level recovery capability, assuming that only a complete VM restore is possible from a backup.

Why the other options are wrong

B

A new VM image would require creating an entirely new VM from a captured image, which does not allow selective file recovery from a backup. It would not restore the deleted file without redeploying the whole VM.

C

A metric alert monitors performance metrics (e.g., CPU, memory) and triggers notifications; it cannot recover deleted files from backups.

D

NSG flow logs capture IP traffic through a network security group, not file-level recovery from backups. They are used for network monitoring and troubleshooting, not for restoring deleted files.

When would these options actually be correct?

B

This option would be correct if the question asked for deploying multiple identical VMs from a customized configuration, such as scaling out a web application using a pre-configured VM image stored in Azure Compute Gallery.

C

An administrator needs to be notified when CPU usage exceeds 90% on a critical Azure VM to scale out resources automatically.

D

An administrator needs to analyze network traffic to or from a specific Azure VM to identify a security breach. NSG flow logs would be the correct tool to enable and query for this purpose.

Why candidates pick the wrong answer

B

Candidates may think creating a new VM image from the current VM state could serve as a backup, but it does not support granular file-level recovery from a specific backup point.

C

Candidates may confuse alerting with recovery actions, thinking an alert can trigger a file restore process.

D

Candidates may confuse NSG flow logs with backup logs or think they provide a way to recover data by analyzing network activity, not understanding their focus on network traffic metadata.

696
MCQeasy

Your team wants every protected Azure VM in a vault to be backed up once each day and kept for 30 days. Which Recovery Services vault setting should you configure?

A.A diagnostic setting
B.A resource lock
C.A backup policy
D.An action group
AnswerC

A backup policy defines when backups run and how long recovery points are retained, which matches the daily backup and 30-day retention requirement.

Why this answer

A backup policy defines the frequency and retention duration for backups. By configuring a backup policy with a daily backup schedule and a retention period of 30 days, you ensure that each protected Azure VM in the Recovery Services vault is backed up once per day and the backups are kept for 30 days. This is the correct setting to meet the team's requirements.

Exam trap

The trap here is that candidates may confuse a backup policy with other vault settings like diagnostic settings or resource locks, thinking they control backup frequency or retention, when in fact only the backup policy directly defines the schedule and retention for protected items.

Why the other options are wrong

A

A diagnostic setting configures logging and metrics for the vault, not backup schedules or retention. It does not control how often backups occur or how long they are kept.

B

A resource lock prevents accidental deletion or modification of the Recovery Services vault, but it does not configure backup frequency or retention. The question asks for a setting that defines backup schedule and retention, which is a backup policy.

D

An action group is used to define notifications and actions triggered by Azure Monitor alerts, not to configure backup schedules or retention. Backup frequency and retention are set via a backup policy.

When would these options actually be correct?

A

A diagnostic setting would be correct if the question asked: 'You need to send Azure Backup audit logs to a Log Analytics workspace for analysis. Which Recovery Services vault setting should you configure?'

B

A resource lock would be correct if the question asked: 'You want to prevent accidental deletion of a Recovery Services vault. Which setting should you configure?'

D

An action group would be correct if the question asked: 'You need to send an email to the operations team when a backup job fails. Which Recovery Services vault setting should you configure?'

Why candidates pick the wrong answer

A

Candidates may confuse diagnostic settings with backup policies because both involve configuration of the vault, and they might think 'diagnostic' relates to checking backup health or frequency.

B

Candidates may confuse resource locks with backup policies because both are associated with protecting resources, but locks protect the vault itself, not the backup schedule.

D

Candidates may confuse action groups with backup policies because both are associated with Recovery Services vaults and involve configuring responses to backup events, but action groups handle alerts, not schedules or retention.

697
MCQeasy

A customer-facing application runs on two Azure VMs. The business wants the application to stay available even if one datacenter in the Azure region has an outage. Which availability option should the administrator use?

A.Availability set
B.Availability zones
C.Proximity placement group
D.Azure Load Balancer
AnswerB

Availability zones place resources in physically separate datacenters within the same Azure region. That gives the application protection against a full datacenter failure, which is the scenario described. When the workload must survive a zone outage, zones are the right resiliency choice rather than a same-datacenter availability set.

Why this answer

Availability Zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. By deploying the two VMs into different zones, the application remains available if one entire datacenter fails, meeting the requirement for datacenter-level fault tolerance.

Exam trap

The trap here is that candidates confuse Availability Sets (which protect against rack-level failures within one datacenter) with Availability Zones (which protect against full datacenter outages), leading them to choose the cheaper but insufficient option A.

Why the other options are wrong

A

Availability sets protect against rack-level failures within a single datacenter, not against an entire datacenter outage. They do not provide cross-datacenter redundancy.

C

Proximity placement groups reduce network latency by keeping VMs close together, but they do not protect against datacenter-level outages. The question requires resilience across datacenters, which proximity placement groups cannot provide.

D

Azure Load Balancer distributes traffic across VMs but does not protect against a datacenter outage within a region; it requires VMs in separate availability zones or regions to provide that resilience.

When would these options actually be correct?

A

An administrator needs to ensure high availability for two VMs within a single datacenter, protecting against hardware failures or updates within the same datacenter. The question would specify 'within a single datacenter' or 'rack-level failure'.

C

A question asks: 'An application requires the lowest possible network latency between two VMs for a high-performance computing workload. Which option should be used?' In that scenario, a proximity placement group is correct because it ensures VMs are in the same datacenter to minimize latency.

D

An administrator needs to distribute incoming traffic across multiple VMs in the same region to improve application responsiveness and provide fault tolerance for VM-level failures, but the question does not require protection against a full datacenter outage.

Why candidates pick the wrong answer

A

Candidates often confuse availability sets with availability zones, thinking both provide datacenter-level redundancy, but availability sets only protect against failures within one datacenter.

C

Candidates may confuse the goal of high availability with low latency, thinking that grouping VMs closely together ensures availability, but proximity placement groups actually increase the risk of simultaneous failure.

D

Candidates may think a load balancer inherently provides high availability across datacenters, but it only distributes load; without VMs in separate zones, it cannot survive a zone failure.

698
MCQmedium

Based on the exhibit, which change should you make so the VM reaches the blob service over a private IP address?

A.Enable a service endpoint on the subnet and keep the current DNS configuration.
B.Create a private endpoint for the storage account and link the appropriate private DNS zone.
C.Assign the VM a public IP address and allow it through the storage firewall.
D.Add the VM to a network security group that allows outbound TCP 443 to Azure Storage.
AnswerB

A private endpoint gives the storage service a private IP address inside the VNet, and private DNS ensures the blob name resolves to that private address. That directly matches the requirement to reach the service privately while keeping public network access disabled.

Why this answer

A private endpoint assigns the storage account a private IP address from the VM's virtual network, enabling direct connectivity over a private IP. Linking the private endpoint to a private DNS zone ensures that the storage account's FQDN resolves to the private IP instead of the public endpoint, meeting the requirement without exposing traffic to the internet.

Exam trap

The trap here is that candidates confuse service endpoints (which only provide firewall-level access via the public endpoint) with private endpoints (which provide a true private IP address and private DNS resolution), leading them to choose Option A incorrectly.

Why the other options are wrong

A

Service endpoints provide access to Azure Storage over the Azure backbone network but still use a public endpoint, not a private IP address. The question requires the VM to reach the blob service over a private IP address, which only a private endpoint can provide.

C

Assigning a public IP and allowing it through the storage firewall enables internet-based access, not private IP address connectivity. The question requires the VM to reach the blob service over a private IP, which a public IP cannot provide.

D

Adding the VM to an NSG that allows outbound TCP 443 to Azure Storage does not ensure the VM reaches the blob service over a private IP address; it only permits outbound traffic to the public endpoint of the storage account, not private connectivity.

When would these options actually be correct?

A

If the question asked for a method to ensure traffic from the VM to the storage account stays within the Azure network without traversing the internet, and private IP was not a requirement, enabling a service endpoint on the subnet would be correct.

C

This option would be correct if the question asked how to allow an on-premises VM with a public IP to access a storage account that has a firewall configured to block all traffic except from specific public IPs.

D

This option would be correct if the question asked: 'Which action should you take to ensure the VM can access the blob service over the internet while the storage account firewall is enabled?' In that scenario, allowing outbound TCP 443 via NSG and adding the VM's public IP to the storage firewall would be appropriate.

Why candidates pick the wrong answer

A

Candidates may confuse service endpoints with private endpoints, thinking both provide private IP connectivity, or they may assume that enabling a service endpoint is sufficient to meet the requirement of private IP access.

C

Candidates may think that adding a public IP and firewall rule is a straightforward way to grant access, overlooking the requirement for private IP connectivity and the existence of private endpoints.

D

Candidates may think that allowing outbound traffic to Azure Storage via NSG is sufficient for private connectivity, confusing network security rules with private IP routing. They might overlook the need for a private endpoint or service endpoint to achieve private IP communication.

699
MCQmedium

A user accidentally deleted a folder tree from an Azure file share. The administrator needs to restore only the deleted folders to the state they had yesterday, not roll back the whole share. Which feature should be used?

A.Restore the entire storage account from an account-level backup.
B.Use a file share snapshot and copy the needed folders back from it.
C.Enable blob versioning on the storage account and recover the folders from versions.
D.Create a shared access signature with read permissions and use it to recover the folder tree.
AnswerB

Azure Files snapshots capture point-in-time versions of a file share. By using the snapshot, the administrator can browse the earlier state and copy back only the deleted folders, which avoids restoring the entire share and minimizes impact on current data. This is the right operational recovery method when you need granular recovery of file content after accidental deletion.

Why this answer

Azure file share snapshots provide a point-in-time, read-only copy of the share. By mounting a snapshot taken yesterday, the administrator can browse the folder tree and copy only the deleted folders back to the live share, restoring them without affecting other data. This is the only option that allows granular, folder-level recovery without rolling back the entire share or storage account.

Exam trap

The trap here is that candidates confuse Azure Files with Azure Blob Storage and incorrectly assume blob versioning or blob-level features apply to file shares, or they think a SAS token can somehow restore deleted data, when in fact only file share snapshots provide the necessary point-in-time, granular recovery for Azure Files.

Why the other options are wrong

A

Restoring the entire storage account from an account-level backup would roll back all data in the account, not just the deleted folders, and would affect other shares and blobs, which is not the requirement.

D

A shared access signature (SAS) with read permissions allows reading files but does not provide any restore or rollback capability for deleted folders in an Azure file share.

When would these options actually be correct?

A

If the question asked to recover the entire storage account to a previous state after a catastrophic failure or accidental deletion of multiple shares/blobs, then restoring from an account-level backup would be appropriate.

D

A user needs to grant temporary read-only access to a specific folder tree in an Azure file share to an external auditor, without sharing the storage account key. A SAS with read permissions on that folder would be the correct solution.

Why candidates pick the wrong answer

A

Candidates may think that a full backup is the safest option and overlook the requirement to restore only specific folders without impacting other data.

D

Candidates may confuse SAS as a general recovery tool because it can grant access to data, but they overlook that it cannot restore deleted items or revert to previous states.

700
Multi-Selecthard

A backup operations team exports Recovery Services vault logs to Log Analytics. They need a query that returns only failed backup jobs from the last 24 hours and displays just the vault name, protected item name, and error description. Which two KQL operators should the query include? Select two.

Select 2 answers
A.where
B.project
C.summarize
D.join
E.extend
AnswersA, B

The where operator filters rows based on a boolean predicate, evaluating each row and retaining only those that satisfy the condition. In this scenario, it is the correct choice because the team must return only failed jobs from the last 24 hours, which requires a row-level filter such as Status == "Failed" and TimeGenerated >= ago(24h). Without where, the query would include all jobs regardless of status or time, making it impossible to isolate the specific failed backup operations.

Why this answer

The `where` operator filters the Log Analytics data to include only rows where the backup job status equals 'Failed' and the timestamp falls within the last 24 hours. This is essential for narrowing down the dataset to the specific failed jobs the team needs.

Exam trap

The trap here is that candidates often confuse `extend` with `project`—both can manipulate columns, but only `project` drops all unlisted columns, while `extend` keeps all original columns and adds new ones, failing to limit the output to the required fields.

Why the other options are wrong

C

The query needs to filter rows (where) and select columns (project), not aggregate data. summarize would group rows and compute aggregates, which is unnecessary for simply listing failed jobs.

D

The query only needs data from a single table (the backup jobs log), so there is no need to combine rows from two tables. The 'join' operator is used to merge rows from multiple tables based on a key, which is irrelevant here.

E

The 'extend' operator adds a new calculated column to the result set, but the question only requires filtering existing columns and selecting specific columns, not creating new ones.

When would these options actually be correct?

C

If the question asked for the count of failed jobs per vault or per protected item, summarize with count() would be required to produce the aggregated result.

D

A question that asks to correlate backup job failures with the corresponding vault properties stored in a separate table, e.g., 'Return the vault name and error description for failed jobs, joining the backup jobs table with the vault metadata table on vault ID.'

E

A question that asks to add a new column, such as calculating the duration of backup jobs from start and end times, would require 'extend'.

Why candidates pick the wrong answer

C

Candidates may think summarize is needed to 'summarize' the error descriptions, but the requirement is to list individual failed jobs, not aggregate them.

D

Candidates may mistakenly think that because the query involves multiple data points (vault name, protected item, error), they need to join tables, not realizing all required fields are already in the same log table.

E

Candidates may think they need to 'extend' the query to include error descriptions, but the error description is already present in the source data and just needs to be projected.

701
MCQmedium

A records archive stores thousands of blobs that are usually read-only. The administrator wants blobs older than 90 days to move automatically to a lower-cost online tier without manual intervention. Which solution should be configured?

A.Manually change each blob tier when the archive team remembers to review it.
B.Create a blob lifecycle management policy with a rule that moves blobs after 90 days.
C.Enable object replication so the blobs are copied to another storage account.
D.Move the account to the Archive access tier and leave it there permanently.
AnswerB

A lifecycle management policy automates tier transitions based on blob age, last access time, or other conditions. In this case, the administrator can create a rule that moves blobs older than 90 days from a higher-cost tier to a lower-cost online tier, such as Cool, without manual work. This is the right control because it enforces a repeatable storage cost strategy over time.

Why this answer

Azure Blob Storage lifecycle management policies allow you to define rules that automatically transition blobs to a lower-cost access tier (e.g., from Hot to Cool or from Cool to Archive) based on the age of the blob. In this scenario, a rule can be configured to move blobs older than 90 days to the Cool or Archive tier without any manual intervention, meeting the requirement for automated cost optimization.

Exam trap

The trap here is that candidates often confuse object replication (which copies data for redundancy) with lifecycle management (which changes the tier of existing blobs), or they assume that setting the entire account to Archive is equivalent to per-blob tiering, ignoring the operational impact on frequently accessed data.

Why the other options are wrong

A

Manually changing blob tiers requires ongoing human intervention, which contradicts the requirement for automatic movement without manual effort.

D

Moving the entire storage account to the Archive tier permanently would make all blobs inaccessible for immediate reads (requiring rehydration) and incurs higher costs for blobs that are accessed frequently. The question requires a lower-cost online tier, and Archive is an offline tier with higher retrieval costs and latency.

When would these options actually be correct?

A

If the question specified a one-time migration or a scenario where automation is not possible due to compliance or security restrictions, manual tier changes might be acceptable.

D

A question where blobs must be stored at the absolute lowest cost and are never expected to be read again (e.g., regulatory compliance data that must be retained but never accessed). The scenario would specify that immediate access is not required and rehydration costs are acceptable.

Why candidates pick the wrong answer

A

Candidates may think manual review is a simple solution and overlook the automation requirement, or they may underestimate the volume of blobs involved.

D

Candidates may think Archive is the cheapest tier and assume moving the entire account is simpler than configuring lifecycle policies, overlooking that Archive is offline and incurs high retrieval costs.

702
Matchingmedium

Match each access requirement to the most appropriate Azure Storage authentication or authorization approach.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Enable a managed identity on the VM and assign a data-plane RBAC role

User delegation SAS

Storage account key

Azure RBAC data role assignment

Why these pairings

SAS provides delegated access; Azure AD authentication uses identity; public access allows anonymous reads; RBAC controls permissions; Azure AD DS extends on-prem AD; Service SAS can include IP restrictions.

703
MCQhard

A new Windows VM must be deployed with an application installed, a configuration file copied from a storage account, and a bootstrap script run automatically after the operating system is provisioned. The operations team does not want to log in manually after deployment. What should they use?

A.A Custom Script Extension attached to the VM during provisioning.
B.Azure Bastion to connect through the browser and complete setup interactively.
C.A managed identity assigned to the VM without any extensions.
D.An availability set so the VM comes online faster during provisioning.
AnswerA

The Custom Script Extension is the standard Azure mechanism for automated post-deployment configuration. When attached during provisioning, it downloads and runs your PowerShell script (or Bash on Linux) as SYSTEM, allowing the application to be installed before the VM is marked ready. Unlike manual methods, it requires no interactive logon and is fully automatable via ARM templates, CLI, or PowerShell.

Why this answer

The Custom Script Extension (CSE) is the correct choice because it allows you to run a PowerShell or Bash script automatically after the VM is provisioned. This script can install applications, download configuration files from Azure Storage using a managed identity or SAS token, and execute bootstrap commands—all without any manual login. CSE is the standard Azure mechanism for post-deployment configuration automation on both Windows and Linux VMs.

Exam trap

The trap here is that candidates often confuse Azure Bastion (a connectivity tool) with an automation tool, or they assume a managed identity alone can run scripts, when in fact it only provides authentication and must be paired with an extension or custom code to perform actions.

Why the other options are wrong

B

Azure Bastion provides secure RDP/SSH access to VMs via the browser, but it requires manual login and interactive setup, which contradicts the requirement to avoid manual intervention after provisioning.

C

A managed identity alone provides authentication to Azure resources but does not execute scripts or install applications. The question requires automated deployment of an application, copying a configuration file, and running a bootstrap script, which a managed identity cannot perform without an extension like Custom Script Extension.

D

An availability set is used for high availability by distributing VMs across fault and update domains, not for automating software installation or configuration after provisioning.

When would these options actually be correct?

B

A question that requires secure, browser-based remote access to a VM without exposing a public IP, and where interactive configuration is acceptable (e.g., troubleshooting or one-time setup).

C

A managed identity would be correct if the question asked for a secure way to authenticate a VM to Azure resources (e.g., accessing a storage account) without storing credentials, and the deployment tasks were handled separately by another mechanism like Azure Automation or a configuration management tool.

D

A question asks: 'You need to ensure that two VMs hosting a web application are not updated simultaneously during planned maintenance. What should you use?' In that case, an availability set would be correct.

Why candidates pick the wrong answer

B

Candidates may think Bastion can automate setup because it's a management tool, or they confuse it with extensions that run scripts, not realizing Bastion only facilitates interactive sessions.

C

Candidates may confuse managed identity with automation capabilities, thinking it can run scripts or install software, when it only provides identity-based access to Azure services.

D

Candidates may confuse availability sets with automation features, thinking they help speed up provisioning or include built-in scripting capabilities.

704
MCQmedium

A finance application stores monthly invoice PDFs in Azure Blob Storage. The business wants the data to remain available if one availability zone in the region becomes unavailable, but it does not require a secondary region for read access. Which redundancy option should the administrator choose?

A.LRS, because it keeps three copies within a single datacenter and is the least expensive option.
B.ZRS, because it replicates data across zones in the same region and stays available through a zone outage.
C.GRS, because it keeps a readable copy in the paired region and is always the best choice for resilience.
D.RA-GRS, because it provides read access to the secondary region and is required for zone-level resilience.
AnswerB

Zone-redundant storage (ZRS) synchronously replicates your invoice PDFs across three distinct availability zones within the same region, so if any single zone suffers an outage, the data remains available and no downtime occurs. This directly satisfies the requirement to survive a zone failure while keeping the design simple by avoiding a secondary region. Unlike LRS, ZRS prevents zone-level data loss; unlike GRS or RA-GRS, it does so without cross-region replication overhead.

Why this answer

B is correct because Zone-Redundant Storage (ZRS) synchronously replicates data across three Azure availability zones within the same region, ensuring that if one zone becomes unavailable, the data remains accessible from the other zones. This meets the business requirement of staying available during a zone outage without needing a secondary region for read access.

Exam trap

The trap here is that candidates often confuse ZRS with LRS, assuming that three copies in a single datacenter (LRS) are sufficient for zone-level resilience, when in fact LRS does not span availability zones and offers no protection against a full zone outage.

Why the other options are wrong

A

LRS replicates data within a single datacenter, not across availability zones, so it cannot survive an entire zone outage.

C

GRS replicates data to a paired secondary region, which is unnecessary because the question explicitly states that a secondary region is not required for read access. It also costs more than ZRS and does not provide zone-level resilience within the primary region.

D

RA-GRS provides read access to a secondary region, but the question explicitly states that a secondary region is not required. The requirement is only for zone-level resilience within the same region, which ZRS fulfills.

When would these options actually be correct?

A

A question requiring the lowest-cost redundancy option with no zone or region outage requirement, e.g., 'Which redundancy option minimizes cost for non-critical data that can be recreated?'

C

A question that requires data to remain available even if an entire region becomes unavailable, and the business needs a secondary region for disaster recovery without requiring immediate read access to the secondary copy.

D

RA-GRS would be correct if the question required both zone-level resilience within a region AND read access to a secondary region for disaster recovery or compliance purposes, such as when auditors need read-only access to data in a geographically separate location.

Why candidates pick the wrong answer

A

Candidates may think LRS is sufficient because it provides three copies, overlooking that all copies are in one zone and thus vulnerable to zone failure.

C

Candidates may think GRS is always the best for resilience, overlooking that the question specifies a single-region zone outage scenario, not a regional disaster.

D

Candidates may confuse RA-GRS with ZRS, thinking that the 'R' in RA-GRS stands for 'zone' or that read-access geo-redundancy automatically includes zone-level protection, when in fact RA-GRS does not replicate across zones within the primary region.

705
Multi-Selecteasy

A reporting team wants a storage redundancy option that keeps a readable copy in the paired region. Which two choices provide read access to the secondary region? Select two.

Select 2 answers
A.Read-access geo-redundant storage (RA-GRS).
B.Read-access geo-zone-redundant storage (RA-GZRS).
C.Locally redundant storage (LRS).
D.Zone-redundant storage (ZRS).
E.Geo-redundant storage (GRS).
AnswersA, B

Read-access geo-redundant storage (RA-GRS) is correct because it synchronously copies data three times within a single physical location in the primary region, then asynchronously replicates to a paired secondary region, and critically exposes that secondary endpoint for read-only access. For a reporting team, this means reports can be served from the secondary region even without a formal failover, enabling read-heavy workloads and improving availability. The secondary copy remains readable even if the primary region suffers an outage, which is why RA-GRS is the minimum redundancy level commonly recommended for reporting and BI workloads.

Why this answer

Read-access geo-redundant storage (RA-GRS) is correct because it provides geo-redundant storage (GRS) with the additional capability to read from the secondary region. This ensures that if the primary region becomes unavailable, the reporting team can still access a readable copy of the data in the paired region. RA-GRS replicates data asynchronously to a secondary region and allows read access to that secondary copy at all times.

Exam trap

The trap here is that candidates often confuse geo-redundant storage (GRS) with read-access geo-redundant storage (RA-GRS), mistakenly assuming GRS automatically provides read access to the secondary region, but GRS only allows read access after a failover, not continuously.

Why the other options are wrong

C

LRS does not replicate data to a secondary region, so it cannot provide read access to a paired region. It only maintains three synchronous copies within a single datacenter.

D

Zone-redundant storage (ZRS) replicates data synchronously across three Azure availability zones within a single region, but does not provide any replication to a secondary region, so it cannot offer read access to a paired region.

E

GRS provides geo-redundancy but does not include read access to the secondary region; read access requires RA-GRS or RA-GZRS.

When would these options actually be correct?

C

A question asking for the lowest-cost storage option that provides durability within a single datacenter, with no requirement for cross-region replication or read access to a secondary region.

D

A question that asks for a storage redundancy option providing high availability within a single region by replicating across availability zones, without requiring cross-region replication or read access to a secondary region.

E

A question that asks for a storage redundancy option that replicates data to a paired region for disaster recovery, but does not require read access to the secondary region. For example: 'Which storage redundancy option provides the highest durability by replicating data to a secondary region without enabling read access?'

Why candidates pick the wrong answer

C

Candidates may confuse LRS with geo-redundant options, mistakenly thinking 'locally' implies a secondary region, or they may overlook the explicit requirement for read access in the paired region.

D

Candidates may confuse 'zone-redundant' with 'geo-redundant' due to similar terminology, or mistakenly think that ZRS includes a secondary region copy because it offers resilience across zones.

E

Candidates may confuse GRS with RA-GRS, assuming that geo-redundancy automatically includes read access to the secondary region, or they may overlook the 'read access' requirement in the question.

706
MCQmedium

You need to allow RDP access from the internet to a Windows VM named VM-Admin01 in Azure. The VM already has a public IP address. Which additional configuration is required?

A.A private DNS zone
B.An NSG rule allowing inbound TCP 3389
C.A user-defined route to Azure Monitor
D.A blob lifecycle management rule
AnswerB

An NSG rule allowing inbound TCP 3389 is the correct solution because RDP uses port 3389, and Azure Network Security Groups filter traffic at the subnet or NIC level. Without an explicit inbound allow rule for TCP 3389, the default NSG rules deny all inbound internet traffic, so the VM remains unreachable. Associating the NSG with the VM's subnet or NIC and specifying source as 'Internet' and destination port 3389 as 'Allow' grants the required RDP access.

Why this answer

An NSG (Network Security Group) rule allowing inbound TCP port 3389 is required to permit Remote Desktop Protocol (RDP) traffic from the internet to reach the Windows VM. Even though the VM has a public IP address, Azure NSGs act as a stateful firewall at the subnet or NIC level, and by default all inbound traffic is denied unless explicitly allowed. Without this rule, RDP connection attempts will be blocked.

Exam trap

The trap here is that candidates assume a public IP address alone is sufficient for inbound internet access, forgetting that Azure VMs are protected by a default-deny NSG that must explicitly allow inbound traffic like RDP.

Why the other options are wrong

A

A private DNS zone resolves names within a virtual network, not for internet RDP access. RDP requires an NSG rule allowing inbound TCP 3389.

C

A user-defined route (UDR) to Azure Monitor is used to direct network traffic to Azure Monitor for diagnostics or monitoring, not to enable RDP access. RDP access requires an NSG rule allowing inbound TCP 3389, not a custom route.

D

A blob lifecycle management rule manages tiering or deletion of blob storage data, not network access to a VM. It has no relevance to enabling RDP connectivity.

When would these options actually be correct?

A

You need to enable custom domain name resolution for VMs in a virtual network, such as resolving 'vm-admin01.contoso.com' to a private IP within Azure.

C

A question where you need to ensure that network traffic from a VM to Azure Monitor (e.g., for Log Analytics or diagnostics) goes through a specific network virtual appliance (NVA) or firewall, rather than the default internet route. For example: 'You need to route all traffic from a VM to Azure Monitor through a firewall for inspection.'

D

You need to automatically move blobs in a storage account to cool or archive tier after a certain number of days to optimize costs. A lifecycle management rule would be the correct solution.

Why candidates pick the wrong answer

A

Candidates may confuse DNS configuration with network security, thinking DNS is needed for name resolution to connect via RDP.

C

Candidates may confuse routing (UDR) with security (NSG) or think that Azure Monitor is involved in managing network access, leading them to select a route-based solution for a connectivity problem.

D

Candidates may confuse lifecycle management with other management tasks, or mistakenly think it applies to VM access policies due to the word 'management'.

707
MCQmedium

A team has an existing storage account with the public endpoint enabled. They want to allow access only from a specific subnet in a virtual network, but they do not want to create a private endpoint or manage private DNS zones. Which configuration should the administrator use?

A.Enable a service endpoint for Microsoft.Storage on the subnet and add the subnet to the storage account network rules.
B.Create a private endpoint and disable the public endpoint.
C.Assign a SAS token to the subnet so only resources there can connect.
D.Use an Azure Policy assignment to block public traffic to the storage account.
AnswerA

This is the correct pattern when you want to keep using the public endpoint while restricting traffic to a specific subnet. The service endpoint identifies the subnet as trusted, and the storage account firewall can then allow that subnet explicitly. It avoids the overhead of private endpoint DNS management while still reducing exposure.

Why this answer

Enabling a service endpoint for Microsoft.Storage on the subnet allows traffic from that subnet to the storage account over the Azure backbone network, and then adding the subnet to the storage account's network rules restricts access to only that subnet while keeping the public endpoint enabled. This meets the requirement of not using a private endpoint or managing private DNS zones.

Exam trap

The trap here is that candidates often confuse service endpoints with private endpoints, thinking both require private DNS management, or mistakenly believe that a SAS token can be scoped to a network source, when in fact SAS tokens only control access to data operations, not network-level restrictions.

How to eliminate wrong answers

Option B is wrong because creating a private endpoint and disabling the public endpoint would require managing private DNS zones, which the team explicitly wants to avoid. Option C is wrong because a SAS token is a delegation mechanism that grants access to specific resources (e.g., blobs, files) via a signed URI, but it cannot restrict access to a specific subnet; it is scoped to the token holder, not the network source. Option D is wrong because Azure Policy can enforce compliance rules (e.g., deny public network access) but cannot selectively allow access from a specific subnet; it is a governance tool, not a network access control mechanism.

708
Multi-Selecthard

A stateless customer portal runs on Azure VMs and must keep serving traffic if an entire datacenter in the region fails. The operations team also wants the portal to add and remove instances automatically during daily spikes without managing a Kubernetes cluster. Which two Azure compute capabilities should the administrator configure? Select two.

Select 2 answers
A.Deploy the portal instances across availability zones.
B.Use a virtual machine scale set with autoscale enabled.
C.Place the VMs in an availability set within a single datacenter.
D.Create a proximity placement group for the portal VMs.
E.Use a single larger VM with premium managed disks.
AnswersA, B

Availability zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. By deploying the stateless portal instances across multiple zones, the application remains available even if an entire datacenter experiences an outage, because other zones continue to serve traffic. This configuration directly satisfies the requirement for high availability and should be paired with an Azure Load Balancer or Application Gateway to distribute requests across zone-redundant instances.

Why this answer

Availability zones protect against a full datacenter failure by distributing VM instances across physically separate datacenters within a region. This ensures that if one datacenter goes down, the portal continues serving traffic from the other zones. Combined with a load balancer, this provides high availability for stateless workloads.

Exam trap

The trap here is confusing availability sets (rack-level redundancy) with availability zones (datacenter-level redundancy), leading candidates to pick availability sets for a full datacenter failure scenario.

Why the other options are wrong

C

An availability set protects against rack-level failures within a single datacenter, not against an entire datacenter failure. The question requires resilience if a full datacenter fails, which availability sets cannot provide.

D

A proximity placement group reduces network latency between VMs but does not provide fault isolation across datacenters, so it cannot protect against an entire datacenter failure.

E

The question requires resilience across an entire datacenter failure and automatic scaling. A single larger VM with premium managed disks provides no redundancy—if the datacenter fails, the VM is lost—and does not support autoscaling to handle traffic spikes.

When would these options actually be correct?

C

If the question asked for high availability within a single datacenter (e.g., protecting against rack or hardware failures) and did not require cross-datacenter resilience, then placing VMs in an availability set would be correct.

D

If the question required minimizing network latency between VMs for a tightly coupled, high-performance computing workload (e.g., HPC or low-latency trading), a proximity placement group would be the correct choice.

E

If the question asked for a cost-effective, high-performance solution for a single VM workload that requires low latency and high IOPS, such as a database server, and did not require high availability or autoscaling, then using a single larger VM with premium managed disks would be correct.

Why candidates pick the wrong answer

C

Candidates may confuse availability sets with availability zones, thinking both provide similar fault tolerance, or they may overlook the 'entire datacenter fails' requirement and focus only on general high availability.

D

Candidates may confuse proximity placement groups with availability zones or sets, thinking they provide high availability, when they actually focus on co-location for low latency.

E

Candidates may think premium managed disks offer high availability or performance that compensates for lack of redundancy, or they may confuse premium disks with availability features, not realizing that a single VM is a single point of failure.

709
MCQmedium

A web API runs on a single Azure VM and must access Azure Key Vault without storing any credentials on the VM. The identity should be tied to that VM and removed when the VM is deleted. What should you enable?

A.A user-assigned managed identity
B.A system-assigned managed identity
C.A storage account shared access signature
D.A local administrator account with a strong password
AnswerB

A system-assigned managed identity is the correct choice because Azure automatically creates an Azure AD-backed identity for the VM and ties its lifecycle directly to that VM. No secrets or keys are ever stored in the application code or configuration; the VM obtains an access token through the Azure Instance Metadata Service (IMDS) endpoint. This identity can be granted the necessary permissions on Azure Key Vault, for example, by assigning the 'Key Vault Secrets User' role, enabling secure, credential-free access. When the VM is deleted, the identity is automatically removed, eliminating the risk of orphaned credentials.

Why this answer

A system-assigned managed identity is tied directly to the lifecycle of the Azure VM — it is created when the VM is provisioned and automatically deleted when the VM is deleted. This identity can be used to authenticate to Azure Key Vault without storing any credentials on the VM, using the Azure Instance Metadata Service (IMDS) endpoint to obtain tokens. This matches the requirement that the identity be removed when the VM is deleted.

Exam trap

The trap here is that candidates often confuse user-assigned managed identities with system-assigned ones, failing to recognize that only system-assigned identities are automatically deleted with the parent resource, while user-assigned identities persist independently.

Why the other options are wrong

A

A user-assigned managed identity is not automatically tied to the VM's lifecycle; it persists independently and must be manually deleted, whereas the question requires the identity to be removed when the VM is deleted.

C

A storage account shared access signature (SAS) is a token for delegated access to a storage account, not for accessing Key Vault. It does not provide an identity tied to a VM and would require storing the SAS token on the VM, violating the requirement to avoid credential storage.

D

A local administrator account with a strong password stores credentials on the VM, violating the requirement to avoid storing credentials. It also does not provide an identity tied to the VM that is automatically removed when the VM is deleted.

When would these options actually be correct?

A

When you need a managed identity that can be shared across multiple Azure resources (e.g., several VMs and a web app) and must persist even after a specific VM is deleted, a user-assigned managed identity is the correct choice.

C

When a question requires granting time-limited, delegated access to a specific Azure Storage resource (e.g., a blob or file share) without exposing the storage account key, and the access does not need to be tied to a VM identity. For example: 'You need to allow a client application to read a blob from a storage account for 1 hour without using the storage account key.'

D

This option would be correct in a scenario where the question asks for a method to authenticate to an Azure VM for remote desktop access without using Azure AD, and the VM is not joined to a domain. The strong password ensures secure local authentication.

Why candidates pick the wrong answer

A

Candidates may confuse user-assigned and system-assigned managed identities, assuming both are tied to the VM, but user-assigned identities are independent resources that are not automatically removed with the VM.

C

Candidates may confuse SAS with managed identities because both provide secure access without hardcoding credentials, but SAS is for storage access, not for VM identity-based access to Key Vault.

D

Candidates may think that a strong password is a secure way to access Key Vault, overlooking the requirement to avoid credential storage and the need for an identity that is automatically removed with the VM.

710
MCQmedium

A team wants one subnet to access an existing Storage account over its public endpoint. They do not want a private IP for the account or any DNS changes, but they want to block access from all other subnets. What should the administrator configure?

A.Create a private endpoint and disable public network access on the storage account.
B.Enable a service endpoint on the subnet and add a virtual network rule on the storage account.
C.Assign the Storage Blob Data Reader role to the subnet.
D.Associate a route table with a default route to the storage account private IP.
AnswerB

A service endpoint on the subnet gives the storage account visibility of that subnet's traffic while keeping the storage account's public endpoint. Adding a virtual network rule on the storage account then restricts access to only that specific subnet, so requests from other subnets or the internet are rejected. This approach preserves the existing endpoint and requires no DNS changes, making it the correct, minimal configuration for subnet-only access.

Why this answer

A service endpoint extends the virtual network's identity to the Azure Storage service, allowing the subnet to access the storage account over its public endpoint without requiring a private IP or DNS changes. By enabling a service endpoint on the subnet and adding a virtual network rule on the storage account, you restrict access to only that subnet while blocking all other subnets, meeting the team's requirements.

Exam trap

The trap here is that candidates often confuse service endpoints with private endpoints, assuming that private endpoints are required for secure access, but the question explicitly states no private IP or DNS changes are desired, making service endpoints the correct choice.

Why the other options are wrong

A

The question explicitly states the team does not want a private IP or DNS changes, but a private endpoint assigns a private IP and requires DNS configuration. Additionally, disabling public network access would block the subnet's access via the public endpoint, which contradicts the requirement to access over the public endpoint.

C

Assigning the Storage Blob Data Reader role to a subnet is not supported; RBAC roles can only be assigned to users, groups, or service principals, not to subnets. This action does not restrict network access to the storage account.

When would these options actually be correct?

A

When the requirement is to access the storage account privately from a subnet, without exposing it to the public internet, and DNS changes are acceptable. For example: 'A team wants to ensure that traffic to a storage account never leaves the Microsoft backbone network and they are willing to update DNS settings.'

C

When the question asks for granting read access to blob data for all resources in a subnet without changing network connectivity, such as allowing VMs in a subnet to read blobs via the public endpoint while using Azure AD authentication.

Why candidates pick the wrong answer

A

Candidates may confuse private endpoints with service endpoints, thinking both provide secure access, or they may overlook the explicit requirement to avoid private IPs and DNS changes, focusing instead on the security aspect of blocking other subnets.

C

Candidates may confuse Azure RBAC with network access controls, thinking that assigning a role to a subnet can control access, similar to how service endpoints or private endpoints work.

711
MCQeasy

A developer wants to give one Azure VM access to Azure Storage now, and that identity should be removed automatically if the VM is deleted. Which identity type should the administrator assign?

A.A user-assigned managed identity
B.A system-assigned managed identity
C.A storage account SAS token
D.An NSG service tag
AnswerB

A system-assigned managed identity is attached directly to one Azure resource, such as a VM, and Azure manages its lifecycle with that resource. If the VM is deleted, the identity is also removed automatically. This makes it the right choice when the identity should exist only for that VM.

Why this answer

A system-assigned managed identity is tied directly to the lifecycle of the Azure VM. When the VM is deleted, Azure automatically removes the identity from Azure AD and revokes any associated role assignments, fulfilling the developer's requirement for automatic cleanup. This identity is created and managed by Azure without any additional administrative overhead.

Exam trap

The trap here is that candidates confuse user-assigned managed identities with system-assigned ones, assuming both are automatically deleted, but only system-assigned identities are lifecycle-coupled to the resource.

Why the other options are wrong

A

A user-assigned managed identity persists independently of the VM lifecycle; it is not automatically deleted when the VM is deleted, failing the requirement for automatic removal.

C

A storage account SAS token provides time-limited access but is not tied to the VM's lifecycle; it does not automatically revoke access when the VM is deleted.

D

NSG service tags are used to define network access rules based on Azure services, not to provide identity for VM access to storage. They do not support automatic removal upon VM deletion.

When would these options actually be correct?

A

A user-assigned managed identity is correct when multiple Azure resources (e.g., several VMs or an App Service) need to share the same identity, or when the identity must be pre-created and assigned to a resource after creation, independent of the resource's lifecycle.

C

A question asking for a method to grant temporary, delegated access to a specific storage account resource (e.g., a blob or container) without requiring Azure AD authentication, where the access should be revocable by regenerating the token or waiting for its expiry.

D

An NSG service tag would be correct in a question about restricting network traffic from a VM to Azure Storage without using public IPs, such as: 'Which feature should you use to allow outbound traffic from a VM to Azure Storage without specifying IP ranges?'

Why candidates pick the wrong answer

A

Candidates may confuse user-assigned with system-assigned, thinking both are 'managed identities' and not realizing the key difference in lifecycle dependency on the resource.

C

Candidates may confuse SAS tokens with managed identities because both can grant access to Azure Storage without storing credentials in code, but SAS tokens lack automatic lifecycle management tied to the VM.

D

Candidates may confuse network-level access control (NSG service tags) with identity-based access, thinking a service tag can grant permissions to a VM to access storage.

712
MCQeasy

Based on the exhibit, a workload must remain available even if one datacenter in an Azure region becomes unavailable. The region supports zone deployment. What should the administrator configure?

A.An availability set.
B.Availability zones.
C.A resource lock.
D.A user-defined route.
AnswerB

Availability zones place resources in separate physically isolated datacenters within the same region. If one datacenter becomes unavailable, the workload can continue running in another zone. That is the correct resilience option when the requirement explicitly calls for protection from a datacenter-level outage.

Why this answer

Availability zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. Deploying the workload across two or more zones ensures that if one datacenter fails, the other zones continue to operate, maintaining availability. This directly meets the requirement of surviving a single datacenter outage within a region that supports zone deployment.

Exam trap

The trap here is that candidates often confuse availability sets (which protect against rack-level failures) with availability zones (which protect against entire datacenter failures), leading them to select the wrong answer when the question explicitly requires datacenter-level resilience.

Why the other options are wrong

A

An availability set protects against failures within a single datacenter (e.g., rack or hardware failure), not against the loss of an entire datacenter. The question requires resilience across datacenters, which availability sets cannot provide.

C

A resource lock prevents accidental deletion or modification of resources, but does not provide high availability or redundancy across datacenters. The question requires availability even if one datacenter fails, which resource locks cannot address.

D

User-defined routes (UDRs) control traffic flow between subnets or to on-premises networks, but they do not provide datacenter-level redundancy. The question requires availability even if one datacenter fails, which is achieved by distributing resources across availability zones, not by custom routing.

When would these options actually be correct?

A

If the question asked for high availability for VMs within a single datacenter (e.g., to protect against hardware failures during planned maintenance), an availability set would be the correct answer. For example: 'You need to ensure that at least one VM remains available during updates within the same datacenter.'

C

A resource lock would be correct in a scenario where the question asks for a mechanism to prevent accidental deletion or modification of critical resources, such as ensuring a production database cannot be deleted by mistake, without affecting availability or redundancy.

D

A user-defined route would be correct in a scenario where an administrator needs to force traffic through a network virtual appliance (NVA) for inspection, or to override Azure's default routing to send traffic to a hub network or on-premises via a VPN/ExpressRoute.

Why candidates pick the wrong answer

A

Candidates may confuse availability sets with availability zones, thinking both provide datacenter-level redundancy. They might also recall that availability sets distribute VMs across fault domains, which sounds similar to zone distribution.

C

Candidates may confuse resource locks with availability features, thinking that locking resources ensures they remain available, or they may misinterpret the question as asking for a way to protect resources from failure rather than ensuring uptime.

D

Candidates may confuse network-level redundancy (e.g., routing around a failed datacenter) with application-level redundancy, or they might think that custom routing can redirect traffic away from a failed datacenter, but UDRs do not handle datacenter failures—they only control path selection within the network.

713
MCQmedium

You deploy several Windows virtual machines and need to install Microsoft Antimalware on each VM without logging on manually. What should you use?

A.An NSG application security group.
B.A VM extension.
C.A route table.
D.A blob lifecycle rule.
AnswerB

A VM extension is the Azure resource-managed mechanism that delivers post-deployment configuration and automation tasks directly inside a Windows guest OS, such as running scripts via Custom Script Extension or applying Desired State Configuration. When you deploy Windows VMs and need to install software or make server-level changes, a VM extension is a supported, idempotent option that Azure tracks in the VM model. Unlike network constructs, extensions execute in the guest and are the correct answer.

Why this answer

VM extensions are small applications that provide post-deployment configuration and automation tasks on Azure VMs. The Microsoft Antimalware extension can be deployed to multiple VMs at scale via Azure PowerShell, CLI, ARM templates, or policies, enabling silent installation without manual login.

Exam trap

The trap here is that candidates confuse network-level controls (NSGs, route tables) or storage management (lifecycle rules) with VM-level software deployment, overlooking that VM extensions are the dedicated Azure mechanism for post-deployment configuration and software installation.

Why the other options are wrong

A

An NSG application security group is used to group virtual machines for network security rule application, not for installing software or extensions on VMs.

C

A route table controls network traffic routing between subnets and networks, not software installation on VMs. It cannot deploy or manage applications like Microsoft Antimalware.

D

Blob lifecycle rules manage the tiering or deletion of blob data in Azure Storage, not the installation of software on virtual machines.

When would these options actually be correct?

A

When the question asks how to control inbound/outbound traffic to a group of VMs based on application workloads, an NSG application security group would be the correct answer.

C

An exam question asks: 'You need to force all internet-bound traffic from a subnet to go through a network virtual appliance for inspection. What should you configure?' In that scenario, a route table with a user-defined route (UDR) pointing to the appliance would be correct.

D

A question asks how to automatically move blobs to cool storage after 30 days or delete them after 90 days to optimize costs.

Why candidates pick the wrong answer

A

Candidates may confuse network security with software deployment, thinking that an application security group can deploy applications.

C

Candidates may confuse route tables with policy-based management tools, thinking they can enforce software installation via network-level controls, or they may not fully understand the scope of VM extensions.

D

Candidates may confuse 'lifecycle' with 'automation' and think a rule can trigger software installation, but lifecycle rules only apply to storage blobs, not VMs.

714
MCQeasy

A developer already has permission to create resource groups. The company wants to allow deployments only in the East US and West US regions. Which service should enforce this rule?

A.Azure RBAC, because region selection is part of user permissions.
B.Azure Policy, because it can restrict which regions are allowed for deployments.
C.A network security group, because it can block unsupported regions.
D.A read-only lock, because it limits changes to approved regions.
AnswerB

This is correct because Azure Policy can enforce a list of allowed locations at deployment time. The developer may still have RBAC permission to create resources, but the policy can deny deployments outside East US and West US. That makes Policy the proper control for region compliance, while RBAC handles access rights separately.

Why this answer

Azure Policy is the correct service because it enforces organizational rules by evaluating resource configurations against policy definitions. In this scenario, a built-in or custom policy can restrict allowed regions for all resources, ensuring deployments only occur in East US and West US. Unlike RBAC, which controls who can perform actions, Azure Policy controls what resource configurations are permitted, making it the appropriate tool for region restriction.

Exam trap

The trap here is confusing Azure RBAC (who can act) with Azure Policy (what is allowed), leading candidates to mistakenly choose RBAC for region restrictions when RBAC cannot enforce resource configuration constraints.

Why the other options are wrong

A

Azure RBAC controls permissions to perform actions on resources, but it does not have the capability to restrict which Azure regions can be used for deployments. Region restriction is a governance requirement, not an access control one.

C

Network security groups (NSGs) filter traffic at the subnet or NIC level, not control which Azure regions can be used for resource deployments. They cannot restrict region selection during deployment.

D

A read-only lock prevents modifications to resources but does not restrict which Azure regions can be used for deployments; region restrictions require Azure Policy.

When would these options actually be correct?

A

Azure RBAC would be correct if the question asked: 'A developer needs to be allowed to create resource groups but not delete them. Which service should enforce this rule?' In that case, RBAC can assign a role with specific permissions like 'Contributor' to allow creation but not deletion.

C

A question asks: 'You need to block all inbound traffic from the internet to a specific subnet in Azure. Which service should you use?' In that case, an NSG with appropriate inbound rules would be correct.

D

A read-only lock would be correct if the question asked: 'Which mechanism prevents accidental deletion or modification of a critical resource group?'

Why candidates pick the wrong answer

A

Candidates may confuse RBAC with policy because both involve 'rules' and 'permissions', and they might think that region selection is a permission that can be granted or denied via RBAC roles.

C

Candidates may confuse network-level restrictions with deployment restrictions, thinking NSGs can block regions by filtering traffic to regional endpoints.

D

Candidates may confuse 'locking' with 'restricting' and think a read-only lock can limit deployment regions, not understanding that locks only affect write operations, not location choices.

715
MCQhard

A network team centralizes DHCP in a data center. Users in a remote branch stop receiving addresses after the branch router is replaced. Which missing configuration on the branch gateway is the strongest suspect?

A.DHCP relay or helper configuration on the client-facing gateway interface
B.A spanning-tree priority change on the branch switch
C.A CAPWAP tunnel from the branch PCs to the data center
D.A voice VLAN configuration on the WAN interface
AnswerA

Configuring DHCP relay (ip helper-address) on the client-facing gateway interface is essential because DHCP discovery packets are Layer 2 broadcasts that will not cross a Layer 3 boundary. The relay agent converts those broadcasts into unicast messages and forwards them to the centralized DHCP server, while inserting its own interface IP into the giaddr field so the server can assign an address from the correct subnet pool. Without this helper/relay setting, clients remain isolated from the data center DHCP server.

Why this answer

When a DHCP server is centralized in a data center, remote clients rely on the branch gateway to forward their broadcast DHCP requests as unicast to the server. This is achieved by configuring a DHCP relay agent (ip helper-address) on the client-facing interface of the branch router. Without this configuration, DHCP broadcasts are dropped at the router, and clients never receive IP addresses.

Exam trap

The trap here is that candidates may confuse DHCP relay with other broadcast-forwarding mechanisms or assume that DHCP works automatically across routers, forgetting that routers by default do not forward broadcasts unless explicitly configured with ip helper-address.

Why the other options are wrong

B

A spanning-tree priority change on the branch switch does not directly affect DHCP address allocation; it primarily influences the topology and path selection of the network. Since the issue is related to DHCP address assignment, this option is not relevant.

C

A CAPWAP tunnel is used for managing lightweight access points and does not directly relate to DHCP address assignment. Since the issue is with users not receiving DHCP addresses, a CAPWAP tunnel would not be the cause of the problem.

D

A voice VLAN configuration on the WAN interface is unrelated to DHCP address assignment issues, as voice VLANs are used for prioritizing voice traffic rather than facilitating DHCP communication.

When would these options actually be correct?

B

In a different scenario, if the question involved a network outage or connectivity issues due to a misconfigured spanning-tree protocol, a change in spanning-tree priority could be the cause of devices not receiving network services, including DHCP. This would make option B the correct answer.

C

In a scenario where the question involves a wireless network setup with lightweight access points that rely on a CAPWAP tunnel for communication with a controller, a misconfigured CAPWAP tunnel could prevent devices from obtaining necessary network configurations, including DHCP addresses.

D

In a different scenario where the question involves configuring QoS for voice traffic over a WAN link, a question might ask about ensuring proper VLAN configurations for voice traffic, making option D the correct choice.

Why candidates pick the wrong answer

B

Candidates may choose this option due to a misunderstanding of how network topology changes can impact service delivery, leading them to incorrectly associate spanning-tree adjustments with DHCP functionality.

C

Candidates may confuse the role of CAPWAP in managing network devices and assume that any network connectivity issue could be related to CAPWAP configurations, leading them to select this option without fully understanding the specific DHCP context.

D

Candidates may choose this option due to a misunderstanding of VLAN configurations, thinking that any misconfiguration on the WAN interface could affect overall network services, including DHCP.

716
MCQhard

A team is creating a new workload subnet in a spoke virtual network. The subnet must support 41 VM NICs, 2 internal load balancer frontend IP configurations, 3 private endpoint IPs, and 4 spare IPs for near-term growth. Azure reserves 5 IP addresses in every subnet. What is the smallest IPv4 subnet size that satisfies the requirement?

A./27, because 32 total addresses are enough for a small workload subnet.
B./26, because 64 total addresses provide enough usable IPs for the workload and growth.
C./25, because 128 total addresses are required once private endpoints are included.
D./28, because 16 total addresses are sufficient when load balancers are used.
AnswerB

A /26 contains 64 total addresses. After Azure reserves 5, 59 remain usable, which covers 41 VM NICs, 2 load balancer frontend IPs, 3 private endpoint IPs, and 4 spare addresses. This is the smallest subnet size that meets the stated requirement without wasting a larger block than necessary.

Why this answer

The total IP addresses required are 41 (VM NICs) + 2 (ILB frontends) + 3 (private endpoints) + 4 (spare) + 5 (Azure reserved) = 55 IPs. A /26 subnet provides 64 total addresses, of which 59 are usable (64 - 5 reserved), which meets the requirement. Option B is correct because /26 is the smallest subnet that provides enough usable IPs.

Exam trap

The trap here is that candidates often forget to include the 5 Azure-reserved IPs in their calculation, or they mistakenly think private endpoints or load balancer frontends do not consume subnet IPs, leading them to choose a smaller subnet like /27 or /28.

Why the other options are wrong

A

A /27 subnet provides only 32 total addresses, of which 5 are reserved by Azure, leaving 27 usable. The requirement is for 41 VM NICs, 2 ILB frontends, 3 private endpoints, and 4 spare IPs, totaling 50 IPs, which exceeds 27.

C

A /25 subnet provides 128 total addresses, which is more than the required 41 VM NICs + 2 load balancer frontends + 3 private endpoints + 4 spare + 5 reserved = 55 IPs. The smallest subnet that meets the requirement is /26 (64 total addresses, 59 usable), so /25 is unnecessarily large and not the smallest.

D

A /28 subnet provides only 16 total addresses, of which Azure reserves 5, leaving 11 usable. The requirement demands 41 VM NICs, 2 ILB frontends, 3 private endpoints, and 4 spare IPs, totaling 50 IPs, far exceeding 11 usable addresses.

When would these options actually be correct?

A

This option would be correct if the subnet needed to support only up to 27 IPs (e.g., 22 VM NICs, 2 ILB frontends, 1 private endpoint, and 2 spare IPs) and no additional growth beyond that.

C

A question requiring support for a larger number of resources, such as 80 VM NICs, 5 load balancer frontends, 10 private endpoints, and 10 spare IPs, would need a /25 subnet (128 total addresses, 123 usable) to accommodate the total of 105 required IPs.

D

This option would be correct if the question required a subnet for a small workload with only 6 VM NICs, 1 ILB frontend, 1 private endpoint, and 2 spare IPs, totaling 10 IPs, which fits within the 11 usable addresses of a /28.

Why candidates pick the wrong answer

A

Candidates may mistakenly think that the 5 reserved IPs are the only overhead and that 32 total addresses are enough for 41 IPs, or they may underestimate the total IP count by forgetting to include all resource types.

C

Candidates may mistakenly think private endpoints or load balancers consume more IPs than they actually do, or they may overestimate growth requirements, leading them to choose a larger subnet than necessary.

D

Candidates may mistakenly think that Azure's 5 reserved IPs are included in the total, or they underestimate the number of required IPs, especially forgetting that private endpoints and load balancer frontends consume IPs from the subnet.

717
Multi-Selecthard

A Windows VM must install a monitoring agent, run a bootstrap script during provisioning, and download a configuration file from an Azure resource without storing any credentials in the script or on disk. Which two Azure compute features should the administrator use? Select two.

Select 2 answers
A.Use a Custom Script Extension to run the bootstrap actions after provisioning.
B.Assign a system-assigned managed identity to the virtual machine.
C.Enable boot diagnostics and review the serial console output.
D.Attach a read-only managed disk to store the configuration file.
E.Use an availability set to keep the bootstrap script highly available.
AnswersA, B

The Custom Script Extension is an Azure VM extension that lets you execute a configured script after the VM is provisioned. It can be delivered via ARM templates, Azure CLI, or PowerShell, and handles download, execution, and logging of the script. This is the standard mechanism for bootstrapping software installation, including monitoring agents, on Windows VMs, because it runs with the VM's local privileges and can be idempotent if written correctly.

Why this answer

The Custom Script Extension (CSE) is the correct Azure feature to run a bootstrap script after provisioning because it executes a script on the VM during or after deployment, enabling installation of the monitoring agent and other configuration tasks. It is the standard method for post-deployment automation on Azure VMs, and it can reference a script stored in Azure Storage or a public URL without embedding credentials.

Exam trap

The trap here is that candidates often confuse boot diagnostics (Option C) with a method to run scripts, or think that a managed disk (Option D) can replace the need for secure credential storage, when in fact the combination of managed identity and Custom Script Extension is the only secure, credential-free approach for post-deployment automation.

Why the other options are wrong

C

Boot diagnostics and serial console output are used for troubleshooting boot failures, not for installing agents or running scripts without credentials. They do not execute custom scripts or download files securely.

D

Attaching a read-only managed disk does not allow the VM to download a configuration file from an Azure resource without storing credentials; the disk itself is a storage resource that would require authentication to access, and it does not solve the credential storage problem.

E

An availability set provides high availability for VMs by distributing them across fault and update domains, but it does not execute scripts or manage credentials. It cannot run a bootstrap script or download a configuration file without storing credentials.

When would these options actually be correct?

C

A question where a VM fails to boot and the administrator needs to view kernel logs or debug boot issues without RDP/SSH access. The correct answer would be to enable boot diagnostics and review serial console output.

D

A question where a VM needs to access a static configuration file that is pre-stored on a managed disk, and the VM has a managed identity to authenticate to the disk, with no requirement to download from an Azure resource like a storage account.

E

In a scenario where the requirement is to ensure that a set of VMs remain available during planned or unplanned maintenance, and the question asks for a feature to achieve high availability for the application, an availability set would be the correct answer.

Why candidates pick the wrong answer

C

Candidates may confuse boot diagnostics with a method to run scripts or retrieve configuration, as it provides console access, but it is read-only and not for automated provisioning tasks.

D

Candidates may think a read-only disk is a secure way to provide configuration files without credentials, but they overlook that the disk still needs authentication to attach and that the requirement is to download from an Azure resource, not attach a disk.

E

Candidates may confuse availability sets with high availability of scripts or think that distributing VMs across domains somehow helps with script execution or credential management, not realizing that availability sets address VM uptime, not provisioning tasks.

718
MCQmedium

Based on the exhibit, a backup administrator accidentally stopped protection for a critical VM and then deleted its backup item. The team wants Azure Backup to retain the deleted item long enough to recover it after the mistake is discovered the next day. What should be enabled on the vault?

A.Soft delete for backup data
B.A read-only resource lock on the VM
C.A network security group rule allowing port 445
D.Instant restore snapshots set to 30 days
AnswerA

Soft delete for backup data in Azure Backup retains accidentally deleted backup items for a default grace period of 14 days after protection is stopped or the backup item is deleted. During this window, the backup data is not permanently purged and can be recovered or restored without any data loss. This makes it the direct solution for a scenario where an administrator mistakenly stops protection and later wants to retrieve that backup data. Note that soft delete is a vault-level setting and must be enabled in the Recovery Services vault to take effect.

Why this answer

Soft delete for backup data is the correct answer because it provides a safety net for accidentally deleted backup items. When enabled, Azure Backup retains deleted backup data for an additional 14 days (default) in a soft-deleted state, allowing administrators to recover the data before it is permanently purged. This directly addresses the scenario where protection was stopped and the backup item was deleted, as the data remains recoverable within the retention period.

Exam trap

The trap here is that candidates may confuse soft delete for backup data with resource locks or network security rules, mistakenly thinking that protecting the VM itself or enabling network access will preserve deleted backup items, when in fact only the vault-level soft delete feature retains the backup data after deletion.

Why the other options are wrong

B

A read-only resource lock on the VM prevents deletion or modification of the VM itself, but does not affect the backup vault's retention of deleted backup items. The lock does not enable soft delete or extend retention of backup data.

C

A network security group rule allowing port 445 is used for SMB file sharing, not for retaining deleted backup items. It does not affect backup retention or recovery of deleted backups.

D

Instant restore snapshots set to 30 days controls how long recovery points are retained for immediate restoration, but it does not protect against deletion of the backup item itself. The question asks for retaining a deleted backup item after accidental deletion, which is achieved by soft delete, not by extending snapshot retention.

When would these options actually be correct?

B

A read-only resource lock on a VM would be correct in a scenario where you need to prevent accidental deletion or modification of the VM by users or automated processes, such as protecting a critical production VM from being stopped or deleted.

C

This option would be correct in a scenario where you need to enable file-level restore from an Azure VM backup to an on-premises machine, which requires port 445 (SMB) to be open for the restore process.

D

This option would be correct in a scenario where the question asks: 'You need to ensure that recovery points for a VM are available for instant restore for a longer duration. What should you configure?' In that case, setting instant restore snapshots to 30 days would be the appropriate answer.

Why candidates pick the wrong answer

B

Candidates may think that locking the VM prevents the backup item from being deleted, confusing resource-level protection with backup data retention.

C

Candidates might confuse network connectivity requirements for backup restore operations with backup retention features, or think that enabling SMB port helps in recovering deleted backup data.

D

Candidates may confuse the retention of recovery points with the ability to recover a deleted backup item. They might think that increasing snapshot retention would keep the data available after deletion, not realizing that deletion of the backup item removes all associated recovery points regardless of retention settings.

719
MCQeasy

Based on the exhibit, the administrator needs to deploy a VM quickly using a preapproved hardened operating system image. Which source should be used when creating the VM?

A.An approved custom image in an Azure Compute Gallery.
B.A temporary public IP address.
C.A network security group rule.
D.An Azure Monitor alert rule.
AnswerA

A custom image in an Azure Compute Gallery lets the team standardize VM deployments on a hardened, approved operating system image. It is the right source when the same validated image should be reused consistently for new VMs. This supports repeatability and compliance across deployments.

Why this answer

An approved custom image in an Azure Compute Gallery (formerly Shared Image Gallery) is the correct source because it allows the administrator to deploy a VM quickly using a preapproved, hardened operating system image. The Azure Compute Gallery provides versioning, replication, and regional distribution of custom images, ensuring that the hardened OS is readily available for rapid deployment across multiple regions. This aligns with the requirement for a preapproved image that meets security and compliance standards.

Exam trap

The trap here is that candidates may confuse a VM image source with networking or monitoring components, mistakenly thinking a public IP or NSG rule can serve as an image source, when in fact only a compute gallery or managed image provides the OS disk definition.

Why the other options are wrong

B

A temporary public IP address is a networking resource, not a VM source image. It cannot provide an operating system image for VM deployment.

C

A network security group (NSG) rule controls inbound/outbound traffic to a VM, not the source image used to create the VM. The question asks for a source image, not a network configuration.

D

An Azure Monitor alert rule is used to monitor metrics or logs and trigger actions, not to provide a source image for VM creation.

When would these options actually be correct?

B

When the question asks for a method to allow inbound RDP or SSH access to a VM during initial setup, a temporary public IP address assigned to the VM's NIC would be correct.

C

When a question asks how to restrict inbound traffic to a VM (e.g., allow only HTTPS from a specific IP), creating an NSG rule would be the correct answer.

D

When the question asks for a method to automatically notify an administrator when a VM's CPU usage exceeds a threshold, an Azure Monitor alert rule would be the correct answer.

Why candidates pick the wrong answer

B

Candidates may confuse the need for a quick deployment with the need for network connectivity, thinking a public IP is required to access the VM after creation.

C

Candidates may confuse the steps in VM creation, thinking that an NSG rule is needed to secure the VM from the start, but the question specifically asks for the source image, not security settings.

D

Candidates may confuse monitoring and alerting components with deployment sources, thinking that an alert rule could be used to trigger a deployment from a hardened image.

720
MCQmedium

A modify policy that appends a CostCenter tag was assigned to a management group. The policy shows as assigned, but older virtual machines still lack the tag. What must the administrator do to update those existing resources?

A.Reassign the policy at a lower scope so it applies more quickly.
B.Create a remediation task for the policy assignment.
C.Change the policy effect from modify to audit.
D.Add a CanNotDelete lock to the virtual machines.
AnswerB

Policy assignment alone evaluates future requests, but existing resources often need remediation before the policy effect is applied to them. A remediation task triggers the policy logic against already deployed resources and applies the configured correction when the managed identity has enough permissions. That is how missing tags on older VMs are brought into compliance.

Why this answer

The 'modify' policy effect appends the CostCenter tag to new or updated resources automatically, but it does not retroactively apply to existing resources. To update older virtual machines that lack the tag, the administrator must create a remediation task for the policy assignment. This task uses Azure Policy's 'deployIfNotExists' or 'modify' effect to trigger a deployment that evaluates and corrects non-compliant existing resources.

Exam trap

The trap here is that candidates assume a 'modify' policy effect automatically applies to all existing resources, but in reality, it only applies to new or updated resources unless a remediation task is explicitly created.

Why the other options are wrong

A

Reassigning the policy at a lower scope does not trigger remediation for existing resources; it only applies to new resources. The modify effect requires a remediation task to update existing non-compliant resources.

C

Changing the policy effect from modify to audit would only report compliance without automatically adding the tag; it does not update existing resources.

D

Adding a CanNotDelete lock prevents deletion but does not apply tags to existing resources. The question requires updating older VMs with a CostCenter tag, which is a policy remediation task, not a lock.

When would these options actually be correct?

A

If a policy assignment fails to apply to new resources at a lower scope due to inheritance issues, reassigning at the correct lower scope ensures new resources are evaluated. For example, a policy assigned at management group level not applying to a specific subscription.

C

If the question asked how to evaluate compliance of existing resources without making changes, or if the goal was to identify non-compliant resources for manual remediation, then changing the effect to audit would be correct.

D

An administrator needs to prevent accidental deletion of critical virtual machines that have been tagged with a specific tag. A CanNotDelete lock would be the correct answer to protect those resources from deletion.

Why candidates pick the wrong answer

A

Candidates may think that assigning the policy closer to the resources will force it to apply faster, misunderstanding that modify policies require explicit remediation for existing resources.

C

Candidates may confuse the modify effect with audit, thinking that audit can also apply tags, or they may believe that changing the effect triggers automatic remediation.

D

Candidates may confuse resource locks with policy enforcement, thinking a lock can force tag updates or that it's a general protection mechanism that also applies tags.

721
Multi-Selecteasy

You need to monitor CPU on a small set of VMs while keeping ingestion costs low. Which two actions are the best choices? Select two.

Select 2 answers
A.Use Azure Monitor platform metrics for CPU instead of collecting guest logs
B.Collect only the required diagnostic categories and performance counters
C.Collect all Windows event logs from every VM
D.Create a separate workspace for each VM
E.Enable verbose guest logging on every server
AnswersA, B

Azure Monitor platform metrics for CPU are automatically collected for Azure VMs at no additional Log Analytics ingestion cost, and they are stored in the Azure metrics database which supports near-real-time alerting and charting. Guest-level logs require the Azure Monitor Agent, incurring per-GB ingestion fees and ongoing agent management. Because CPU percentage is a host-side metric, platform metrics provide exactly the data needed without sending any log data, making this the most cost-effective choice.

Why this answer

Azure Monitor platform metrics for CPU are collected automatically from the Azure VM host at no additional cost, providing basic CPU utilization data without requiring the Log Analytics agent or incurring data ingestion charges. This approach keeps costs low because platform metrics are included in the Azure Monitor pricing, whereas guest-level metrics require log ingestion and storage fees. For a small set of VMs where only CPU monitoring is needed, platform metrics are sufficient and cost-effective.

Exam trap

The trap here is that candidates often assume guest-level logging is required for CPU monitoring, but Azure Monitor platform metrics already provide host-level CPU data at no extra cost, making options like verbose logging or full event collection unnecessary and costly.

Why the other options are wrong

C

Collecting all Windows event logs from every VM generates excessive data, increasing ingestion costs and storage, which contradicts the goal of keeping costs low.

D

Creating a separate workspace for each VM increases management overhead and costs, as each workspace incurs its own ingestion and retention charges, contradicting the goal of low costs.

E

Verbose guest logging generates excessive data, increasing ingestion costs without providing additional value for CPU monitoring, which is already covered by platform metrics.

When would these options actually be correct?

C

If the question required comprehensive security auditing or compliance monitoring where all event logs must be retained for forensic analysis, and cost was not a constraint, then collecting all logs would be appropriate.

D

If the question required strict data isolation for compliance or security reasons (e.g., each VM belongs to a different client with separate data boundaries), then separate workspaces would be correct despite higher costs.

E

If the question required detailed diagnostic data for troubleshooting application-level issues or security auditing, and cost was not a constraint, enabling verbose guest logging would be appropriate.

Why candidates pick the wrong answer

C

Candidates may think that more data collection always leads to better monitoring, overlooking the cost implications and the fact that only relevant logs are needed for CPU monitoring.

D

Candidates may think separate workspaces help organize data and reduce cross-VM noise, but they overlook the cost implications and that Azure Monitor can filter data within a single workspace.

E

Candidates may think more logging always provides better monitoring, overlooking the cost implications and the fact that platform metrics suffice for CPU monitoring.

722
MCQmedium

You need to ensure that all users in the HelpdeskAdmins group can reset passwords for cloud-only users in Microsoft Entra ID but cannot modify group memberships or delete users. Which role should you assign?

A.Global Administrator
B.User Administrator
C.Helpdesk Administrator
D.Security Administrator
AnswerC

This is the least-privileged built-in directory role explicitly designed for password resets and service request handling. It can reset passwords for non-admin users and manage service health, but cannot modify role assignments or manage MFA for privileged accounts. This aligns with Azure AD's principle of granular delegated administration, giving helpdesk staff precisely the rights needed without broader user or security management.

Why this answer

The Helpdesk Administrator role is specifically designed to allow password resets for non-administrator users (including cloud-only users) while explicitly preventing modifications to group memberships or deletion of users. This aligns perfectly with the requirement to restrict the HelpdeskAdmins group to only password reset capabilities.

Exam trap

The trap here is that candidates often confuse User Administrator with Helpdesk Administrator, assuming both can reset passwords, but User Administrator also grants broader user management capabilities like modifying group memberships and deleting users, which the question explicitly forbids.

Why the other options are wrong

A

Global Administrator has full access to all Microsoft Entra ID features, including modifying group memberships and deleting users, which exceeds the required permissions for resetting passwords only.

B

User Administrator can reset passwords but also has permissions to modify group memberships and delete users, which exceeds the required scope of only resetting passwords for cloud-only users.

D

Security Administrator role manages security features like conditional access and identity protection, but does not include permissions to reset passwords for cloud-only users.

When would these options actually be correct?

A

A scenario where the requirement is to grant a user or group full administrative access to all aspects of Microsoft Entra ID, including user management, group management, and security settings, with no restrictions.

B

A question requiring a role that can reset passwords AND manage user accounts (e.g., create users, modify attributes) for cloud-only users, but not necessarily restrict group membership changes or deletions.

D

A question requiring management of security-related tasks such as configuring conditional access policies, managing security defaults, or reviewing identity protection reports would make Security Administrator the correct role.

Why candidates pick the wrong answer

A

Candidates may mistakenly believe that password reset requires the highest privilege level, or they may not be aware of the more granular roles like Helpdesk Administrator that provide limited permissions.

B

Candidates may confuse User Administrator with Helpdesk Administrator, assuming both only handle password resets, but User Administrator has broader user management capabilities.

D

Candidates may confuse password reset as a security function and assume the Security Administrator role includes it, not realizing that Helpdesk Administrator is the dedicated role for password resets.

723
MCQhard

A business stores audit logs in Azure Blob Storage. The account must remain available if an entire availability zone in the primary region fails, and analysts must still be able to read the data from the paired region if the primary region becomes unavailable. Which replication option should the administrator select?

A.Zone-redundant storage (ZRS)
B.Geo-redundant storage (GRS)
C.Read-access geo-zone-redundant storage (RA-GZRS)
D.Read-access geo-redundant storage (RA-GRS)
AnswerC

RA-GZRS is the only option here that combines zone redundancy in the primary region with geo-replication to a paired region and read access to the secondary copy. That satisfies both requirements: survive a single-zone outage and still allow analysts to read from the secondary region if the primary region is unavailable.

Why this answer

C is correct because Read-access geo-zone-redundant storage (RA-GZRS) combines zone-redundancy within the primary region (surviving an entire zone failure) with geo-replication to a paired region, and crucially provides read access to the secondary region data even if the primary region is unavailable. This meets both requirements: availability during a zone failure and readable data from the paired region during a primary region outage.

Exam trap

The trap here is that candidates often confuse GRS with RA-GRS or ZRS with GZRS, failing to recognize that the requirement for both zone-failure resilience within the primary region AND read-access from the paired region uniquely points to RA-GZRS, not RA-GRS or GRS alone.

Why the other options are wrong

A

ZRS replicates data synchronously across availability zones within a single region, but does not provide geo-replication to a paired region. The question requires read access from the paired region if the primary region fails, which ZRS cannot fulfill.

B

GRS provides geo-redundancy but does not include zone-redundancy within the primary region, so it cannot remain available if an entire availability zone fails in the primary region.

D

RA-GRS provides geo-redundancy but not zone-redundancy within the primary region. The question requires resilience to an entire availability zone failure in the primary region, which RA-GRS does not offer.

When would these options actually be correct?

A

A scenario where the requirement is only to tolerate an availability zone failure within the primary region, with no need for geo-redundancy or read access from a secondary region. For example, a company wants high availability for its blob storage within a single region and does not require cross-region disaster recovery.

B

A question that requires data to be durable across regions but does not require availability during a zone failure in the primary region, and read access from the secondary region is not needed.

D

A scenario where the requirement is for read access from a secondary region during a primary region outage, but the primary region does not support availability zones or zone-redundancy is not required. For example, if the question specifies a region without availability zones, RA-GRS would be the correct choice.

Why candidates pick the wrong answer

A

Candidates may confuse 'zone-redundant' with 'geo-zone-redundant', or think that ZRS provides cross-region failover because it offers high availability within a region, overlooking the geo-replication requirement.

B

Candidates may confuse GRS with RA-GZRS, thinking geo-redundancy alone satisfies the zone failure requirement, or they may overlook the need for zone-redundant storage in the primary region.

D

Candidates may confuse RA-GRS with RA-GZRS, thinking that 'geo-redundant' implies zone-redundancy, or they may overlook the specific requirement for zone failure resilience in the primary region.

724
Multi-Selecthard

An enterprise wants one governance package to be applied automatically to every production subscription that is added in the future. The package contains several policy definitions that should be managed together. Which two actions are required? Select two.

Select 2 answers
A.Create or use a production management group and assign the governance package at that scope.
B.Package the related policy definitions into a policy initiative before assigning them.
C.Assign each policy separately to every resource group so the settings are inherited upward.
D.Use tags on resources to make policy definitions automatically apply to new subscriptions.
E.Apply a resource lock to the management group so all child subscriptions inherit the policies.
AnswersA, B

Management groups are the correct hierarchy for automatic inheritance across multiple subscriptions. Assigning governance at the management-group scope ensures every child production subscription receives the baseline without separate manual work. This satisfies the requirement for future subscriptions as well as existing ones.

Why this answer

Assigning the governance package (policy initiative) at the management group scope ensures that all child subscriptions, including future ones, automatically inherit the policies. Management groups provide hierarchical governance, and any subscription added under that management group will inherit the assigned policies without manual intervention.

Exam trap

The trap here is that candidates confuse resource locks with policy assignments, thinking locks can enforce policy inheritance, when in fact locks only prevent deletion or modification and have no effect on policy application.

Why the other options are wrong

C

Assigning policies to individual resource groups does not automatically apply to new subscriptions; the question requires automatic application to future production subscriptions, which demands assignment at a management group scope, not resource groups.

D

Tags do not automatically apply policy definitions to new subscriptions; they are metadata on resources. Policies must be assigned at a management group or subscription scope to affect new subscriptions.

E

Resource locks prevent accidental deletion or modification but do not enforce policy definitions. The question requires automatic application of a governance package to new subscriptions, which resource locks cannot achieve.

When would these options actually be correct?

C

If the question asked for applying policies to specific existing resource groups within a single subscription, and inheritance upward was not needed, assigning each policy separately to those resource groups would be correct.

D

If the question asked how to target policy enforcement to specific resources based on cost center or environment, using tags in a policy definition's 'if' condition would be correct. For example, 'Apply a policy to all resources tagged with Environment=Production'.

E

If the question asked: 'An administrator needs to prevent accidental deletion of a management group hierarchy that contains critical subscriptions. Which action should be taken?' Then applying a resource lock to the management group would be correct.

Why candidates pick the wrong answer

C

Candidates may think that assigning policies to resource groups ensures coverage of all resources, and mistakenly believe that inheritance works upward from resource groups to subscriptions, which is incorrect in Azure.

D

Candidates may confuse tags as a mechanism for automatic policy application, thinking that tagging a subscription or management group triggers policy inheritance, rather than understanding tags are resource-level metadata used in policy conditions.

E

Candidates may confuse resource locks with policy assignments, thinking locks can enforce governance settings, or they may believe locks can propagate policies to child resources.

725
MCQmedium

A storage account is failing writes, and the team also wants to correlate those errors with subscription-level changes such as role assignments or deployments. What should the administrator configure?

A.Rotate the storage account keys and review access from the portal activity feed.
B.Create diagnostic settings on the storage account and the subscription that send logs to the same Log Analytics workspace.
C.Place the storage account behind an availability set so writes remain available during maintenance.
D.Enable a service endpoint from the application subnet and check whether the firewall blocks the writes.
AnswerB

Diagnostic settings are the correct mechanism for exporting both resource logs and subscription Activity log events to Log Analytics. Putting them in the same workspace lets the team correlate storage failures with changes such as deployments or role assignments in one KQL query.

Why this answer

Diagnostic settings on both the storage account and the subscription can stream platform logs (e.g., StorageWrite failures) and activity logs (e.g., role assignments, deployments) to the same Log Analytics workspace. This enables correlated queries across resource-level operational issues and subscription-level changes, allowing the administrator to identify if a recent role assignment or deployment caused the write failures.

Exam trap

The trap here is that candidates may think the Activity Log alone (Option A) is sufficient for correlation, but it lacks the resource-level diagnostic data needed to see the actual write failures, while diagnostic settings to a common Log Analytics workspace provide the necessary cross-layer query capability.

Why the other options are wrong

A

Rotating storage account keys does not correlate write failures with subscription-level changes like role assignments or deployments; it only addresses access control. The portal activity feed shows resource-level operations but not subscription-level changes in a unified view.

C

An availability set is a VM-level construct for high availability, not a storage account feature, and does not address write failures or correlate errors with subscription-level changes.

When would these options actually be correct?

A

If the question asked for a method to revoke access and audit recent storage account operations after a suspected key compromise, rotating keys and reviewing the activity feed would be correct.

C

If the question asked how to ensure high availability for virtual machines during planned or unplanned maintenance, placing them in an availability set would be correct.

Why candidates pick the wrong answer

A

Candidates may think that rotating keys resolves write failures and that the activity feed provides sufficient auditing, but they overlook the need to correlate with subscription-level changes.

C

Candidates may confuse availability sets with general high-availability mechanisms, incorrectly assuming they apply to storage accounts or can mitigate write failures.

726
Multi-Selecthard

A Windows VM must run a bootstrap script during provisioning to install a monitoring agent and write configuration files. The administrator does not want to log in interactively, and the script must be runnable again after the VM is rebuilt. Which two Azure compute components should be used? Select two.

Select 2 answers
A.Azure VM Agent
B.Custom Script Extension
C.Boot diagnostics
D.Availability zone
E.Ephemeral OS disk
AnswersA, B

The Azure VM Agent (WindowsAzure Guest Agent) is the core runtime that runs inside the VM and is responsible for managing extension execution, reporting VM health, and handling provisioning actions for Azure. Without this agent, Azure cannot deliver or run any extensions, including the Custom Script Extension, so it is an essential prerequisite for running a bootstrap script during provisioning. It enables secure communication between the VM and the Azure fabric controller, allowing the platform to execute scripts and configurations on the instance.

Why this answer

The Azure VM Agent (A) is required because it enables the VM to run extensions, including the Custom Script Extension. The Custom Script Extension (B) is the correct mechanism to execute the bootstrap script during provisioning without interactive login, and it can be reapplied to a rebuilt VM by redeploying the same ARM template or CLI command.

Exam trap

The trap here is that candidates confuse Boot diagnostics (which only shows logs) with a tool that can run scripts, or they mistakenly think Ephemeral OS disks or Availability zones are involved in script execution, when in fact only the VM Agent and Custom Script Extension provide the required automation.

Why the other options are wrong

D

Availability zones are a high-availability feature that protects VMs from datacenter failures, not a compute component for running scripts during provisioning.

When would these options actually be correct?

D

When a question asks for a solution to ensure VM resilience against zonal failures in a region that supports availability zones, such as deploying VMs across multiple zones for 99.99% SLA.

Why candidates pick the wrong answer

D

Candidates may confuse availability zones with a compute component or think they provide a way to run scripts, because zones are often mentioned alongside VM deployment options.

727
MCQeasy

Before changing a production VM's data disk, you want a point-in-time copy that can be restored later without affecting the VM. What should you create?

A.Snapshot
B.Availability set
C.Azure Policy assignment
D.Virtual network peering
AnswerA

A snapshot of a managed disk captures the disk state at a specific point in time, storing only the changes (incremental) or a full copy depending on type. It can be used to create a new managed disk or restore the original disk, making it ideal before modifications like resizing or changing a data disk.

Why this answer

A snapshot captures a point-in-time, read-only copy of a managed or unmanaged disk. It can be used to create a new disk or restore the original disk without affecting the running VM, making it the correct choice for a non-disruptive backup before a data disk change.

Exam trap

The trap here is that candidates may confuse a snapshot with a backup vault or recovery services vault, but the question specifically asks for a point-in-time copy that does not affect the running VM, and only a snapshot meets that requirement without requiring a backup policy or agent.

Why the other options are wrong

B

An availability set is a logical grouping of VMs to ensure high availability during platform updates and failures; it does not provide point-in-time copies of disks.

C

Azure Policy assignment enforces compliance rules on resources, but it does not create a point-in-time copy of a disk. It cannot be used to restore a VM's data disk to a previous state.

D

Virtual network peering connects two virtual networks, enabling traffic between them. It does not create a point-in-time copy of a data disk or provide any backup/restore capability for VM disks.

When would these options actually be correct?

B

When the question asks for a solution to ensure high availability of a multi-VM application during planned or unplanned maintenance events, an availability set is the correct answer.

C

An exam question might ask: 'You need to ensure that all VMs in a subscription are deployed only in specific regions. What should you create?' In that case, an Azure Policy assignment with a location constraint would be the correct answer.

D

You need to enable communication between two virtual networks in different regions with low latency and no intermediate hops. A question might ask: 'You have VNets in two Azure regions and need to connect them securely with Microsoft backbone. What should you create?'

Why candidates pick the wrong answer

B

Candidates may confuse 'availability' with 'backup' or think that an availability set provides data redundancy, but it only protects against infrastructure failures, not data loss.

C

Candidates may confuse policy with backup or snapshot mechanisms, thinking that a policy can capture a state of resources, or they may overthink the question and assume a governance tool is needed before making changes.

D

Candidates may confuse 'peering' with 'copying' or think that network-level isolation is needed before taking a snapshot, but the question specifically asks for a point-in-time copy, not a network configuration.

728
MCQhard

A Windows VM in Azure has a public IP address, but administrators on the internet cannot connect by using Remote Desktop. You confirm that the VM is running and the guest firewall allows RDP. What is the most likely Azure-side cause?

A.The NSG does not allow inbound TCP 3389
B.The storage account uses LRS
C.Azure Advisor is not enabled
D.The VM is in an availability set
AnswerA

RDP clients connect to Windows VMs over TCP port 3389. A network security group (NSG) acts as a distributed firewall; if the NSG associated with the VM's subnet or NIC has no inbound allow rule for port 3389 (or has an explicit deny), the default rule denying inbound internet traffic takes effect and drops the connection. Even with a public IP and a healthy VM, this NSG misconfiguration will make RDP time out. Therefore, a missing or blocking NSG rule on TCP 3389 is the direct cause of the RDP failure.

Why this answer

The most likely Azure-side cause is that a Network Security Group (NSG) associated with the VM's subnet or network interface is blocking inbound traffic on TCP port 3389 (RDP). Even if the VM is running and the guest OS firewall allows RDP, an NSG rule must explicitly permit inbound TCP 3389 from the internet (or a specific source) for Remote Desktop connections to succeed. Without such a rule, the NSG silently drops the packets before they reach the VM.

Exam trap

The trap here is that candidates often assume the guest OS firewall is the only barrier for RDP, overlooking that Azure's NSG acts as a separate, mandatory network-level filter that must explicitly allow inbound TCP 3389 from the internet.

Why the other options are wrong

B

Storage account replication type (LRS) affects data durability and availability, not network connectivity to a VM. It has no impact on RDP access.

When would these options actually be correct?

B

A question asks: 'Which storage replication option provides the lowest cost while protecting against server rack failures?' LRS would be correct because it replicates data within a single datacenter, offering resilience against local hardware failures at minimal cost.

Why candidates pick the wrong answer

B

Candidates may confuse storage replication with high availability features, thinking LRS might cause connectivity issues due to lack of redundancy, but storage and network are separate concerns.

729
MCQmedium

A lifecycle rule moved quarterly audit logs to the Archive tier. An auditor now needs one blob for an urgent investigation and wants it available for download as soon as the rehydration completes. What should the administrator do?

A.Copy the blob directly from Archive tier to the client's local disk.
B.Change the blob access tier to Hot and wait for rehydration to finish before downloading it.
C.Assign the blob a shorter retention policy so it becomes accessible automatically.
D.Move the blob to the Cool tier and attempt the download immediately.
AnswerB

Archive blobs are offline and must be rehydrated to an online tier before they can be read. Moving the blob to Hot is appropriate when rapid access is needed after rehydration completes. The administrator should expect a delay during rehydration, then the blob can be downloaded normally.

Why this answer

Changing the access tier of a blob from Archive to Hot initiates an asynchronous rehydration process that moves the blob data back to an online tier. Once rehydration completes, the blob becomes available for download. This is the standard method to make archived blobs accessible for immediate use.

Exam trap

The trap here is that candidates assume changing the tier to Cool allows immediate download, but they overlook that rehydration from Archive is always required and takes time, regardless of the target tier.

Why the other options are wrong

A

Blobs in Archive tier are offline and cannot be directly downloaded; they must first be rehydrated to an online tier (Hot, Cool, or Cold) before any download operation.

C

Assigning a shorter retention policy does not affect the blob's access tier; Archive blobs remain offline until rehydrated, regardless of retention settings.

D

Moving a blob from Archive to Cool tier initiates a rehydration process that can take up to 15 hours, and the blob is not accessible for download until rehydration completes. Attempting to download immediately will fail.

When would these options actually be correct?

A

If the blob were already in an online tier (e.g., Cool) and the question asked for the fastest way to download it without changing tiers, copying directly to local disk would be correct.

C

If a question asks how to automatically delete a blob after a specific period (e.g., for compliance or cleanup), setting a retention policy (e.g., via immutability or lifecycle management) would be correct.

D

If the question stated that the blob is currently in the Cool tier and the auditor needs it urgently, moving it to Hot tier and waiting for rehydration would be the correct approach. Alternatively, if the blob were in Archive and the requirement was to minimize cost while still allowing access within a few hours, moving to Cool tier (instead of Hot) could be correct.

Why candidates pick the wrong answer

A

Candidates may think that copying triggers rehydration or that Archive blobs are still readable, not realizing they are offline and require an explicit tier change to become accessible.

C

Candidates may confuse retention policies with access tiers, thinking that reducing retention somehow makes data accessible sooner, when retention only controls deletion, not availability.

D

Candidates may think that Cool tier is a lower-cost tier that still allows immediate access, not realizing that rehydration from Archive to any access tier (Hot, Cool, or Archive itself) takes time.

730
Multi-Selecteasy

A company wants an Azure Storage account to be reachable privately from a virtual network. Which two statements about a private endpoint are correct? Select two.

Select 2 answers
A.The storage service gets a private IP address in the selected virtual network.
B.The virtual machine that reaches the service must have its own public IP address.
C.A private endpoint replaces the need for any DNS configuration.
D.A private DNS zone is commonly used so the service name resolves to the private IP.
E.A private endpoint and a service endpoint are the same feature.
AnswersA, D

Correct because a private endpoint creates a network interface in your virtual network and maps the Azure service to a private IP address there.

Why this answer

A private endpoint assigns the Azure Storage service a private IP address from the subnet of the selected virtual network, effectively bringing the service into the VPC-like environment. This ensures that traffic to the storage account stays within the Microsoft backbone network and never traverses the public internet, meeting private connectivity requirements.

Exam trap

The trap here is that candidates often confuse private endpoints with service endpoints, thinking both provide a private IP address, but only private endpoints assign a private IP from the VNet, while service endpoints rely on public IPs with network security group (NSG) restrictions.

Why the other options are wrong

B

A private endpoint does not require the virtual machine to have a public IP address; traffic stays within the Microsoft backbone and never traverses the internet.

C

A private endpoint does not replace DNS configuration; it requires DNS resolution to map the storage account's FQDN to the private IP, often using a private DNS zone.

E

Private endpoints and service endpoints are distinct features: private endpoints provide a private IP in the VNet, while service endpoints extend the VNet's identity to the service over the public endpoint.

When would these options actually be correct?

B

In a scenario where a virtual machine must access an Azure service that does not support private endpoints (e.g., a legacy service) and the only connectivity option is via the internet, the VM would need a public IP address for outbound traffic.

C

In a scenario where the question asks about a feature that eliminates the need for public DNS resolution for Azure PaaS services, and the correct answer is 'Azure Private Link automatically handles DNS configuration for private endpoints,' but that is not accurate; however, if the question were 'Which feature allows you to use a custom DNS server to resolve the storage account name to a private IP without manual DNS records?' the answer would be 'private DNS zone,' not the endpoint itself.

E

If the question asked 'Which two statements about service endpoints are correct?' and included an option stating 'A service endpoint and a private endpoint are the same feature,' this would be incorrect; however, no scenario makes this statement correct.

Why candidates pick the wrong answer

B

Candidates may confuse private endpoints with traditional internet-based access, assuming that private connectivity still requires a public IP for the client.

C

Candidates may think that because the private endpoint assigns a private IP, DNS configuration is automatically handled, overlooking that DNS resolution still needs explicit setup to ensure the service name resolves to the private IP.

E

Candidates may confuse the two features because both are used to secure Azure services to a virtual network, leading to the mistaken belief they are identical.

731
MCQeasy

Based on the exhibit, VM name resolution works for IP addresses but fails for internal hostnames. What should the administrator configure on the spoke VNet?

A.Keep Azure-provided DNS because the spoke can already reach the hub by IP.
B.Configure the spoke VNet to use 10.20.0.4 as a custom DNS server.
C.Create a private endpoint for app01.corp.local in the spoke VNet.
D.Enable a NAT gateway on the spoke subnet.
AnswerB

The exhibit shows the hub has a custom DNS server at 10.20.0.4, but the spoke is still using Azure-provided DNS. To resolve internal names such as app01.corp.local, the spoke VNet must point to the custom DNS server that knows that zone. After that change, VMs in the spoke can use the hub DNS service for name resolution.

Why this answer

The hub VNet uses a custom DNS server at 10.20.0.4 (likely a Windows Server with DNS role) that can resolve internal hostnames like app01.corp.local. The spoke VNet is currently using Azure-provided DNS, which cannot resolve custom private DNS zones. By configuring the spoke VNet to use 10.20.0.4 as a custom DNS server, the spoke VMs will forward DNS queries to the hub DNS server, enabling hostname resolution for internal resources.

Exam trap

The trap here is that candidates assume Azure-provided DNS can resolve custom hostnames across peered VNets, but it only resolves names within the same VNet unless a custom DNS server or Azure Private DNS Zone is configured.

Why the other options are wrong

A

The issue is that internal hostname resolution fails, meaning the spoke VNet cannot resolve names like app01.corp.local. Keeping Azure-provided DNS does not resolve custom internal hostnames; it only provides Azure-assigned names. The spoke needs a custom DNS server (like the hub's DNS at 10.20.0.4) to forward queries to resolve those names.

C

A private endpoint is used to securely access Azure PaaS services over a private IP, not to resolve internal hostnames like app01.corp.local. DNS resolution for custom domains requires a custom DNS server or Azure Private DNS zones, not a private endpoint.

D

A NAT gateway provides outbound internet connectivity for VMs in a subnet, but it does not resolve internal hostnames. The issue is DNS resolution for internal names, which requires a DNS server, not NAT.

When would these options actually be correct?

A

This option would be correct if the question stated that VM name resolution works for internal hostnames but fails for IP addresses, or if the requirement was to use Azure-provided DNS for name resolution without needing to resolve custom private DNS zones.

C

A question where an Azure service (e.g., Azure SQL Database) is hosted in a hub VNet and must be accessed privately from a spoke VNet without traversing the internet. The correct answer would be to create a private endpoint for that service in the spoke VNet.

D

In a scenario where VMs in a spoke VNet need to access the internet through a static public IP (e.g., for outbound traffic from a private subnet), enabling a NAT gateway on the spoke subnet would be correct.

Why candidates pick the wrong answer

A

Candidates may think that since IP connectivity works, DNS is fine, but they overlook that Azure-provided DNS cannot resolve custom internal hostnames without additional configuration like a custom DNS server or private DNS zones.

C

Candidates may confuse private endpoints with DNS resolution capabilities, thinking they can resolve any hostname privately, or they may misapply the concept of private endpoints for general name resolution instead of specific Azure PaaS services.

D

Candidates may confuse network address translation with DNS resolution, or think that enabling outbound connectivity somehow helps with name resolution, especially when the hub is reachable by IP but not by name.

732
MCQmedium

A company has a hub virtual network with a DNS server VM at 10.50.0.4 that hosts internal names such as app01.corp.local. A spoke virtual network is already peered to the hub. VMs in the spoke can reach resources in the hub by IP address, but they cannot resolve the internal host names. The company wants to keep DNS centralized and avoid deploying another DNS server in the spoke. What should the administrator configure?

A.Create a private DNS zone for corp.local and link it only to the spoke subnet.
B.Set the spoke virtual network to use 10.50.0.4 as a custom DNS server.
C.Add a user-defined route in the spoke to send DNS traffic to the hub VNet.
D.Enable gateway transit on the peering and set use remote gateways on the spoke.
AnswerB

Configuring the spoke VNet with the hub DNS server IP sends name-resolution requests to the centralized server. Because VNet peering already provides network connectivity, the spoke can query 10.50.0.4 directly for internal names without deploying a second DNS server.

Why this answer

The spoke virtual network must be configured to use the hub DNS server (10.50.0.4) as a custom DNS server. This ensures that all VMs in the spoke send DNS queries to the hub server, which hosts the internal zone for corp.local. Since the hub and spoke are already peered, DNS traffic can flow over the peering connection without additional routing, keeping DNS centralized.

Exam trap

The trap here is that candidates often confuse DNS resolution with routing or gateway transit, thinking they need to add a UDR or enable gateway features to forward DNS queries, when the real fix is simply changing the DNS server setting on the spoke VNet to point to the hub's DNS server IP.

Why the other options are wrong

A

A private DNS zone linked only to the spoke subnet would require a DNS server in the spoke to resolve names, but the company wants to keep DNS centralized on the hub's DNS server (10.50.0.4). This option does not direct DNS queries to the hub server.

C

A user-defined route (UDR) controls network traffic paths, not DNS resolution. DNS traffic to 10.50.0.4 already works via the peering; the issue is that the spoke VMs are not configured to use that IP as their DNS server, so a UDR does not solve name resolution.

D

Enabling gateway transit and using remote gateways is for routing traffic through VPN/ExpressRoute gateways, not for DNS resolution. This option does not configure the spoke VNet to use the hub's DNS server.

When would these options actually be correct?

A

If the company wanted to use Azure-provided DNS resolution for a custom domain (e.g., corp.local) without deploying a custom DNS server, they would create a private DNS zone for corp.local and link it to the spoke virtual network (or subnet) to enable automatic resolution via Azure DNS.

C

A UDR would be correct if the spoke VMs needed to route traffic to a specific network appliance (e.g., firewall or NVA) in the hub for inspection, and the default route (0.0.0.0/0) or a specific subnet needed to be forced through that appliance.

D

An administrator needs to allow a spoke VNet to use a hub's VPN gateway to connect to on-premises networks. In that scenario, enabling gateway transit on the hub peering and setting 'Use remote gateways' on the spoke peering would be correct.

Why candidates pick the wrong answer

A

Candidates may think that a private DNS zone is the standard way to resolve custom domain names in Azure, but they overlook that the existing DNS server in the hub is already hosting those names and needs to be used as the DNS server for the spoke.

C

Candidates may confuse routing with DNS resolution, thinking that directing DNS traffic to the hub server via a route will enable name resolution, but DNS server configuration is required on the virtual network, not routing.

D

Candidates may confuse the concept of gateway transit (used for routing) with DNS forwarding or resolution, thinking that enabling a transit mechanism will also forward DNS queries to the hub.

733
Matchingeasy

Match each Azure VM deployment concept to the description that best fits it.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Spreads VMs across fault and update domains within one datacenter.

Places VMs in separate datacenters within the same Azure region.

Reusable source for creating the same VM build again.

Defines CPU, memory, and temporary storage resources.

Why these pairings

VMSS provides auto-scaling identical VMs; Availability Set groups VMs for redundancy; Availability Zone offers physical separation; Managed Disk is persistent block storage; Azure Bastion provides secure remote access; Dedicated Host gives single-tenant physical servers.

734
MCQhard

You need to keep Azure activity log data for longer than the default retention period and make it available for analysis. What should you configure?

A.Diagnostic settings for the activity log
B.A resource lock on the subscription
C.An availability zone
D.A scale set autoscale policy
AnswerA

Diagnostic settings for the activity log are the correct mechanism because they allow you to route Azure activity log data to a Log Analytics workspace, storage account, or Event Hub. By default, activity logs are retained for only 90 days, but configuring diagnostic settings enables you to archive that data for years or stream it to analysis tools, satisfying long-term retention and compliance requirements.

Why this answer

The default retention period for Azure activity logs is 90 days. To retain activity log data beyond this period and make it available for analysis (e.g., in a Log Analytics workspace, storage account, or Event Hubs), you must configure diagnostic settings for the activity log. This allows you to stream the log data to a destination of your choice, where you can set custom retention policies.

Exam trap

The trap here is that candidates often confuse the default retention period (90 days) with the ability to extend it via simple settings, not realizing that diagnostic settings are required to route the data to a persistent destination for longer retention and analysis.

Why the other options are wrong

B

A resource lock on the subscription prevents accidental deletion or modification of resources, but it does not extend the retention period of activity log data or enable its analysis.

C

Availability zones are physically separate datacenters within an Azure region used for high availability and disaster recovery, not for extending data retention or enabling analysis of activity logs.

D

A scale set autoscale policy manages the number of VM instances in a virtual machine scale set based on demand, not the retention or analysis of Azure activity log data.

When would these options actually be correct?

B

A resource lock would be correct in a scenario where you need to protect a critical subscription from accidental deletion or changes, such as when implementing governance controls for a production environment.

C

A question asking how to protect an Azure VM from a regional failure by deploying replicas across physically isolated locations would have availability zones as the correct answer.

D

When the question asks how to automatically adjust the number of VM instances in a scale set based on CPU load or other metrics, configuring an autoscale policy is the correct answer.

Why candidates pick the wrong answer

B

Candidates may confuse resource locks with data retention controls, thinking that locking the subscription preserves all data indefinitely, or they may associate locks with long-term data protection.

C

Candidates may confuse 'availability' with 'data availability' or think that zones provide some form of data retention or backup capability.

D

Candidates may confuse 'scale' with 'retention period' or think that scaling settings affect data storage duration, or they may misassociate autoscale with log data management.

735
MCQeasy

Based on the exhibit, which Azure feature should the administrator use to track this kind of platform-wide service issue?

A.Service Health, because it reports Azure platform incidents that affect customers in a region.
B.Resource Health, because it shows whether a specific virtual machine is healthy or unavailable.
C.Activity Log, because it lists every administrative action taken in the subscription.
D.Azure Advisor, because it gives recommendations to improve the virtual machine configuration.
AnswerA

Service Health is the correct option because it provides a personalized, subscription-scoped view into Azure platform incidents, planned maintenance, and advisories that affect a specified region or set of services. It is the primary official channel where Microsoft publishes root-cause analyses, impact summaries, and periodic updates during an active outage, allowing administrators to determine whether a multi-resource failure is due to a known regional event rather than a problem in their own configuration.

Why this answer

Service Health is the correct feature because it provides a personalized dashboard of all Azure service incidents, planned maintenance, and health advisories that impact the customer's subscriptions and regions. It aggregates platform-wide issues (e.g., regional outages or degradation) that Azure engineering has confirmed, making it the appropriate tool for tracking a platform-wide service issue affecting multiple resources in a region.

Exam trap

The trap here is that candidates confuse Resource Health (which shows the health of a single resource) with Service Health (which shows platform-wide incidents), leading them to select Resource Health when the question explicitly asks about a 'platform-wide service issue' affecting multiple resources in a region.

Why the other options are wrong

B

Resource Health focuses on individual resource status (e.g., a specific VM), not platform-wide service issues affecting an entire region.

C

The Activity Log records administrative actions (e.g., create, delete, update) on resources, not platform-wide service incidents. The question asks about tracking a platform-wide service issue, which is reported by Service Health, not individual resource operations.

D

Azure Advisor provides recommendations for optimizing resource configurations, not for tracking platform-wide service issues. The question specifically asks about tracking a platform-wide service incident, which is the domain of Service Health.

When would these options actually be correct?

B

When the question asks about checking the health of a specific virtual machine that is unreachable, Resource Health would be correct because it provides the current availability and past health events for that resource.

C

The Activity Log would be correct if the question asked: 'Which Azure feature should an administrator use to review all write operations (PUT, POST, DELETE) performed on resources in a subscription over the past 90 days?'

D

Azure Advisor would be correct if the question asked: 'Which Azure feature should an administrator use to get recommendations on improving the availability, security, performance, or cost of their virtual machines?'

Why candidates pick the wrong answer

B

Candidates confuse 'health' terms, assuming Resource Health covers broader service issues, but it only monitors individual resources, not platform incidents.

C

Candidates may confuse the Activity Log's broad scope of recording events with the ability to track service health incidents, assuming any log of events would include platform issues.

D

Candidates may confuse Advisor's proactive recommendations with the reactive incident tracking of Service Health, or think that Advisor covers all types of health-related information.

736
MCQhard

Your organization assigns an Azure Policy at the Corp-MG management group to require the tag Environment on all newly created resources. A deployment to RG-App in the Prod-Sub subscription fails because the tag is missing. You need to allow this single deployment to proceed without weakening enforcement for the rest of the organization. What should you do?

A.Remove the policy assignment from Corp-MG.
B.Create a policy exemption at the Prod-Sub or RG-App scope.
C.Change the policy effect from Deny to Audit for all assignments.
D.Move Prod-Sub out of Corp-MG.
AnswerB

Creating a policy exemption at the Prod-Sub or RG-App scope is the correct remediation because exemptions are scoped to specific resources, resource groups, or subscriptions and instruct Azure Policy to skip evaluation for those resources while the policy assignment remains intact and enforced everywhere else. When you create the exemption, you must select an exemption category (Waiver or Mitigated) and can optionally set an expiration date, which provides audit traceability for why the deployment is allowed. This preserves the original Deny effect for all other child scopes of Corp-MG, so the broader governance model is maintained without weakening security or compliance posture.

Why this answer

A policy exemption allows you to exclude a specific scope (like Prod-Sub or RG-App) from the enforcement of a policy assignment without modifying or removing the policy itself. This lets the single deployment proceed while maintaining the Deny effect for all other resources under Corp-MG. Exemptions can be created with an expiration date to ensure temporary relief does not become permanent.

Exam trap

The trap here is that candidates often think they must remove or change the policy assignment itself, but Azure provides the policy exemption feature specifically to handle temporary exceptions without weakening overall enforcement.

Why the other options are wrong

A

Removing the policy assignment from Corp-MG would disable the tag requirement for all subscriptions under that management group, weakening enforcement for the entire organization, which contradicts the requirement to allow only this single deployment to proceed.

C

Changing the policy effect from Deny to Audit for all assignments would weaken enforcement across the entire organization, which contradicts the requirement to allow only this single deployment to proceed without weakening enforcement for the rest.

D

Moving Prod-Sub out of Corp-MG would remove all inherited policies from that management group, weakening enforcement for the entire subscription, not just the single deployment. The goal is to allow one deployment to proceed without affecting the rest of the organization.

When would these options actually be correct?

A

If the question stated that the tag requirement is no longer needed for any resources across the organization, and you need to completely remove the policy enforcement, then removing the assignment at Corp-MG would be correct.

C

If the question required a temporary relaxation of the policy for all resources (e.g., during a migration window) and explicitly stated that weakening enforcement organization-wide is acceptable, then changing the effect to Audit would be correct.

D

If the question stated that a subscription should no longer be subject to any policies from a management group (e.g., due to a change in compliance requirements or organizational restructuring), moving it out of the management group would be correct.

Why candidates pick the wrong answer

A

Candidates may think that removing the policy at the management group level is a quick fix to allow the deployment, without considering that it affects all child scopes and weakens overall enforcement.

C

Candidates may think that changing the effect to Audit is a quick fix to allow the deployment, without realizing it applies globally and undermines the policy's intent for all future resources.

D

Candidates may think that removing the subscription from the management group is a quick way to bypass the policy, without realizing it also removes other policies and affects future resources, not just the single deployment.

737
Multi-Selecteasy

A VM-hosted app must read blobs from Azure Storage without storing a shared key, SAS token, or password. Which two configuration steps should the administrator take? Select two.

Select 2 answers
A.Enable a system-assigned managed identity on the VM.
B.Assign the Storage Blob Data Reader role to that identity on the storage account.
C.Store the storage account access key in the app configuration.
D.Generate a SAS token and embed it in the application code.
E.Move the VM into a different subnet.
AnswersA, B

Enabling a system-assigned managed identity on the VM creates an Azure AD-backed identity directly tied to the VM's lifecycle, allowing the application to authenticate to Azure Storage without embedding or storing any credentials. This identity is automatically managed by Azure, eliminating the need for secret rotation or protection within the application code. Once enabled, the VM can acquire tokens for Azure AD to securely access storage blobs.

Why this answer

A system-assigned managed identity on the VM allows Azure to automatically manage a service principal for the VM, eliminating the need for any stored credentials. By assigning the Storage Blob Data Reader role to that identity on the storage account, the VM can authenticate to Azure Storage using Azure AD tokens obtained via the Azure Instance Metadata Service (IMDS) endpoint, without ever storing a shared key, SAS token, or password.

Exam trap

The trap here is that candidates may think moving the VM to a different subnet (Option E) solves the authentication problem, but subnet changes only affect network access control, not credentialless authentication; the correct approach relies on Azure AD and RBAC via managed identities.

Why the other options are wrong

C

Option C stores the storage account access key in the app configuration, which violates the requirement to avoid storing a shared key, SAS token, or password. The question explicitly requires a solution without storing such secrets.

D

Option D is wrong because embedding a SAS token in application code violates the requirement to avoid storing a shared key, SAS token, or password. The question explicitly prohibits using any such credentials.

E

Moving the VM into a different subnet does not provide any mechanism for the app to authenticate to Azure Storage without credentials. It only changes network isolation, not identity or access control.

When would these options actually be correct?

C

This option would be correct in a scenario where the question does not prohibit storing secrets, and the app needs to access storage with full account-level permissions (e.g., read/write/delete all blobs) using a simple configuration approach, without requiring managed identities or role assignments.

D

Option D would be correct if the question required granting time-limited, scoped access to a specific blob or container without using a managed identity, and the application could securely retrieve the SAS token from a key vault or generate it at runtime without hardcoding.

E

This option would be correct in a question about isolating VM network traffic, such as 'You need to ensure that a VM cannot communicate with the internet but can communicate with a database VM. Which step should you take?'

Why candidates pick the wrong answer

C

Candidates may be familiar with using access keys for storage access and think storing them in app configuration is a standard practice, overlooking the security requirement to avoid storing secrets in code or config.

D

Candidates may think a SAS token is a secure, temporary solution that avoids storing a shared key, but they overlook the requirement to avoid storing any token or password in the code.

E

Candidates may confuse network segmentation with security controls for data access, thinking that moving to a different subnet somehow secures the storage access or replaces the need for authentication.

738
MCQmedium

An App Service application needs to read secrets from Azure Key Vault. The security team does not want any password, certificate, or client secret stored in application settings, and they want the identity removed automatically if the app is deleted. What should the administrator enable?

A.A service principal with a client secret stored in App Service configuration.
B.A system-assigned managed identity on the App Service.
C.A user-assigned managed identity shared by all applications.
D.A shared access signature stored in Key Vault.
AnswerB

A system-assigned managed identity on the App Service is the correct approach because Azure automatically creates an identity in Azure AD that is directly tied to the App Service's lifecycle. The app can obtain Azure AD tokens without any stored credentials, and you grant this identity access to Key Vault via an access policy or RBAC. This eliminates the need to manage, store, or rotate secrets in code or configuration, fully satisfying the requirement to read secrets securely.

Why this answer

A system-assigned managed identity (Option B) is the correct choice because it provides an identity for the App Service that is automatically managed by Azure, tied to the lifecycle of the resource (deleted when the app is deleted), and requires no credentials to be stored in application settings. This allows the app to authenticate to Key Vault using Azure AD tokens without any secrets, satisfying the security team's requirements.

Exam trap

The trap here is that candidates may confuse user-assigned managed identities (which are independent resources with separate lifecycles) with system-assigned managed identities (which are tied to the resource's lifecycle), leading them to choose Option C despite the automatic removal requirement.

Why the other options are wrong

A

The security team explicitly prohibits storing any password, certificate, or client secret in application settings, and a service principal with a client secret stored in App Service configuration violates this requirement.

D

A shared access signature (SAS) is used for granting delegated access to Azure Storage resources, not for authenticating an App Service to Key Vault. It does not provide an identity that can be automatically removed when the app is deleted.

When would these options actually be correct?

A

If the question required using a specific Azure AD application with custom permissions or needed to access resources outside Azure (e.g., on-premises), and the security policy allowed storing secrets in App Service configuration, a service principal with a client secret would be appropriate.

D

A question asking how to grant time-limited access to a specific blob in Azure Storage from an application, with the requirement to avoid storing keys in code, would make a SAS stored in Key Vault the correct answer.

Why candidates pick the wrong answer

A

Candidates may think a service principal is the standard way to access Key Vault, overlooking the managed identity alternative and the security constraint against storing secrets in app settings.

D

Candidates may confuse SAS with a secure way to store credentials, or think that storing any token in Key Vault satisfies the requirement of not storing secrets in app settings, without understanding that SAS is for storage access, not identity-based Key Vault access.

739
MCQmedium

A production resource group contains VMs, public IP addresses, and a storage account. During a migration window, administrators must still be able to change settings and resize VMs, but nobody should accidentally delete any resource. Which lock should you apply to the resource group?

A.ReadOnly
B.CanNotDelete
C.Contributor
D.Azure Policy
AnswerB

CanNotDelete is a resource lock in Azure that prevents accidental deletion while still permitting read, update, and resizing operations. This lock operates at the management plane, blocking only the delete action on the VM, public IP, or resource group, so configuration changes remain possible. It is the correct choice because it selectively guards against deletion without freezing the resource's writable state.

Why this answer

The CanNotDelete lock prevents any user or process from deleting the resource group or its resources, while still allowing all other operations including read, write, and configuration changes such as resizing VMs. This matches the requirement that administrators must be able to change settings and resize VMs but must not accidentally delete any resource.

Exam trap

The trap here is that candidates often confuse Azure Policy with resource locks, thinking Policy can prevent deletion, when in fact only a CanNotDelete lock (or a custom policy with a deny effect on delete) blocks delete operations, and Policy alone does not provide that protection.

Why the other options are wrong

A

ReadOnly lock prevents all changes, including resizing VMs and changing settings, which contradicts the requirement that administrators must still be able to modify resources.

C

Contributor is an Azure RBAC role, not a lock. It allows full management access, including deletion, so it does not prevent accidental deletion.

D

Azure Policy is used to enforce organizational standards and assess compliance, not to prevent accidental deletion of resources. It does not provide a lock that blocks delete operations.

When would these options actually be correct?

A

A scenario where administrators need to prevent any modifications or deletions to resources, such as a critical production environment where even configuration changes must be blocked during an audit or compliance period.

C

A question asks which RBAC role to assign to a user who needs to manage all resources in a resource group but cannot grant access to others. Contributor would be correct.

D

When the question asks for a mechanism to enforce tagging rules or ensure all resources in a resource group have a specific configuration (e.g., require encryption), Azure Policy would be the correct answer.

Why candidates pick the wrong answer

A

Candidates may confuse 'prevent deletion' with 'prevent changes' and think ReadOnly is a stronger form of protection, overlooking that it also blocks legitimate modifications.

C

Candidates confuse RBAC roles with resource locks, thinking Contributor restricts deletion because it sounds less permissive than Owner.

D

Candidates may confuse Azure Policy's ability to enforce rules with the operational lock functionality, thinking it can prevent deletions as a compliance rule.

740
MCQmedium

A security team needs platform logs and metrics from an Azure Key Vault to be searchable later in a Log Analytics workspace so they can investigate administrative changes and access trends. What should you configure on the Key Vault?

A.Azure Monitor private link scope
B.A diagnostic setting that sends logs and metrics to the workspace
C.An activity log alert on the subscription only
D.A resource lock on the Key Vault
AnswerB

Diagnostic settings are the Azure feature that forwards resource logs and metrics from a service like Key Vault to a Log Analytics workspace. That makes the data searchable with KQL for investigations, reporting, and trend analysis. It is the correct configuration when the goal is to centralize operational telemetry from a specific Azure resource.

Why this answer

A diagnostic setting on Azure Key Vault allows you to stream platform logs (e.g., AuditEvent) and metrics (e.g., ServiceApiHit) to a Log Analytics workspace. This makes the data searchable via KQL queries for investigating administrative changes and access trends, fulfilling the security team's requirement.

Exam trap

The trap here is that candidates may confuse diagnostic settings with activity logs or alerts, thinking that activity log alerts or resource locks provide log searchability, when only a diagnostic setting can route platform logs and metrics to a Log Analytics workspace for querying.

Why the other options are wrong

A

Azure Monitor private link scope is used to privately connect to Azure Monitor workspaces, not to send Key Vault logs and metrics to a Log Analytics workspace.

C

Activity log alerts notify on events but do not store logs for later search; the question requires logs to be searchable in a Log Analytics workspace, which only a diagnostic setting can provide.

When would these options actually be correct?

A

When the requirement is to ensure that data sent to a Log Analytics workspace is accessed only over a private network, avoiding public internet exposure, you would configure an Azure Monitor private link scope.

C

If the question asked for a method to be notified when a specific administrative change occurs in the subscription (e.g., when a Key Vault is deleted), an activity log alert would be correct.

Why candidates pick the wrong answer

A

Candidates may confuse private link with diagnostic settings, thinking that private link is needed to send logs securely, but the actual mechanism for sending logs is a diagnostic setting.

C

Candidates may confuse alerting with logging, thinking that alerts also store data for analysis, or they may overestimate the capabilities of activity log alerts for long-term search.

741
MCQeasy

During a change freeze, administrators must prevent deletion of a production resource group and all resources inside it, but they still need to update VM sizes and tags. Which lock should be applied?

A.ReadOnly on the resource group
B.CanNotDelete on the resource group
C.CanNotDelete on the management group
D.An Azure Policy deny assignment
AnswerB

CanNotDelete is the correct lock when you want to stop accidental deletion but still allow configuration changes. Applied at the resource group scope, it protects the group and the resources inside it from being deleted while still permitting updates such as resizing a VM or changing tags. That makes it ideal for a maintenance freeze.

Why this answer

The CanNotDelete lock on the resource group prevents deletion of the resource group and all resources within it, while still allowing read and update operations such as modifying VM sizes and tags. This meets the requirement of blocking deletions during the change freeze without restricting updates. ReadOnly locks would block all write operations, including the needed updates.

Exam trap

The trap here is that candidates often confuse CanNotDelete with ReadOnly, assuming that any lock will block updates, but CanNotDelete specifically allows modifications while only preventing deletion.

Why the other options are wrong

A

ReadOnly lock prevents all write operations, including updating VM sizes and tags, which contradicts the requirement to allow those updates.

C

Applying CanNotDelete on the management group would block deletion of all resource groups under that management group, but the question only requires preventing deletion of a single production resource group. Additionally, it does not address the need to allow updates to VM sizes and tags, which is already permitted with CanNotDelete at the resource group level.

D

An Azure Policy deny assignment can block updates to VM sizes and tags, which contradicts the requirement that administrators still need to update those properties.

When would these options actually be correct?

A

If the requirement were to prevent any changes (including updates) to the resource group and its resources, while still allowing read access, a ReadOnly lock would be correct.

C

A question where the requirement is to prevent deletion of all resource groups within a management group (e.g., all production subscriptions) while still allowing updates to resources inside them. For example: 'You need to ensure that no resource groups can be deleted in the production management group, but administrators can still modify resources. Which lock should you apply?'

D

If the question required preventing any changes to resources (including updates to VM sizes and tags) while still allowing reads, a deny assignment or ReadOnly lock would be correct.

Why candidates pick the wrong answer

A

Candidates may confuse 'prevent deletion' with 'prevent changes', assuming ReadOnly is needed to block deletions, but ReadOnly is more restrictive than necessary.

C

Candidates may think that applying the lock at a higher scope (management group) is more efficient or provides broader protection, overlooking that the question specifies a single resource group and that the lock at the management group would affect all child resource groups, which is not required.

D

Candidates may think a deny assignment provides more granular control, but it would overly restrict the required update operations.

742
MCQeasy

A company wants an alert to be sent by email and SMS whenever a production virtual machine's CPU percentage goes above 80 percent. The administrator also wants the notification targets to be reusable by other alerts later. What should the administrator configure first?

A.A metric alert rule only
B.An action group
C.A service health alert
D.A diagnostic setting
AnswerB

An action group stores the notification targets, such as email and SMS recipients, so multiple alerts can reuse the same response action.

Why this answer

An action group (B) is the correct first configuration because it defines the notification targets (email, SMS) that can be reused across multiple alert rules. In Azure Monitor, alert rules are decoupled from notification actions; you create an action group once and then reference it in any metric alert rule, including the CPU percentage threshold rule needed here. This ensures the administrator can meet the requirement for reusable notification targets.

Exam trap

The trap here is that candidates often think a metric alert rule inherently includes notification settings, but Azure separates the condition (alert rule) from the notification method (action group) to enforce reusability and centralized management.

Why the other options are wrong

A

A metric alert rule defines the condition (CPU > 80%) but does not include notification targets. The question requires reusable notification targets, which are configured separately as an action group.

C

A service health alert monitors Azure service outages and planned maintenance, not VM CPU performance. The question requires alerting on a specific VM metric (CPU percentage), which is not covered by service health alerts.

D

A diagnostic setting is used to stream platform logs and metrics to destinations like Log Analytics, Storage, or Event Hubs, not to trigger alerts via email or SMS. It does not define notification actions.

When would these options actually be correct?

A

If the question asked for the first step to monitor CPU usage without requiring reusable notifications, or if the alert rule itself could directly define email/SMS without needing a separate action group (which is not the case in Azure), then a metric alert rule alone would suffice.

C

A service health alert would be correct if the question asked to notify administrators when Azure experiences a service incident affecting their subscription, such as a regional outage or planned maintenance for a specific service like Virtual Machines.

D

If the question asked for collecting CPU metrics into Log Analytics for historical analysis or custom log queries, then configuring a diagnostic setting would be the first step.

Why candidates pick the wrong answer

A

Candidates may think the alert rule includes notification settings, or they focus on the monitoring condition first and overlook the requirement for reusable notification targets.

C

Candidates may confuse 'service health' with 'health of the VM service' or think that any alert related to Azure services should use service health alerts, not realizing it's for Azure platform health, not resource metrics.

D

Candidates may confuse diagnostic settings with alert rules, thinking they are required to enable metric collection before alerting, but Azure Monitor automatically collects metrics for alerting without diagnostic settings.

743
MCQeasy

A user is assigned the Reader role on a resource group named RG1. Later, a new storage account is created in RG1. What access will the user have to that storage account without any new role assignment?

A.No access, because RBAC assignments do not apply to resources created later.
B.Reader access, because the resource group assignment is inherited by the storage account.
C.Contributor access, because storage accounts inherit the highest available permissions.
D.Owner access, because resource group permissions always become full control on child resources.
AnswerB

This is correct because Azure RBAC permissions flow downward from the assigned scope. A role assigned at the resource group level applies to all current and future resources in that group unless a more restrictive condition or deny assignment applies. The new storage account automatically inherits the Reader permissions from RG1, so the user can view it without another assignment.

Why this answer

Azure RBAC permissions assigned at a resource group scope are inherited by all resources within that resource group, including resources created after the assignment. Since the user has the Reader role on RG1, that role is inherited by the new storage account, granting read-only access to it without any additional role assignment.

Exam trap

The trap here is that candidates mistakenly believe RBAC assignments do not apply to resources created after the assignment, confusing Azure RBAC with classic deployment model permissions or assuming inheritance is only for existing resources.

Why the other options are wrong

A

RBAC assignments on a resource group are inherited by all resources within that group, including those created after the assignment, so the user would have Reader access to the new storage account.

C

The Reader role only allows read access, not write access. Contributor access requires a role assignment that includes write permissions, which is not inherited from the Reader role.

D

The Reader role on a resource group grants read-only access to all resources within it, including new resources, but does not grant Owner or full control. Owner access requires an explicit role assignment at the resource or higher scope.

When would these options actually be correct?

A

This option would be correct if the question stated that the role assignment was made at the subscription level and the storage account was in a different subscription, or if the role assignment was explicitly scoped to the resource group but the storage account was created in a different resource group.

C

If the user had been assigned the Contributor role on the resource group, then any new resource created in that group would inherit Contributor access, making this option correct.

D

If a user is assigned the Owner role on a resource group, they have full control over all resources in that group, including new ones, because Owner includes all permissions and can delegate access. This would be correct in a question where the assigned role is Owner, not Reader.

Why candidates pick the wrong answer

A

Candidates may mistakenly believe that RBAC assignments are static and do not apply to resources created after the assignment, confusing RBAC with Azure Policy or resource locks.

C

Candidates may mistakenly believe that permissions escalate for child resources or that storage accounts automatically grant higher access due to their nature.

D

Candidates may mistakenly believe that resource group-level permissions always escalate to full control on child resources, confusing the Reader role with higher-privileged roles like Owner or Contributor.

744
MCQmedium

A storage account must be reachable only from resources in a single VNet. The team wants the storage service to use a private IP address inside that VNet and wants to disable public network access. Which feature should be configured?

A.A service endpoint
B.A private endpoint
C.A network security group rule on the subnet
D.A storage account firewall IP allow rule
AnswerB

A private endpoint assigns the storage account a private IP address from your virtual network, so the service is reachable only via that private IP from resources in the VNet. This effectively moves the storage endpoint into your VNet and eliminates exposure to the public internet. Traffic to the storage account flows over the Microsoft backbone, not the public internet, and can be further secured with network policies.

Why this answer

A private endpoint assigns the storage account a private IP address from the VNet's address space, effectively bringing the service into the VNet. It also disables public network access by default when configured with the 'Deny public network access' setting, ensuring the storage account is reachable only from within that VNet.

Exam trap

The trap here is that candidates often confuse service endpoints with private endpoints, assuming both provide private IP addresses, but service endpoints only provide a direct route over the Microsoft backbone while still using the public endpoint.

Why the other options are wrong

A

A service endpoint does not assign a private IP to the storage account; it only allows access from a VNet while the storage account retains its public endpoint. The question requires the storage service to use a private IP inside the VNet, which only a private endpoint provides.

C

A network security group (NSG) rule on the subnet can filter traffic to the storage account's public endpoint, but it does not provide a private IP address for the storage service nor disable public network access. The storage account would still be accessible via its public endpoint from outside the VNet if the NSG rule is misconfigured or bypassed.

D

A storage account firewall IP allow rule restricts access based on public IP addresses, not private IPs within a VNet. It cannot provide a private IP address inside the VNet or disable public network access entirely.

When would these options actually be correct?

A

A service endpoint would be correct if the question asked for a way to secure storage account access to a specific VNet without requiring a private IP, and public network access could remain enabled but restricted to that VNet's traffic.

C

An NSG rule on the subnet would be correct in a scenario where the storage account uses a service endpoint (public endpoint) and the goal is to restrict inbound traffic to the storage account from only that subnet, while still allowing public access from other sources if needed. For example, 'You need to allow a specific subnet to access an Azure Storage account that uses a service endpoint, and deny all other traffic to that storage account.'

D

When the requirement is to allow access to a storage account only from specific public IP addresses or ranges (e.g., from an on-premises network with a static public IP) while still keeping public endpoint enabled.

Why candidates pick the wrong answer

A

Candidates may confuse service endpoints with private endpoints, thinking both provide private connectivity, but service endpoints do not assign a private IP and still expose the public endpoint.

C

Candidates may confuse NSG rules with private endpoints because both can restrict network access. They might think that an NSG rule on the subnet can provide private IP connectivity and disable public access, not realizing that NSGs only filter traffic to the public endpoint and do not change the endpoint type.

D

Candidates may confuse IP-based firewall rules with network-level access controls, thinking that allowing specific IPs can restrict access to a VNet, but it does not provide private IP connectivity or disable public access.

745
MCQeasy

A partner company needs a developer to access resources in your tenant by using the developer's existing work account. You do not want to create a new separate username and password for that person. What should you create in Microsoft Entra ID?

A.A local user account in each resource group
B.A guest user account
C.A managed identity
D.A new service principal
AnswerB

A guest user account is the correct identity type for a developer from a partner company because Azure AD B2B collaboration allows you to invite that user into your tenant using their own organization's credentials. This establishes a security principal that can be assigned Azure RBAC roles (e.g., Contributor or Reader) scoped to specific resources or resource groups, while the partner retains control of their password and authentication policies. No new credentials are created in your directory, and the guest can be easily revoked or expired.

Why this answer

B is correct because Microsoft Entra ID B2B collaboration allows you to invite an external user's existing work account as a guest user. This grants access to resources without creating a new username and password, as the developer authenticates using their home tenant credentials. Guest users are managed in Entra ID and can be assigned permissions via Azure RBAC or group membership.

Exam trap

The trap here is that candidates confuse a guest user (B2B collaboration) with a service principal or managed identity, thinking any external access requires a non-user identity, but the question explicitly asks for a user account using an existing work account.

Why the other options are wrong

A

Local user accounts in resource groups are not supported in Azure; user accounts are managed at the tenant level in Microsoft Entra ID, not per resource group. Creating a local account would also require managing separate credentials, contradicting the requirement to use the developer's existing work account.

C

A managed identity is an Azure resource identity used for authenticating to Azure services without storing credentials, not for inviting external users. It cannot be used to grant access to a partner's existing work account.

D

A service principal is an identity for applications or automated tools, not for individual users. The question requires granting access to a specific developer using their existing work account, which is a user-to-user collaboration scenario, not an application identity scenario.

When would these options actually be correct?

A

This option would be correct if the question asked about granting permissions to a specific resource group for a user who already has an account in the same tenant, and the task was to assign RBAC roles directly to that user at the resource group scope.

C

A managed identity would be correct if the question asked: 'You need to allow a virtual machine to access Azure Key Vault without storing credentials in code. What should you create?'

D

A service principal would be correct if the question asked: 'You need to allow an automated script running in a partner's Azure subscription to access resources in your tenant. What should you create?' In that case, a service principal provides a secure identity for the script without requiring a user account.

Why candidates pick the wrong answer

A

Candidates may think that creating a user account within a resource group is a way to provide access without affecting the entire tenant, not realizing that Azure AD user accounts are tenant-wide and resource groups do not have their own user directory.

C

Candidates may confuse managed identities with guest accounts because both involve identity without password management, but managed identities are for Azure resources, not external users.

D

Candidates may confuse service principals with guest users because both involve external access. They might think a service principal is needed for any external identity, overlooking that service principals are for applications, not individual users.

746
MCQmedium

A VM-hosted automation tool must call Azure Resource Manager APIs, but the team will not store a password, certificate, or client secret on the VM. The identity should also disappear automatically when the VM is deleted. Which identity should be assigned?

A.System-assigned managed identity
B.User-assigned managed identity
C.Service principal with a client secret
D.Shared access signature
AnswerA

A system-assigned managed identity is the correct choice because it is directly tied to the VM's lifecycle and has no credential management. The identity is automatically provisioned in Azure AD and can be granted Azure Resource Manager RBAC permissions, such as Contributor or Reader, without storing any secrets. When the VM is deleted, the identity is automatically removed, meeting the requirement to avoid leftover or orphaned credentials. The automation tool merely needs to request a token from the Azure Instance Metadata Service (IMDS) using the default identity.

Why this answer

A system-assigned managed identity is the correct choice because it is tied directly to the lifecycle of the Azure VM—when the VM is deleted, the identity is automatically removed. It allows the automation tool to authenticate to Azure Resource Manager APIs without storing any credentials (password, certificate, or client secret) on the VM, using Azure AD tokens obtained via the Azure Instance Metadata Service (IMDS) endpoint.

Exam trap

The trap here is that candidates often confuse user-assigned managed identities with system-assigned ones, failing to recognize that user-assigned identities are independent resources that do not automatically disappear when the VM is deleted.

Why the other options are wrong

B

User-assigned managed identity does not automatically disappear when the VM is deleted; it must be manually deleted separately, failing the requirement for automatic cleanup.

C

A service principal with a client secret requires storing a secret on the VM, which violates the constraint of not storing credentials. Additionally, it does not automatically disappear when the VM is deleted.

D

A shared access signature (SAS) is used to grant delegated access to Azure Storage resources, not to authenticate to Azure Resource Manager APIs. It cannot serve as an identity for a VM to call ARM APIs.

When would these options actually be correct?

B

A user-assigned managed identity is correct when multiple Azure resources (e.g., multiple VMs) need to share the same identity, or when the identity must be pre-created and assigned to a resource after creation, such as in a scenario where the identity lifecycle is managed independently from the resource.

C

When an application needs to authenticate to Azure AD with a client secret that can be rotated independently of the VM lifecycle, and the team is willing to manage secret storage securely (e.g., using Azure Key Vault).

D

A question where a VM or application needs to access a specific Azure Storage container or blob with time-limited, granular permissions (e.g., read-only for 1 hour) without using a full identity. The correct answer would be a SAS token.

Why candidates pick the wrong answer

B

Candidates may confuse user-assigned with system-assigned managed identities, thinking both are 'managed' and thus automatically deleted, or they may recall that user-assigned identities can be reused across resources without realizing they persist after resource deletion.

C

Candidates may think a service principal is necessary for API access and overlook the managed identity option, or they may not fully understand that managed identities eliminate the need for secret management.

D

Candidates may confuse SAS with a general authentication mechanism for Azure APIs, or think it can be used like a token for any Azure service, not just Storage.

747
MCQmedium

A subnet has an NSG with these inbound rules: priority 100 denies TCP 443 from Any, and priority 200 allows TCP 443 from an Application Security Group named WebFrontEnd. A backend VM in the subnet still does not accept traffic from the frontend tier. What should the administrator change?

A.Change the allow rule source from an Application Security Group to VirtualNetwork.
B.Move the allow rule to a lower priority number than the deny rule.
C.Attach a user-defined route to the subnet so traffic bypasses the NSG.
D.Place the backend VM in a different availability set so the rule is evaluated differently.
AnswerB

NSG rules are processed by priority, and the lowest number wins. Because the deny rule at priority 100 is evaluated before the allow rule at 200, the traffic is blocked. The administrator should make the allow rule a smaller number than the deny rule or remove the conflicting deny rule.

Why this answer

Network Security Group (NSG) rules are evaluated in priority order, with lower numbers evaluated first. Since the deny rule has priority 100 and the allow rule has priority 200, the deny rule is evaluated first and blocks TCP 443 traffic from any source, including the WebFrontEnd Application Security Group. To allow the frontend traffic, the allow rule must be moved to a lower priority number (e.g., 90) so it is evaluated before the deny rule.

Exam trap

The trap here is that candidates often assume allow rules override deny rules or that more specific rules (like those using Application Security Groups) take precedence regardless of priority, but in Azure NSGs, priority order strictly determines which rule is applied first.

Why the other options are wrong

A

The NSG rules are evaluated by priority order; the deny rule at priority 100 blocks all TCP 443 traffic before the allow rule at priority 200 is evaluated. Changing the source to VirtualNetwork does not resolve the priority issue.

C

NSGs filter traffic based on rules; a user-defined route (UDR) controls traffic routing, not NSG filtering. Attaching a UDR does not bypass NSG rules, so it would not resolve the issue where a higher-priority deny rule blocks traffic.

D

Availability sets affect VM high availability, not NSG rule evaluation. NSG rules are evaluated based on priority and source/destination, not the VM's availability set membership.

When would these options actually be correct?

A

If the question stated that the allow rule had a lower priority (higher number) than the deny rule, but traffic from the frontend tier was still not reaching the backend VM because the frontend VMs were not in the same virtual network as the backend subnet, then changing the source from an Application Security Group to VirtualNetwork would allow traffic from any VM in the virtual network.

C

An administrator needs to force traffic from a subnet to go through a network virtual appliance (NVA) for inspection. In that scenario, a UDR is attached to the subnet to override the default system route and direct traffic to the NVA, ensuring traffic bypasses direct routing.

D

In a scenario where a VM in an availability set is not receiving traffic due to a load balancer health probe failing because VMs in the same availability set are all down, moving the VM to a different availability set could restore connectivity by ensuring at least one healthy VM responds.

Why candidates pick the wrong answer

A

Candidates may think that using an Application Security Group is too restrictive and that allowing traffic from the entire virtual network is a broader and safer approach, overlooking that the core issue is rule priority.

C

Candidates may confuse NSG filtering with routing, thinking that changing the route can bypass security rules. They might also believe that UDRs can override all network controls, not just routing decisions.

D

Candidates may confuse availability sets with network isolation or think that changing the VM's placement alters how NSG rules are applied, due to a misunderstanding of Azure networking and high availability concepts.

748
Matchingeasy

Match each blob access method or setting to its best use case.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Provides full access to the storage account and should be protected carefully.

Grants time-limited access to specific resources and permissions.

Authorizes users or applications through Microsoft Entra ID at a chosen scope.

Allows anonymous read access when enabled for the container.

Lets an Azure-hosted app authenticate without storing credentials or secrets.

Why these pairings

Public endpoint with anonymous access is for public content. Private endpoint with managed identity provides secure VM access. SAS tokens grant time-limited restricted access.

Azure AD with RBAC centralizes identity management. Storage account key gives full admin control. Immutable storage with legal hold ensures data cannot be altered or deleted.

749
MCQeasy

An administrator is deploying a site-to-site VPN gateway in Azure. Which resource must be attached to the gateway so it can receive encrypted connections from the on-premises VPN device?

A.A public IP address resource.
B.A private endpoint.
C.A service endpoint.
D.A network security group.
AnswerA

A VPN gateway must have a public IP address resource to serve as the external endpoint for the site-to-site tunnel. This public IP is assigned to the gateway object (not a VM NIC) and is the address your on-premises VPN device connects to over the internet. Without it, the gateway has no routable public-facing address, so the IPsec/IKE handshake cannot be initiated.

Why this answer

A site-to-site VPN gateway in Azure requires a public IP address resource to be attached so that the on-premises VPN device can establish an encrypted IPsec/IKE tunnel to it. The public IP address provides the routable endpoint on the internet that the on-premises device connects to, and it is assigned to the gateway's front-end configuration. Without this public IP, the gateway cannot receive inbound encrypted traffic from the external network.

Exam trap

The trap here is that candidates confuse a VPN gateway's public IP requirement with private connectivity options like private endpoints or service endpoints, mistakenly thinking the gateway can operate within the virtual network's private IP space alone.

Why the other options are wrong

B

A private endpoint is used to securely connect to Azure PaaS services over a private IP address, not to receive encrypted VPN connections from an on-premises VPN device. The VPN gateway requires a public IP address to terminate the site-to-site VPN tunnel.

C

A service endpoint secures Azure service access from a virtual network, but it does not provide the public IP address required for a VPN gateway to receive encrypted connections from an on-premises VPN device.

D

A network security group (NSG) filters traffic but does not provide the public IP address required for the on-premises VPN device to establish an encrypted connection to the Azure VPN gateway.

When would these options actually be correct?

B

A private endpoint would be correct in a scenario where you need to connect to an Azure SQL Database or Storage Account privately from a virtual network, without exposing it to the public internet. For example: 'An administrator needs to ensure that traffic to an Azure SQL Database from a virtual network never traverses the public internet. Which resource should be deployed?'

C

This option would be correct in a question about securing access to an Azure service (e.g., Azure Storage) from a virtual network, where a service endpoint is used to restrict traffic to that service from the VNet only.

D

An NSG would be correct in a question asking which resource can be associated with a subnet to restrict inbound/outbound traffic to/from Azure resources, such as controlling access to a virtual machine.

Why candidates pick the wrong answer

B

Candidates may confuse 'private' with 'secure' and think that a private endpoint provides the necessary security for VPN connections, not realizing that VPN gateways inherently require public IP addresses for tunnel establishment.

C

Candidates may confuse 'service endpoint' with 'VPN endpoint' or think that a service endpoint is needed to establish connectivity between Azure and on-premises, not realizing it is for PaaS services only.

D

Candidates may think NSGs are needed to secure the VPN connection, confusing traffic filtering with the connectivity requirement for the VPN gateway.

750
Multi-Selecteasy

A user deleted several files from an Azure VM, and the administrator wants to use Azure Backup file recovery. Which two items are needed to start the recovery process? Select two.

Select 2 answers
A.A recovery point
B.An application security group
C.The file recovery script downloaded from the vault
D.A metric alert rule
E.A user-assigned managed identity
AnswersA, C

A recovery point is the core artifact of Azure Backup: it is a point-in-time snapshot (crash-consistent or app-consistent) of the VM's disks, stored in the Recovery Services vault. To recover deleted files, you must have at least one successful recovery point that predates the deletion, because the actual file data is only available from that snapshot. Without a recovery point, there is no backed-up copy of the file system to restore, making the entire recovery operation impossible.

Why this answer

Azure Backup file recovery requires a recovery point (A) because it represents the snapshot of the VM's data at a specific time from which files can be restored. The file recovery script (C) is downloaded from the Recovery Services vault and mounts the recovery point as a drive on the VM, enabling file-level access. Without both, the recovery process cannot proceed.

Exam trap

The trap here is that candidates may think a user-assigned managed identity (E) is needed for authentication to access the vault, but the file recovery script handles authentication via a temporary SAS token embedded in the script, not via managed identities.

Why the other options are wrong

B

An application security group is used to control network traffic to Azure VMs, not for file recovery from Azure Backup. File recovery requires a recovery point and the file recovery script, not network security components.

D

A metric alert rule is used to monitor Azure resources and trigger actions based on performance or availability metrics, not to recover files from an Azure VM backup.

E

Azure VM file recovery via Azure Backup requires a recovery point and the file recovery script from the vault; a user-assigned managed identity is not needed for this process.

When would these options actually be correct?

B

In a scenario where you need to restrict inbound traffic to a VM based on application workloads (e.g., allow only web traffic to web servers), an application security group would be the correct answer for a question about network security groups.

D

In a question about configuring notifications for backup failures or performance issues, a metric alert rule would be correct to alert on backup-related metrics like 'Backup Health Events' or 'Backup Item Size'.

E

A user-assigned managed identity would be correct in a question about authenticating an Azure VM to access Azure Key Vault or other Azure resources without storing credentials in code.

Why candidates pick the wrong answer

B

Candidates may confuse the term 'security group' with backup security or think that some security component is needed to authorize the recovery process, but application security groups are unrelated to backup operations.

D

Candidates may confuse monitoring and alerting with recovery processes, thinking that alerts are needed to initiate or manage file recovery steps.

E

Candidates may confuse managed identities with authentication requirements for backup operations, mistakenly thinking an identity is needed to authorize the file recovery script.

Page 9

Page 10 of 14

Page 11