Courseiva

AZ-104 (AZ-104) — Questions 226300

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

Page 3

Page 4 of 14

Page 5
226
MCQmedium

You need to restore a deleted file from a backed-up Azure virtual machine without restoring the entire VM. Which Azure Backup capability should you use?

A.Cross-region restore
B.File Recovery
C.Azure Site Recovery failover
D.Boot diagnostics
AnswerB

Azure Backup's File Recovery feature is the correct tool because it is specifically designed to restore individual files or folders from an Azure VM backup without redeploying the entire VM. You select a recovery point, and Azure mounts the backup as an iSCSI target on your machine, allowing you to copy the deleted file directly. This granular recovery is efficient for single-file restores and avoids the overhead of a full VM restoration.

Why this answer

Azure Backup's File Recovery capability allows you to mount the VM's recovery point as a drive on your local machine, enabling you to browse and restore individual files without restoring the entire VM. This is achieved by creating an iSCSI target from the recovery point snapshot, which you can connect to from a compatible OS. It is the correct choice for granular file-level recovery from a VM backup.

Exam trap

The trap here is that candidates often confuse Azure Backup's File Recovery with Azure Site Recovery's failover, mistakenly thinking failover can be used for granular file restoration, when in fact Site Recovery is for full VM replication and disaster recovery, not backup-based file recovery.

Why the other options are wrong

A

Cross-region restore is used to restore a VM or its data to a paired Azure region for disaster recovery, not for restoring individual files from a backup within the same region.

C

Azure Site Recovery failover is designed for disaster recovery by replicating entire VMs to a secondary region, not for granular file-level restoration from backup data.

D

Boot diagnostics provides screenshots and serial logs for troubleshooting VM boot failures, not file-level recovery from backups.

When would these options actually be correct?

A

When the question asks for a capability to restore a VM or its data to a different Azure region in the event of a regional outage or disaster, Cross-region restore would be the correct answer.

C

When the question asks for a solution to fail over an entire Azure VM to a secondary region during a disaster, such as a regional outage, to maintain business continuity.

D

When a question asks how to troubleshoot a VM that fails to boot or hangs during startup, Boot diagnostics is the correct tool to capture boot logs and screenshots.

Why candidates pick the wrong answer

A

Candidates may confuse the ability to restore data from a backup with the broader disaster recovery feature, assuming cross-region restore can handle file-level recovery.

C

Candidates may confuse Azure Backup's file-level recovery with Azure Site Recovery's failover capability, assuming both can restore files without realizing Site Recovery operates at the VM level.

D

Candidates may confuse diagnostic tools with recovery capabilities, thinking that any diagnostic feature can help restore files.

227
MCQeasy

A stateless web app on Azure must add or remove instances automatically when CPU usage changes. Which service should you deploy?

A.Virtual machine scale set with autoscale
B.Single virtual machine
C.Availability set
D.Managed disk
AnswerA

VM scale sets are designed for multiple identical instances and can scale automatically based on rules.

Why this answer

A virtual machine scale set (VMSS) with autoscale is the correct choice because it is designed to automatically increase or decrease the number of VM instances based on metrics like CPU usage. Autoscale rules can be configured to scale out when CPU exceeds a threshold (e.g., 75%) and scale in when it drops below a threshold, ensuring the stateless web app handles variable load without manual intervention.

Exam trap

The trap here is that candidates confuse high-availability constructs (availability sets) or storage components (managed disks) with autoscaling compute, or assume a single VM can be dynamically scaled horizontally, when only VMSS provides automated instance-level scaling based on metrics.

Why the other options are wrong

B

A single virtual machine cannot automatically scale out or in based on CPU usage; it lacks the orchestration and autoscaling capabilities needed for a stateless web app that requires dynamic instance adjustment.

C

An availability set provides high availability for VMs within a datacenter but does not include autoscaling capabilities to automatically add or remove instances based on CPU usage.

D

Managed disks are storage volumes for VMs, not a compute scaling solution. They do not provide automatic instance addition or removal based on CPU usage.

When would these options actually be correct?

B

A single virtual machine would be correct for a stateless web app that does not require high availability or scaling, such as a development/test environment or a low-traffic application where manual scaling is acceptable.

C

An availability set would be correct if the question asked for a solution to ensure high availability for a stateless web app by distributing VMs across fault domains and update domains, without requiring automatic scaling.

D

When the question asks for a durable, high-performance storage option for Azure VMs, such as 'Which storage option provides persistent block storage with encryption at rest for a production database VM?'

Why candidates pick the wrong answer

B

Candidates may think a single VM can handle autoscaling by itself, not realizing that autoscaling requires a scale set to manage multiple instances.

C

Candidates may confuse availability sets with scalability features, thinking that distributing VMs across fault domains also enables automatic scaling, or they may not fully understand the distinct purposes of availability sets versus scale sets.

D

Candidates may confuse managed disks with the ability to manage scaling, or think that 'managed' implies automatic scaling, but it only refers to storage management.

228
MCQeasy

A subnet has an NSG with a custom inbound deny-all rule at priority 200. You need to allow HTTPS traffic to a VM in that subnet from any source. Which action should you take?

A.Create an inbound allow rule for TCP 443 with priority 300.
B.Create an inbound allow rule for TCP 443 with priority 100.
C.Change the deny-all rule to outbound instead of inbound.
D.Add a route table entry for port 443 traffic to the VM subnet.
AnswerB

Azure Network Security Group rules are evaluated in ascending order of priority, where a smaller numeric value means higher priority. This rule at priority 100 is evaluated before the deny-all at priority 200, and because it specifically matches TCP port 443 inbound, it will allow HTTPS traffic; once a matching rule is found, evaluation stops. This is the standard way to create an exception above a broad deny-all rule.

Why this answer

NSG rules are evaluated in priority order, with lower numbers evaluated first. The existing deny-all rule at priority 200 blocks all inbound traffic. To allow HTTPS (TCP 443) before the deny rule is evaluated, you must create an allow rule with a priority lower than 200, such as priority 100.

This ensures the allow rule is processed first, permitting the traffic.

Exam trap

The trap here is that candidates often think higher priority numbers (like 300) are evaluated first, or they confuse NSG rule priority with route table priority, leading them to choose a higher priority number or a route table entry instead of a lower priority allow rule.

Why the other options are wrong

A

In Azure, NSG rules are evaluated in priority order, with lower numbers having higher priority. A rule at priority 300 is evaluated after a rule at priority 200, so the deny-all rule would block HTTPS traffic before the allow rule is reached.

C

The deny-all rule is inbound, blocking inbound traffic. Changing it to outbound does not affect inbound HTTPS traffic; it would only block outbound traffic, which is not the issue.

D

Route tables control traffic routing between subnets and networks, not traffic filtering. NSGs filter traffic, so adding a route table entry does not allow HTTPS traffic through the NSG's deny-all rule.

When would these options actually be correct?

A

This option would be correct if the existing deny-all rule had a priority higher than 300 (e.g., 400) or if the question asked for a rule to allow traffic with a lower priority than the deny rule, but the deny rule was at a higher priority number (e.g., 100).

C

If the question were about allowing outbound HTTPS traffic from the subnet while blocking inbound, changing a deny-all inbound rule to outbound would be incorrect; but if the NSG had an outbound deny-all rule blocking outbound HTTPS, you would need to add an outbound allow rule instead.

D

You need to force HTTPS traffic from the internet to a specific VM through a network virtual appliance (NVA) for inspection. A route table entry with a next hop of the NVA's IP address would redirect traffic accordingly.

Why candidates pick the wrong answer

A

Candidates may mistakenly think that higher priority numbers mean higher priority, or they may assume that adding a rule with a higher number will override the deny rule because it is more specific.

C

Candidates may think that changing the direction of the deny rule will resolve the inbound blocking, misunderstanding that NSG rules are directional and that inbound and outbound traffic are evaluated separately.

D

Candidates may confuse the functions of NSGs (filtering) and route tables (routing), thinking that adding a route can override NSG rules or that routing changes can bypass security filters.

229
Multi-Selecthard

A subnet has a route table with these user-defined routes: 10.10.0.0/16 to Virtual appliance, 10.10.5.0/24 to Virtual network gateway, and 10.10.5.128/25 to Virtual network. The subnet is attached to a VM that sends traffic to several destinations. Which three next-hop decisions are correct? Select three.

Select 3 answers
A.Traffic to 10.10.5.9 uses Virtual network gateway.
B.Traffic to 10.10.5.200 uses Virtual network.
C.Traffic to 10.10.8.4 uses Virtual appliance.
D.Traffic to 10.10.5.9 uses Virtual appliance.
E.Traffic to 8.8.8.8 uses Virtual appliance.
AnswersA, B, C

Azure applies longest-prefix matching to determine the next hop for 10.10.5.9. The 10.10.5.0/24 user-defined route is a longer prefix than the broader 10.10.0.0/16 route, and the /25 route (10.10.5.128/25) does not contain this IP. Therefore, the most specific matching route directs traffic to the Virtual network gateway.

Why this answer

The route table uses longest prefix match. The destination 10.10.5.9 falls within the 10.10.5.0/24 range, which has a more specific prefix (24 bits) than 10.10.0.0/16 (16 bits). The user-defined route for 10.10.5.0/24 specifies a next hop of Virtual network gateway, so traffic to 10.10.5.9 is forwarded to the gateway.

Exam trap

The trap here is that candidates often assume a broader route (like 10.10.0.0/16 to Virtual appliance) applies to all subnets, forgetting that more specific user-defined routes (like 10.10.5.0/24 to Virtual network gateway) take precedence via longest prefix match, and that public IPs like 8.8.8.8 are not matched by private address space routes.

Why the other options are wrong

D

The route table has a more specific route for 10.10.5.0/24 to Virtual network gateway, which matches 10.10.5.9 exactly, so traffic uses the gateway, not the Virtual appliance.

E

The route table does not have a default route (0.0.0.0/0) pointing to the Virtual appliance; traffic to 8.8.8.8 (internet) would use the system default route (Internet) or fail if no default route exists.

When would these options actually be correct?

D

If the route table did not include the 10.10.5.0/24 route, or if the Virtual appliance route had a longer prefix match (e.g., 10.10.5.0/25) that included 10.10.5.9, then traffic to 10.10.5.9 would use the Virtual appliance.

E

If the route table included a user-defined route 0.0.0.0/0 with next hop Virtual appliance, then traffic to 8.8.8.8 would use the Virtual appliance.

Why candidates pick the wrong answer

D

Candidates may mistakenly think that the Virtual appliance route (10.10.0.0/16) covers 10.10.5.9 and is the most specific, ignoring the more specific 10.10.5.0/24 route.

E

Candidates may assume that a Virtual appliance can handle all non-VNet traffic, but without a default route, it won't be used for internet destinations.

230
MCQmedium

An analytics team stores exported reports in a storage account. They want the data to survive a zone failure and a regional outage, and if the primary region becomes unavailable they also want read-only access to the replica while failover is being planned. Which redundancy option should you select?

A.GZRS
B.RA-GZRS
C.RA-GRS
D.ZRS
AnswerB

RA-GZRS (Read-Access Geo-Zone-Redundant Storage) is correct because it synchronously replicates data across three Azure availability zones within the primary region and asynchronously replicates to a secondary paired region, while enabling read access to that secondary endpoint. This gives the analytics team both zone-fault tolerance and regional disaster recovery, plus immediate, independent read access to the geo-replicated copy. It provides the highest availability and durability of all Azure Storage redundancy options.

Why this answer

RA-GZRS (Read-Access Geo-Zone-Redundant Storage) is correct because it combines zone-redundant storage (ZRS) within the primary region with geo-redundant replication to a secondary region, and crucially provides read-only access to the secondary replica even when the primary region is available. This meets the requirement for data survival during both a zone failure and a regional outage, while allowing read-only access to the replica during failover planning.

Exam trap

The trap here is that candidates often confuse GZRS with RA-GZRS, forgetting that the 'RA' prefix is required to enable read access to the secondary region before a failover occurs.

Why the other options are wrong

A

GZRS provides geo-redundancy with zone-level resilience but does not offer read access to the secondary region during an outage; it requires a failover to access the replica, which does not meet the requirement for immediate read-only access while planning failover.

D

ZRS replicates data synchronously across three availability zones within a single region, providing zone-level fault tolerance but no protection against a regional outage. The question requires read-only access during a regional outage, which ZRS cannot provide.

When would these options actually be correct?

A

A question that requires data to survive both a zone failure and a regional outage, but does not require read access to the secondary region during an outage (e.g., only needs failover for write access).

D

If the question asked for a redundancy option that protects data within a single region against zone failures, without requiring any cross-region replication or read-access during a regional outage, ZRS would be correct. For example: 'You need to ensure data survives a zone failure but do not need regional disaster recovery.'

Why candidates pick the wrong answer

A

Candidates may confuse GZRS with RA-GZRS, assuming that geo-zone-redundant storage inherently includes read-access, or they may overlook the 'read-access' requirement in the question.

D

Candidates may confuse zone-level resilience with regional resilience, or they may overlook the requirement for read-only access during a regional outage, assuming ZRS's high durability is sufficient.

231
MCQmedium

The operations team manages several Azure VMs in one resource group. They need an alert whenever average CPU percentage on any VM in the group stays above 80% for 10 minutes, and the alert must send email and SMS to the on-call team. What should the administrator configure?

A.Create a Log Analytics query alert on the Activity log and manually notify the on-call team.
B.Create an Azure Monitor metric alert rule at the resource-group scope and attach an action group.
C.Export VM diagnostics to a storage account and have operators review the files after each incident.
D.Create a resource lock on the VMs and use Azure Policy to notify the team about CPU spikes.
AnswerB

A metric alert is the right tool for CPU thresholds, and an action group provides the email and SMS notifications. Scoping the alert to the resource group ensures all current VMs are covered without configuring each VM separately.

Why this answer

Azure Monitor metric alerts can be created at the resource-group scope, which allows a single alert rule to monitor the 'Percentage CPU' metric across all VMs in that group. The alert triggers when the average CPU stays above 80% for 10 minutes (evaluated using a fixed aggregation window). An action group attached to the alert rule sends email and SMS notifications to the on-call team, meeting all requirements without manual intervention.

Exam trap

The trap here is that candidates may think a metric alert must be created per individual VM, but Azure Monitor supports resource-group scoped metric alerts that apply to all resources of the same type within that scope, simplifying management while still meeting the requirement.

Why the other options are wrong

A

This option is wrong because the question requires a metric-based alert on CPU percentage, which is a platform metric, not an Activity log event. Log Analytics query alerts on the Activity log cannot monitor performance metrics like CPU usage.

C

Exporting VM diagnostics to a storage account and having operators review files after incidents does not provide real-time alerting or automated notifications; it requires manual review and cannot trigger immediate email/SMS alerts.

D

Resource locks prevent accidental deletion or modification of resources but do not monitor CPU usage or trigger alerts. Azure Policy enforces compliance rules but cannot send notifications about performance metrics like CPU spikes.

When would these options actually be correct?

A

A Log Analytics query alert on the Activity log would be correct if the question asked to alert on administrative operations, such as when a VM is created, deleted, or restarted, and the alert should trigger based on specific log entries.

C

An organization needs to retain detailed performance logs for long-term compliance or forensic analysis, and the requirement is to periodically analyze historical data rather than receive real-time alerts. For example, a question might ask for a solution to archive CPU metrics for 5 years with minimal cost.

D

An administrator needs to prevent accidental deletion of critical VMs and ensure that only authorized changes are made. In this scenario, a resource lock (e.g., CanNotDelete) would be correct, and Azure Policy could be used to audit or enforce tagging, not to notify about CPU spikes.

Why candidates pick the wrong answer

A

Candidates may confuse Activity log alerts with metric alerts, or think that Log Analytics can handle all monitoring scenarios, including performance metrics, due to its broad query capabilities.

C

Candidates may think that exporting diagnostics to storage is a standard monitoring practice and assume operators can manually check the files, overlooking the need for automated, real-time alerting specified in the question.

D

Candidates may confuse resource locks and Azure Policy with monitoring and alerting capabilities, thinking they can be used to enforce or notify about performance conditions, when they are actually governance and protection tools.

232
MCQmedium

Three application VMs in different resource groups must use the same Azure identity to read blobs from a storage account. The identity must continue to work if the VMs are redeployed. What should you use?

A.A system-assigned managed identity on each VM
B.A user-assigned managed identity
C.A shared access signature stored in a configuration file
D.The local Administrator account on each VM
AnswerB

A user-assigned managed identity can be attached to multiple VMs and survives VM redeployment.

Why this answer

A user-assigned managed identity is the correct choice because it is a standalone Azure resource that can be assigned to multiple VMs across different resource groups. It persists independently of the VM lifecycle, so it continues to work even if the VMs are redeployed, and it can be used to authenticate to Azure Storage for blob read operations via Azure AD.

Exam trap

The trap here is that candidates often choose a system-assigned managed identity (Option A) because they assume it can be shared, but it is per-resource and cannot be assigned to multiple VMs across resource groups.

Why the other options are wrong

A

System-assigned managed identities are tied to each VM's lifecycle and cannot be shared across multiple VMs in different resource groups. If the VMs are redeployed, each VM would get a new identity, breaking the shared access requirement.

C

A shared access signature (SAS) stored in a configuration file does not persist across VM redeployments because the file is lost when the VM is deallocated, and it cannot be shared across multiple VMs in different resource groups without manual management.

D

The local Administrator account is a static credential tied to each VM, not an Azure identity. It cannot be used to authenticate to Azure Storage across multiple VMs, and it does not persist across redeployments if the VM is reimaged or recreated.

When would these options actually be correct?

A

A system-assigned managed identity would be correct if each VM needs its own unique identity to access a resource (e.g., each VM authenticates to a different storage account), and the identity is not required to persist across redeployments.

C

A shared access signature would be correct for granting time-limited, delegated access to a specific storage resource (e.g., a single blob or container) from a client application that can securely store the SAS token (e.g., in Azure Key Vault) and regenerate it as needed, without requiring an Azure AD identity.

D

This option would be correct if the question asked for a way to allow local administrative access to the VMs themselves (e.g., RDP) using a consistent local account across redeployments, such as when using a custom image with a preconfigured local admin password.

Why candidates pick the wrong answer

A

Candidates may think managed identities are the right approach but confuse system-assigned (per-VM) with user-assigned (shareable), or assume that 'managed identity' automatically implies sharing capability.

C

Candidates may think a SAS is a simple, shared credential that can be placed in a configuration file and used by multiple VMs, overlooking the fact that the file is ephemeral and the SAS does not support automatic identity management across redeployments.

D

Candidates may think a local admin account can be used as a shared identity across VMs because it is a common credential, and they may overlook that Azure RBAC requires an Azure AD identity, not a local OS account.

233
Matchinghard

A VM suffered corruption and an auditor also needs one missing file. Match each Azure Backup restore workflow to the recovery outcome it provides.

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

Concepts
Matches

Creates a separate virtual machine from the recovery point.

Recovers the managed disks so you can rebuild or inspect the workload manually.

Mounts the recovery point so you can retrieve individual files or folders.

Restores from the paired region when the primary region is unavailable.

Why these pairings

Azure Backup restore workflows: 'Restore VM' creates a new VM, 'Restore files' recovers individual files, 'Restore as unmanaged/managed disks' recovers disks, 'Replace existing VM' overwrites the original, and 'Cross-region restore' restores to another region.

234
MCQhard

A container group must run an image from a private Azure Container Registry without embedding registry credentials in the deployment. The same authentication method should be reusable by future container groups, and the application must continue to work if the container group is recreated. Which identity approach should the administrator use?

A.A system-assigned managed identity for the container group.
B.A user-assigned managed identity assigned to the container group.
C.An ACR admin username and password stored in the container image.
D.A shared access signature token passed as an environment variable.
AnswerB

A user-assigned managed identity can be reused across container groups and survives recreation of the workload resource. After granting the identity AcrPull on the registry, the container group can authenticate without stored usernames, passwords, or registry secrets.

Why this answer

A user-assigned managed identity (B) is the correct approach because it is a persistent Azure AD identity that can be pre-created and assigned to any number of container groups. It decouples the identity from the container group's lifecycle, so if the container group is recreated, the same identity can be reassigned without reconfiguration. The container group uses this identity to authenticate to ACR via Azure AD token-based authentication, eliminating the need to embed registry credentials.

Exam trap

The trap here is that candidates often choose system-assigned managed identity (A) because it is simpler to configure, but they overlook the requirement for reusability across container group recreations, which only a user-assigned managed identity can satisfy due to its independent lifecycle.

Why the other options are wrong

C

ACR admin credentials are shared secrets that must be embedded in deployment, violating the requirement to avoid embedding credentials. They are not reusable across container groups without re-exposing the secret, and recreating the container group would require re-supplying the credentials.

D

A shared access signature (SAS) token provides time-limited access and must be regenerated if the container group is recreated, violating the requirement that the authentication method be reusable and persist across recreation.

When would these options actually be correct?

C

A question that asks for the simplest way to authenticate to ACR for a single container group where credential rotation is not a concern and the deployment is temporary or non-production. For example: 'You need to quickly test a container image from a private ACR. Which authentication method requires minimal setup?'

D

A question where a container group needs temporary, scoped access to a specific Azure resource (e.g., a storage blob) and the credentials can be refreshed on each deployment, with no requirement for persistence across recreation.

Why candidates pick the wrong answer

C

Candidates may be familiar with ACR admin accounts as a straightforward way to pull images, and they might overlook the security and reusability constraints specified in the question.

D

Candidates may think SAS tokens are a secure way to avoid embedding credentials, but overlook the requirement for reusability and persistence when the container group is recreated.

235
MCQeasy

Based on the exhibit, what should the administrator do next so the VM can use the extra capacity on the resized data disk?

A.Resize the managed disk again in Azure.
B.Extend the partition or file system inside the VM.
C.Detach the disk and attach it to another VM.
D.Create a new virtual machine from the disk.
AnswerB

After Azure increases a managed disk, the guest operating system still needs to recognize the new space. Expanding the partition or file system inside the VM makes the newly allocated disk capacity available to applications.

Why this answer

After resizing a managed disk in Azure, the additional capacity is allocated at the Azure platform level but is not automatically available to the operating system. The administrator must extend the partition or file system inside the VM using tools like Diskpart (Windows) or fdisk/resize2fs (Linux) to make the new space usable. This is a standard post-resize step because the OS still sees the original partition boundaries.

Exam trap

The trap here is that candidates assume resizing the disk in Azure automatically makes the extra space available inside the VM, overlooking the required OS-level partition extension step.

Why the other options are wrong

A

Resizing the managed disk in Azure only increases the disk's capacity; the VM's operating system still needs to extend the partition or file system to use the new space. Simply resizing again does not address the missing step inside the VM.

C

Detaching the disk and attaching it to another VM does not make the extra capacity available on the original VM; the partition must be extended inside the OS.

D

Creating a new VM from the disk would not utilize the extra capacity on the existing resized data disk; it would create a new VM with the same disk, still requiring partition extension inside the OS.

When would these options actually be correct?

A

This option would be correct if the question stated that the disk was resized but the new capacity is not reflected in the VM, and the administrator had already extended the partition inside the VM. In that case, resizing the disk again might be needed if the initial resize did not apply correctly.

C

When a data disk is corrupted or inaccessible on the current VM, and you need to recover data by attaching it to a different VM that can read it.

D

If the existing VM is corrupted or has irreparable OS issues, and you need to recover data from the disk by attaching it to a new VM as a data disk, then creating a new VM from the disk (or attaching it) would be correct.

Why candidates pick the wrong answer

A

Candidates may think that resizing the disk again will automatically make the extra capacity available, misunderstanding that Azure resizing only changes the disk's size limit, not the partition layout inside the OS.

C

Candidates may think that moving the disk to another VM will automatically utilize the extra space, confusing disk attachment with partition management.

D

Candidates may think that creating a new VM from the disk is a way to 'refresh' the configuration and automatically recognize the new disk size, but disk resizing in Azure does not automatically extend the partition inside the OS.

236
MCQeasy

A partner must upload files to one blob container for 12 hours. You do not want to share the storage account key, and the access should expire automatically. Which access method should you use?

A.Role assignment in Azure RBAC
B.Shared access signature (SAS)
C.Private endpoint
D.Storage account lock
AnswerB

A Shared Access Signature (SAS) is a URI that grants scoped, time-limited access to specific storage resources, such as a container or blob. For this scenario, you can generate a service SAS with write permissions on the single container, an expiry time (e.g., 12 hours), and optionally restrict it to the partner's IP address. The partner only needs the SAS URL; no Azure AD credentials or storage account key are exposed. This makes it the ideal, least-privilege mechanism for a one-off upload task.

Why this answer

A shared access signature (SAS) is the correct choice because it provides time-limited, delegated access to a specific blob container without exposing the storage account key. You can set an expiry time of 12 hours, and the SAS token can be generated with only the permissions needed (e.g., write). Once the token expires, access is automatically revoked, meeting the requirement for automatic expiration.

Exam trap

The trap here is that candidates often confuse RBAC with SAS, thinking that a role assignment can be made temporary, but RBAC does not support automatic expiration; only SAS provides time-bound, delegated access without sharing the account key.

Why the other options are wrong

A

Azure RBAC role assignments grant persistent permissions and do not automatically expire, so they cannot enforce a 12-hour time limit for access.

C

A private endpoint provides secure, private connectivity to Azure services over a private IP address, but it does not provide time-limited access or automatic expiration for external partners.

D

A storage account lock prevents deletion or modification of the storage account but does not provide time-limited, granular access to a specific blob container without sharing the account key.

When would these options actually be correct?

A

A question that requires granting long-term or permanent access to a specific user or group for managing blob containers, without time constraints, would make RBAC role assignment correct.

C

An organization needs to securely connect to an Azure Storage account from an on-premises network without traversing the public internet, and the connection must be restricted to a specific virtual network.

D

A storage account lock would be correct if the question asked for a method to prevent accidental deletion of the entire storage account or to enforce an immutable policy for compliance purposes, without needing to grant access to a partner.

Why candidates pick the wrong answer

A

Candidates may confuse RBAC with SAS because both control access, but RBAC lacks the time-limited, fine-grained delegation that SAS provides for temporary access.

C

Candidates may confuse private endpoints with secure access methods, thinking that restricting network access alone can replace the need for time-limited credentials like SAS tokens.

D

Candidates may confuse 'lock' with access control, thinking it can restrict access like a SAS, but locks only protect against administrative operations, not data access.

237
MCQmedium

You need to ensure that all newly created resource groups in a subscription automatically inherit the CostCenter tag with a fixed value, even if the creator forgets to add it. Which Azure Policy effect should you use?

A.Audit
B.Deny
C.Modify
D.Disabled
AnswerC

The Modify effect is the correct choice because it actively corrects non-compliant resources by automatically adding or updating the required tag on any new resource group during deployment. It uses a managed identity and remediation tasks to apply the tag idempotently, ensuring all future resource groups are compliant without blocking their creation. Unlike Deny, it doesn't impede operations, and unlike Audit, it doesn't merely report noncompliance.

Why this answer

The Modify effect is correct because it allows Azure Policy to automatically add or alter tags on resources or resource groups during creation or update, ensuring the CostCenter tag with a fixed value is applied even if the creator omits it. Unlike Audit or Deny, Modify actively remediates non-compliant resources by appending the required tag, making it ideal for enforcing mandatory inheritance without blocking deployment.

Exam trap

The trap here is that candidates often choose Deny thinking it enforces compliance by blocking non-tagged resources, but they overlook that the question requires automatic inheritance, not rejection, making Modify the only effect that actively adds the missing tag.

Why the other options are wrong

A

Audit only logs non-compliance but does not automatically add the missing tag, so newly created resource groups would not inherit the CostCenter tag.

B

Deny prevents creation of resources that don't meet a condition, but it cannot automatically add a missing tag; it would block the resource group creation entirely if the tag is missing, which is not the requirement.

D

The 'Disabled' effect turns off the policy and does not enforce any behavior, so it cannot ensure that the CostCenter tag is automatically inherited on new resource groups.

When would these options actually be correct?

A

Use Audit when you need to evaluate compliance of existing resources against a policy (e.g., tag existence) without modifying them, such as for reporting or before enforcing a Deny effect.

B

Use Deny when the requirement is to block any resource group creation that does not include a specific tag (e.g., CostCenter) at creation time, forcing the creator to provide it.

D

A policy with the 'Disabled' effect would be correct when you want to temporarily deactivate a policy without deleting it, for example during maintenance or testing, while retaining its definition for future use.

Why candidates pick the wrong answer

A

Candidates may think Audit is sufficient for tracking compliance, but they overlook the requirement to automatically add the tag, which requires a Modify effect.

B

Candidates may think Deny enforces tagging by rejecting non-compliant resources, but they overlook that the question asks for automatic inheritance, not rejection.

D

Candidates might select 'Disabled' if they misinterpret the question as asking for a way to prevent the policy from interfering, or if they confuse 'Disabled' with a state where the policy is inactive but still defined.

238
MCQhard

An archive team stores legal exhibits in Azure Blob Storage. The files are downloaded only during quarterly audits, but when an auditor needs one, it must be readable immediately without waiting for a rehydration job. The team wants the lowest practical cost after the first 30 days and does not want to move blobs manually each quarter. What should the administrator configure?

A.Keep the blobs in Hot tier permanently and delete them manually after each audit cycle.
B.Use a lifecycle management rule to move the blobs to Cool tier after 30 days.
C.Move the blobs to Archive tier after 30 days and rehydrate them when audits begin.
D.Store the files in Premium block blob storage and use snapshots for audit recovery.
AnswerB

A lifecycle management rule can automatically transition blobs from Hot to Cool tier after 30 days. Cool tier is an online tier, meaning blobs remain immediately readable without any rehydration step, satisfying the legal team's need to access exhibits as soon as an audit begins. It also reduces storage costs versus Hot tier because the data is infrequently accessed, making this the most cost-effective option that still preserves instant availability.

Why this answer

Azure Blob Storage lifecycle management rules can automatically move blobs from Hot to Cool tier after 30 days, reducing storage costs while keeping data immediately accessible. Cool tier offers lower storage costs than Hot tier with the same low-latency read access, satisfying the requirement for instant auditor access without manual intervention.

Exam trap

The trap here is that candidates often confuse Archive tier's low storage cost with immediate accessibility, forgetting that Archive requires a rehydration step that can take hours, while Cool tier provides instant access at a slightly higher but still cost-effective rate.

Why the other options are wrong

A

This option requires manual deletion after each audit cycle, which violates the requirement to avoid manual intervention. Additionally, keeping blobs in Hot tier permanently incurs higher storage costs than using Cool tier after 30 days.

C

Archive tier requires a rehydration job (which can take hours) to make blobs readable, contradicting the requirement that files must be readable immediately when an auditor needs them.

D

Premium block blob storage is designed for low-latency and high-performance workloads, not for cost-effective long-term archival storage. Snapshots add additional costs and do not address the need for immediate readability without rehydration, making this option more expensive and unnecessary for quarterly audits.

When would these options actually be correct?

A

If the question required immediate deletion of blobs after each audit to comply with data retention policies, and the team had a process to automate deletion (e.g., via script or lifecycle rule), then manual deletion could be acceptable. However, the question explicitly states no manual moves.

C

If the question stated that files are rarely accessed and a delay of several hours for retrieval is acceptable, and the priority is minimizing storage cost over access speed, then moving to Archive tier after 30 days would be correct.

D

An application requires consistently low latency (single-digit milliseconds) for frequent read and write operations, such as a real-time data processing pipeline. In that scenario, Premium block blob storage would be the correct choice to meet performance requirements.

Why candidates pick the wrong answer

A

Candidates may think manual deletion is a simple way to control costs, overlooking the automation requirement and the cost savings of Cool tier for infrequent access.

C

Candidates may assume Archive tier is the cheapest option and overlook the immediate readability requirement, focusing only on cost savings without considering access latency.

D

Candidates may think Premium storage offers faster access and snapshots provide recovery, but they overlook the cost and the fact that the question prioritizes low cost after 30 days, not high performance.

239
Matchinghard

A security analyst is reviewing deleted-resource evidence, exported diagnostics, and heartbeat data. Match each monitoring term to the best description.

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

Concepts
Matches

Central repository for collected telemetry that you query and analyze over a retention period.

The query language used to filter, summarize, and correlate log records in Azure Monitor.

Subscription-scoped record of Azure control-plane operations such as create, update, and delete.

Alert that evaluates the result of a KQL query on a schedule and fires when conditions are met.

Configuration that sends resource logs and metrics to a workspace, storage account, or Event Hub.

Why these pairings

The monitoring terms relate to Azure Monitor data sources. Deleted-resource evidence comes from activity logs, exported diagnostics are resource logs sent elsewhere, heartbeat data indicates agent health, and the other terms are standard Azure Monitor components.

240
Multi-Selecthard

A management group named Corp contains subscription Sales. RG-App is in Sales and contains several virtual machines. The Auditors group must read every resource in Sales, including resources in future resource groups created under that subscription. The ServerOps group must be able to start, stop, and restart only the virtual machines in RG-App. Which two role assignments should the administrator configure? Select two.

Select 2 answers
A.Assign Reader to Auditors at the Sales subscription scope.
B.Assign Reader to Auditors at the RG-App resource group scope.
C.Assign Virtual Machine Contributor to ServerOps at the RG-App resource group scope.
D.Assign Virtual Machine Contributor to ServerOps at the Sales subscription scope.
E.Assign Owner to ServerOps at the RG-App resource group scope.
AnswersA, C

The Reader role at the subscription scope grants read-only access to all resource groups and resources within the Sales subscription, including current and future resources. Since auditors require visibility across the entire subscription, this scope satisfies the requirement without granting write permissions. It also covers any other resource groups that may exist alongside RG-App.

Why this answer

Assigning the Reader role to the Auditors group at the Sales subscription scope grants read access to all resources within that subscription, including any future resource groups and resources created under it. This meets the requirement that Auditors must read every resource in Sales, including those in future resource groups.

Exam trap

The trap here is that candidates often assign roles at too broad a scope (e.g., subscription) for ServerOps, thinking it simplifies management, or assign too permissive a role like Owner, not realizing that Virtual Machine Contributor is the precise built-in role for VM start/stop/restart operations.

Why the other options are wrong

B

Assigning Reader at RG-App scope would not grant read access to resources in future resource groups under the Sales subscription, as required by the question.

D

Assigning Virtual Machine Contributor at the Sales subscription scope grants ServerOps start, stop, and restart permissions on all VMs in the subscription, not just those in RG-App, violating the requirement to limit permissions to RG-App.

E

Owner grants full control, including permission to assign roles and delete resources, which exceeds the requirement to only start, stop, and restart virtual machines. This violates the principle of least privilege.

When would these options actually be correct?

B

If the question required read access only to resources in a specific existing resource group (RG-App) and not to future resource groups, then assigning Reader at RG-App scope would be correct.

D

If the requirement was for ServerOps to manage VMs across all resource groups in the Sales subscription (e.g., to support VMs in multiple groups), then assigning Virtual Machine Contributor at the subscription scope would be correct.

E

If the question required ServerOps to manage all aspects of resources in RG-App, including creating and deleting resources and assigning roles to others, then Owner at the RG-App scope would be appropriate.

Why candidates pick the wrong answer

B

Candidates may think that assigning Reader at the resource group scope is sufficient because it covers all resources in that group, overlooking the requirement for future resource groups.

D

Candidates may think assigning a broader scope is simpler or ensures coverage, overlooking the principle of least privilege and the specific constraint to limit permissions to a single resource group.

E

Candidates may think Owner is needed to perform start/stop/restart actions, not realizing Virtual Machine Contributor already includes those permissions without granting excessive rights.

241
MCQmedium

A help desk engineer needs a Log Analytics query that returns each computer whose most recent heartbeat is older than 20 minutes. Which query should they use?

A.Heartbeat | where TimeGenerated < ago(20m) | summarize LastSeen = max(TimeGenerated) by Computer
B.Heartbeat | summarize LastSeen = max(TimeGenerated) by Computer | where LastSeen < ago(20m)
C.Heartbeat | summarize count() by Computer | where count_ < 20
D.Heartbeat | where TimeGenerated > ago(20m) | summarize LastSeen = max(TimeGenerated) by Computer
AnswerB

This query first finds the latest heartbeat per computer and then filters for machines whose latest timestamp is older than 20 minutes. That matches the operational requirement exactly and avoids false positives caused by filtering before summarization.

Why this answer

It first summarizes the most recent heartbeat timestamp for each computer using `max(TimeGenerated)`, then filters for computers where that latest heartbeat is older than 20 minutes with `where LastSeen < ago(20m)`. This ensures only computers that have not sent a heartbeat in the last 20 minutes are returned, which is the exact requirement.

Exam trap

The trap here is that candidates often filter by time first (as in Option A) thinking it will find old heartbeats, but they forget that summarizing after filtering can include computers with recent heartbeats if any old heartbeat exists, whereas the correct approach is to summarize the latest heartbeat per computer first, then filter for staleness.

Why the other options are wrong

A

This query filters heartbeats older than 20 minutes first, then summarizes by computer. It returns computers that have any heartbeat older than 20 minutes, even if they also have a recent heartbeat, so it does not correctly identify computers whose most recent heartbeat is older than 20 minutes.

C

This query counts heartbeats per computer and filters those with fewer than 20 heartbeats, not those whose most recent heartbeat is older than 20 minutes. It does not consider the time of the last heartbeat.

D

This query filters heartbeats from the last 20 minutes and then summarizes the latest heartbeat per computer, which returns computers with heartbeats within the last 20 minutes, not those whose most recent heartbeat is older than 20 minutes.

When would these options actually be correct?

A

This query would be correct if the question asked: 'Which computers have had at least one heartbeat older than 20 minutes?' or 'Find computers with any heartbeat recorded more than 20 minutes ago.'

C

If the question asked for 'computers that have sent fewer than 20 heartbeats in total' (e.g., to identify rarely reporting machines), this query would be correct.

D

If the question asked for 'computers that have sent a heartbeat in the last 20 minutes', this query would be correct because it filters to recent heartbeats and then summarizes the latest per computer.

Why candidates pick the wrong answer

A

Candidates may think filtering first and then summarizing is logically equivalent, but they overlook that the filter removes recent heartbeats, causing the summary to only consider old data, which can incorrectly include computers with recent activity.

C

Candidates may misinterpret 'older than 20 minutes' as 'fewer than 20 heartbeats' or mistakenly think counting events over time is equivalent to checking recency.

D

Candidates may mistakenly think that filtering for recent heartbeats and then summarizing will show computers that are missing, but they overlook that the filter removes older data, so the result only includes computers with recent activity.

242
MCQmedium

The subscription admin wants to receive an alert whenever anyone deletes a resource group, regardless of which resource type was inside it. Which alert type should be used?

A.A metric alert on the deleted resource group's CPU
B.A log alert on a custom KQL query in a workspace only
C.An activity log alert targeting the delete resource group operation
D.A backup alert from a Recovery Services vault
AnswerC

An activity log alert is the right tool for subscription-level events such as resource group deletion. It monitors the Azure Activity log directly, so it can react as soon as the delete operation is recorded. This avoids depending on resource-specific metrics or a separate workspace query pipeline for a basic administrative event.

Why this answer

The 'Delete Resource Group' operation is an Azure Resource Manager control-plane action that is automatically logged in the Azure Activity Log. An activity log alert can be configured to fire whenever this specific operation is recorded, regardless of the resource types inside the group. This is the only alert type that directly monitors management-plane events like resource group deletion.

Exam trap

The trap here is that candidates confuse resource-level monitoring (metrics, logs) with control-plane monitoring (Activity Log), and assume a metric or log alert can detect a deletion event, when in fact only an activity log alert natively watches for Azure Resource Manager operations like resource group deletion.

Why the other options are wrong

A

A metric alert on CPU monitors performance metrics, not resource group deletion events. It cannot detect administrative operations like deletions.

B

A log alert on a custom KQL query in a workspace only monitors log data ingested into a Log Analytics workspace, not resource-level operations like resource group deletion. The question requires an alert on the delete action itself, which is captured by activity logs, not workspace logs.

D

Backup alerts from a Recovery Services vault notify about backup failures or issues, not about resource group deletion events.

When would these options actually be correct?

A

A metric alert on CPU would be correct if the question asked for a notification when a specific VM's CPU usage exceeds a threshold, e.g., 'Alert me when VM CPU > 90%'.

B

This option would be correct if the question asked for an alert based on a specific condition derived from log data, such as 'alert when a certain error event is logged from a specific resource' or 'alert when a custom metric exceeds a threshold based on log analytics data'.

D

A question asking for an alert when a backup job fails for a VM protected by Azure Backup, with the alert type being a backup alert from a Recovery Services vault.

Why candidates pick the wrong answer

A

Candidates may think any alert can be configured on a resource group, or confuse metric alerts (performance-based) with activity log alerts (operation-based).

B

Candidates may confuse activity logs with log analytics workspace logs, or think that a custom KQL query can capture any event, not realizing that resource group deletion is an Azure Resource Manager operation logged in the activity log, not in workspace logs.

D

Candidates may confuse backup alerts with general operational alerts, thinking they cover all deletion scenarios, or they may not distinguish between activity log and backup alert types.

243
MCQmedium

Based on the exhibit, what next hop will the VM use when it sends traffic to 10.30.5.10?

A.Virtual appliance at the user-defined next hop
B.Virtual network gateway
C.Internet
D.Virtual network
AnswerB

The destination 10.30.5.10 falls within the 10.30.0.0/16 prefix learned over BGP through the virtual network gateway. Azure uses longest-prefix match, and /16 is more specific than the default route (0.0.0.0/0) or the VNet local /16, so the next hop is the virtual network gateway as indicated in the effective route table. No other matching route has a longer or equal prefix, so this route wins.

Why this answer

The VM's effective route table shows a route for 10.30.5.0/24 with a next hop type of 'Virtual network gateway'. Since 10.30.5.10 falls within this prefix, the VM will use the virtual network gateway as the next hop. This overrides the default virtual network (local) route because it is a more specific prefix match.

Exam trap

The trap here is that candidates assume traffic to an IP within the virtual network's address space (10.0.0.0/16) will always use the 'Virtual network' next hop, but a more specific route (e.g., 10.30.5.0/24) with a different next hop type overrides it, leading to an incorrect choice of Option D.

Why the other options are wrong

A

The exhibit shows that the route for 10.30.5.0/24 has a next hop type of 'Virtual network gateway', not 'Virtual appliance'. A user-defined route with a virtual appliance next hop would override the gateway, but no such route is present.

C

The destination IP 10.30.5.10 is within the virtual network's address space, so traffic is routed internally via the virtual network gateway, not sent to the internet.

D

The VM's traffic to 10.30.5.10 is destined for an on-premises network connected via VPN/ExpressRoute, and the route table shows the next hop as the virtual network gateway, not the virtual network.

When would these options actually be correct?

A

If the question described a scenario where a user-defined route (UDR) is configured for the destination 10.30.5.0/24 with next hop set to 'Virtual appliance', and the VM is in a subnet associated with that route, then the correct answer would be the virtual appliance.

C

If the destination IP were a public IP address (e.g., 8.8.8.8) and no forced tunneling or specific route existed, the next hop would be 'Internet' as the default route for internet-bound traffic.

D

If the question asked for the next hop when a VM sends traffic to another VM in the same virtual network (e.g., 10.30.5.10 is within the VNet address space), the correct answer would be 'Virtual network' because Azure automatically routes within a VNet.

Why candidates pick the wrong answer

A

Candidates may confuse user-defined routes (UDR) with system routes, or assume that any traffic to an external IP must go through a virtual appliance for inspection, even when no UDR is configured.

C

Candidates may mistakenly assume that any IP not explicitly in a route table goes to the internet, ignoring that 10.30.5.10 is a private IP within the VNet.

D

Candidates may confuse the destination IP being within the VNet's address space (if they misread the exhibit) or think that internal traffic always uses the virtual network as the next hop, overlooking the explicit route pointing to the gateway.

244
MCQmedium

An application subnet has a network security group with these inbound rules: Allow-Web-From-Internet at priority 200, Allow-App-From-Web at priority 300, and Deny-All-Inbound at priority 250. The web tier must reach the app tier on TCP 8080, but traffic is being denied. The administrator confirms the source and destination IPs are correct. What is the best fix?

A.Delete the Deny-All-Inbound rule because default NSG rules will allow the traffic.
B.Change the Allow-App-From-Web rule to a lower priority number than 250.
C.Add a route table entry for TCP 8080 traffic to bypass the NSG.
D.Move the Allow-Web-From-Internet rule to priority 400.
AnswerB

NSG rules are processed in priority order, and the lowest number wins. Because Deny-All-Inbound at 250 is evaluated before the allow rule at 300, it blocks the traffic first. Moving the allow rule to a lower number than 250 lets the permitted web-to-app traffic match before the deny rule is applied.

Why this answer

The Deny-All-Inbound rule at priority 250 is evaluated before the Allow-App-From-Web rule at priority 300 because lower priority numbers are processed first. To allow web-to-app traffic on TCP 8080, the Allow-App-From-Web rule must have a lower priority number (e.g., 240) than the Deny-All-Inbound rule so it is evaluated and applied first, permitting the traffic before the deny rule blocks it.

Exam trap

The trap here is that candidates assume all rules are evaluated and the most specific rule wins, but in Azure NSGs, priority order (numerical value) strictly determines evaluation sequence, not specificity or rule type.

Why the other options are wrong

A

Default NSG rules allow inbound traffic only within a virtual network and from Azure load balancers, not from the internet. Deleting the Deny-All-Inbound rule would expose the subnet to all inbound traffic, which is not the intended fix.

C

Route tables control traffic routing between subnets, not NSG rule evaluation. NSGs filter traffic regardless of route table entries, so adding a route cannot bypass an explicit Deny rule.

D

Moving Allow-Web-From-Internet to priority 400 would not fix the issue because the Deny-All-Inbound rule at priority 250 still blocks traffic from the web tier to the app tier on TCP 8080. The problem is that the Allow-App-From-Web rule (priority 300) is processed after the deny rule, so it never takes effect.

When would these options actually be correct?

A

This option would be correct if the question stated that the Deny-All-Inbound rule was blocking traffic that should be allowed by a default rule (e.g., traffic from another subnet in the same virtual network) and the default rule had a higher priority than the deny rule.

C

In a scenario where traffic between subnets is failing due to missing or incorrect routes (e.g., a virtual appliance or forced tunneling), adding a route table entry with the correct next hop would fix connectivity.

D

This option would be correct in a scenario where the Allow-Web-From-Internet rule is incorrectly blocking legitimate traffic from the internet to the web tier, and the Deny-All-Inbound rule is not present or is at a lower priority. Lowering its priority would allow other higher-priority rules to process first.

Why candidates pick the wrong answer

A

Candidates may mistakenly believe that default NSG rules automatically allow all traffic, so removing the explicit deny would restore connectivity, overlooking that the default rules are restrictive.

C

Candidates may confuse NSG filtering with routing, thinking that a route can override an NSG deny rule, or they may assume that traffic must be explicitly routed to the destination subnet.

D

Candidates may think that moving the allow rule to a lower priority will reduce conflicts, but they overlook that the deny rule at priority 250 is the actual blocker. They focus on the wrong rule due to misunderstanding of NSG priority evaluation order.

245
MCQmedium

A web app running on an Azure VM must connect to an Azure SQL Database instance. The security team requires the database to be reachable through a private IP inside the VNet, and the application should keep using the normal SQL server name without any connection string change. What should the administrator implement?

A.A service endpoint on the subnet and a firewall rule on the SQL server.
B.A private endpoint for Azure SQL and the corresponding private DNS zone linked to the VNet.
C.A public endpoint with selected network access and a network security group on the VM subnet.
D.A virtual network peering connection to the SQL service subnet.
AnswerB

A private endpoint gives the SQL service a private IP address inside the VNet, and the private DNS zone allows the standard SQL name to resolve to that address. This meets both requirements: private network access and no connection string change. It is the correct Azure Private Link pattern for secure PaaS access.

Why this answer

A private endpoint assigns Azure SQL Database a private IP from the VNet, making it reachable via a private IP while preserving the normal SQL server FQDN. The corresponding private DNS zone (privatelink.database.windows.net) linked to the VNet ensures that DNS resolution of the SQL server name resolves to the private IP, so no connection string changes are needed. This meets the security requirement of private IP reachability and the application requirement of unchanged connection strings.

Exam trap

The trap here is that candidates confuse service endpoints (which still use public IPs) with private endpoints (which use private IPs), leading them to choose Option A, thinking it provides private IP connectivity when it only provides source subnet restriction via the public endpoint.

Why the other options are wrong

A

A service endpoint does not provide a private IP for the SQL server; the SQL server still uses its public endpoint, and the connection string would need to change to use the private IP, violating the requirement to keep the normal SQL server name without connection string changes.

C

A public endpoint with selected network access still exposes the SQL server to the internet, failing the requirement for private IP reachability. Additionally, using a network security group on the VM subnet does not provide a private IP for the SQL server; it only controls traffic to/from the subnet.

D

VNet peering connects two VNets, but Azure SQL Database is a PaaS service not hosted in a VNet subnet, so peering does not provide private connectivity to SQL. The requirement is for private IP access without connection string changes, which peering cannot achieve.

When would these options actually be correct?

A

If the requirement was only to restrict access to the SQL server from a specific VNet without needing a private IP or keeping the same connection string, a service endpoint on the subnet combined with a firewall rule on the SQL server would be correct.

C

This option would be correct if the requirement was to restrict access to the SQL server from specific public IP addresses while still using the public endpoint, and the application could tolerate internet exposure (e.g., for a non-production environment).

D

An administrator needs to connect two VNets in different regions to allow resources in one VNet to communicate with resources in the other VNet using private IPs, without requiring a VPN gateway or transitive routing.

Why candidates pick the wrong answer

A

Candidates may confuse service endpoints with private endpoints, thinking both provide private connectivity, and overlook the requirement to keep the same connection string without changes.

C

Candidates may think that selected network access and NSGs provide sufficient security and private connectivity, misunderstanding that the public endpoint still uses a public IP and that NSGs do not change the endpoint type.

D

Candidates may think VNet peering can connect any Azure resource privately, misunderstanding that peering only links VNets, not PaaS services like Azure SQL.

246
MCQmedium

A subnet has a user-defined route for 0.0.0.0/0 that sends all outbound traffic to a virtual appliance. Traffic to 10.20.4.12 must instead go directly to an Azure VPN gateway. What should you configure?

A.Add a network security group rule that allows traffic to 10.20.4.12.
B.Add a more specific UDR for 10.20.4.0/24 that uses the virtual network gateway next hop.
C.Increase the priority of the 0.0.0.0/0 route so it is preferred less often.
D.Remove the VPN gateway association from the virtual network.
AnswerB

Azure uses longest-prefix match, so the more specific route overrides the broader 0.0.0.0/0 entry.

Why this answer

User-Defined Routes (UDRs) use the longest prefix match to determine the next hop. The existing 0.0.0.0/0 route sends all outbound traffic to a virtual appliance, but adding a more specific route for 10.20.4.0/24 with a next hop of the virtual network gateway (VPN gateway) overrides the default route for that subnet, directing traffic to 10.20.4.12 through the VPN gateway.

Exam trap

The trap here is that candidates confuse NSG rules with routing decisions, thinking that allowing traffic in an NSG will change the path it takes, when in fact NSGs only filter traffic and do not influence the next hop.

Why the other options are wrong

A

A network security group (NSG) rule controls inbound/outbound traffic filtering, not routing. It cannot override a user-defined route (UDR) to redirect traffic to a VPN gateway instead of a virtual appliance.

C

Increasing the priority of the 0.0.0.0/0 route does not change its preference; UDR priority is for routes to the same destination, and a more specific route (e.g., /24) is always preferred over a less specific one (0.0.0.0/0) regardless of priority.

D

Removing the VPN gateway association would break all VPN connectivity, not just redirect traffic to 10.20.4.12. The requirement is to override the default route for a specific destination while preserving VPN gateway functionality.

When would these options actually be correct?

A

If the question asked how to block traffic from a subnet to a specific IP address, an NSG rule with a deny action would be correct. For example, 'You need to prevent traffic from subnet A to 10.20.4.12. What should you configure?'

C

In a scenario where multiple UDRs exist for the same destination prefix (e.g., two routes to 10.0.0.0/16 with different next hops), increasing the priority of one route would make it preferred over another route with lower priority.

D

If the question asked to ensure that no traffic from the subnet uses the VPN gateway (e.g., for security or cost reasons), and the VPN gateway is no longer needed, then removing the association would be correct.

Why candidates pick the wrong answer

A

Candidates may confuse traffic filtering (NSG) with routing (UDR), thinking that allowing traffic through an NSG can change the path traffic takes, rather than just permitting or denying it.

C

Candidates may mistakenly think that route priority works like NSG rule priority, where higher priority numbers are evaluated first, and that increasing priority would make the 0.0.0.0/0 route less preferred.

D

Candidates may think that disassociating the VPN gateway is a simple way to stop traffic from using it, without realizing it also removes all VPN connectivity and is not a selective routing solution.

247
MCQmedium

A contractor needs temporary access to upload and download files in only one blob container for 8 hours. You do not want to share the storage account key, and you want to revoke access later without affecting other containers. What should you create?

A.A storage account access key, because it can be limited to one container by policy.
B.A container-level SAS token backed by a stored access policy, so you can limit and revoke access.
C.Anonymous public access on the container, because it is the easiest way to time-limit access.
D.Azure RBAC on the storage account only, because RBAC automatically expires after a few hours.
AnswerB

A container-level SAS with a stored access policy is ideal for temporary access to one container. It avoids sharing the account key, limits permissions and lifetime to exactly what is needed, and gives you a revocation point through the stored access policy. That combination is safer than broad key-based access and more operationally flexible than changing account-wide settings.

Why this answer

A container-level SAS token backed by a stored access policy is the correct solution because it allows you to grant temporary, scoped access to a single blob container without exposing the storage account key. The stored access policy enables you to revoke the SAS token at any time by modifying or deleting the policy, which immediately invalidates all tokens associated with it, without affecting other containers.

Exam trap

The trap here is that candidates often confuse a container-level SAS with a stored access policy, thinking a SAS alone provides revocability, but without a stored access policy, a SAS token cannot be revoked before its expiry time.

Why the other options are wrong

A

A storage account access key grants full access to all containers in the storage account, not just one container. It cannot be scoped to a single container, and revoking it would affect all containers.

C

Anonymous public access cannot be time-limited and would allow anyone to access the container without authentication, violating the requirement to revoke access after 8 hours.

D

Azure RBAC on the storage account does not automatically expire after a few hours; it requires manual removal. It also cannot be scoped to a single container without additional configuration, and it does not provide the temporary, revocable access needed for this scenario.

When would these options actually be correct?

A

If the requirement were to grant full administrative access to the entire storage account (e.g., for a storage administrator) and you need to rotate keys periodically, creating a storage account access key would be appropriate.

C

If the requirement is to allow public read access to a container for hosting static website content without authentication, and no time limit or revocation is needed, anonymous public access would be correct.

D

A question where a user needs long-term, role-based access to manage multiple storage resources (e.g., blobs, queues, tables) across the entire storage account, and the organization uses Azure AD for identity management. For example: 'A team needs read/write access to all blob containers and queues in a storage account for ongoing operations. What should you assign?'

Why candidates pick the wrong answer

A

Candidates may think that access keys can be restricted via policies or that they are the only way to provide temporary access, overlooking the container-level SAS with stored access policy.

C

Candidates may think anonymous access can be easily enabled and disabled, but they overlook that it cannot be scoped to a specific time period and exposes the container to the public.

D

Candidates may think RBAC is a modern, secure alternative to keys and assume it can be time-limited, or they may confuse RBAC with temporary access mechanisms like just-in-time access.

248
Multi-Selectmedium

Three application VMs in separate resource groups must use the same identity to read a configuration endpoint. The identity must keep working if any one VM is deleted and later recreated. Which three actions should the administrator take? Select three.

Select 3 answers
A.Create a user-assigned managed identity that can exist independently of any single VM.
B.Attach the same user-assigned managed identity to each of the three VMs.
C.Grant the user-assigned identity the minimum required RBAC role on the target configuration endpoint.
D.Use a system-assigned managed identity on only one VM and copy its access token to the other two VMs.
E.Store one application password locally on each VM and use it instead of Azure-managed identities.
AnswersA, B, C

A user-assigned managed identity has its own lifecycle and is not deleted when a VM is removed. That makes it the correct choice when multiple VMs need the same identity and the identity must survive VM recreation.

Why this answer

A user-assigned managed identity is an Azure resource that exists independently of any VM, unlike a system-assigned identity which is tied to the VM lifecycle. This independence ensures the identity persists even when a VM is deleted and recreated, maintaining continuous access to the configuration endpoint. By creating a user-assigned managed identity, the administrator decouples the identity from any single VM, satisfying the requirement that the identity must keep working after VM deletion and recreation.

Exam trap

The trap here is that candidates often confuse user-assigned and system-assigned managed identities, incorrectly assuming that a system-assigned identity can be shared across VMs or that its access token can be copied, when in fact system-assigned identities are per-resource and cannot survive resource deletion.

Why the other options are wrong

D

System-assigned managed identities are tied to a single VM's lifecycle; deleting and recreating the VM would break the identity, and copying access tokens is insecure and not supported for cross-VM use.

E

Storing an application password locally on each VM violates the requirement for the identity to keep working if a VM is deleted and recreated, as the password would be lost or require manual reconfiguration. It also introduces security risks and does not use Azure-managed identities.

When would these options actually be correct?

D

If the question required a single VM to access a resource without managing credentials, and the identity could be recreated automatically when the VM is recreated, a system-assigned managed identity would be correct.

E

This option would be correct in a scenario where the application requires a client secret for authentication to an external service that does not support managed identities, and the VMs are in a stable environment where secrets can be securely stored and rotated.

Why candidates pick the wrong answer

D

Candidates may think system-assigned identities are simpler and that tokens can be shared, overlooking the identity lifecycle dependency and security implications.

E

Candidates may think that using a local password is simpler and more familiar than managed identities, or they may not fully understand how managed identities work and their benefits for resilience and security.

249
MCQmedium

A storage account must be accessible only from one virtual network, and the storage service must have a private IP address inside that network. Public network access should be disabled. Which solution should the administrator use?

A.Add a storage firewall rule that allows the subnet's public IP range
B.Configure a service endpoint for the subnet and keep public access enabled
C.Create a private endpoint for the storage account in the virtual network
D.Peer the virtual network to the storage account's region
AnswerC

A private endpoint assigns the storage account a network interface with a private IP address from your VNet's subnet, placing the service effectively inside the virtual network. Traffic to the storage account then traverses the Microsoft backbone rather than the public internet. Once created, you can disable public network access, and the only remaining path is through the private endpoint, guaranteeing that only your VNet can reach the storage account.

Why this answer

A private endpoint assigns the storage account a private IP address from the virtual network's address space, using Azure Private Link to route traffic entirely over the Microsoft backbone. This ensures the storage account is accessible only from that virtual network and allows public network access to be disabled, meeting both requirements.

Exam trap

The trap here is confusing service endpoints (which still leave the public endpoint enabled and only provide source-side filtering) with private endpoints (which provide a private IP and fully disable public access).

Why the other options are wrong

A

This option only restricts access by IP address, but the storage account would still have a public IP and public endpoint, failing the requirement for a private IP address and disabled public network access.

B

A service endpoint does not assign a private IP address to the storage account; it only allows traffic from the subnet via the public endpoint while keeping public access enabled, which violates the requirement to disable public network access.

D

VNet peering connects virtual networks, but does not assign a private IP to the storage account or disable public access. The storage account would still have a public endpoint, and peering alone does not restrict access to a single VNet.

When would these options actually be correct?

A

If the requirement was to allow access only from a specific subnet's public IP range while keeping the storage account publicly accessible from other IPs, a firewall rule would be appropriate.

B

If the requirement were to allow access from a specific subnet without assigning a private IP, and public access could remain enabled, then configuring a service endpoint for that subnet would be correct.

D

An administrator needs to connect two virtual networks in different regions to allow resources in one VNet to communicate with resources in the other VNet using private IP addresses, without requiring a VPN gateway or ExpressRoute.

Why candidates pick the wrong answer

A

Candidates may think that a firewall rule is sufficient to restrict access to a single subnet, overlooking the need for a private IP and complete disabling of public access.

B

Candidates may confuse service endpoints with private endpoints, thinking both provide private connectivity, but service endpoints still use the public endpoint and do not disable public access.

D

Candidates may confuse VNet peering with private connectivity, thinking that peering can provide private IP access to Azure services, or they may assume that peering inherently restricts public access.

250
MCQmedium

A hub VNet already has a VPN gateway connected to on-premises. A new spoke VNet must reach on-premises through the hub gateway and should not deploy its own gateway. What configuration should be enabled on the peering?

A.Enable gateway transit on the hub peering and Use remote gateways on the spoke peering.
B.Create a service endpoint from the spoke to the hub.
C.Add a default route to Internet in the spoke subnet.
D.Enable accelerated networking on the spoke subnet.
AnswerA

This is the correct hub-and-spoke configuration when only the hub should own the VPN gateway. Gateway transit allows the hub to share its gateway with peered VNets, and the spoke must be configured to use the remote gateway. Together, these settings let the spoke route on-premises traffic through the hub gateway without deploying another gateway or duplicating connectivity infrastructure.

Why this answer

Enabling 'Use remote gateways' on the spoke VNet peering and 'Allow gateway transit' on the hub VNet peering allows the spoke VNet to route traffic to on-premises through the hub's VPN gateway without deploying its own gateway. This configuration leverages BGP routes (if the VPN gateway is route-based) to propagate on-premises prefixes to the spoke, enabling transitive routing across the peering.

Exam trap

The trap here is that candidates often confuse 'gateway transit' with simply enabling peering, forgetting that both the hub's 'Allow gateway transit' and the spoke's 'Use remote gateways' must be explicitly set, and that the spoke cannot have its own gateway (otherwise the setting is blocked).

Why the other options are wrong

B

Service endpoints allow private access to Azure PaaS services from a VNet, not connectivity to on-premises through a VPN gateway. They do not enable routing between VNets or to on-premises.

C

Adding a default route to the Internet in the spoke subnet does not enable traffic to on-premises through the hub VPN gateway; it would send traffic to the Internet instead of through the hub.

D

Accelerated networking improves VM network performance via SR-IOV, but does not enable routing traffic through a hub VPN gateway. It does not affect VNet peering or gateway transit.

When would these options actually be correct?

B

In a scenario where a spoke VNet needs secure, private access to an Azure Storage account without using a public IP, enabling a service endpoint on the spoke subnet and creating a service endpoint policy would be correct.

C

In a scenario where the spoke VNet needs direct Internet access without routing through the hub, and you want to ensure outbound traffic goes via the Internet (e.g., for a public-facing app), adding a default route to the Internet in the spoke subnet would be correct.

D

A question asks how to improve network throughput and reduce latency for VMs in a spoke VNet that communicate with on-premises resources through a hub VPN gateway. Enabling accelerated networking on the spoke subnet would be correct to enhance performance.

Why candidates pick the wrong answer

B

Candidates may confuse service endpoints with VPN or gateway transit, thinking they provide a path to on-premises, because both involve network connectivity and Azure services.

C

Candidates may think a default route is needed to direct traffic to on-premises, but they overlook that the route must point to the hub gateway, not the Internet.

D

Candidates may think 'accelerated' implies faster connectivity to on-premises via the hub, confusing performance optimization with routing configuration.

251
MCQmedium

A subnet has an NSG with these inbound rules: priority 200 DenyAllInbound and priority 300 AllowHTTPSFromInternet. A VM in the subnet is still unreachable on TCP 443 from the internet. What should you do to make HTTPS work while keeping the deny rule in place?

A.Move the allow HTTPS rule to a lower priority number such as 100 so it is evaluated before the deny rule.
B.Create the same allow rule on the NIC-level NSG at priority 300 and leave the subnet NSG unchanged.
C.Change the deny rule to protocol Any and keep the same priority so Azure evaluates the allow rule first.
D.Add a route table entry for TCP 443 traffic so Azure sends it directly to the VM.
AnswerA

NSG rules are processed in order of priority, and the lowest number wins. Because the deny rule at 200 is evaluated before the allow rule at 300, HTTPS is blocked. Moving the allow rule to a lower priority number lets it match first while keeping the deny rule for all other inbound traffic.

Why this answer

NSG rules are evaluated in priority order, with lower numbers evaluated first. Moving the allow HTTPS rule to priority 100 ensures it is processed before the DenyAllInbound rule at priority 200, allowing TCP 443 traffic from the internet while the deny rule remains in place for all other inbound traffic.

Exam trap

The trap here is that candidates often think NSG rules are evaluated based on specificity (e.g., more specific rules override broader ones) rather than strictly by priority number, leading them to believe a higher-priority allow rule can override a lower-priority deny rule.

Why the other options are wrong

B

The subnet NSG's deny rule at priority 200 blocks all inbound traffic before the allow rule at priority 300 is evaluated. Adding an identical allow rule to the NIC-level NSG at priority 300 does not override the subnet NSG's deny rule because subnet NSG rules are evaluated before NIC NSG rules, and the deny rule already blocks the traffic.

C

Changing the deny rule to protocol Any does not affect evaluation order; NSG rules are evaluated by priority number, not protocol scope. The deny rule at priority 200 will still be evaluated before the allow rule at priority 300, blocking HTTPS traffic.

D

Route tables control traffic routing between subnets and networks, not firewall filtering. Since the VM is unreachable due to NSG rules blocking inbound traffic, adding a route table entry does not bypass NSG evaluation; NSGs always apply to traffic entering a subnet or NIC.

When would these options actually be correct?

B

If the question stated that the subnet NSG has no deny rule, but the NIC-level NSG has a deny rule at priority 200, then creating an allow rule at priority 300 on the NIC-level NSG would be correct to allow HTTPS traffic while keeping the deny rule in place.

C

If the question stated that the deny rule was blocking HTTPS because it only allowed TCP traffic but the deny rule was set to protocol Any, and the allow rule was at a lower priority (e.g., 100), then changing the deny rule to protocol Any would not help. However, if the question asked how to ensure all traffic except HTTPS is denied, and the allow rule already had a lower priority, then setting the deny rule to protocol Any would be correct to block all other protocols.

D

In a scenario where traffic to a VM is failing because it is being routed to a different destination (e.g., a network virtual appliance) instead of directly to the VM, adding a route table entry to direct traffic to the VM's IP would be correct.

Why candidates pick the wrong answer

B

Candidates may think that NIC-level NSG rules override subnet-level NSG rules, or that adding a rule at the same priority on the NIC will somehow bypass the subnet's deny rule, misunderstanding the order of evaluation (subnet NSG first, then NIC NSG).

C

Candidates may mistakenly think that Azure evaluates more specific rules (like protocol-specific) before broader ones, or that changing the deny rule's protocol scope somehow changes evaluation order, when in fact priority numbers alone determine order.

D

Candidates may confuse routing with filtering, thinking that a route can override NSG rules or that Azure will prioritize route table entries over NSGs for traffic delivery.

252
MCQmedium

Based on the exhibit, the help desk team must be able to restart virtual machines in RG-App, but they must not be able to create, delete, or resize VMs. What is the best action?

A.Assign Virtual Machine Contributor to HelpDeskGroup at the subscription scope.
B.Assign Contributor to HelpDeskGroup at RG-App.
C.Create a custom RBAC role that allows VM start, restart, and deallocate actions, then assign it at RG-App.
D.Assign Owner to HelpDeskGroup at RG-App and use Azure Policy to block unwanted changes.
AnswerC

A custom role is the best fit when no built-in role is narrow enough. Assigning it at the resource group scope limits the permission to RG-App, while the role itself can be restricted to only the VM operational actions that the help desk needs.

Why this answer

The help desk team needs only specific actions (start, restart, deallocate) without the ability to create, delete, or resize VMs. The built-in Virtual Machine Contributor role includes write permissions that allow creating and deleting VMs, so a custom RBAC role that explicitly grants only the required actions (Microsoft.Compute/virtualMachines/start/action, restart/action, deallocate/action) and is assigned at the RG-App scope meets the requirement precisely.

Exam trap

The trap here is that candidates often assume the built-in Virtual Machine Contributor role is the correct choice because it sounds restrictive, but it actually includes write permissions that allow VM creation and deletion, making a custom role necessary for the exact set of actions required.

Why the other options are wrong

A

Assigning Virtual Machine Contributor at subscription scope grants permission to create, delete, and resize VMs across all resource groups, which exceeds the required restriction of preventing these actions.

B

The Contributor role at RG-App includes write and delete permissions on all resources, which would allow the help desk team to create, delete, or resize VMs, violating the requirement.

D

Assigning Owner at RG-App grants full control, including the ability to create, delete, and resize VMs, which violates the requirement to prevent those actions. Azure Policy can block some changes but does not restrict RBAC permissions, so the help desk would still have excessive rights.

When would these options actually be correct?

A

If the requirement were to allow full VM management (including create, delete, resize) across all resource groups in the subscription, then assigning Virtual Machine Contributor at subscription scope would be appropriate.

B

If the requirement were to allow the help desk team full management of all resources in RG-App except for access control, and the question did not restrict VM creation, deletion, or resizing, then assigning Contributor at RG-App would be appropriate.

D

This option would be correct if the requirement were to give a group full administrative control over a resource group while using Azure Policy to enforce compliance rules (e.g., tagging or location restrictions) that do not conflict with the group's permissions.

Why candidates pick the wrong answer

A

Candidates may think Virtual Machine Contributor is a narrowly scoped role for VMs, but they overlook that it includes write/delete permissions, which are prohibited in this scenario.

B

Candidates may think Contributor provides sufficient permissions for restarting VMs without realizing it also grants broader management capabilities that exceed the stated restrictions.

D

Candidates may think that combining Owner with Azure Policy provides a flexible way to grant broad permissions while using policy to block specific actions, not realizing that Owner overrides policy restrictions on RBAC actions.

253
Multi-Selectmedium

An operations team must be able to restart virtual machines in one resource group. They must not create, delete, resize, or change disks or networking. Which two actions should the administrator take? Select two.

Select 2 answers
A.Create a custom RBAC role that includes only read and restart actions for virtual machines.
B.Assign the Virtual Machine Contributor role to the operations group.
C.Assign the custom role to the operations group at the resource group scope.
D.Create an Azure Policy assignment that denies VM creation in the resource group.
E.Apply a ReadOnly lock to the resource group.
AnswersA, C

A custom RBAC role can be defined with precisely the needed permissions. The role definition JSON includes the actions Microsoft.Compute/virtualMachines/read and Microsoft.Compute/virtualMachines/restart/action, which together allow the team to view and restart VMs without any other management capabilities such as creating, deleting, or modifying them. Because no built-in role offers only these two actions, creating a custom role is necessary to achieve least privilege.

Why this answer

A custom RBAC role can be defined to include only the 'Microsoft.Compute/virtualMachines/read' and 'Microsoft.Compute/virtualMachines/restart/action' permissions, which precisely limits the operations team to reading and restarting VMs without allowing create, delete, resize, or disk/network changes. This aligns with the principle of least privilege.

Exam trap

The trap here is that candidates often confuse Azure Policy (which enforces compliance rules) with RBAC (which controls permissions), or mistakenly think a ReadOnly lock still allows restart actions, not realizing that restart is a write operation in the Azure Resource Manager.

Why the other options are wrong

B

The Virtual Machine Contributor role allows creating, deleting, and resizing VMs, as well as modifying disks and networking, which exceeds the required permissions of only restarting VMs.

D

Azure Policy assignments deny or audit resource creation based on rules, but they do not grant or restrict actions for existing resources like restarting VMs. The question requires a role-based solution to allow restarting VMs, not a policy to deny creation.

E

A ReadOnly lock prevents any changes to resources, including restarting VMs, which requires write access. The operations team needs to restart VMs, so this lock would block their required action.

When would these options actually be correct?

B

This option would be correct if the requirement was to allow full management of virtual machines (including create, delete, resize, and disk/network changes) but not access to the VM's data or other resources in the resource group.

D

If the question asked: 'The team must prevent any new VMs from being created in the resource group while allowing existing VMs to be managed. Which action should the administrator take?' then creating an Azure Policy assignment that denies VM creation would be correct.

E

If the question required preventing any modifications (including restarts) to resources in a resource group while allowing read access, applying a ReadOnly lock would be correct. For example, 'You need to ensure that no one can modify or restart VMs in a critical resource group.'

Why candidates pick the wrong answer

B

Candidates may think 'Contributor' implies limited permissions, but it actually grants broad management capabilities, leading them to overlook the specific restrictions needed.

D

Candidates may confuse Azure Policy with RBAC, thinking that a deny policy can also restrict actions on existing resources, or they may believe that preventing creation indirectly solves the permission issue.

E

Candidates may think a ReadOnly lock is a simple way to restrict operations, but they overlook that restarting a VM requires write-level permissions, which the lock denies.

254
MCQmedium

A VM subnet has an NSG with these custom rules: - Inbound priority 100: Allow TCP 443 from Internet - Outbound priority 100: Deny Any to Internet The VM hosts an app that must download updates from an HTTPS repository on the Internet. The downloads fail. What change should be made?

A.Add another inbound allow rule for TCP 443 from the repository address.
B.Add an outbound allow rule for TCP 443 to Internet or the repository service tag.
C.Change the inbound allow rule to priority 50.
D.Remove the VM's public IP address.
AnswerB

The VM is initiating outbound HTTPS sessions, so the outbound direction must permit TCP 443. Because a deny-all outbound rule is blocking traffic to Internet, the fix is to add a higher-priority outbound allow rule that matches the repository destination, such as Internet or a specific service tag. Inbound HTTPS rules do not help traffic leaving the VM.

Why this answer

The VM's outbound traffic is blocked by the default outbound deny rule (priority 100). Since the app needs to download updates from an HTTPS repository (TCP 443), an outbound allow rule for TCP 443 to the Internet or the repository service tag is required. Inbound rules do not affect outbound traffic, so the existing inbound allow rule is irrelevant to the download failure.

Exam trap

The trap here is that candidates often focus on inbound rules because the NSG has an inbound allow rule, but the real issue is that outbound traffic is explicitly denied, and they forget that NSGs are stateful only for traffic that matches an allow rule, not for all traffic.

Why the other options are wrong

A

The issue is outbound traffic being denied by the NSG rule at priority 100. Adding an inbound rule does not affect outbound connectivity; the VM's outbound HTTPS requests are still blocked.

C

The issue is outbound traffic being blocked by the deny rule at priority 100; changing the inbound rule's priority does not affect outbound connectivity.

D

Removing the VM's public IP address would not resolve the outbound traffic block; the VM still needs outbound access to download updates, and removing the public IP would not bypass the NSG deny rule.

When would these options actually be correct?

A

This option would be correct if the question described a scenario where inbound traffic from a specific repository IP was being blocked by a default deny rule, and the VM needed to receive inbound connections from that repository (e.g., a webhook or callback).

C

If the question described an inbound connection failure (e.g., clients cannot reach the VM on HTTPS) and there were conflicting inbound rules, lowering the priority of the allow rule could resolve the conflict.

D

In a scenario where a VM is exposed to the internet and you need to restrict inbound access to only internal resources, removing the public IP and using a private IP with a VPN or ExpressRoute would be correct to eliminate direct internet exposure.

Why candidates pick the wrong answer

A

Candidates may mistakenly think that allowing inbound traffic also permits outbound responses, or they focus on the HTTPS protocol and assume the issue is inbound, overlooking the explicit outbound deny rule.

C

Candidates may think that increasing the priority of the inbound rule will somehow override the outbound deny, confusing inbound and outbound traffic flows.

D

Candidates may think that removing the public IP will force traffic through a different path that bypasses the NSG, or they may confuse inbound and outbound rules, assuming the issue is about inbound access.

255
MCQmedium

Based on the exhibit, a user deleted one file from a Windows Azure VM. The VM is still running, and the administrator wants to restore only that file instead of recovering the full machine. Which restore approach should be used?

A.Use the VM restore option and overwrite the entire VM.
B.Mount the recovery point and copy the file back to the VM.
C.Increase the VM size and redeploy the workload.
D.Enable a diagnostic setting on the VM and recover the file from logs.
AnswerB

Azure Backup's file-level recovery lets you mount a chosen recovery point as a browsable drive without affecting the running VM. You can simply copy the deleted file back to its original location. This avoids a full virtual machine restore, minimizing downtime and preventing unnecessary overwrites of other changes, making it the precise, least-invasive solution.

Why this answer

Azure VM backup allows you to mount a recovery point as a disk on another VM or the same VM, enabling file-level restore without overwriting the entire VM. This approach uses the 'File Recovery' feature of Azure Backup, which presents the recovery point as an iSCSI target that can be mounted and browsed to copy individual files back to the running VM.

Exam trap

The trap here is that candidates may assume file-level recovery requires restoring the entire VM (Option A) or confuse diagnostic logs with backup data (Option D), not realizing that Azure Backup's mount-and-copy feature is specifically designed for granular file recovery from a running VM.

Why the other options are wrong

A

The VM restore option overwrites the entire VM, which is not suitable for restoring a single file without affecting other data or the running state.

C

Increasing VM size and redeploying the workload does not restore a deleted file; it only changes the VM's hardware resources and re-deploys the application, which does not recover the deleted file from a backup.

D

Diagnostic settings capture performance and log data, not file-level restore points. They cannot be used to recover a specific deleted file from a VM.

When would these options actually be correct?

A

This option would be correct if the question asked for recovering a VM after a catastrophic failure where the entire VM is corrupted or unavailable, and the goal is to restore the full machine to a previous state.

C

This option would be correct if the question asked how to resolve performance issues due to insufficient resources (e.g., CPU or memory) and redeploy the workload to take advantage of the new size.

D

If the question asked how to collect and analyze VM performance metrics or application logs for troubleshooting, enabling diagnostic settings would be correct.

Why candidates pick the wrong answer

A

Candidates may think that VM restore is the only way to recover data from a backup, not realizing that file-level restore is possible by mounting the recovery point.

C

Candidates may mistakenly think that redeploying the workload after resizing the VM will restore the original state, confusing infrastructure changes with data recovery.

D

Candidates may confuse diagnostic logs with backup data, thinking logs contain file contents or can be used for file recovery.

256
MCQmedium

A web tier and an app tier run in separate subnets. Each VM NIC is placed in an application security group named WebASG or AppASG. The administrator must allow only the web tier to reach the app tier on TCP port 8443 and block all other inbound traffic to the app tier. Which NSG rule should be created on the app subnet?

A.Allow TCP 8443 from WebASG to AppASG with a priority lower number than the deny rule.
B.Allow TCP 8443 from the entire virtual network to the app subnet with a lower priority than the deny rule.
C.Allow UDP 8443 from WebASG to AppASG with any priority below 65000.
D.Allow TCP 8443 from WebASG to AppASG with a priority higher number than the deny rule.
AnswerA

This is the most precise approach because it targets the source and destination groups instead of broad IP ranges. The rule must use a lower priority number than the deny-all rule so it is evaluated first. That lets only the web tier reach the app tier on TCP 8443 while preserving the block on all other inbound traffic.

Why this answer

NSG rules are evaluated in priority order, with lower numbers having higher priority. By placing an Allow rule for TCP 8443 from WebASG to AppASG with a lower priority number than a subsequent Deny-All rule, only traffic from the web tier is permitted, and all other inbound traffic to the app subnet is blocked. This leverages application security groups (ASGs) to define fine-grained, role-based network security policies without relying on IP addresses.

Exam trap

The trap here is that candidates often confuse priority numbering—thinking a higher number means higher priority—or mistakenly assume that allowing traffic from the entire virtual network is sufficient, overlooking the need to restrict the source to only the web tier via ASGs.

Why the other options are wrong

B

This rule allows traffic from the entire virtual network, not just the web tier, violating the requirement to restrict access solely to the web tier. The app subnet would be exposed to all VMs in the virtual network, including potentially malicious or unintended sources.

C

The question specifies TCP port 8443, but option C incorrectly uses UDP. Also, the priority requirement is not about being below 65000; it must be lower than the deny rule's priority.

When would these options actually be correct?

B

If the requirement were to allow all VMs within the virtual network (e.g., for internal management or inter-tier communication) to reach the app tier on TCP 8443, and only block traffic from outside the virtual network, then allowing from the entire virtual network with a lower priority than a deny-all rule would be correct.

C

If the question required allowing UDP traffic on port 8443 from WebASG to AppASG, and the deny rule had a priority of 65000, then a rule with any priority below 65000 would be correct.

Why candidates pick the wrong answer

B

Candidates may mistakenly think that since the web and app tiers are in the same virtual network, allowing traffic from the entire virtual network is sufficient and simpler. They overlook the need for granular control using application security groups to restrict access to only the web tier.

C

Candidates may confuse TCP and UDP ports, or think that any priority below 65000 is sufficient without considering the relative priority to the deny rule.

257
MCQmedium

You need to prevent accidental deletion of a production resource group while still allowing administrators to update resources inside it. What should you apply to the resource group?

A.A ReadOnly lock
B.A CanNotDelete lock
C.A deny assignment
D.A budget alert
AnswerB

A CanNotDelete lock is an Azure Resource Manager lock at the resource group level that denies any delete operation against the resource group or its child resources, while still allowing read and update operations. This means administrators can modify configuration or deploy updates, but the lock prevents accidental deletion by any user, including Owners, unless the lock itself is explicitly removed first.

Why this answer

A CanNotDelete lock (B) prevents the resource group from being deleted while still allowing all operations (including updates) on resources within it. This is the correct choice because the requirement is to block accidental deletion of the entire resource group, not to restrict modifications to its resources.

Exam trap

The trap here is that candidates often confuse a ReadOnly lock with a CanNotDelete lock, assuming that preventing deletion requires a more restrictive lock, but the correct lock is the one that specifically targets deletion only.

Why the other options are wrong

A

A ReadOnly lock prevents all modifications, including updates to resources inside the resource group, which contradicts the requirement to allow administrators to update resources.

C

A deny assignment blocks all actions that are not explicitly allowed, which would prevent administrators from updating resources inside the resource group. The question requires allowing updates while only preventing deletion, so a CanNotDelete lock is appropriate.

D

A budget alert only sends notifications when spending exceeds thresholds; it does not prevent deletion of the resource group or its resources.

When would these options actually be correct?

A

Apply a ReadOnly lock to a resource group when you need to prevent any changes to resources, such as in a production environment where configuration must remain static for compliance or auditing purposes.

C

A deny assignment would be correct in a scenario where you need to enforce a policy that explicitly denies specific actions (e.g., preventing deletion of a resource group) while allowing all other actions through role-based access control, such as when using Azure Blueprints or managed applications.

D

You need to be notified when costs for a resource group exceed a certain amount, but no action should be taken automatically. A budget alert would be correct in that scenario.

Why candidates pick the wrong answer

A

Candidates may confuse 'prevent deletion' with 'prevent changes,' assuming a ReadOnly lock is the strictest protection, without realizing it blocks updates as well.

C

Candidates may confuse deny assignments with locks because both are used to restrict operations, but deny assignments are more granular and typically used with Azure Policy, not for simple deletion prevention.

D

Candidates may confuse cost management controls with resource protection controls, thinking a budget alert can prevent accidental deletion by warning administrators.

258
MCQmedium

Based on the exhibit, a subscription activity log is already being sent to Log Analytics. The operations team wants an alert that fires when any resource group is deleted, but it should ignore deletions performed by a known automation account. Which approach should the administrator use?

A.Create a metric alert on CPU percentage for the subscription.
B.Create a log alert using the AzureActivity table and filter out the automation caller.
C.Enable a diagnostic setting on the resource group object.
D.Apply an Azure Policy deny assignment to all deletions.
AnswerB

The AzureActivity table stores control-plane administrative events such as resource deletions, and a log alert rule uses a KQL query against that table to evaluate the event stream. To prevent routine automated cleanup from triggering alerts, the query should include a filter on the Caller property that excludes the automation account's principal name, and the OperationNameValue should match delete operations. This gives precise, real-time notification for unexpected deletions while ignoring the known automation caller.

Why this answer

The AzureActivity table in Log Analytics captures all control-plane operations, including resource group deletions. By creating a log alert query that filters on OperationNameValue='MICROSOFT.RESOURCES/SUBSCRIPTIONS/RESOURCEGROUPS/DELETE' and excludes Caller where it matches the automation account's service principal or object ID, the alert triggers only for non-automation deletions. This approach leverages the existing activity log stream to Log Analytics without additional configuration.

Exam trap

The trap here is that candidates may think a diagnostic setting on the resource group is needed to capture deletion events, but the activity log is already streaming at the subscription level and includes all resource group operations, making the additional setting redundant and incorrect.

Why the other options are wrong

A

The question requires an alert on resource group deletions, not performance metrics. A metric alert on CPU percentage cannot detect resource group deletion events.

C

Enabling a diagnostic setting on the resource group object does not create alerts; it only streams logs to a destination. The question requires an alert on resource group deletions, which is not achieved by diagnostic settings alone.

D

Azure Policy deny assignment prevents resource creation or modification, but it does not generate alerts when deletions occur. The question requires an alert to fire on resource group deletion, not a preventive control.

When would these options actually be correct?

A

A metric alert on CPU percentage would be correct if the question asked for an alert when a specific VM's CPU exceeds a threshold, e.g., 'Create an alert when the average CPU percentage of VM1 is above 80% for 5 minutes.'

C

This option would be correct if the question asked: 'How to send resource group activity logs to a Log Analytics workspace for long-term retention and analysis?' In that case, enabling a diagnostic setting on the resource group would stream the logs.

D

An Azure Policy deny assignment would be correct if the requirement was to prevent any resource group deletions (including those by automation accounts) rather than alerting on them. For example: 'The security team wants to block all resource group deletions across the subscription.'

Why candidates pick the wrong answer

A

Candidates may confuse metric alerts with log alerts, or think that any alert type can be used for operational events, not understanding that metric alerts only monitor numeric performance data.

C

Candidates may confuse diagnostic settings with alert rules, thinking that enabling logging automatically triggers alerts, or they may believe that diagnostic settings can be used to filter and alert on specific activities.

D

Candidates may confuse preventive controls (deny assignments) with detective controls (alerts), or think that blocking deletions is a simpler way to avoid unwanted deletions than setting up alerts.

259
MCQmedium

You need to receive an email when average CPU usage on VM-App01 exceeds 85 percent for 10 minutes. Which Azure Monitor components should you configure?

A.A metric alert and an action group
B.A resource lock and Azure Advisor
C.An activity log alert only
D.A budget alert
AnswerA

A metric alert continuously evaluates the 'Percentage CPU' counter for VM app01 over a set aggregation window (e.g., 5 minutes), and when the value exceeds 85, the alert fires. The linked action group is essential because it contains the email notification action that actually sends the message to the specified recipients. Without the action group, the metric alert would only appear in the portal or be exposed via APIs, but it would not proactively notify you.

Why this answer

A metric alert monitors a specific Azure resource metric (like CPU percentage) and triggers when a condition (e.g., average > 85%) is met over a specified evaluation period (e.g., 10 minutes). An action group defines the notification actions (e.g., sending an email) when the alert fires. Together, they fulfill the requirement to receive an email based on a performance threshold.

Exam trap

The trap here is confusing metric alerts (for performance metrics) with activity log alerts (for management events) or budget alerts (for cost), leading candidates to pick an option that monitors the wrong type of data.

Why the other options are wrong

B

A resource lock prevents accidental deletion or modification of resources, and Azure Advisor provides best practice recommendations, but neither can trigger an email based on CPU usage metrics.

C

An activity log alert only monitors changes to Azure resources (e.g., creation, deletion) or service health events, not performance metrics like CPU usage. It cannot trigger based on metric thresholds.

D

A budget alert monitors cost thresholds, not performance metrics like CPU usage. It cannot trigger an email based on average CPU exceeding 85% for 10 minutes.

When would these options actually be correct?

B

You need to prevent deletion of a critical resource and receive proactive recommendations to improve its reliability and performance. In that case, you would configure a resource lock for protection and use Azure Advisor for recommendations.

C

You would use an activity log alert when you need to be notified about operational events, such as when a VM is deleted, a security policy is changed, or a service health incident occurs. For example: 'You need an email when a VM is stopped from the Azure portal.'

D

You need to receive an email when spending on a resource group exceeds $1000 for the month. A budget alert with an action group would be the correct solution.

Why candidates pick the wrong answer

B

Candidates may confuse Azure Advisor's monitoring capabilities with alerting, or think that a resource lock combined with Advisor can somehow trigger notifications based on performance metrics.

C

Candidates may confuse activity log alerts with metric alerts, thinking that 'activity' includes performance monitoring, or they may not fully understand the distinct purposes of different alert types.

D

Candidates may confuse 'budget' with 'metric thresholds' or think any alert can monitor performance, overlooking that budget alerts are specifically for cost management.

260
MCQmedium

In Log Analytics, you want an alert that fires if VM01 has not sent a Heartbeat record in the last 15 minutes. Which query should be used as the alert condition?

A.Heartbeat | where Computer == "VM01" | summarize LastHeartbeat = max(TimeGenerated) | where LastHeartbeat > ago(15m)
B.Heartbeat | where Computer == "VM01" | summarize LastHeartbeat = max(TimeGenerated) | where LastHeartbeat < ago(15m)
C.Heartbeat | where Computer == "VM01" and TimeGenerated > ago(15m) | summarize count() by Computer
D.Heartbeat | where Computer == "VM01" | summarize count() by bin(TimeGenerated, 15m)
AnswerB

This query finds the most recent heartbeat for VM01 and compares it to the 15-minute threshold. If the latest heartbeat is older than that, the query returns a result that can be used to trigger an alert. That directly matches the requirement to detect when the VM has stopped reporting heartbeats.

Why this answer

The alert must fire when VM01 has *not* sent a Heartbeat in the last 15 minutes. The query uses `max(TimeGenerated)` to find the most recent heartbeat, then filters with `where LastHeartbeat < ago(15m)` to detect records older than 15 minutes. This condition evaluates to true when the last heartbeat is older than the threshold, triggering the alert.

Exam trap

The trap here is that candidates often confuse the comparison operator, choosing `>` (greater than) instead of `<` (less than), because they mistakenly think 'last heartbeat > 15 minutes ago' means it happened more than 15 minutes ago, when in fact `ago(15m)` returns a timestamp 15 minutes in the past, and a heartbeat older than that has a *smaller* timestamp value.

Why the other options are wrong

A

This query fires when the last heartbeat is more recent than 15 minutes ago, i.e., when VM01 has sent a heartbeat within the last 15 minutes, which is the opposite of the desired condition (no heartbeat in 15 minutes).

C

This query checks for heartbeats in the last 15 minutes and counts them, but it does not identify if VM01 has missed a heartbeat; it would fire even if VM01 has heartbeats within the window, as long as count is >0.

D

This query counts heartbeats per 15-minute bin but does not check if the latest heartbeat is older than 15 minutes; it could return a count even if VM01 sent a heartbeat within the last 15 minutes, failing to detect absence.

When would these options actually be correct?

A

This query would be correct for an alert that fires when VM01 has sent a heartbeat in the last 15 minutes, e.g., 'Alert if VM01 has sent a heartbeat recently' or 'Alert if VM01 is healthy and reporting.'

C

This query would be correct for an alert that fires if VM01 has sent at least one heartbeat in the last 15 minutes (i.e., a heartbeat existence alert).

D

This query would be correct for an alert that fires if VM01 has sent fewer than a certain number of heartbeats in each 15-minute window, e.g., to detect intermittent connectivity.

Why candidates pick the wrong answer

A

Candidates may confuse the comparison operator, thinking 'greater than ago(15m)' means 'older than 15 minutes' due to misunderstanding how ago() works with max(TimeGenerated).

C

Candidates may think that counting heartbeats in the last 15 minutes and alerting if count is zero is equivalent to checking the last heartbeat time, but the query as written does not include a condition to trigger only when count is zero.

D

Candidates may think binning by time and counting is a standard way to detect missing data, but they overlook that the alert needs to check the recency of the last heartbeat, not the count in a window.

261
Multi-Selecthard

A user deleted a file from an Azure VM, and the administrator wants to use Azure Backup file-level recovery rather than restore the whole VM. Which two prerequisites are required before mounting the recovery point from the portal? Select two.

Select 2 answers
A.Download the vault credentials file
B.Select the appropriate recovery point
C.Provide the storage account access key
D.Assign a public IP address to the VM
E.Create an Azure AD application secret
AnswersA, B

Vault credentials authenticate the temporary mount process used for file-level recovery.

Why this answer

Vault credentials are required to authenticate the portal session to the Recovery Services vault when performing file-level recovery. Option B is correct because you must select a specific recovery point (snapshot) from which to mount the files; the portal uses this point to create an iSCSI target on the VM.

Exam trap

The trap here is that candidates often confuse file-level recovery with restoring a VM from a storage account snapshot, leading them to think a storage account key is needed, when in fact the iSCSI mount uses vault credentials and the Backup service's managed identity.

Why the other options are wrong

C

File-level recovery from Azure Backup does not require the storage account access key; the recovery point is mounted via the portal using vault credentials and the selected recovery point, not by directly accessing the storage account.

D

Assigning a public IP address to the VM is not required for Azure Backup file-level recovery; the recovery point is mounted via a script that uses the vault credentials and does not require direct network access to the VM.

E

Azure Backup file-level recovery does not require an Azure AD application secret. The process involves downloading vault credentials and selecting a recovery point, then mounting the recovery point using a script that runs on the VM, which does not need Azure AD authentication.

When would these options actually be correct?

C

When restoring a VM backup to a new VM using Azure Backup, you may need to provide the storage account access key if you are using PowerShell or CLI to restore disks to a storage account, or when configuring backup for a VM that uses unmanaged disks.

D

This would be correct in a question about enabling RDP or SSH access to a VM that is not reachable from the internet, or when configuring a load balancer to route traffic to a VM.

E

An Azure AD application secret would be required when configuring Azure Backup for VMs using Azure Policy or automation scripts that need service principal authentication, or when setting up backup for Azure VMs using PowerShell/CLI with a service principal for non-interactive authentication.

Why candidates pick the wrong answer

C

Candidates may confuse file-level recovery with restoring VM disks to a storage account, where the access key is needed to access the storage account containing the restored disks.

D

Candidates may think that mounting a recovery point requires network connectivity or that the VM needs to be accessible from the portal, leading them to assume a public IP is necessary.

E

Candidates may confuse Azure Backup with other Azure services that require Azure AD authentication, or think that any Azure operation involving credentials needs an Azure AD app secret, not realizing that vault credentials are specific to Backup and Recovery Services.

262
MCQmedium

You need to create a storage account that provides the lowest-cost redundant storage for non-critical data and only needs protection against local disk or server failure within a single datacenter. Which redundancy option should you choose?

A.LRS
B.ZRS
C.GRS
D.GZRS
AnswerA

LRS writes three synchronous copies of your data within a single physical datacenter in the primary region. It provides the cheapest redundancy tier because it does not pay for inter-zone or inter-region replication, protecting only against server and drive failures. For workloads that can tolerate a datacenter-level loss, this is the lowest-cost way to meet a basic redundancy requirement.

Why this answer

A is correct because Locally Redundant Storage (LRS) replicates data three times within a single datacenter in the same region, protecting against local disk or server failures. It is the lowest-cost redundancy option, making it ideal for non-critical data that does not require protection against zone- or region-level outages.

Exam trap

The trap here is that candidates may choose ZRS or GRS thinking they need 'redundancy' without realizing the question specifically limits the scope to local failures within a single datacenter, making LRS the cheapest and sufficient option.

Why the other options are wrong

B

ZRS provides synchronous replication across multiple availability zones within a region, which is more expensive than LRS and offers more protection than needed for non-critical data that only requires protection against local disk or server failure within a single datacenter.

C

GRS replicates data to a paired secondary region, providing higher durability but at a higher cost. The question specifies lowest-cost redundancy for non-critical data needing only protection against local failures within a single datacenter, so GRS is overkill and more expensive.

D

GZRS (Geo-Zone-Redundant Storage) provides redundancy across multiple datacenters in different regions, which is overkill and more expensive than needed for the requirement of only protecting against local disk or server failure within a single datacenter.

When would these options actually be correct?

B

You need to ensure data durability even if an entire availability zone fails, but you do not require geo-replication. For example, a production application that must remain available during a zone-wide outage would use ZRS.

C

A question requiring the highest durability for critical data that must survive a regional disaster, with cost being secondary. For example: 'You need to ensure data is preserved even if an entire Azure region fails. Which redundancy option should you choose?'

D

A question requiring maximum durability and availability for critical data, where data must be protected against a regional disaster (e.g., entire region outage) and also against zone-level failures within the primary region. For example: 'You need a storage solution that can withstand a complete regional outage and also provides zone-level redundancy in the primary region.'

Why candidates pick the wrong answer

B

Candidates may confuse ZRS with LRS because both replicate within a single region, but ZRS offers higher durability across zones, leading them to over-provision redundancy for non-critical data.

C

Candidates may think GRS is the default or best redundancy option, or they may confuse 'lowest-cost' with 'most durable,' leading them to choose GRS for its higher protection level.

D

Candidates may think GZRS offers the best protection and assume it is the cheapest option for high durability, overlooking the cost implications and the specific requirement for only local failure protection.

263
MCQhard

A shared resource group contains a VM and a storage account used by payroll. Administrators still need to modify configuration and apply patches, but accidental deletion of either resource must be prevented. What should the administrator apply?

A.A ReadOnly lock on the entire resource group.
B.A CanNotDelete lock on each resource.
C.A policy assignment that denies delete operations on the resource group.
D.A management group with a deny assignment.
AnswerB

A CanNotDelete lock on each resource blocks Azure Resource Manager delete calls for the VM and the storage account while still permitting read and update operations, such as resizing the VM or modifying storage configuration. Per-resource locks are narrower than a resource-group-wide lock, limiting the protection to exactly the two assets that need it and avoiding unintended restrictions on other resources in the shared group. This directly satisfies the requirement because it prevents accidental deletion without freezing normal management-plane activities.

Why this answer

A CanNotDelete lock prevents the deletion of a resource while still allowing all other operations, including configuration modifications and patching. This meets the requirement of protecting the VM and storage account from accidental deletion while preserving administrative access for updates.

Exam trap

The trap here is that candidates often confuse resource locks with Azure Policy or RBAC, mistakenly thinking a policy or role assignment at the resource group scope will protect individual resources, when in fact locks must be applied directly to each resource to prevent its deletion.

Why the other options are wrong

A

A ReadOnly lock prevents all modifications, including patching and configuration changes, which are still required by administrators. The question explicitly states that administrators need to modify configuration and apply patches, so a ReadOnly lock is too restrictive.

C

A policy assignment that denies delete operations on the resource group does not prevent deletion of individual resources within the group; it only prevents deletion of the resource group itself. The question requires preventing deletion of the VM and storage account, not the group.

D

A management group with a deny assignment would apply to multiple subscriptions, not just the single resource group. It is overly broad and does not target the specific resources (VM and storage account) within that resource group.

When would these options actually be correct?

A

A ReadOnly lock on the entire resource group would be correct if the requirement was to prevent any changes to resources, such as in a production environment where no modifications are allowed, and only read access is needed for auditing or reporting.

C

This option would be correct if the question asked to prevent deletion of the entire resource group while still allowing deletion of individual resources (e.g., to protect the group structure but allow resource lifecycle management).

D

An administrator needs to prevent deletion of all resources across multiple subscriptions under a management group, while still allowing configuration changes. A deny assignment at the management group scope would enforce this restriction at a higher level.

Why candidates pick the wrong answer

A

Candidates may think a ReadOnly lock is a simple way to prevent deletion, overlooking that it also blocks modifications, which are explicitly needed in this scenario.

C

Candidates may think a policy can enforce a blanket deny on all delete operations within the scope, but policies at the resource group level do not automatically apply to child resources unless explicitly defined with appropriate effect and scope.

D

Candidates may confuse management groups with resource groups or think that a deny assignment is a more powerful version of a lock, not realizing it applies at a broader scope and requires Azure RBAC permissions.

264
MCQeasy

You need to assign the same RBAC role to 15 administrators so they can manage backups for several virtual machines. You want to minimize ongoing administrative effort when membership changes. What should you use?

A.A Microsoft Entra group and a single role assignment to the group.
B.A separate custom role assignment for each administrator.
C.A resource lock on every virtual machine.
D.A policy exemption for the administrators.
AnswerA

A Microsoft Entra group gives you a single identity object that can be scoped to a management group, subscription, or resource group. Assigning the RBAC role once to that group means all 15 administrators inherit the same permissions automatically, and future access changes are made by editing group membership rather than adding or removing individual role assignments. This supports least privilege and simplifies audits because the role assignment, role definition, and scope are all explicit.

Why this answer

Assigning a single RBAC role to a Microsoft Entra group allows you to manage permissions centrally. When membership changes, you only need to add or remove users from the group, and the role assignment automatically applies to the new members. This minimizes ongoing administrative effort compared to managing individual role assignments.

Exam trap

The trap here is confusing resource locks (which prevent changes) with RBAC role assignments (which grant permissions), leading candidates to incorrectly select option C as a way to control access.

Why the other options are wrong

B

Creating a separate custom role assignment for each administrator increases administrative effort because each membership change requires updating individual assignments, contradicting the goal of minimizing ongoing effort.

C

Resource locks prevent accidental deletion or modification of resources but do not grant permissions to manage backups. They are not a mechanism for assigning RBAC roles.

D

A policy exemption is used to exclude resources from Azure Policy evaluation, not to assign RBAC roles. It does not grant permissions to manage backups.

When would these options actually be correct?

B

If the question required assigning roles with different permissions to each administrator (e.g., each needs a unique set of actions), then separate custom role assignments would be necessary because a group cannot accommodate individual permission differences.

C

A question asking how to prevent accidental deletion of critical virtual machines by administrators would make resource locks the correct answer, especially if the scenario emphasizes protection against unintended changes rather than access control.

D

When administrators need to bypass a specific Azure Policy that blocks backup operations for certain VMs, and you want to exempt their actions without altering the policy for everyone.

Why candidates pick the wrong answer

B

Candidates may think custom roles offer more control or assume that individual assignments are needed for auditing or granular permissions, overlooking the efficiency of group-based assignments for identical roles.

C

Candidates may confuse resource locks with access control, thinking they can restrict who can manage backups, or they may misremember locks as a way to enforce role assignments.

D

Candidates may confuse policy exemptions with role assignments, thinking they can 'exempt' administrators from needing explicit permissions, or misunderstand the purpose of Azure Policy vs. RBAC.

265
MCQmedium

A reporting system requires a storage account that is zone resilient in the primary region and also keeps a geo-replicated secondary copy that can be read during an outage. Which redundancy option should you select?

A.ZRS, because it protects against zone failure and also provides a readable secondary region.
B.GRS, because it stores a secondary copy in another region but does not offer zone redundancy in the primary region.
C.RA-GZRS, because it combines zone redundancy, geo-replication, and read access to the secondary region.
D.LRS, because local replication is enough when the workload already has application-level retries.
AnswerC

RA-GZRS provides the strongest fit for this scenario. It combines synchronous zone redundancy in the primary region with asynchronous geo-replication to a secondary region, and it allows read access to that secondary copy. That combination meets both the availability and reporting requirements described in the question.

Why this answer

RA-GZRS (Read-Access Geo-Zone-Redundant Storage) is the correct choice because it provides synchronous replication across three Azure availability zones in the primary region for zone resilience, asynchronous geo-replication to a secondary region for disaster recovery, and enables read access to the secondary copy during an outage. This meets all three requirements: zone resiliency, geo-replication, and readable secondary region.

Exam trap

The trap here is that candidates often confuse GRS with RA-GZRS, overlooking that GRS lacks zone redundancy in the primary region and does not provide read access to the secondary copy unless explicitly enabled via RA-GRS or RA-GZRS.

Why the other options are wrong

A

ZRS provides zone redundancy but does not include geo-replication; it does not maintain a secondary copy in another region, let alone one that is readable during an outage.

B

GRS does not provide zone redundancy in the primary region; it only replicates data to a secondary region. The question requires zone resilience in the primary region, which GRS lacks.

D

LRS only replicates data within a single data center, providing no zone resilience or geo-replication, which fails to meet the requirement for zone resilience in the primary region and a readable geo-replicated secondary copy.

When would these options actually be correct?

A

Select ZRS when the requirement is only for zone-level resilience within a single region, with no need for geo-replication or read access from a secondary region.

B

A scenario where the requirement is geo-replication for disaster recovery without needing zone redundancy in the primary region, and read access to the secondary region is not required. For example, a backup storage account that only needs to be restored in another region during a regional outage.

D

LRS would be correct for a question specifying that the storage account is used for non-critical, transient data that can be easily regenerated, and where cost minimization is the primary goal, with no need for high availability or disaster recovery.

Why candidates pick the wrong answer

A

Candidates may mistakenly think ZRS includes geo-replication because the name sounds comprehensive, or they confuse it with GZRS which does include geo-replication.

B

Candidates may confuse GRS with RA-GZRS, thinking that GRS also provides a readable secondary copy, but GRS does not allow reading from the secondary unless a failover occurs. They might overlook the zone resilience requirement.

D

Candidates may choose LRS because it is the cheapest option, and they might incorrectly assume that application-level retries are sufficient to handle all failures, underestimating the need for zone and geo-resilience as specified in the question.

266
MCQmedium

Based on the exhibit, the production resource group must not be deleted during a change freeze, but administrators still need to update VM sizes and tag values. Which lock should you apply?

A.Apply a ReadOnly lock to RG-Prod.
B.Apply a CanNotDelete lock to RG-Prod.
C.Apply a lock to the subscription instead of the resource group.
D.Use Azure Policy with a deny effect to block deletes.
AnswerB

A CanNotDelete lock is the ideal choice because it specifically blocks deletion of the resource group and all contained resources while permitting every read and write operation, such as resizing VMs and updating tags. This directly satisfies the freeze mandate to prevent accidental removal without hindering routine management activities. The lock is also scoped and can only be removed by users with sufficient permissions, providing a strong, secure safeguard.

Why this answer

A CanNotDelete lock (B) prevents deletion of the resource group while allowing all other operations, including updating VM sizes and modifying tag values. This meets the requirement of blocking deletion during a change freeze without restricting administrative updates.

Exam trap

The trap here is that candidates often confuse ReadOnly locks with CanNotDelete locks, assuming that any lock will prevent updates, when in fact ReadOnly locks block all write operations while CanNotDelete locks only block deletion.

Why the other options are wrong

A

A ReadOnly lock prevents all write operations, including updating VM sizes and tag values, which the question requires administrators to be able to do.

C

Applying a lock to the subscription would prevent deletion of all resource groups in the subscription, including non-production ones, which is too restrictive and not required by the scenario that only targets the production resource group.

D

Azure Policy with a deny effect can block delete operations, but it is not a lock and does not prevent deletion of the resource group itself; it only enforces rules on resources within the group. The question specifically requires a lock that prevents deletion while allowing updates to VM sizes and tags, which is exactly what a CanNotDelete lock does.

When would these options actually be correct?

A

Apply a ReadOnly lock when the requirement is to prevent any modifications to resources, such as during a security audit or to enforce a strict read-only state for compliance, while still allowing read access.

C

If the requirement were to prevent deletion of all resource groups in the subscription during a change freeze, while still allowing updates to resources, a subscription-level CanNotDelete lock would be correct.

D

An exam scenario where you need to prevent deletion of specific resource types (e.g., storage accounts) across multiple resource groups, but still allow deletion of other resources. For example: 'You need to ensure that no storage accounts can be deleted in any resource group, but administrators can still delete other resources. What should you use?'

Why candidates pick the wrong answer

A

Candidates may think a ReadOnly lock is sufficient to prevent deletion, but they overlook that it also blocks updates, which are explicitly needed in this scenario.

C

Candidates may think a subscription lock provides broader protection and is simpler to manage, overlooking that it affects all resource groups and may violate the principle of least privilege.

D

Candidates may confuse Azure Policy with locks, thinking that a deny effect can replace resource locks. They might also believe that Policy is a more flexible way to block deletions, not realizing that locks are simpler and directly prevent resource group deletion.

267
MCQhard

A team already has a metric alert on a production VM. The alert should continue evaluating 24/7, but email notifications must be sent only Monday through Friday from 08:00 to 18:00 local time. What should the administrator add or change?

A.Replace the metric alert with a diagnostic setting and store the data in Log Analytics.
B.Create an alert processing rule that suppresses notifications outside business hours.
C.Lower the alert threshold so fewer alerts occur during the week.
D.Use an autoscale profile instead of an alert rule.
AnswerB

An alert processing rule lets you control how alerts are handled without disabling the alert condition itself. That means the metric alert can keep evaluating continuously for history and state changes, while notifications are suppressed outside the approved business hours. This cleanly separates detection from delivery, which is exactly what the requirement describes.

Why this answer

An alert processing rule (formerly action rule) can suppress notifications for a metric alert based on a schedule. By creating a rule with a suppression action that applies outside business hours (e.g., 18:00 to 08:00 and weekends), the alert continues to evaluate and fire, but email notifications are blocked during those times. This meets the requirement without altering the alert rule itself.

Exam trap

The trap here is that candidates confuse alert processing rules (which modify actions after an alert fires) with alert rules themselves, or incorrectly assume that changing thresholds or using diagnostic settings can control notification timing.

Why the other options are wrong

A

A diagnostic setting sends metrics to Log Analytics but does not suppress notifications; the alert would still fire 24/7, and email notifications would continue outside business hours.

C

Lowering the alert threshold reduces the number of alerts but does not restrict notifications to business hours; the alert would still fire and notify outside those hours if the threshold is crossed.

D

Autoscale profiles adjust VM capacity based on load, not send email notifications or suppress them. The requirement is to control notification timing, not scaling behavior.

When would these options actually be correct?

A

If the question required storing VM performance data for long-term analysis and querying, and the alert was not needed, replacing the metric alert with a diagnostic setting sending data to Log Analytics would be correct.

C

An administrator wants to reduce alert fatigue by ensuring only significant performance issues trigger alerts, and the current threshold causes too many false positives during normal operations.

D

An administrator needs to automatically scale out a VM scale set during business hours (08:00-18:00 weekdays) and scale in during off-hours to reduce costs. An autoscale profile with a recurring schedule would be the correct solution.

Why candidates pick the wrong answer

A

Candidates may confuse diagnostic settings with alert processing rules, thinking that routing data to Log Analytics somehow controls notification timing.

C

Candidates may think that reducing alert frequency by lowering the threshold will automatically reduce notifications, but they overlook that the requirement is about notification timing, not alert frequency.

D

Candidates may confuse autoscale scheduling with notification scheduling, thinking a time-based profile can also control alert notifications.

268
MCQhard

A compliance team wants to bundle three policy definitions—allowed locations, required cost center tags, and approved VM sizes—so they can assign them together to a management group and review compliance in one place. Later they want to exempt one pilot subscription from the entire set for 60 days. What should they use?

A.A policy initiative at the management group scope.
B.A custom RBAC role with resource permissions for policy management.
C.A resource lock on the pilot subscription.
D.A separate management group for each of the three policy definitions.
AnswerA

A policy initiative is specifically designed to group multiple policy definitions into a single assignable unit at any scope, including a management group. By assigning the initiative at the management group scope, all descendant subscriptions and resource groups automatically inherit the bundled policies, and Azure Policy aggregates compliance results across every definition in the initiative. This gives the compliance team one consolidated view of whether all three definitions are being met, enabling centralized enforcement and reporting without needing to assign each policy definition separately.

Why this answer

A policy initiative (also called a policy set) allows you to group multiple policy definitions into a single, reusable bundle. By assigning the initiative at the management group scope, all three policies apply together to every subscription under that group. When the pilot subscription needs an exemption, you can create an exemption resource on that subscription for the entire initiative, specifying a 60-day expiration, which temporarily excludes it from all bundled policies while keeping compliance reporting unified.

Exam trap

The trap here is that candidates often confuse policy exemptions with resource locks or RBAC roles, thinking that locking a subscription or assigning permissions can bypass policy evaluation, when in fact only a policy exemption (or an explicit deny assignment override) can exclude a scope from compliance enforcement for a defined period.

Why the other options are wrong

B

A custom RBAC role with resource permissions for policy management does not bundle policy definitions or allow assigning them together to a management group; RBAC controls access to resources, not policy assignment.

C

A resource lock prevents deletion or modification of a subscription, but it does not bundle or assign policy definitions, nor does it allow exempting a subscription from policies for a specific duration.

D

Creating separate management groups for each policy definition does not bundle them into a single assignable unit; the compliance team needs to assign all three together, which requires an initiative (policy set), not separate management groups.

When would these options actually be correct?

B

A question asks: 'You need to grant a junior administrator the ability to create and assign policy definitions but not modify other Azure resources. What should you create?' In that case, a custom RBAC role with the Microsoft.Authorization/policyAssignments/write permission would be correct.

C

A resource lock would be correct if the question asked: 'A team wants to prevent accidental deletion of a critical subscription for 60 days. What should they use?'

D

A question where an organization needs to isolate different environments (e.g., production, development, testing) with distinct policy requirements, and each environment requires its own set of policies assigned to a dedicated management group.

Why candidates pick the wrong answer

B

Candidates may think that managing policies requires special permissions, so they confuse the tool for defining and assigning policies (initiative) with the tool for granting permissions to manage policies (RBAC role).

C

Candidates may confuse resource locks with policy exemptions, thinking a lock can temporarily disable policy enforcement, or they may misinterpret 'exempt' as 'protect from changes'.

D

Candidates may think that grouping policies requires creating separate management groups for each policy, confusing organizational structure with policy grouping mechanisms.

269
MCQmedium

Backup protection was enabled on a new Azure VM, but every backup job fails immediately with a message indicating the guest agent is not ready. What should the administrator verify first?

A.That the Azure VM agent is installed, running, and up to date inside the guest operating system.
B.That the recovery vault uses GZRS storage redundancy.
C.That the VM has a private endpoint to the Recovery Services vault.
D.That a resource lock has not been applied to the VM.
AnswerA

Azure VM Backup depends on the VM agent to coordinate snapshot operations and communicate status back to Azure. If the portal reports that the guest agent is not ready, the first troubleshooting step is to verify that the agent exists, is running, and is current. Fixing the agent often resolves immediate backup failures without changing vault settings, policies, or storage configuration.

Why this answer

The Azure Backup extension requires the Azure VM agent to be installed, running, and up to date inside the guest OS to coordinate backup operations. When the agent is not ready, the backup job fails immediately because the extension cannot communicate with the VM to take snapshots. Verifying the agent's status is the first troubleshooting step before investigating network or configuration issues.

Exam trap

The trap here is that candidates may jump to network or vault configuration issues (like private endpoints or storage redundancy) when the error message explicitly points to the guest agent, which is a common first-check item in Azure Backup troubleshooting.

Why the other options are wrong

B

The backup failure message explicitly indicates the guest agent is not ready, which points to an issue with the Azure VM agent inside the guest OS, not the storage redundancy type of the Recovery Services vault.

C

The immediate failure with 'guest agent not ready' indicates a problem with the Azure VM agent inside the guest OS, not network connectivity. A private endpoint is used for secure access to the vault, but it does not affect the guest agent's readiness.

D

A resource lock prevents deletion or modification of the VM, but it does not affect the guest agent's ability to communicate with Azure Backup. The immediate failure with 'guest agent not ready' indicates an agent issue, not a lock.

When would these options actually be correct?

B

In a scenario where backup jobs fail due to a 'storage account not found' or 'backup data not accessible' error, and the question asks about ensuring data durability or compliance, verifying that the vault uses GZRS would be correct.

C

This option would be correct if the question described backup failures due to connectivity issues, such as 'Backup jobs fail with a timeout error' or 'Cannot connect to the Recovery Services vault from a VM in a restricted network'. In that scenario, verifying a private endpoint or network configuration would be the first step.

D

If the question described backup jobs failing with an error like 'Cannot delete or modify the resource' or 'Operation not allowed due to resource lock', then verifying and removing a resource lock would be the correct first step.

Why candidates pick the wrong answer

B

Candidates may confuse storage redundancy settings with backup agent readiness, thinking that a misconfigured vault replication type could cause immediate backup failures.

C

Candidates may confuse network connectivity issues with agent readiness issues, or think that a private endpoint is required for backup to function. They might also assume that any backup failure is due to network restrictions, especially in secure environments.

D

Candidates may confuse resource locks with backup failures, thinking locks block all operations, or they may have seen locks cause issues in other scenarios and incorrectly assume they affect backup agent communication.

270
MCQmedium

During a change freeze, an administrator applies a lock to a resource group. Users can still read resource details, but attempts to update tags, resize a VM, or change an NSG fail. Which lock was applied?

A.CanNotDelete lock, because it blocks all updates but allows reading.
B.ReadOnly lock, because it blocks write operations while allowing read access.
C.Reader role assignment, because it removes edit permissions from the group.
D.Azure Policy audit assignment, because it reports changes without blocking them.
AnswerB

ReadOnly is the lock that allows users to view resources but prevents writes, including changes to tags, VM sizes, network rules, and many other configuration actions. This exactly matches the symptom described during a change freeze. It is a strong protection and should be used only when the organization truly wants to halt modifications.

Why this answer

The ReadOnly lock (option B) is correct because it explicitly blocks all write operations (including updates to tags, resizing a VM, or modifying an NSG) while allowing read operations. This matches the scenario where users can still read resource details but cannot perform any modifications.

Exam trap

The trap here is that candidates often confuse the CanNotDelete lock with blocking updates, when in fact it only prevents deletion, while the ReadOnly lock is the one that blocks all write operations including updates and modifications.

Why the other options are wrong

A

CanNotDelete lock blocks deletion but allows all other write operations, including updating tags, resizing VMs, and changing NSGs. The question states these updates fail, so a ReadOnly lock is required.

C

A Reader role assignment removes edit permissions but also blocks read access to resource details, which contradicts the scenario where users can still read resource details.

D

Azure Policy audit assignment only reports compliance of existing resources without blocking any actions, so it would not prevent updates to tags, VM resizing, or NSG changes.

When would these options actually be correct?

A

A question where users can delete resources but cannot update them, e.g., 'During a freeze, users can still modify tags and resize VMs, but attempts to delete a VM fail. Which lock was applied?'

C

This option would be correct if the question described a scenario where users need to view resources but should be prevented from making any changes, and the solution involves assigning the Reader role at the resource group scope.

D

A question asks: 'Which Azure feature should you use to monitor whether resources in a subscription are compliant with tagging standards without enforcing the standards?' In that case, an audit policy assignment would be correct.

Why candidates pick the wrong answer

A

Candidates may confuse 'CanNotDelete' with blocking all modifications, or assume that any lock that prevents changes must block deletion as well.

C

Candidates may confuse role-based access control (RBAC) with resource locks, thinking that assigning a Reader role is a way to block updates, but they overlook that locks are separate from RBAC and that Reader role still allows reading.

D

Candidates may confuse Azure Policy's audit effect with actual enforcement, thinking that auditing can block changes, or they may mistakenly believe that any policy assignment can prevent modifications.

271
MCQmedium

Why is centralized logging especially useful during security investigations?

A.It makes related events from multiple devices easier to review and correlate.
B.It guarantees that attacks cannot succeed.
C.It replaces the need for authentication and authorization.
D.It forces all devices to use the same VLAN.
AnswerA

This is correct because centralized visibility is the main investigative benefit.

Why this answer

Centralized logging aggregates logs from multiple sources (e.g., firewalls, servers, Azure Network Watcher) into a single repository, such as Azure Log Analytics. During security investigations, this enables security analysts to correlate events across devices (e.g., matching a suspicious IP address in firewall logs with authentication failures in domain controller logs) without manually connecting to each device. This correlation is critical for reconstructing attack timelines and identifying lateral movement, which is impossible with siloed logs.

Exam trap

The trap here is that candidates confuse centralized logging with a security control that prevents attacks, rather than recognizing it as a detective tool for post-incident analysis and correlation.

Why the other options are wrong

B

This option is incorrect because centralized logging does not prevent attacks; it merely provides a means to analyze and respond to them after they occur. Security measures must be implemented to actually prevent attacks from succeeding.

C

This option is wrong because centralized logging does not eliminate the need for authentication and authorization; rather, it complements these security measures by providing a way to analyze logs from authenticated users and authorized actions.

D

This option is wrong because forcing all devices to use the same VLAN does not directly relate to centralized logging or its benefits during security investigations. VLANs are primarily about network segmentation, not log aggregation or analysis.

When would these options actually be correct?

B

In a different exam scenario focused on the effectiveness of security measures, a question might ask about the benefits of implementing a security framework that guarantees attack prevention. In that context, option B could be correct if discussing a theoretical framework that claims to eliminate vulnerabilities.

C

In a different context, a question might ask about the benefits of centralized logging in a system where access controls are managed solely through logging mechanisms, implying that logging can serve as a primary method of enforcing security, thus making this option correct.

D

In a different exam scenario, a question might ask about network security best practices, specifically regarding how to isolate devices for security purposes. In that context, the option could be correct if the question focused on the benefits of using VLANs to enhance security by segmenting traffic.

Why candidates pick the wrong answer

B

Candidates may choose this option due to a misunderstanding of the role of logging in security; they might confuse logging with proactive security measures, mistakenly believing that centralized logging inherently prevents attacks.

C

Candidates might choose this option due to a misunderstanding of logging's role in security, mistakenly believing that centralized logging can inherently manage user access without the need for separate authentication and authorization processes.

D

Candidates may choose this option due to a misunderstanding of network security concepts, believing that centralized control over network segments, like VLANs, inherently improves security and log management, even though it does not address the logging aspect directly.

272
Multi-Selectmedium

The operations team wants 3 to 8 identical Linux VM instances, with more instances added when average CPU stays above 70 percent for 10 minutes and removed when load falls. Which three settings should be configured? Select three.

Select 3 answers
A.Use a virtual machine scale set for the identical application instances.
B.Create an autoscale profile with a scale-out rule based on average CPU utilization.
C.Set minimum and maximum instance counts so the service cannot scale below 3 or above 8.
D.Place the VMs in an availability set instead of using a scale set.
E.Clone the VM manually whenever CPU rises and remove clones by hand later.
AnswersA, B, C

A virtual machine scale set (VMSS) is the Azure compute service purpose-built to run multiple identical VM instances from a single configuration model. It provides built-in horizontal autoscaling, health monitoring, and centralized instance management, and can distribute instances across fault domains and availability zones. For a workload that needs 3–8 identical Linux instances that automatically adjust, VMSS is the correct foundation; it eliminates the need to manage each VM separately and enables declarative scaling policies.

Why this answer

A virtual machine scale set (VMSS) is the correct Azure service for deploying and managing a group of identical, load-balanced Linux VMs that can automatically scale in and out based on demand. It supports autoscaling rules that adjust the instance count within a defined range, meeting the requirement for 3 to 8 identical instances with automatic addition when average CPU exceeds 70% for 10 minutes and removal when load falls.

Exam trap

The trap here is that candidates may confuse availability sets with scale sets, thinking both provide scaling, but availability sets only offer redundancy and fault tolerance, not automatic scaling or instance count management.

Why the other options are wrong

D

An availability set provides high availability for VMs but does not support autoscaling; it cannot automatically add or remove instances based on CPU load, which is required by the question.

E

Manual cloning and removal does not meet the requirement for automated scaling based on CPU thresholds; it lacks the autoscaling and orchestration capabilities of a scale set.

When would these options actually be correct?

D

If the question required high availability for a fixed number of VMs (e.g., 3 VMs) without autoscaling, and the goal was to protect against hardware failures, an availability set would be the correct choice.

E

This option would be correct in a scenario where the question specifies a small, static number of VMs (e.g., exactly 3) with no autoscaling requirement, and the candidate is asked to choose a manual deployment method for identical instances.

Why candidates pick the wrong answer

D

Candidates may confuse availability sets with scale sets, thinking both provide scaling, or they may focus on high availability and overlook the explicit autoscaling requirement.

E

Candidates may think manual cloning is a valid way to handle scaling for a small number of VMs, overlooking the automation and elasticity requirements in the question.

273
MCQmedium

Based on the exhibit, the support team needs a searchable 90-day history of who deleted Azure resources and when. The current workspace only contains VM guest logs. Which configuration should you add?

A.Enable guest-level diagnostics on each VM so deletion events are captured.
B.Configure a diagnostic setting at the subscription scope to send the Azure Activity log to Log Analytics and retain it for 90 days.
C.Turn on NSG flow logs for all subnets to capture resource deletions.
D.Store VM backups in the vault and use restore points as an audit trail.
AnswerB

The Azure Activity log records control-plane actions like deletes, updates, and role assignments. Exporting it from the subscription to Log Analytics makes those events searchable, and increasing retention gives the team the required 90-day history.

Why this answer

The Azure Activity log records all control-plane events, including resource deletions, at the subscription level. By configuring a diagnostic setting to stream the Activity log to a Log Analytics workspace, you can retain the data for up to 90 days (or longer with data export rules) and make it searchable via KQL queries. The current workspace only contains VM guest logs, so adding this setting directly meets the requirement without relying on guest-level or network-level logs.

Exam trap

The trap here is that candidates confuse guest-level diagnostics (OS logs) with the Azure Activity log (control-plane logs), or assume NSG flow logs or backups can serve as an audit trail for resource deletions, when in fact only the Activity log captures who deleted what and when at the Azure Resource Manager layer.

Why the other options are wrong

A

Guest-level diagnostics capture OS-level events inside the VM, not Azure resource deletion events, which are recorded in the Azure Activity Log at the subscription scope.

C

NSG flow logs capture IP traffic data (source/destination, ports, protocols), not Azure resource deletion events. Resource deletions are recorded in the Azure Activity Log, not in network flow logs.

D

VM backups and restore points capture VM data, not Azure resource deletion events (which are recorded in the Activity Log). They cannot provide a searchable history of who deleted resources and when.

When would these options actually be correct?

A

If the question asked for a searchable history of VM guest OS events (e.g., application crashes, security logs) over 90 days, enabling guest-level diagnostics with Log Analytics would be correct.

C

A question asks: 'You need to analyze network traffic patterns to identify potential security threats. Which configuration should you add?' In that scenario, enabling NSG flow logs would be correct to capture network traffic data for analysis.

D

If the question asked for a solution to recover accidentally deleted VM files or to audit changes within a VM (e.g., file modifications), storing VM backups in a vault and using restore points would be correct.

Why candidates pick the wrong answer

A

Candidates may confuse guest-level diagnostics with Azure Activity Logs, thinking that enabling diagnostics on VMs captures all deletion events, or they may assume that resource deletions are logged at the VM level.

C

Candidates may confuse NSG flow logs with audit logs, thinking that all security-related events are captured by NSG flow logs, or they may overestimate the scope of NSG flow logs to include management events.

D

Candidates may think backups provide an audit trail for all changes, confusing data protection with activity logging, or they may overestimate the scope of backup retention and search capabilities.

274
Multi-Selecthard

A service desk must grant and revoke access to an internal application for a changing group of employees. The service desk must not receive any Azure subscription or resource permissions. Which two actions should you take? Select two.

Select 2 answers
A.Use a Microsoft Entra security group to represent application access.
B.Add the service desk as an owner of that security group.
C.Assign the service desk the Contributor role on the application resource group.
D.Assign the service desk the User Administrator directory role to manage the application users.
E.Create individual user assignments for every employee instead of using group-based access.
AnswersA, B

A Microsoft Entra security group acts as a logical container for application access: once the group is assigned to an enterprise application's Users and groups tab, every member automatically receives the application role, and membership changes take effect at the next provisioning cycle or token refresh. This approach centralizes access policy and lets you use both static and dynamic membership rules, making revocation as simple as removing a user from the group rather than editing application assignments individually.

Why this answer

Using a Microsoft Entra security group creates a stable access boundary for the application, and making the service desk an owner lets them add or remove members without touching Azure RBAC. That is the least-privilege way to delegate access administration. It keeps resource permissions out of the model, avoids tenant-wide admin roles, and supports frequent employee changes cleanly through group membership updates.

Why others are wrong: Contributor on a resource group gives Azure resource control, not just membership administration. User Administrator is a directory-wide role and is too broad for one application group. Individual user assignments defeat the goal of delegated membership management and create ongoing maintenance. The correct pattern is group-based access with delegated ownership.

Why the other options are wrong

C

Assigning the Contributor role on the application resource group grants the service desk permissions to manage Azure resources, violating the requirement that they must not receive any Azure subscription or resource permissions.

D

The User Administrator role grants permissions to manage all users in the directory, including resetting passwords and managing licenses, which exceeds the requirement that the service desk must not receive any Azure subscription or resource permissions. The question specifically asks for granting/revoking access to an internal application, not managing user accounts.

E

Creating individual user assignments for every employee is inefficient for a changing group; it requires manual updates for each user addition or removal, contradicting the need for a scalable, group-based approach.

When would these options actually be correct?

C

In a scenario where the service desk needs to manage Azure resources (e.g., virtual machines or web apps) for an application, and the requirement does not prohibit granting Azure permissions, assigning the Contributor role on the resource group would be appropriate.

D

If the question required the service desk to manage user accounts (e.g., create, delete, reset passwords) for the application's users, and the service desk needed directory-level permissions without resource-level access, then assigning the User Administrator role would be correct.

E

If the application does not support group-based claims or if the requirement is to assign specific permissions per user that cannot be uniformly applied via a group, individual assignments would be necessary.

Why candidates pick the wrong answer

C

Candidates may think the Contributor role is necessary for the service desk to manage application access, but they overlook the explicit constraint that the service desk must not have Azure resource permissions.

D

Candidates may confuse managing application access with managing user accounts, thinking that the User Administrator role is needed to add/remove users from the application, when in fact group membership management is sufficient.

E

Candidates may think individual assignments offer finer control or are simpler to implement, overlooking the administrative overhead and the question's emphasis on a changing group.

275
MCQhard

A Windows VM protected by Azure Backup is missing one application file, but the VM must stay online during recovery. Which restore approach should the administrator use?

A.Restore the entire VM to a new deployment and then copy the file back
B.Use the file recovery option from the Recovery Services vault for the relevant recovery point
C.Trigger an Azure Site Recovery failover to a recovery region
D.Create a new backup policy with a shorter retention period and run the next scheduled backup
AnswerB

Azure Backup's File Recovery option allows you to mount a backup recovery point as an iSCSI drive directly on the Windows VM, letting you browse the snapshot and copy out just the missing file with standard file-copy tools. The VM stays online throughout the process, and no restore of the entire VM is needed. Because the recovery point is a point-in-time snapshot, you select the most recent point that contains the file, which is the least-disruptive and fastest method.

Why this answer

Azure Backup's file recovery option allows you to mount a recovery point as a drive on the running VM without restoring the entire VM or taking it offline. This enables you to copy the missing application file directly from the backup while the VM remains operational, meeting the requirement to stay online.

Exam trap

The trap here is that candidates may confuse Azure Backup's file-level recovery with Azure Site Recovery's failover, or assume that a full VM restore is the only way to access individual files, overlooking the granular mount capability.

Why the other options are wrong

A

Restoring the entire VM to a new deployment is disruptive and time-consuming, and it does not keep the original VM online during recovery. The requirement is to recover a single file while the VM stays online, which is not achieved by this method.

C

Azure Site Recovery is a disaster recovery solution for replicating VMs to a secondary region, not for recovering individual files from Azure Backup. It requires failover to a recovery region, which would cause downtime and is not designed for granular file recovery from backup points.

D

Creating a new backup policy with shorter retention and running the next scheduled backup does not recover the missing file; it only changes future backup behavior. The question requires immediate recovery of a specific file from an existing backup, not altering backup policies.

When would these options actually be correct?

A

This option would be correct if the question required recovering the entire VM to a known good state, and the original VM could be taken offline or replaced. For example: 'A VM has been corrupted by malware and needs to be fully restored to a previous clean state. The VM can be shut down during recovery.'

C

An administrator needs to recover an entire Windows VM after a regional outage, and the VM must be brought online in a different Azure region with minimal data loss. In that scenario, triggering an Azure Site Recovery failover to the recovery region would be the correct approach.

D

An administrator needs to reduce backup storage costs for a VM by decreasing retention duration for future backups, while keeping existing recovery points unchanged. The correct action would be to modify the backup policy to a shorter retention period and apply it to the VM.

Why candidates pick the wrong answer

A

Candidates may think restoring the entire VM is a straightforward way to recover the missing file, overlooking the requirement to keep the VM online. They might also be unaware of the file-level recovery feature in Azure Backup.

C

Candidates may confuse Azure Site Recovery with Azure Backup, thinking both can restore files, or they may assume that failover is a valid method for file-level recovery without understanding the purpose and limitations of each service.

D

Candidates may confuse backup policy management with recovery operations, thinking that adjusting retention or scheduling a new backup can somehow restore missing data, or they may misinterpret the question as asking how to ensure the file is backed up in the future.

276
MCQhard

A development VM is recreated from scratch every week. The team wants the operating system disk to boot as quickly as possible and does not need the OS disk contents to survive deallocation. Which disk choice should the administrator make?

A.A Premium SSD managed OS disk
B.An ephemeral OS disk
C.A Standard SSD managed OS disk
D.The VM temporary disk as the operating system disk
AnswerB

Ephemeral OS disks leverage local VM storage rather than a remote managed disk, placing the boot drive on the same host that runs the VM. This eliminates network round-trips for I/O, delivering significantly faster boot times and lower read/write latency. Because the dev VM is recreated from scratch every week, the lack of persistence is a benefit—each new VM gets a clean, empty OS disk, and there is no stale data or orphaned storage cost after deletion.

Why this answer

An ephemeral OS disk is created on the local VM host storage, not on Azure managed storage, which eliminates network latency and provides significantly faster boot times. Since the team does not need the OS disk contents to survive deallocation and recreates the VM weekly, ephemeral disks are ideal as they are reset to the original image state on each deployment.

Exam trap

The trap here is that candidates often choose Premium SSD for 'fastest boot' without realizing that ephemeral OS disks bypass network storage entirely, offering even lower latency for boot operations, and that the temporary disk cannot be used as an OS disk despite its local nature.

Why the other options are wrong

A

Premium SSD managed disks persist data even after deallocation, which contradicts the requirement that OS disk contents do not survive deallocation. They also do not boot faster than ephemeral disks.

C

Standard SSD managed disks persist data even after deallocation, which contradicts the requirement that OS disk contents do not need to survive deallocation. Additionally, they are slower than ephemeral disks for boot performance.

D

The VM temporary disk (D: drive on Windows, /dev/sdb on Linux) is not supported as an OS disk; it is intended for temporary data and is not bootable.

When would these options actually be correct?

A

When the VM requires persistent OS disk data across deallocations and needs high performance for I/O-intensive workloads, such as a production database server that must retain OS state after shutdown.

C

When the VM requires persistent OS disk data across deallocations and reboots, and cost is a concern over performance, such as for a development VM that needs to retain state between sessions but does not require high IOPS.

D

If the question asked for a disk to store page files or temporary application data that can be lost without impact, and cost savings are prioritized, using the temporary disk would be correct.

Why candidates pick the wrong answer

A

Candidates often associate Premium SSD with 'fastest boot' and overlook the ephemeral disk option, not realizing that ephemeral disks are optimized for stateless, fast-boot scenarios.

C

Candidates may choose Standard SSD as a cost-effective compromise, not realizing that the question explicitly prioritizes boot speed and does not require persistence, making ephemeral disks the optimal choice.

D

Candidates may confuse the temporary disk's fast, local storage with the ephemeral OS disk's purpose, thinking both provide similar speed and data loss tolerance.

277
MCQeasy

After enabling Azure VM backup, an administrator wants to confirm whether the nightly backup succeeded. Where should the administrator check the backup status?

A.In the Recovery Services vault backup jobs
B.In the VM's network security group
C.In the VM's availability set
D.In the subscription activity log only
AnswerA

The Recovery Services vault's Backup Jobs blade is the dedicated monitoring surface for Azure Backup operations, listing every scheduled or ad-hoc backup with its current status (InProgress, Completed, or Failed). This view allows you to filter by job type, time range, and protected item, and it provides detailed error messages for troubleshooting. It is the authoritative place to confirm that a backup operation has succeeded.

Why this answer

The correct place to check backup status is the Recovery Services vault backup jobs. When Azure VM backup is enabled, each backup operation creates a job entry in the associated Recovery Services vault. The 'Backup Jobs' blade within the vault lists all backup jobs, their status (e.g., Completed, Failed, In Progress), and details like start time and error messages.

This is the centralized monitoring point for backup operations, as defined by Azure Backup's job-based monitoring model.

Exam trap

The trap here is that candidates may confuse the subscription activity log (which shows who enabled backup) with the backup job status log, not realizing that backup job details are stored separately in the Recovery Services vault's dedicated backup jobs interface.

Why the other options are wrong

B

Network security groups (NSGs) control inbound/outbound traffic to VMs and do not log or report backup job status. Backup status is tracked in the Recovery Services vault, not in NSG metrics or logs.

C

An availability set is a logical grouping of VMs to provide high availability, not a monitoring or logging resource. Backup status is not tracked or displayed in an availability set.

D

The subscription activity log records administrative operations on resources, not backup job statuses. Backup job details are stored in the Recovery Services vault, not in the activity log.

When would these options actually be correct?

B

If the question were about verifying that backup traffic is allowed through the network, or troubleshooting connectivity issues for backup, checking NSG rules would be correct. For example: 'An administrator configures Azure Backup and needs to ensure that the VM can communicate with the Azure Backup service. Where should the administrator verify that outbound traffic is permitted?'

C

When the question asks about ensuring VM redundancy during planned maintenance or about distributing VMs across fault domains and update domains to meet an availability SLA, the availability set would be the correct answer.

D

If the question asked where to check for the deletion of a backup policy or the creation of a Recovery Services vault, the subscription activity log would be the correct place to audit such resource-level operations.

Why candidates pick the wrong answer

B

Candidates may confuse network-level monitoring (NSG flow logs) with backup job monitoring, or think that backup status is reported alongside other VM health metrics in the networking blade.

C

Candidates may confuse availability sets with backup or recovery concepts because both relate to VM resilience, leading them to incorrectly assume backup status is visible there.

D

Candidates may think the activity log is a central place for all events, including backup jobs, but it only captures control-plane operations, not data-plane backup job statuses.

278
MCQmedium

A partner company needs to upload files to a single blob container for the next 24 hours. The partner should not receive the storage account key, and the access should be limited to that container only. Which access mechanism should you provide?

A.A container-level SAS token with write permission and a 24-hour expiry.
B.The storage account key, because it is easier for external users to use.
C.A management group role assignment, because RBAC can restrict access to one blob container.
D.A private endpoint, because it grants the partner write access over a private IP.
AnswerA

A SAS token is the right tool for short-lived, scoped access to one container. It avoids sharing the storage account key, and you can limit the permissions to write only with a precise expiration time. That makes it well suited for partner uploads, temporary transfers, and other delegated storage tasks.

Why this answer

A container-level SAS token with write permission and a 24-hour expiry is correct because it provides time-limited, delegated access to a specific blob container without exposing the storage account key. The SAS token is generated with the container as the resource scope, write permission (add/create), and an expiry time of 24 hours, meeting all requirements: no key sharing, container-only access, and time-bound access.

Exam trap

The trap here is that candidates may confuse SAS tokens with storage account keys, thinking a key is simpler for external users, or mistakenly believe RBAC at a management group scope can be narrowed to a single container, when in fact RBAC for containers requires the scope to be the container itself (via Azure RBAC for Data Actions) and is not available at management group level.

Why the other options are wrong

B

The storage account key grants full administrative access to the entire storage account, not just a single container, violating the requirement to limit access to one container. It also exposes the key to the partner, which is prohibited.

C

RBAC roles at the management group scope apply to all subscriptions and resources under that group, not to a single blob container. To restrict access to one container, you would need a role assignment at the container scope, which is not possible with management groups.

D

A private endpoint does not grant write access or any permissions by itself; it only provides a private IP connection to the storage account. Access control is still managed via keys, SAS, or RBAC, and it does not limit access to a single container.

When would these options actually be correct?

B

A question where the requirement is to provide the partner with full access to the entire storage account (all containers, tables, queues) for an extended period, and security concerns about key exposure are not a factor, such as for a trusted internal team.

C

A question requiring granting permissions to an entire management group (e.g., all subscriptions under it) for a specific role, such as 'Contributor' for a team managing resources across multiple subscriptions, would make this option correct.

D

A private endpoint would be correct if the question required secure, private connectivity to a storage account from a virtual network, without exposing it to the public internet, and the access mechanism was not the focus (e.g., 'Which network solution ensures traffic stays within Microsoft's backbone?').

Why candidates pick the wrong answer

B

Candidates may think the storage account key is the simplest way to grant access, especially for external users, and overlook the security and scope limitations because they are familiar with using keys for authentication.

C

Candidates may confuse management groups with resource groups or think RBAC can be finely scoped to a container via management groups, not realizing that RBAC scopes are hierarchical and management groups are too broad for container-level access.

D

Candidates may confuse network-level isolation (private endpoint) with access control, thinking that a private IP inherently restricts access to a specific container, or they may overestimate the security benefits of private endpoints for fine-grained permissions.

279
MCQmedium

A web application is made up of several Azure resources that are deployed, updated, and retired together. The team wants one container for applying access control, tags, and deletion protection consistently to the whole application. What should they use?

A.A subscription dedicated to the application.
B.A resource group.
C.A management group.
D.A tag value that names the application.
AnswerB

A resource group is the standard lifecycle container for related Azure resources that are managed together. It lets administrators apply RBAC, tags, and locks to the application as a unit while keeping the workload separate from other applications. This is the most practical way to organize resources that are deployed and retired together.

Why this answer

A resource group is the correct container because it is a logical grouping of Azure resources that share the same lifecycle, allowing you to apply access control (RBAC), tags, and deletion protection (resource locks) consistently to all resources within the group. This aligns with the requirement to deploy, update, and retire resources together as a single unit.

Exam trap

The trap here is that candidates often confuse tags as a grouping mechanism for access control or deletion protection, but tags are purely metadata and cannot enforce RBAC or resource locks, whereas a resource group provides a true security and lifecycle boundary.

Why the other options are wrong

A

A subscription is a billing and management boundary, not a container for applying access control, tags, and deletion protection to a group of resources that are deployed together. Resource groups are designed for that purpose.

C

A management group is used to manage multiple subscriptions, not to group resources within a single subscription for access control, tagging, and deletion protection.

D

A tag value alone cannot enforce access control, apply deletion protection, or serve as a container for resources; tags are metadata labels, not management boundaries.

When would these options actually be correct?

A

If the question asked for a boundary to isolate billing, enforce subscription-level policies (e.g., Azure Policy at subscription scope), or manage separate environments with distinct cost centers, a dedicated subscription would be correct.

C

When the question asks for a container to apply governance policies (like Azure Policy or RBAC) across multiple subscriptions, such as for an entire department or organization.

D

When the question asks for a method to filter or group resources for cost reporting or organization without changing management boundaries, a tag value would be correct.

Why candidates pick the wrong answer

A

Candidates may think a subscription provides a logical container for all resources of an application, confusing subscription-level management with resource group-level management.

C

Candidates may confuse management groups with resource groups, thinking both can group resources, but management groups operate at a higher scope (subscriptions) and are not designed for resource-level grouping.

D

Candidates may think tags can group resources for consistent management, but tags lack the RBAC, policy, and lock capabilities of a resource group.

280
MCQmedium

A business-critical storage account must survive a zone outage in the primary region and also keep a read-only copy in the paired region for reporting if the primary region becomes unavailable. Which redundancy option should you choose?

A.ZRS because it protects against a single datacenter failure.
B.RA-GZRS because it provides zone redundancy and read access to the secondary region.
C.GZRS because it provides a readable secondary region by default.
D.RA-GRS because it provides zone redundancy and read access to the secondary region.
AnswerB

RA-GZRS is the correct option because it combines zone-redundant storage in the primary region with geo-replication to the paired region, and it allows read access to the secondary copy. That matches both requirements: resilience to a zone outage and a readable secondary copy for reporting or failover scenarios. It is the highest-resilience option in this list.

Why this answer

(RA-GZRS) is correct because it combines zone-redundant storage (ZRS) within the primary region, ensuring data survives a zone outage, with read-access geo-redundant storage (RA-GRS) to the paired region, providing a readable secondary copy for reporting if the primary region becomes unavailable. This meets both requirements: zone-level fault tolerance and read-only access to the secondary region during a primary outage.

Exam trap

The trap here is that candidates confuse GZRS (which requires a failover for read access) with RA-GZRS (which provides always-on read access to the secondary region), or mistakenly think RA-GRS offers zone redundancy when it only uses LRS in the primary region.

Why the other options are wrong

A

ZRS only replicates data synchronously across availability zones within a single region, providing no read access to a secondary region for reporting during a primary region outage.

C

GZRS does not provide read access to the secondary region by default; it requires a manual failover to enable read access. The question requires read-only access to the secondary region even when the primary is unavailable, which only RA-GZRS provides.

D

RA-GRS does not provide zone redundancy; it only replicates data to a single datacenter in the primary region, so it cannot survive a zone outage.

When would these options actually be correct?

A

Choose ZRS when the requirement is to survive a zone failure within a single region (e.g., an application needing high availability across zones) without needing geo-replication or read access to a secondary region.

C

A scenario where the requirement is zone redundancy and automatic failover to the secondary region for write operations, but read access to the secondary is not needed until failover occurs. For example, a storage account for critical data that must survive a zone outage and can tolerate a brief loss of read access during a regional disaster.

D

If the question required read access to the secondary region but did not require zone-level resilience in the primary region (e.g., only needed to survive a datacenter failure, not a zone failure), RA-GRS would be the correct choice.

Why candidates pick the wrong answer

A

Candidates may confuse zone redundancy (ZRS) with geo-redundancy, assuming ZRS also covers regional outages, or they may overlook the explicit requirement for a readable secondary region.

C

Candidates may confuse GZRS with RA-GZRS, assuming that GZRS automatically provides read access to the secondary region, or they may overlook the 'read-access' prefix in the option.

D

Candidates may confuse RA-GRS with RA-GZRS, assuming the 'RA' prefix implies zone redundancy, or they may overlook the specific requirement for zone outage survival.

281
MCQmedium

A lifecycle rule moves blobs to the archive tier after 90 days. A file was archived 2 weeks ago, and a reporting job now needs to read it tomorrow morning. What should you expect?

A.The file is immediately readable, but only through the archive endpoint and at a higher request rate.
B.The file must be rehydrated to an online tier before it can be read, so access is delayed.
C.The file is permanently deleted when it enters archive, so the job must use a backup restore.
D.The file can be read immediately if the account has read-access geo-redundancy enabled.
AnswerB

Archive tier is offline storage. If a job needs the blob tomorrow, the blob must first be rehydrated to an online tier such as hot or cool. Rehydration takes time, so the data is not instantly available. This is an important operational consideration when lifecycle policies move data to archive based on age.

Why this answer

Blobs in the Azure Archive tier are offline and cannot be read directly. To access the data, you must first rehydrate the blob to an online tier (Hot, Cool, or Cold) using a copy or change-tier operation, which introduces a delay (typically up to 15 hours for standard priority rehydration). The file was archived only 2 weeks ago, so it is still in the Archive tier and requires rehydration before the reporting job can read it tomorrow morning.

Exam trap

The trap here is that candidates assume the Archive tier is simply a 'cold' storage that can be read slowly, but in reality it is an offline tier requiring explicit rehydration, which introduces significant latency.

Why the other options are wrong

A

Blobs in the archive tier are offline and cannot be read directly; they must be rehydrated to an online tier first. The archive endpoint does not provide immediate read access, and request rate is not relevant.

C

Azure Blob Storage archive tier does not delete blobs; it keeps them in an offline state. The file is still present but requires rehydration before reading.

When would these options actually be correct?

A

If the question specified that the blob is in the cool tier (not archive) and the account uses read-access geo-redundant storage (RA-GRS), then the blob would be immediately readable from the secondary region even if the primary is unavailable.

C

In a scenario where a lifecycle management policy is configured to delete blobs after a certain period (e.g., 90 days) instead of moving them to archive, and the file has passed that deletion threshold, then the file would be permanently deleted and require backup restore.

Why candidates pick the wrong answer

A

Candidates may confuse the archive tier with the cool tier or assume that Azure provides some form of direct read access to archived data, similar to how some other cloud providers offer immediate retrieval at higher cost.

C

Candidates may confuse the archive tier with a deletion action, assuming that 'archiving' means removing the data permanently, or they may think that cold storage tiers automatically delete data after a set time.

282
MCQhard

A platform team created a BlobStorage account for application logs. Later they discovered the same account must also host an Azure Files share for a Linux automation server, and lifecycle rules must continue to manage blob tiers. Standard performance is sufficient. What should they do?

A.Keep the BlobStorage account and add a private endpoint
B.Recreate the storage as a StorageV2 general-purpose v2 account
C.Convert the account to Premium Block Blob storage
D.Create a separate file server VM and keep the BlobStorage account unchanged
AnswerB

A StorageV2 account supports both blob features such as lifecycle management and Azure Files shares in the same account. The earlier BlobStorage kind is too limited for the file-share requirement, so the correct administrative action is to create a general-purpose v2 account and migrate the data. This also preserves standard performance and keeps the storage design simpler than splitting services across separate accounts.

Why this answer

A BlobStorage account is a specialized storage account that supports only block blobs and append blobs, not Azure Files shares. To host both blobs and Azure Files, you need a general-purpose v2 (StorageV2) account, which supports all Azure Storage services including blobs, files, queues, and tables, while also allowing lifecycle management policies for blob tiering. Recreating the account as StorageV2 meets both requirements without sacrificing blob lifecycle rules.

Exam trap

The trap here is that candidates assume a BlobStorage account can be 'upgraded' or that adding features like private endpoints or premium performance will enable Azure Files, when in fact the account kind is immutable after creation and must be recreated as StorageV2.

Why the other options are wrong

C

Premium Block Blob storage is designed for low-latency workloads and does not support Azure Files shares, which require standard performance tiers. The question specifies standard performance is sufficient, so Premium is unnecessary and incompatible.

D

Creating a separate file server VM adds unnecessary cost and management overhead, and does not address the requirement to host an Azure Files share within the same storage account as the blob containers, which is only possible with a StorageV2 account.

When would these options actually be correct?

C

This option would be correct if the question required high-performance, low-latency blob storage for a workload like streaming video or IoT telemetry, and did not need Azure Files or lifecycle management across tiers.

D

This option would be correct if the question required hosting an Azure Files share but the existing storage account was a legacy BlobStorage account that cannot be upgraded, and the scenario allowed for a separate VM to serve files without needing lifecycle management on the same account.

Why candidates pick the wrong answer

C

Candidates may think 'Premium' is always better and assume it supports all features, overlooking that Premium Block Blob lacks Azure Files support and is overkill for standard performance needs.

D

Candidates may think that keeping the existing BlobStorage account unchanged is simpler and that adding a separate VM for file sharing is a straightforward workaround, overlooking that Azure Files can be natively hosted in a StorageV2 account without extra VMs.

283
MCQmedium

You want Azure to identify underutilized virtual machines and recommend ways to reduce cost and improve security posture. Which service should you use?

A.Azure Advisor
B.Azure Policy
C.Azure Backup
D.Virtual network peering
AnswerA

Azure Advisor is a personalized cloud consulting service that continuously analyzes your resource configuration and usage telemetry to provide recommendations across cost, performance, reliability, and security. For underutilized virtual machines, it monitors CPU and network utilization over a rolling period and flags VMs with consistently low activity, suggesting resizing or shutting them down to save cost. The 'Cost' section of Azure Advisor directly surfaces idle and underutilized VMs, making it the definitive tool for this task.

Why this answer

Azure Advisor analyzes Azure resources and provides recommendations related to cost, security, reliability, performance, and operational excellence.

Why the other options are wrong

B

Azure Policy enforces compliance rules and governance, but it does not analyze resource utilization or provide cost/security recommendations. The question specifically asks for identifying underutilized VMs and recommending cost/security improvements, which is Azure Advisor's function.

C

Azure Backup is a service for backing up data and workloads, not for identifying underutilized resources or providing cost and security recommendations.

D

Virtual network peering connects virtual networks for traffic routing, but it does not analyze VM utilization or provide cost/security recommendations.

When would these options actually be correct?

B

Azure Policy would be correct if the question asked: 'You need to ensure that all VMs in your subscription are deployed only in allowed regions and have mandatory tags. Which service should you use?'

C

A question asks: 'You need to ensure that all virtual machines in your subscription have daily backups. Which service should you configure?' Azure Backup would be the correct answer.

D

A question asks: 'You need to enable low-latency communication between two virtual networks in different Azure regions. Which solution should you use?'

Why candidates pick the wrong answer

B

Candidates may confuse policy-based governance with advisory recommendations, thinking that enforcing policies (like requiring certain VM sizes) could indirectly reduce costs, but Azure Advisor is the dedicated tool for optimization suggestions.

C

Candidates may confuse backup with optimization, thinking that backup processes can also reveal underutilization, or they may misread the question as being about data protection.

D

Candidates may confuse network-related services with optimization tools, or think peering can somehow monitor and advise on VM performance.

284
MCQmedium

An on-premises application connected through a site-to-site VPN must read data from an Azure Storage account. Public network access is disabled on the storage account, and the storage service must be reachable only by a private IP address inside Azure. Which solution should the administrator implement?

A.Enable a service endpoint on the on-premises network.
B.Create a private endpoint for the storage account in an Azure VNet.
C.Peer the on-premises network directly to the storage account.
D.Use a shared access signature and leave public network access enabled.
AnswerB

A private endpoint assigns the storage account a private IP address in a chosen Azure VNet, allowing access over private connectivity instead of the public internet. Because the on-premises application already reaches Azure through a site-to-site VPN, it can use that private path to access the endpoint when DNS is configured correctly. This meets the requirement to keep public access disabled while exposing the service privately.

Why this answer

A private endpoint assigns the storage account a private IP address from an Azure VNet, allowing the on-premises application to connect over the site-to-site VPN using that private IP. This ensures the storage service is reachable only within Azure's private network, even with public network access disabled. The private endpoint uses Azure Private Link to securely expose the storage account into the VNet, making it accessible via the VPN without traversing the public internet.

Exam trap

The trap here is confusing service endpoints with private endpoints: candidates often choose service endpoints because they also provide secure connectivity, but service endpoints do not assign a private IP and require public network access to be enabled, making them unsuitable when the requirement is to use only a private IP address.

Why the other options are wrong

A

Service endpoints are used to secure Azure service access from within a VNet, not from on-premises networks. The on-premises network cannot directly enable a service endpoint; it must be configured on a VNet subnet, and the storage account must allow access from that VNet. This does not provide a private IP address for the storage account.

C

VNet peering connects virtual networks, not on-premises networks directly to Azure services. The on-premises network must first be connected to an Azure VNet (e.g., via VPN or ExpressRoute), then peering can link VNets, but it does not provide private access to a storage account without a private endpoint or service endpoint.

D

Public network access is disabled on the storage account, so a shared access signature (SAS) cannot be used because SAS requires public endpoints to function. The requirement is to reach the storage account only by a private IP address, which SAS does not provide.

When would these options actually be correct?

A

A service endpoint would be correct when an Azure VM in a VNet needs to access a storage account with public network access disabled, and the VM's subnet has a service endpoint enabled for Microsoft.Storage. The storage account firewall is configured to allow access from that subnet.

C

An administrator needs to connect two Azure virtual networks in different regions to allow resources to communicate privately over the Microsoft backbone. VNet peering is the correct solution to enable low-latency, high-bandwidth connectivity between the VNets without a gateway.

D

A shared access signature would be correct when you need to grant time-limited, delegated access to a storage account that has public network access enabled, and the client can connect over the internet. For example, allowing a remote user to upload a file to a blob container without requiring Azure credentials.

Why candidates pick the wrong answer

A

Candidates may confuse service endpoints with private endpoints, thinking both provide private connectivity. They might also believe that service endpoints can be extended to on-premises networks via VPN, which is incorrect.

C

Candidates may confuse VNet peering with site-to-site VPN connectivity, thinking that peering can directly connect an on-premises network to an Azure service, or they may incorrectly assume that peering provides private access to PaaS services like storage.

D

Candidates may think SAS is a secure way to grant access without exposing the account key, but they overlook that SAS still relies on the public endpoint and cannot bypass the public network access disabled setting.

285
MCQmedium

Based on the exhibit, you want the resource logs for the storage account to appear in Log Analytics so you can investigate read and write failures. What should you configure?

A.Create a metric alert rule on the storage account and link it to an action group.
B.Add a diagnostic setting that sends resource logs to the Log Analytics workspace.
C.Enable a resource lock so the storage account cannot be modified.
D.Move the storage account to a different subscription that already has Log Analytics enabled.
AnswerB

Diagnostic settings are the Azure Monitor feature used to route platform logs and metrics from a resource to destinations such as Log Analytics. Because the exhibit shows logs are disabled and no destination is configured, adding a diagnostic setting with the workspace selected is the correct way to make read and write events available for querying.

Why this answer

Diagnostic settings in Azure allow you to stream resource logs (such as StorageRead and StorageWrite logs) from a storage account directly to a Log Analytics workspace. By configuring a diagnostic setting with the appropriate log categories enabled, you can query and analyze read and write failures in Log Analytics without additional infrastructure.

Exam trap

The trap here is that candidates often confuse metric alerts (which monitor performance metrics) with diagnostic settings (which collect detailed resource logs), leading them to choose a metric-based solution when the question explicitly asks for log data to investigate failures.

Why the other options are wrong

A

Metric alert rules monitor performance metrics (e.g., latency, throughput) and trigger actions, but they do not collect or send resource logs to Log Analytics. Resource logs require a diagnostic setting to be configured.

C

A resource lock prevents accidental deletion or modification of the storage account, but it does not collect or send resource logs to Log Analytics for investigating read and write failures.

D

Moving the storage account to a different subscription does not automatically send resource logs to Log Analytics; you still need to configure a diagnostic setting to stream logs to the workspace.

When would these options actually be correct?

A

You need to be notified when the average latency of a storage account exceeds a threshold for 5 minutes. In that case, creating a metric alert rule on the storage account and linking it to an action group (e.g., email or SMS) would be correct.

C

You would configure a resource lock if the question asked how to prevent accidental deletion or modification of a critical storage account, such as when implementing governance controls for a production resource.

D

If the question asked how to ensure that a storage account's logs are collected by a Log Analytics workspace in a different subscription, and you have already configured diagnostic settings, moving the storage account to that subscription might be a valid step to simplify management or meet compliance requirements.

Why candidates pick the wrong answer

A

Candidates may confuse metric alerts with diagnostic settings, thinking alerts can also collect log data, or they may assume that any monitoring configuration involving Log Analytics requires an alert rule.

C

Candidates may confuse resource locks with diagnostic settings, thinking that locking the resource somehow secures or enables logging, or they may believe that a lock is required before logs can be sent.

D

Candidates may think that moving to a subscription with Log Analytics enabled automatically enables logging, confusing subscription-level settings with resource-level diagnostic settings.

286
MCQmedium

An external consultant from another company needs read-only access to a resource group and must sign in with their own work account. What should be created in Microsoft Entra ID?

A.A member user account in the company tenant
B.A guest user account
C.A Microsoft 365 group
D.A service principal
AnswerB

A guest user account is the correct identity type for an external consultant because it enables Azure AD B2B collaboration: the consultant authenticates against their own home tenant (their company's IdP) and receives a guest identity in your tenant with a UserType of 'Guest'. This allows you to assign read-only access via role assignments like Reader at a specific scope, without creating separate credentials or requiring the consultant to become a member of your organization. Guest user accounts retain their external origin, support conditional access policies that respect the home tenant's MFA, and can be managed through Entra ID, making them the standard, least-privilege mechanism for cross-company collaboration.

Why this answer

B is correct because a guest user account in Microsoft Entra ID (formerly Azure AD) allows an external user from another organization to sign in using their own work account (via B2B collaboration) and be granted read-only access to a specific resource group. This leverages the existing identity provider of the external consultant, eliminating the need to create a separate identity in the company tenant.

Exam trap

The trap here is that candidates often confuse a guest user with a member user, thinking a new identity must be created in the tenant, but the key requirement is that the external consultant signs in with their own work account, which only a guest user (B2B collaboration) supports.

Why the other options are wrong

A

A member user account is for users within the company's own tenant, not for external consultants who need to sign in with their own work account. Guest user accounts (B2B collaboration) are designed for external users.

C

A Microsoft 365 group is used for collaboration and granting permissions to multiple users, not for providing external individual access. It cannot be used to give a specific external consultant read-only access to a resource group.

D

A service principal is an identity for applications or automated tools, not for individual users. The question requires a user account for an external consultant to sign in with their own work account, which is a B2B collaboration scenario, not an application identity.

When would these options actually be correct?

A

If the question asked for granting access to a new employee within the same company who needs read-only access to a resource group, then creating a member user account would be correct.

C

When the question asks for a method to grant a set of external users access to a SharePoint site or Teams channel, and the users need to be managed as a single entity for permissions, creating a Microsoft 365 group and adding them as guests would be correct.

D

A service principal would be correct if the question asked for an identity to allow an external application (e.g., a script or tool) to access Azure resources without a user signing in, such as for automated backup or monitoring tasks using API authentication.

Why candidates pick the wrong answer

A

Candidates may think that any user needing access must be a member of the tenant, not realizing that external users can be added as guests without creating a full member account.

C

Candidates may confuse Microsoft 365 groups with security groups or think that groups can be used to grant access to Azure resources, but groups are not directly assigned Azure RBAC roles for external users without first creating guest accounts.

D

Candidates may confuse service principals with user accounts because both can be granted permissions in Azure, but service principals are for non-human identities, leading to a mistake when the scenario clearly involves a human user.

287
Multi-Selectmedium

Your company has a hybrid infrastructure with Azure VMs and on-premises servers. You need to configure Azure Monitor to collect and analyze performance and event data from all servers in a centralized workspace. Which three of the following steps are required to achieve this? (Choose three.)

Select 3 answers
.Deploy the Azure Monitor Agent on both Azure VMs and on-premises servers.
.Create a Log Analytics workspace in the same Azure region as your Azure VMs.
.Configure Data Collection Rules (DCRs) to specify which performance counters and events to collect.
.Install the Microsoft Monitoring Agent (MMA) on all servers and connect to a Log Analytics workspace.
.Enable Network Watcher to monitor network traffic between on-premises and Azure.
.Create a VM Insights solution in the Azure portal to automatically collect data from all Azure VMs.

Why this answer

The Azure Monitor Agent (AMA) is the current recommended agent for collecting telemetry from both Azure VMs and on-premises servers, replacing the legacy Microsoft Monitoring Agent (MMA). A Log Analytics workspace is required as the centralized data repository, and Data Collection Rules (DCRs) define exactly which performance counters and events to collect, enabling granular, scalable data ingestion without manual configuration per machine.

Exam trap

The trap here is that candidates often confuse the legacy Microsoft Monitoring Agent (MMA) with the current Azure Monitor Agent, or assume that VM Insights or Network Watcher can replace the need for explicit agent deployment and Data Collection Rules.

288
MCQmedium

A VM in VNet A can reach a storage account through a private endpoint, but when the VM resolves the storage account name it still gets the public IP address. What should you configure so name resolution returns the private endpoint address?

A.A user-defined route to the storage private endpoint
B.The private DNS zone linked to the VNet
C.A resource lock on the storage account
D.A managed identity for the VM
AnswerB

A private DNS zone linked to the VNet is required because the storage account's FQDN (e.g., mystorageaccount.blob.core.windows.net) must resolve to the private endpoint's private IP address within the VNet. When you create a private endpoint, Azure automatically associates it with a private DNS zone only if you explicitly configure it; otherwise, the FQDN still resolves to the public IP. Linking the private DNS zone and ensuring the VNet uses Azure's built-in resolver (or a custom forwarder) allows the VM to reach the storage account over the private endpoint, keeping traffic off the public internet.

Why this answer

When a private endpoint is created for a storage account, the DNS configuration must be updated so that the storage account's fully qualified domain name resolves to the private endpoint's private IP address instead of the public IP. Linking a private DNS zone (privatelink.blob.core.windows.net) to the virtual network and configuring a virtual network link ensures that the VM's DNS queries for the storage account are answered with the private endpoint IP. Without this, the VM continues to use the public IP from public DNS.

Exam trap

The trap here is that candidates confuse network-level routing (UDRs) with DNS resolution, assuming that directing traffic to the private endpoint IP via a route will fix name resolution, when in fact DNS must be explicitly configured to return the private IP.

Why the other options are wrong

A

A user-defined route (UDR) controls network traffic flow, not DNS resolution. The VM still gets the public IP because DNS is not configured to resolve the storage account name to the private endpoint's private IP address.

C

A resource lock prevents accidental deletion or modification of the storage account, but it does not affect DNS resolution or private endpoint connectivity. The issue is name resolution, not resource protection.

D

A managed identity provides Azure AD authentication for the VM to access the storage account, but it does not affect DNS name resolution or routing. The VM still uses public DNS resolution for the storage account name, so it gets the public IP address.

When would these options actually be correct?

A

A UDR would be correct if the question were about forcing traffic from a VM to a storage account through a firewall or network virtual appliance (NVA) instead of directly over the internet or Microsoft backbone.

C

A resource lock would be correct in a scenario where you need to protect a critical storage account from accidental deletion or changes, such as in a production environment where an administrator might inadvertently delete the resource.

D

A managed identity would be correct if the question asked how to allow a VM to authenticate to a storage account without using storage account keys or connection strings, for example: 'You need to enable a VM to securely access a storage account without storing credentials in the VM. What should you configure?'

Why candidates pick the wrong answer

A

Candidates may confuse routing with DNS resolution, thinking that a UDR can redirect traffic to the private endpoint's IP, but DNS must first resolve to that IP for the route to apply.

C

Candidates may confuse resource locks with access controls or think that locking the storage account somehow enforces private endpoint usage, not realizing that DNS resolution is a separate concern.

D

Candidates may confuse authentication with network connectivity, thinking that a managed identity somehow changes how the VM resolves the storage account name or routes traffic to the private endpoint.

289
MCQmedium

A company already uses the address space 10.20.0.0/16 for a hub virtual network and 10.21.0.0/16 on-premises. A new spoke virtual network will be peered to the hub and may later connect to the on-premises network. Which address space should the administrator choose for the spoke to avoid future routing conflicts?

A.10.20.64.0/19
B.10.21.0.0/16
C.10.22.0.0/16
D.10.20.128.0/17
AnswerC

This range does not overlap with either the hub VNet or the on-premises network. It also provides a full /16, which leaves enough room for multiple subnets and future growth while keeping peering and hybrid connectivity straightforward.

Why this answer

(10.22.0.0/16) is correct because it is a unique, non-overlapping address space that does not conflict with the existing hub VNet (10.20.0.0/16) or the on-premises network (10.21.0.0/16). When a spoke VNet is peered to the hub and later connected to on-premises via VPN or ExpressRoute, Azure requires that all peered and connected address spaces be unique to avoid routing conflicts. Choosing a completely separate /16 ensures no future overlap.

Exam trap

The trap here is that candidates often assume any address space outside the hub's /16 is safe, but they forget to check for overlap with the on-premises network (10.21.0.0/16) or incorrectly think that a smaller subnet within the hub's range (like 10.20.64.0/19) can be used if it is not currently in use, ignoring that Azure requires completely non-overlapping ranges for peered VNets.

Why the other options are wrong

A

10.20.64.0/19 overlaps with the hub's 10.20.0.0/16 address space, causing routing conflicts when peered.

B

Option B (10.21.0.0/16) overlaps with the on-premises network address space (10.21.0.0/16), which would cause routing conflicts when the spoke connects to on-premises via the hub.

D

Option D (10.20.128.0/17) overlaps with the hub virtual network's address space 10.20.0.0/16, which would cause routing conflicts when peered.

When would these options actually be correct?

A

If the hub used 10.20.0.0/17 and on-premises used 10.20.128.0/17, then 10.20.64.0/19 would be a valid non-overlapping spoke address.

B

This option would be correct if the on-premises network used a different address space (e.g., 10.30.0.0/16) and the spoke needed to be in a separate, non-overlapping range that is not already used by the hub or on-premises.

D

This option would be correct if the hub virtual network used a different address space, such as 10.22.0.0/16, and the spoke needed a non-overlapping range within the 10.20.0.0/16 block, or if the question asked for a subnet within the hub's address space.

Why candidates pick the wrong answer

A

Candidates may think a smaller subnet within the hub's range is acceptable, not realizing that overlapping address spaces cause routing conflicts in peering.

B

Candidates may mistakenly think that using a different subnet within the same /16 as the hub is acceptable, or they may overlook the on-premises address space and focus only on the hub's range.

D

Candidates may mistakenly think that using a smaller subnet within the hub's range is acceptable, not realizing that peering requires non-overlapping address spaces to avoid routing conflicts.

290
Multi-Selecteasy

A Windows VM mounts an Azure Files share by using SMB and identity-based authentication. Which two permission layers can affect access to folders in the share? Select two.

Select 2 answers
A.Azure RBAC permissions on the file share
B.NTFS permissions on files and folders
C.Network security group rules on the storage account
D.Blob access tier settings
E.Route table next-hop selection
AnswersA, B

Azure RBAC for Azure Files is the first authorization gate. Roles such as Storage File Data SMB Share Reader, Contributor, or Elevated Contributor map an identity to the share and determine whether it can authenticate for SMB access. This share-level permission is evaluated before any file-level ACLs, and in Azure Files it is required for identity-based authentication to succeed.

Why this answer

Azure RBAC permissions on the file share (Option A) control whether a user or service principal can mount the share or perform management operations, such as listing or modifying share properties. When identity-based authentication is used (Kerberos or Azure AD Kerberos), RBAC roles like 'Storage File Data SMB Share Reader' or 'Contributor' are required to grant access at the share level before any file-level permissions apply.

Exam trap

The trap here is that candidates often confuse network-level controls (NSGs, route tables) with identity-based access controls, or incorrectly assume Blob access tiers apply to Azure Files shares, when in fact only RBAC and NTFS permissions govern folder access in this scenario.

Why the other options are wrong

C

NSG rules apply to network traffic at the subnet or NIC level, not to authentication or authorization for accessing an Azure Files share via SMB. Identity-based access is controlled by Azure RBAC and NTFS permissions, not by NSGs.

D

Blob access tier settings only affect the cost and performance of Azure Blob Storage, not Azure Files. Azure Files uses SMB shares, not blob tiers, so this option has no impact on folder access.

E

Route table next-hop selection controls network traffic routing between subnets or to on-premises, not access permissions to Azure Files shares. Identity-based access to Azure Files is governed by RBAC and NTFS permissions, not routing.

When would these options actually be correct?

C

An NSG rule would be correct if the question asked about restricting network access to the storage account from specific IP addresses or subnets, e.g., 'Which component can block SMB traffic to an Azure Files share from a specific IP?'

D

In a question about controlling access to data in Azure Blob Storage (e.g., a storage account with blob containers), the blob access tier (hot, cool, archive) can affect whether data is accessible or requires rehydration, making it a correct answer.

E

In a scenario where a VM cannot connect to an Azure Files share due to network connectivity issues, and you need to diagnose the problem by checking the effective route table to ensure traffic is directed correctly, route table next-hop selection would be relevant.

Why candidates pick the wrong answer

C

Candidates may confuse network-level security (NSGs) with access control for file shares, assuming that blocking network traffic is equivalent to restricting file access, but NSGs do not affect authenticated SMB sessions.

D

Candidates may confuse Azure Files with Azure Blob Storage, assuming that access tiers apply to all storage types. The term 'access' in the option name suggests it controls permissions, leading to incorrect selection.

E

Candidates may confuse network-level access controls (like routing) with identity-based access controls, assuming that network path configuration affects file-level permissions.

291
MCQmedium

Based on the exhibit, a production VM must send an email and SMS notification if average CPU stays above 85% for 10 minutes. The team created the alert rule, but no one receives notifications when the condition is met. What should the administrator add to the alert rule?

A.Add a diagnostic setting that sends VM metrics to a Log Analytics workspace.
B.Attach an action group that includes email and SMS receivers.
C.Change the alert to use a log query instead of a metric condition.
D.Create a resource lock to prevent changes to the virtual machine.
AnswerB

Azure Monitor alert rules need an action group to trigger notifications or automation when the metric condition is met. The alert already evaluates correctly, but it has no notification target. Adding an action group with email and SMS receivers enables the response the business wants.

Why this answer

The alert rule is correctly configured to trigger when the average CPU exceeds 85% for 10 minutes, but notifications are not being sent because no action group is attached. An action group defines the notification channels (e.g., email, SMS, webhook) that fire when the alert is activated. Without an action group, the alert can fire silently, so the administrator must attach an action group containing the desired email and SMS receivers.

Exam trap

The trap here is that candidates may think the alert rule itself includes notification settings, but Azure separates the alert condition (metric/log) from the notification mechanism (action group), so you must explicitly attach an action group to receive alerts.

Why the other options are wrong

A

The alert rule already uses a metric condition (CPU > 85% for 10 minutes), so sending metrics to Log Analytics is unnecessary for notification. The issue is that no action group is attached to the alert to send email/SMS.

D

A resource lock prevents accidental deletion or modification of the VM, but it does not affect alert notifications. The issue is that no one receives notifications, which requires an action group, not a lock.

When would these options actually be correct?

A

If the question required analyzing historical CPU trends or correlating with other metrics, a diagnostic setting sending VM metrics to Log Analytics would be needed to enable log-based alerts or advanced queries.

D

An administrator needs to ensure that a critical production VM cannot be accidentally deleted or modified. Adding a resource lock (e.g., CanNotDelete or ReadOnly) would be the correct solution to protect the VM from unintended changes.

Why candidates pick the wrong answer

A

Candidates may confuse diagnostic settings with alert actions, thinking that sending metrics to Log Analytics automatically enables notifications, or they may overcomplicate the solution by adding unnecessary monitoring infrastructure.

D

Candidates may confuse resource locks with alert actions, thinking that locking the VM somehow secures the alert rule or prevents notification failures, but locks only affect management operations, not monitoring or notifications.

292
MCQeasy

Based on the exhibit, an automation account must restart virtual machines and read network interface settings in RG-App. Built-in roles are too broad because they also allow actions the team does not want. What should the administrator do?

A.Assign the Reader role at RG-App, because reading permissions automatically include restart actions.
B.Create a custom role with only the required read and restart actions, then assign it at RG-App.
C.Assign Virtual Machine Contributor at the subscription scope so the automation account can reach all resources.
D.Create a management group and move RG-App into it so only the needed actions are exposed.
AnswerB

A custom role is the correct solution when built-in roles are broader than needed. By defining only the required VM restart action and read permissions for the VM and network interface, the administrator can keep permissions tightly limited to RG-App and avoid unnecessary capabilities such as deletion or network changes.

Why this answer

Built-in roles like Virtual Machine Contributor include actions beyond the required scope (e.g., write/delete operations), which the team wants to avoid. A custom role allows precise definition of only the needed actions: 'Microsoft.Compute/virtualMachines/restart/action' and 'Microsoft.Network/networkInterfaces/read'. Assigning this custom role at the RG-App scope ensures least privilege without exposing broader permissions.

Exam trap

The trap here is that candidates assume built-in roles like Reader or Virtual Machine Contributor are 'close enough' and overlook the need for custom roles to exclude unwanted write/delete actions, or they confuse management groups with a mechanism for fine-grained action filtering.

Why the other options are wrong

A

The Reader role provides read-only access and does not include restart actions, so assigning it at RG-App would not allow the automation account to restart VMs.

C

Assigning Virtual Machine Contributor at the subscription scope grants broader permissions than needed, including actions like creating and deleting VMs, which violates the requirement to restrict actions to only restart and read network interfaces.

D

Creating a management group and moving RG-App into it does not restrict permissions; management groups are containers for organizing subscriptions and applying governance, not for scoping custom actions. The automation account still needs a role assignment with specific actions, which management groups do not provide.

When would these options actually be correct?

A

If the question required only read access to resources (e.g., monitoring configuration) and no write or action permissions, assigning the Reader role at the resource group scope would be correct.

C

This option would be correct if the question required the automation account to manage all virtual machines across multiple resource groups within the subscription, and the team was comfortable with the full set of Virtual Machine Contributor permissions.

D

An administrator needs to apply a policy or compliance standard (e.g., requiring all resources in RG-App to have a specific tag) across multiple subscriptions. Creating a management group and moving RG-App into it allows the policy to be assigned at the management group scope, affecting all resources in that group.

Why candidates pick the wrong answer

A

Candidates may mistakenly believe that read permissions implicitly include restart actions, or they confuse the Reader role with a role that has broader permissions.

C

Candidates may think that assigning a built-in role at a higher scope is simpler and still covers the required actions, overlooking the need for least privilege and the specific restriction against unwanted actions.

D

Candidates may think management groups can be used to isolate or limit permissions, confusing them with resource groups or scopes for role assignments. They might also believe moving a resource group into a management group automatically restricts actions, which is incorrect.

293
MCQhard

A storage account must be reachable only from a single subnet. The team wants to keep the storage public endpoint in place, avoid a private endpoint, and avoid managing any custom DNS records. Which change best meets the requirement?

A.Add a network security group rule to the subnet that allows outbound TCP 443 to the storage account.
B.Enable a service endpoint for Microsoft.Storage on the subnet and add the subnet to the storage account firewall allow list.
C.Create a private endpoint and set the storage account to use a private DNS zone.
D.Create a route table that sends storage traffic through an Azure Firewall appliance.
AnswerB

This is the correct approach when the service must remain on the public endpoint but be accessible only from a specific subnet. The service endpoint lets Azure recognize the subnet as an allowed source while traffic still uses the storage account's public FQDN. Adding that subnet to the storage firewall enforces the restriction without requiring private endpoints or custom DNS management.

Why this answer

Enabling a service endpoint for Microsoft.Storage on the subnet injects the subnet's identity into the traffic to the storage account, allowing the storage account firewall to permit access only from that subnet while keeping the public endpoint active. This avoids the need for a private endpoint, custom DNS records, or additional routing appliances, directly meeting the requirement of restricting access to a single subnet.

Exam trap

The trap here is that candidates often confuse network security groups (NSGs) with storage account firewalls, thinking an NSG rule on the subnet can restrict access to the storage account, when in fact the storage account firewall must explicitly allow the subnet via a service endpoint or virtual network rule to enforce subnet-level restriction.

Why the other options are wrong

A

An NSG rule on the subnet does not restrict inbound access to the storage account from the internet; it only controls outbound traffic from the subnet. The storage account's public endpoint remains open to all networks unless explicitly restricted by the storage firewall.

C

The question explicitly requires keeping the public endpoint and avoiding a private endpoint, so creating a private endpoint directly violates the constraints.

D

This option introduces unnecessary complexity and cost by routing traffic through an Azure Firewall, which does not directly restrict access to the storage account from a single subnet. The requirement is to keep the public endpoint and avoid private endpoints, but a firewall does not replace the need for network-level access control on the storage account itself.

When would these options actually be correct?

A

This option would be correct in a scenario where the requirement is to ensure that virtual machines in a subnet can securely access a storage account over the internet, but the storage account itself is not required to be restricted to that subnet. For example, if the question asked 'How to allow outbound HTTPS traffic from a subnet to a storage account?'

C

When the requirement is to ensure the storage account is not accessible from the public internet at all, and the organization can manage private DNS zones (e.g., for compliance or security reasons).

D

This option would be correct in a scenario where the organization requires centralized inspection and logging of all outbound traffic to storage accounts for security compliance, and the storage account must be accessed via a specific firewall IP address rather than directly from the subnet.

Why candidates pick the wrong answer

A

Candidates may think that an NSG rule can restrict access to the storage account because NSGs are commonly used to control network traffic, but they overlook that NSGs apply to the subnet's traffic, not to the storage account's inbound access control.

C

Candidates may think private endpoints are the only way to restrict access to a single subnet, overlooking service endpoints as a simpler alternative that keeps the public endpoint.

D

Candidates may think that using Azure Firewall provides a secure, controlled way to restrict access, similar to a network security group, but they overlook that the question explicitly wants to avoid managing custom DNS records and keep the public endpoint, which a firewall does not address.

294
MCQhard

Your company stores monthly reports in Azure Blob Storage. The reports are rarely accessed, but when needed they must be read within seconds rather than hours. You need to minimize storage cost while preserving near-immediate availability. Which access tier should you use?

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

Cool minimizes cost for infrequently accessed data while keeping it available online.

Why this answer

Cool tier is correct because it offers low storage cost for infrequently accessed data while maintaining near-immediate (milliseconds) retrieval latency. The reports are rarely accessed but must be available within seconds, which Cool tier satisfies, whereas Archive would incur hours-long rehydration delays.

Exam trap

The trap here is that candidates often choose Archive tier thinking it is the cheapest option for rarely accessed data, but they overlook the critical requirement for 'within seconds' availability, which Archive cannot provide without a time-consuming rehydration process.

Why the other options are wrong

A

The Hot tier is designed for frequently accessed data and has higher storage costs, which contradicts the requirement to minimize storage cost for rarely accessed reports.

C

Archive tier has the lowest storage cost but retrieval times can be hours (up to 15 hours for standard priority), which violates the requirement that reports must be read within seconds.

D

Premium tier is designed for low-latency, high-transaction workloads (e.g., interactive apps), not for rarely accessed data. It costs significantly more than Cool and does not provide cost savings for infrequent access.

When would these options actually be correct?

A

If the question specified that the reports are accessed frequently (e.g., multiple times per day) and low latency is critical, the Hot tier would be correct to balance performance and cost.

C

If the question stated that reports are accessed only a few times per year and retrieval can take up to 15 hours (e.g., for compliance archives where immediate access is not needed), Archive would be correct.

D

A question requiring sub-millisecond latency for frequently accessed data, such as 'Your company runs a real-time analytics dashboard that requires consistent low-latency reads on blobs. Which tier minimizes latency?' would make Premium correct.

Why candidates pick the wrong answer

A

Candidates may assume that 'near-immediate availability' requires the highest performance tier, overlooking that Cool tier also provides low-latency access at lower storage cost.

C

Candidates may focus solely on minimizing cost and overlook the 'within seconds' requirement, assuming Archive is always the cheapest option without considering retrieval latency.

D

Candidates may assume 'Premium' implies better performance for all scenarios, overlooking that it is optimized for high-frequency access and is not cost-effective for rarely accessed data.

295
MCQhard

A subnet NSG contains these inbound rules: Priority 100 denies TCP 8443 from VirtualNetwork to any destination, Priority 110 allows TCP 8443 from AzureLoadBalancer to any destination, and Priority 200 allows TCP 8443 from ASG-Web to ASG-App. The app VM NIC has no additional inbound rules. Web servers are members of ASG-Web and the app VM is a member of ASG-App. The web tier still cannot connect to TCP 8443. What should the administrator change?

A.Move the allow rule for ASG-Web to ASG-App to a priority lower than 100.
B.Replace ASG-Web with the VirtualNetwork service tag in the allow rule.
C.Add a route table that sends TCP 8443 traffic to the app subnet.
D.Create a second NSG on the app NIC with an allow rule at priority 50.
AnswerA

NSG rules are processed in priority order, and the first matching rule wins. The deny rule at priority 100 matches traffic from the web tier because it comes from the same virtual network. Moving the specific allow rule to a lower number than 100 lets it match first while still keeping the source and destination restricted to the intended application security groups.

Why this answer

NSG rules are evaluated in priority order, from lowest to highest number. The deny rule at priority 100 explicitly blocks TCP 8443 from VirtualNetwork, which includes traffic from ASG-Web (since ASG-Web members are within the virtual network). The allow rule at priority 110 only permits traffic from AzureLoadBalancer, not from ASG-Web.

The allow rule at priority 200 is never evaluated because the deny rule at priority 100 matches first. By moving the allow rule for ASG-Web to ASG-App to a priority lower than 100 (e.g., 90), it will be evaluated before the deny rule, allowing the web servers to connect.

Exam trap

The trap here is that candidates often assume a more specific rule (like ASG-Web to ASG-App) will override a broader deny rule, but NSG priority is strictly numeric, not based on specificity, so a lower-priority allow rule is never evaluated if a higher-priority deny rule matches first.

Why the other options are wrong

B

The deny rule at priority 100 blocks all traffic from VirtualNetwork, which includes ASG-Web. Replacing ASG-Web with VirtualNetwork would not resolve the issue because the deny rule still applies to VirtualNetwork traffic.

C

Route tables control traffic between subnets or to on-premises/VNet, but they do not override NSG rules. Since the NSG is blocking the traffic, adding a route table does not bypass the NSG; the traffic is still denied by the NSG.

D

Creating a second NSG on the app NIC with an allow rule at priority 50 would not help because the subnet NSG's deny rule at priority 100 still applies to traffic from the web tier (which is in the VirtualNetwork). The NIC NSG cannot override a subnet NSG deny rule; both are evaluated, and a deny in either blocks traffic.

When would these options actually be correct?

B

If the question involved allowing traffic from all Azure virtual networks (e.g., for multi-subnet access) and there was no conflicting deny rule, using the VirtualNetwork service tag would be appropriate.

C

A route table would be correct if the question stated that traffic from the web tier to the app VM is being dropped due to missing routing (e.g., the app subnet has a default route pointing to a network virtual appliance that is not forwarding the traffic), and the NSG is already allowing the traffic.

D

This option would be correct if the question stated that the app VM's subnet NSG had no relevant rules (or only allow rules) and the web tier's traffic was being blocked by a default deny on the subnet NSG. In that case, adding a higher-priority allow rule on the NIC NSG would permit the traffic.

Why candidates pick the wrong answer

B

Candidates may think that using a broader service tag like VirtualNetwork would override the deny rule, not realizing that the deny rule also uses VirtualNetwork and has higher priority.

C

Candidates may confuse the roles of NSGs and route tables, thinking that a route can override an NSG deny rule, or they may assume that traffic is being dropped at the routing layer rather than by the NSG.

D

Candidates may think that a NIC NSG with a higher priority rule can override a subnet NSG deny rule, or they may confuse the evaluation order of subnet vs. NIC NSGs.

296
MCQeasy

Based on the exhibit, two development virtual networks must be peered so the workloads can exchange traffic directly. What should the administrator do first?

A.Create a VPN gateway in each VNet before attempting peering.
B.Change one VNet to a non-overlapping address space before creating the peering.
C.Add a user-defined route to each subnet so the VNets can ignore the overlap.
D.Enable service endpoints on both VNets to allow cross-network communication.
AnswerB

Azure VNet peering does not allow overlapping address spaces. The first step is to redesign one network so its address range does not intersect the other. After the address conflict is removed, peering can be created normally and traffic can flow directly between the VNets.

Why this answer

Azure Virtual Network peering requires that the address spaces of the peered VNets do not overlap. Overlapping address spaces cause routing conflicts because Azure cannot determine which VNet should receive traffic destined for the overlapping range. Therefore, the administrator must first change one VNet to a non-overlapping address space before creating the peering.

Exam trap

The trap here is that candidates often assume overlapping address spaces can be resolved with routing tweaks (like UDRs) or additional gateways, but Azure explicitly blocks VNet peering when address spaces overlap, requiring a non-overlapping address space as a prerequisite.

Why the other options are wrong

A

Azure VNet peering does not require VPN gateways; it uses the Microsoft backbone infrastructure. VPN gateways are only needed for site-to-site or point-to-site connections, not for VNet peering.

C

User-defined routes cannot resolve overlapping IP address spaces; Azure VNet peering requires non-overlapping address spaces, and UDRs do not change the underlying address conflict.

D

Service endpoints do not enable cross-VNet communication; they allow VNet resources to access Azure PaaS services over the Microsoft backbone. Peering requires non-overlapping address spaces, not service endpoints.

When would these options actually be correct?

A

A: Create a VPN gateway in each VNet before attempting peering. This would be correct if the question asked how to connect two VNets across different Azure regions or on-premises networks via a site-to-site VPN, where VPN gateways are required for encrypted tunnel connectivity.

C

When you need to force traffic between two peered VNets to go through a network virtual appliance (NVA) for inspection, you would add a UDR to each subnet pointing to the NVA's IP as the next hop.

D

When the question asks how to allow a VNet to securely access an Azure Storage account without using a public IP, enabling service endpoints on the VNet and the storage account would be the correct answer.

Why candidates pick the wrong answer

A

Candidates may confuse VNet peering with VPN-based connectivity, assuming that any inter-VNet communication requires a VPN gateway, especially when they have experience with on-premises network connections or cross-region scenarios.

C

Candidates may think UDRs can override address space conflicts, similar to how they can redirect traffic, but they misunderstand that peering itself fails with overlapping ranges regardless of routing.

D

Candidates may confuse service endpoints with VNet peering, thinking both enable connectivity between VNets, or they may believe endpoints can bypass address overlap issues.

297
MCQmedium

A hub VNet contains a VPN gateway that provides access to on-premises resources. A spoke VNet is peered to the hub and must send on-premises traffic through the hub gateway without deploying its own gateway. What peering configuration is required?

A.Enable forwarded traffic on both peerings and disable gateway transit.
B.Enable gateway transit on the hub peering and Use remote gateways on the spoke peering.
C.Create a second VPN gateway in the spoke and peer the two gateways.
D.Configure the spoke subnet with a service endpoint to the hub gateway subnet.
AnswerB

This is the correct hub-and-spoke gateway sharing configuration. The hub peering must allow gateway transit, and the spoke peering must use the remote gateway in the hub. Together, these settings let the spoke route on-premises traffic through the hub VPN gateway without deploying a second gateway.

Why this answer

To route spoke VNet traffic through the hub VPN gateway without deploying a separate gateway in the spoke, you must enable 'Use remote gateways' on the spoke peering and 'Gateway transit' on the hub peering. This configuration allows the spoke to use the hub's VPN gateway for on-premises connectivity, leveraging the transitive routing capability of VNet peering.

Exam trap

The trap here is that candidates often confuse 'forwarded traffic' with 'gateway transit'—forwarded traffic only allows traffic from a third VNet to pass through the peering, but it does not enable the hub's VPN gateway to be used by the spoke; gateway transit is the specific setting required for this scenario.

Why the other options are wrong

A

Option A is wrong because 'disable gateway transit' would prevent the spoke from using the hub's VPN gateway, and 'enable forwarded traffic' alone does not allow the spoke to use the hub gateway for on-premises connectivity.

C

Creating a second VPN gateway in the spoke defeats the purpose of using hub gateway transit, as it adds cost and complexity. The requirement is to avoid deploying a separate gateway in the spoke.

D

Service endpoints are used to secure Azure service access from a subnet to a service (e.g., Storage, SQL) over the Azure backbone, not to route traffic to a VPN gateway or enable gateway transit.

When would these options actually be correct?

A

This option would be correct in a scenario where the spoke VNet needs to forward traffic to the hub for inspection (e.g., via a network virtual appliance) but the hub does not provide gateway transit; instead, the spoke has its own VPN gateway for on-premises access.

C

This option would be correct if the question required high availability or isolation, such as when the spoke must have its own direct VPN connection to on-premises for redundancy or compliance, independent of the hub.

D

This option would be correct in a scenario where a subnet in a spoke VNet needs to securely access an Azure PaaS service (like Azure Storage or SQL Database) without using a public IP, by routing traffic through the hub's service endpoint.

Why candidates pick the wrong answer

A

Candidates may confuse 'forwarded traffic' with 'gateway transit' or think that enabling forwarded traffic on both peerings is sufficient to route spoke traffic through the hub gateway, overlooking the specific gateway transit setting.

C

Candidates may think that having a dedicated gateway in the spoke ensures direct connectivity, overlooking the cost and management overhead, or they may confuse this with a scenario where hub transit is not desired.

D

Candidates may confuse service endpoints with gateway transit, thinking that a service endpoint can provide connectivity to on-premises resources via the hub gateway, or they may misunderstand the purpose of service endpoints as a general routing feature.

298
MCQeasy

A data disk was accidentally deleted from a VM. You have a snapshot of that disk from before the deletion. What should you create first to restore the data with minimal impact to the VM's OS disk?

A.A new managed disk from the snapshot
B.A new virtual machine
C.A new availability set
D.A larger VM size
AnswerA

A snapshot is a backup point for a disk, but it must be turned into a managed disk before it can be attached to a VM. Creating a new managed disk from the snapshot restores the data in a recoverable form while leaving the VM's OS disk untouched. After the new disk is created, you can attach it as a data disk. This is the normal restore path for a deleted or lost managed data disk.

Why this answer

A is correct because creating a new managed disk from the snapshot is the direct and minimal-impact method to restore the deleted data disk. Once the new managed disk is created, you can attach it to the existing VM without affecting the OS disk or requiring a VM rebuild. This approach avoids any downtime beyond the brief attachment operation.

Exam trap

The trap here is that candidates may think they need to recreate the entire VM (Option B) to use the snapshot, not realizing that a snapshot can be converted directly into a managed disk and attached to the existing VM without any OS disk impact.

Why the other options are wrong

B

Creating a new virtual machine does not restore the deleted data disk; it creates a new VM with no data from the snapshot. The correct approach is to first create a managed disk from the snapshot, then attach it to the existing VM.

C

An availability set is a logical grouping of VMs to provide high availability, not a data recovery mechanism. It cannot restore a deleted data disk from a snapshot.

D

Resizing the VM does not restore deleted data disks; it only changes the VM's compute capacity. The question requires restoring data from a snapshot, which is unrelated to VM size.

When would these options actually be correct?

B

If the original VM is corrupted or deleted, and you need to restore the entire VM (including OS and data disks) from a snapshot, you would create a new VM from the snapshot. For example, when the VM itself is lost and you have a VM-level snapshot.

C

When deploying two or more VMs that must remain available during planned or unplanned maintenance, you would create an availability set to ensure they are placed on different fault and update domains.

D

A larger VM size would be correct if the question asked how to improve performance for a VM that is consistently hitting CPU or memory limits, and the solution must involve scaling up the VM's resources.

Why candidates pick the wrong answer

B

Candidates may think that creating a new VM from the snapshot is the simplest way to restore data, not realizing that the snapshot is of a data disk, not the OS disk, and that attaching a disk to the existing VM is less disruptive.

C

Candidates may confuse availability sets with backup or recovery features, or think that creating an availability set is a necessary step before attaching a new disk.

D

Candidates may confuse scaling the VM (resizing) with recovering storage, or think that a larger VM automatically provides more disk capacity or recovery capabilities.

299
MCQmedium

Based on the exhibit, compliance requires one backup every week to be kept for 52 weeks, in addition to the daily backups already configured. What should you change in the backup policy?

A.Increase the daily retention from 30 days to 365 days.
B.Add a weekly retention rule that keeps one weekly recovery point for 52 weeks.
C.Change the vault to use soft delete so backups are retained for 52 weeks.
D.Create a metric alert to warn the team when backups are older than seven days.
AnswerB

The requirement is specific: keep one backup each week for a year. That is a weekly retention requirement, not just longer daily retention. Adding a weekly retention rule to the Azure Backup policy satisfies the compliance need while preserving the existing daily backups for operational recovery.

Why this answer

The requirement is to retain one weekly backup for 52 weeks, in addition to the existing daily backups. Adding a weekly retention rule that keeps one recovery point per week for 52 weeks directly satisfies this requirement by ensuring that each weekly backup is retained for the full year, while daily backups remain unaffected. This is the correct approach because Azure Backup allows granular retention policies with multiple rules for different frequencies (daily, weekly, monthly, yearly).

Exam trap

The trap here is that candidates often confuse retention duration with backup frequency, mistakenly thinking that increasing daily retention to 365 days will satisfy the weekly requirement, when in fact it would retain all daily backups instead of just one per week.

Why the other options are wrong

A

Increasing daily retention to 365 days would keep every daily backup for a year, not just one per week. The requirement is to keep one weekly backup for 52 weeks, not all daily backups.

C

Soft delete retains deleted backup data for a specified duration, but it does not create additional weekly recovery points. The requirement is to keep one backup per week for 52 weeks, which requires a retention rule, not soft delete.

D

Creating a metric alert does not change the backup retention policy; it only notifies when backups are older than seven days, which does not meet the compliance requirement of retaining one weekly backup for 52 weeks.

When would these options actually be correct?

A

This would be correct if the compliance requirement was to retain all daily backups for 52 weeks (e.g., for audit purposes requiring daily point-in-time recovery for a full year).

C

If the question required protecting against accidental deletion of backups and retaining deleted backups for 52 weeks for compliance, then enabling soft delete with a retention duration of 52 weeks would be correct.

D

This option would be correct if the question asked for a method to monitor backup compliance and alert the team when backups are not being taken within the required timeframe, such as ensuring a backup is taken every seven days.

Why candidates pick the wrong answer

A

Candidates may think that extending daily retention is a simpler way to meet the weekly retention requirement, misunderstanding that it retains all daily backups rather than just one per week.

C

Candidates may confuse soft delete with long-term retention, thinking that enabling it automatically keeps backups for the specified period without understanding that soft delete only applies to deleted backups and does not create new recovery points.

D

Candidates may think that alerting on backup age helps enforce retention, but alerts only notify, they do not retain backups. The focus on 'older than seven days' might seem related to weekly backups.

300
MCQeasy

An Azure Files share must stay available if one availability zone in its primary region fails. The business does not need replication to another region. Which redundancy option should you choose for the storage account?

A.Locally redundant storage (LRS)
B.Zone-redundant storage (ZRS)
C.Geo-redundant storage (GRS)
D.Read-access geo-redundant storage (RA-GRS)
AnswerB

Zone-redundant storage (ZRS) synchronously replicates a file share's data across three availability zones within the same Azure region. If one zone experiences an outage, the share remains read- and writable from the other two zones without any manual failover, satisfying the availability requirement. Azure Files supports ZRS on both standard and premium tiers in regions that have three or more zones.

Why this answer

Zone-redundant storage (ZRS) synchronously replicates your Azure Files share across three Azure availability zones within the primary region. This ensures the share remains available if one zone fails, without requiring replication to another region. LRS only replicates within a single data center, while GRS and RA-GRS involve secondary region replication, which the business does not need.

Exam trap

The trap here is that candidates often choose LRS thinking it provides zone-level redundancy, but LRS only replicates within a single data center, not across zones, making it insufficient for the stated availability requirement.

Why the other options are wrong

A

LRS replicates data within a single data center in a single availability zone, so it cannot survive a zone failure. The question requires availability across zones in the primary region.

C

Geo-redundant storage (GRS) replicates data to a secondary region, but the question explicitly states that replication to another region is not needed. GRS also does not protect against a single availability zone failure in the primary region because it uses LRS in the primary region.

D

RA-GRS replicates data to a secondary region, but the question explicitly states no replication to another region is needed, and it does not protect against a single availability zone failure in the primary region.

When would these options actually be correct?

A

Choose LRS when the requirement is to protect against server rack and drive failures within a single data center, and the application can tolerate a full data center outage (e.g., non-critical dev/test workloads).

C

A question that requires data to be durable even if an entire region becomes unavailable, and the business can accept the cost and complexity of cross-region replication. For example: 'An organization needs to ensure data survives a regional disaster and is willing to pay for replication to a secondary region. Which redundancy option should they choose?'

D

A question requiring high durability and availability with the ability to read data from the secondary region in case the primary region becomes unavailable, even if writes are not yet failed over. For example: 'An application needs read access to data during a regional outage.'

Why candidates pick the wrong answer

A

Candidates may mistakenly believe LRS provides zone-level resilience or may choose it due to lower cost without reading the availability requirement carefully.

C

Candidates may think GRS provides higher availability because it replicates to another region, overlooking that the question specifically restricts replication to another region and requires zone-level resilience within the primary region.

D

Candidates may confuse RA-GRS with ZRS, thinking the read-access feature provides zone-level redundancy, or they may over-engineer the solution by adding geo-replication when it's not required.

Page 3

Page 4 of 14

Page 5