Courseiva

AZ-104 (AZ-104) — Questions 451525

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

Page 6

Page 7 of 14

Page 8
451
MCQhard

A storage account must remain reachable through its public endpoint for an on-premises integration server, but only one Azure subnet should be allowed to access it from Azure. The team does not want private endpoints or DNS changes. What should the administrator configure?

A.Add a private endpoint and disable public network access
B.Enable a service endpoint on the subnet and add that subnet to the storage account networking rules
C.Create a SAS token restricted to that subnet
D.Assign Storage Blob Data Reader to the subnet
AnswerB

A service endpoint lets traffic from the chosen Azure subnet reach the storage account over the Microsoft backbone while still using the account's public endpoint. Adding the subnet to the storage account firewall rules then restricts Azure access to only that subnet. This meets the requirement to keep public access available for the on-premises integration server while tightly limiting Azure-based access without private endpoints or DNS changes.

Why this answer

A service endpoint extends the virtual network identity to the storage account, allowing you to restrict access to a specific subnet while keeping the public endpoint enabled for on-premises access. This meets the requirement of allowing only one Azure subnet to access the storage account from Azure without using private endpoints or DNS changes.

Exam trap

The trap here is that candidates often confuse service endpoints with private endpoints, assuming that service endpoints require disabling public access or that private endpoints are the only way to restrict subnet access, when in fact service endpoints allow selective subnet access while keeping the public endpoint active.

Why the other options are wrong

A

A private endpoint disables public endpoint access, but the question requires the storage account to remain reachable through its public endpoint for the on-premises server.

C

A SAS token restricts access to specific resources or operations, not network-level access. It cannot enforce that traffic originates from a specific subnet; the SAS token can be used from any IP address that has the token.

D

Assigning Storage Blob Data Reader to the subnet grants read access to blob data but does not control network access; the storage account's public endpoint would still be accessible from any IP, violating the requirement to restrict access to only one Azure subnet.

When would these options actually be correct?

A

When the requirement is to completely remove public internet access and only allow private connectivity from a specific Azure subnet, without needing public endpoint access for on-premises resources.

C

When the requirement is to grant time-limited, delegated access to a specific storage resource (e.g., a blob or container) without changing network rules, and the client can securely manage the token. For example, allowing a third-party application to upload files for 1 hour.

D

This option would be correct if the question required granting read-only permissions to blob data for resources in a specific subnet, without needing to restrict network access (e.g., when the storage account already has a service endpoint or private endpoint configured).

Why candidates pick the wrong answer

A

Candidates may think private endpoint is the only way to restrict access to a specific subnet, overlooking that service endpoints can achieve subnet-level restriction while keeping the public endpoint enabled.

C

Candidates may think SAS tokens can restrict access by source IP or subnet because SAS can include an allowed IP range, but that range is for the client's public IP, not an Azure subnet, and it does not replace network-level subnet restrictions.

D

Candidates may confuse role-based access control (RBAC) with network-level access restrictions, thinking that assigning a role to a subnet can limit network connectivity, when in fact RBAC only controls data plane permissions.

452
MCQmedium

A storage account experiences a brief regional platform issue. The team wants an alert whenever Azure marks the resource as unavailable, even if no custom metric changes are detected. What should the administrator use?

A.A metric alert on the account's transaction count.
B.A Resource Health alert for the storage account.
C.A diagnostic setting that sends logs only to a storage account.
D.An Azure Policy assignment that denies writes to the storage account.
AnswerB

Resource Health alerts are designed to notify administrators when Azure determines that a specific resource is unavailable or degraded because of a platform issue. This works even when ordinary metrics do not change in a useful way. It is the correct choice when the requirement is to detect service or infrastructure problems that Azure reports at the resource level rather than workload performance issues.

Why this answer

A Resource Health alert is designed to monitor the health of Azure resources and trigger notifications when Azure detects that the resource is unavailable due to platform issues, even if no custom metric thresholds are breached. This alert uses signals from the Azure Resource Health service, which tracks the current and historical health status of resources, making it the correct choice for detecting regional platform unavailability without relying on custom metrics.

Exam trap

The trap here is that candidates often confuse metric alerts (which require custom metric thresholds) with Resource Health alerts (which detect platform-level unavailability), leading them to choose a metric-based option like transaction count instead of the health-specific alert.

Why the other options are wrong

A

A metric alert on transaction count monitors performance metrics, not resource availability. It would not trigger when Azure marks the resource as unavailable due to a platform issue unless transaction count drops to zero, which is unreliable and not the intended signal.

C

A diagnostic setting sending logs to a storage account does not generate alerts; it only archives logs. The question requires an alert for resource unavailability, which Resource Health alerts provide directly.

D

Azure Policy assignments enforce compliance rules on resources but do not generate alerts for availability issues. They cannot detect or notify about platform-level unavailability.

When would these options actually be correct?

A

A metric alert on transaction count would be correct if the question asked for an alert when the number of transactions exceeds a threshold (e.g., to detect a sudden spike in usage) or falls below a threshold (e.g., to detect a drop in activity).

C

This option would be correct if the question asked for a method to archive diagnostic logs for compliance or long-term retention, with no requirement for real-time alerting.

D

An administrator needs to prevent any write operations to a storage account during a security incident to ensure data integrity. Azure Policy with a deny effect on write operations would be the correct solution.

Why candidates pick the wrong answer

A

Candidates may think that any drop in transactions indicates unavailability, but metric alerts are designed for performance thresholds, not health status. They overlook the dedicated Resource Health alert feature.

C

Candidates may confuse diagnostic settings with alerting capabilities, thinking that sending logs to storage enables monitoring, but it lacks the alert action needed for immediate notification.

D

Candidates may confuse policy enforcement with alerting, thinking that denying writes could somehow indicate or respond to unavailability, or they may overestimate Azure Policy's monitoring capabilities.

453
MCQeasy

A file server VM is corrupted after a bad change. The team needs to recover the whole machine to the latest recovery point, not just one file. Which restore workflow should they use?

A.Restore virtual machine
B.File and folder recovery
C.Modify the backup policy
D.Create an action group
AnswerA

Restore virtual machine is the correct action because Azure Backup stores application-consistent recovery points of the entire VM, and the 'Restore VM' workflow redeploys a full virtual machine from a selected restore point. This directly repairs the corrupted VM by replacing its complete OS disk, data disks, and configuration, either by creating a restored VM or by performing an original location restore after stopping the affected VM. It is the only option that addresses the full corruption of the server.

Why this answer

Azure Backup's 'Restore virtual machine' workflow creates a new VM from the latest recovery point, restoring the entire machine state including OS, applications, and data. This is the appropriate method when the goal is to recover the full VM after corruption, as it uses the VM-level restore point stored in the Recovery Services vault.

Exam trap

The trap here is that candidates confuse 'File and folder recovery' (which is for granular file-level restore) with full VM recovery, or mistakenly think modifying the backup policy can retroactively restore a corrupted VM.

Why the other options are wrong

B

The question specifies recovering the whole machine to the latest recovery point, not just one file. File and folder recovery only restores individual files or folders, not the entire VM.

C

Modifying the backup policy changes future backup schedules or retention, but does not recover an existing corrupted VM. The question asks for recovery, not configuration changes.

D

An action group is used to define responses to Azure Monitor alerts (e.g., email, SMS, webhook), not for restoring a VM from backup. It does not initiate or manage recovery workflows.

When would these options actually be correct?

B

This option would be correct if the question asked to restore a specific file or folder from a VM backup without recovering the entire VM, such as recovering a deleted document from a file server backup.

C

If the question were 'The team wants to ensure backups are taken every 4 hours instead of daily, which workflow should they use?', then modifying the backup policy would be correct.

D

When the question asks: 'You need to send an email notification to the operations team whenever a backup job fails. Which Azure resource should you configure?' In that scenario, creating an action group and linking it to an alert rule is the correct answer.

Why candidates pick the wrong answer

B

Candidates may confuse the granular file recovery capability with full VM restore, or they might think file-level recovery is sufficient when the question explicitly requires full machine recovery.

C

Candidates may confuse backup policy management with recovery operations, thinking that adjusting the policy could somehow trigger a restore or fix the corruption.

D

Candidates may confuse 'action' with 'restore action' or think that an action group can trigger a restore process, especially if they have limited experience with Azure backup and monitoring services.

454
Drag & Dropmedium

Arrange the steps to configure Azure Load Balancer with a backend pool.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

Create LB, configure frontend and backend, add probes, rules, then associate VMs.

455
MCQmedium

A storage account must be reachable only from a single Azure VNet. The team wants the storage account to have a private IP in that VNet and wants to disable public network access. Which solution should the administrator implement?

A.Configure a service endpoint on the subnet and keep public network access enabled.
B.Create a private endpoint for the storage account and disable public network access.
C.Assign a shared access signature and rely on IP-based firewall rules.
D.Use a route table to force traffic to the storage account over the virtual network gateway.
AnswerB

A private endpoint places a private IP address in the VNet for the storage service, allowing traffic to stay on the private network path. Disabling public network access ensures the service cannot be reached through its public endpoint.

Why this answer

A private endpoint assigns the storage account a private IP from the VNet, making it accessible only within that VNet over a private connection. Disabling public network access ensures no traffic can reach the storage account from the internet, meeting both requirements. This is the only option that provides a private IP and blocks all public access.

Exam trap

The trap here is that candidates often confuse service endpoints with private endpoints, assuming a service endpoint provides a private IP, when in fact it only provides a public endpoint with a VNet source identity.

Why the other options are wrong

A

A service endpoint does not assign a private IP to the storage account; it only provides direct connectivity from the subnet to the service over the Azure backbone. Public network access must be disabled to meet the requirement, but service endpoints do not disable public access.

C

A shared access signature (SAS) provides time-limited access but does not disable public network access or assign a private IP. IP-based firewall rules still expose the storage account to the internet, failing the requirement for private IP and disabled public access.

D

A route table forces traffic through a gateway but does not provide a private IP for the storage account within the VNet, nor does it disable public network access. It also cannot enforce that the storage account is reachable only from that VNet.

When would these options actually be correct?

A

A service endpoint would be correct if the requirement was to allow access from a specific VNet without needing a private IP, and public network access could remain enabled for other sources (e.g., from on-premises via firewall rules).

C

An administrator needs to grant temporary, delegated access to a storage account for a third-party application without exposing the account key, while still allowing public network access. In that case, a SAS with IP restrictions would be correct.

D

If the requirement were to route traffic from on-premises to a storage account over a VPN or ExpressRoute, and public access was still allowed but restricted via firewall rules, a route table with a gateway could be used to force traffic through the virtual network gateway.

Why candidates pick the wrong answer

A

Candidates may confuse service endpoints with private endpoints, thinking both provide private connectivity, but service endpoints do not assign a private IP and do not disable public access.

C

Candidates may think SAS tokens combined with IP firewall rules can restrict access to a specific VNet, but they overlook that this still leaves the endpoint publicly resolvable and does not provide a private IP.

D

Candidates may confuse network routing with private connectivity, thinking that forcing traffic through a gateway achieves the same isolation as a private endpoint, without understanding that a private endpoint provides a private IP and disables public access.

456
MCQmedium

A web app running in Azure App Service must upload images to a blob container without storing any account keys, passwords, or connection strings in configuration. The app uses only one Azure resource. What should the administrator configure?

A.A system-assigned managed identity on the App Service and an Azure RBAC role on the storage account.
B.The storage account key, because it is the simplest way to authenticate an application securely.
C.A shared access signature embedded in the app settings, because SAS is the same as managed identity.
D.An anonymous public container with write access disabled on the account.
AnswerA

A system-assigned managed identity is ideal when one Azure resource needs to access storage without secrets. The identity is created and deleted with the App Service, and RBAC can grant only the storage permissions required. This removes the need to embed keys or connection strings and aligns with credential-free application access.

Why this answer

A system-assigned managed identity allows the App Service to authenticate to Azure Storage without storing any credentials in configuration. By assigning the RBAC role (e.g., Storage Blob Data Contributor) to that identity, the app can securely upload images using Azure AD authentication, meeting the requirement of no account keys, passwords, or connection strings.

Exam trap

The trap here is that candidates often confuse shared access signatures (SAS) with managed identities, thinking SAS can be used without storing secrets, but SAS tokens still require a key to generate and must be stored or regenerated, whereas managed identity eliminates all stored credentials.

Why the other options are wrong

D

Anonymous public container with write access disabled does not allow the app to upload images; it only permits read access to blobs, and the question requires upload capability without storing credentials.

When would these options actually be correct?

D

An administrator needs to allow public read-only access to static assets (e.g., images, documents) in a blob container for anonymous users, and no authentication or upload is required.

Why candidates pick the wrong answer

D

Candidates may confuse 'anonymous access' with a simple way to avoid credential management, not realizing that write access is required for uploads and that anonymous write is a security risk.

457
MCQhard

An administrator wants a storage account to be accessible only from one subnet. The storage account should still use its public FQDN, the team does not want a private IP address in the VNet, and they do not want to manage private DNS zones. Which solution should be used?

A.Create a private endpoint and disable public network access.
B.Enable a service endpoint on the subnet and restrict the storage firewall to that subnet.
C.Peer the subnet to a dedicated storage VNet and route traffic through peering.
D.Assign a route table with a host route to the storage account.
AnswerB

A service endpoint allows the subnet to access the storage account over the Azure backbone while the storage account still uses its public FQDN and does not require a private IP in the VNet. Because the administrator also wants to avoid private DNS zone management, this is the best fit. The storage firewall can then be restricted to the specific subnet.

Why this answer

A service endpoint allows the storage account to be accessed from a specific subnet while still using the public FQDN. By enabling a service endpoint on the subnet and configuring the storage firewall to allow traffic only from that subnet, the administrator meets all requirements: no private IP, no private DNS zones, and access restricted to one subnet.

Exam trap

The trap here is that candidates often confuse service endpoints with private endpoints, assuming that only private endpoints can restrict network access, but service endpoints combined with firewall rules achieve the same restriction without changing the endpoint type or requiring DNS management.

Why the other options are wrong

A

A private endpoint uses a private IP address in the VNet, which contradicts the requirement to avoid private IP addresses and manage private DNS zones.

C

VNet peering does not restrict access to a storage account by subnet; it connects VNets but does not provide subnet-level network rules. The storage account would still be publicly accessible unless additional firewall rules are applied, and the scenario requires using the public FQDN without private IPs or DNS zones.

D

Assigning a route table with a host route to the storage account does not restrict access to a specific subnet; it only influences network traffic routing. The storage firewall and service endpoints are required to limit access to a subnet, and a host route alone does not provide access control.

When would these options actually be correct?

A

When the requirement is to ensure the storage account is completely isolated from the public internet and accessible only via a private IP address within the VNet, and the organization is willing to manage private DNS zones.

C

A question where two VNets need to communicate privately, and the storage account is in a dedicated VNet with a service endpoint or private endpoint, but the requirement is to route traffic through VNet peering without using the public internet.

D

This option would be correct in a scenario where the goal is to force all traffic destined for the storage account through a network virtual appliance (NVA) for inspection or logging, while still allowing access from any subnet. The question would specify that access control is not needed, only traffic routing.

Why candidates pick the wrong answer

A

Candidates may think private endpoint is the only way to restrict access to a subnet, overlooking that service endpoints can achieve subnet-level access without private IPs.

C

Candidates may think VNet peering can restrict access to a specific subnet, but peering is for connecting VNets, not for subnet-level access control. They might confuse peering with service endpoints or private endpoints.

D

Candidates may think that a route table with a host route can restrict access by directing traffic, but they confuse routing with access control. The term 'host route' might be misinterpreted as a way to limit access to a specific host.

458
Multi-Selecteasy

An analyst needs a blob that is currently in the Archive tier to be downloadable within the next hour. Which two actions should the administrator take? Select two.

Select 2 answers
A.Change the blob access tier from Archive to Hot or Cool.
B.Choose High priority rehydration for the tier change.
C.Download the blob directly from the Archive tier without changing its tier.
D.Delete the blob and restore it from a soft delete snapshot.
E.Add a lifecycle rule to move the blob to Archive again after it is downloaded.
AnswersA, B

A blob in Archive is offline and cannot be read until it is rehydrated into an online tier. Moving it to Hot or Cool starts that rehydration process and makes the blob available again. This is the required administrative step when a previously archived blob must be downloaded for use.

Why this answer

To make a blob in the Archive tier accessible for download, you must first change its access tier to Hot or Cool. This initiates a rehydration process that moves the blob data from offline storage to an online tier, making it available for read operations. The rehydration can take up to 15 hours, but selecting High priority rehydration (Option B) can reduce this to under 1 hour, meeting the analyst's requirement.

Exam trap

The trap here is that candidates may think blobs in the Archive tier can be downloaded directly or that deleting and restoring from soft delete bypasses the rehydration requirement, but neither action changes the offline storage status of the blob.

Why the other options are wrong

C

Blobs in the Archive tier are offline and cannot be downloaded directly; they must first be rehydrated to a hot or cool tier, which takes time.

D

Deleting the blob and restoring from a soft delete snapshot does not change the access tier; the restored blob would still be in the Archive tier, which does not allow immediate download. This process also risks data loss and is not designed for rehydration.

E

Adding a lifecycle rule to move the blob back to Archive after download does not help make the blob downloadable within the next hour; it only affects future tiering.

When would these options actually be correct?

C

If the blob were in the Cool or Hot tier, or if the question allowed for immediate download without tier change (e.g., using a read-access geo-redundant storage account with instant retrieval), then downloading directly would be correct.

D

This option would be correct if the question asked how to recover a blob that was accidentally deleted and the retention policy required restoring from a soft-delete snapshot, with no time constraint for download.

E

A question asks how to automatically move blobs back to the Archive tier after they have been accessed or downloaded to minimize storage costs, with no time constraint on immediate access.

Why candidates pick the wrong answer

C

Candidates may think that all blobs are immediately accessible regardless of tier, or they may overlook the fact that Archive tier blobs require rehydration before download.

D

Candidates may think that restoring from a snapshot is a quick way to get a downloadable copy, not realizing that the restored blob inherits the original tier and still requires rehydration.

E

Candidates may think lifecycle rules can expedite the current download process or that managing post-download tiering is part of the immediate solution.

459
MCQeasy

Based on the exhibit, what should the administrator configure so the alert sends email and SMS when CPU stays above the threshold?

A.Create a diagnostic setting on the virtual machine and send metrics to a Log Analytics workspace.
B.Associate an Azure Monitor action group with the alert rule.
C.Enable boot diagnostics on the virtual machine so the CPU threshold can be reported.
D.Apply a resource lock to the virtual machine to prevent the CPU from increasing further.
AnswerB

To deliver notifications when a metric alert fires, the alert rule must reference an Azure Monitor action group. The action group defines the notification channels (email, SMS, push, webhook, ITSM, etc.) and can also perform automated actions such as an Azure Function or Automation runbook. Without associating an action group, the alert rule will still evaluate the CPU metric and change state, but no one will be notified and no automated response will occur, so this configuration is mandatory for alert-driven communication.

Why this answer

An Azure Monitor action group defines the notification channels (e.g., email, SMS) and actions to trigger when an alert fires. Associating an action group with the alert rule enables the administrator to send both email and SMS when the CPU threshold is breached. Without an action group, the alert rule can only log the condition but cannot deliver notifications.

Exam trap

The trap here is that candidates confuse diagnostic settings (which export data) with action groups (which deliver notifications), or they mistakenly think boot diagnostics or resource locks can influence alert delivery or CPU behavior.

Why the other options are wrong

A

Diagnostic settings send metrics to Log Analytics for analysis, but they do not directly enable email or SMS notifications. The alert rule needs an action group to define notification actions.

C

Boot diagnostics capture serial logs and screenshots for troubleshooting boot failures, not CPU performance metrics. They cannot be used to trigger alerts based on CPU threshold.

D

Applying a resource lock prevents accidental deletion or modification of the VM, but does not affect CPU usage or alerting. The question asks about sending email and SMS when CPU stays above threshold, which requires an action group, not a lock.

When would these options actually be correct?

A

If the question asked how to route VM performance metrics to a centralized workspace for long-term analysis and querying, creating a diagnostic setting to send metrics to a Log Analytics workspace would be correct.

C

An administrator needs to troubleshoot a VM that fails to boot and wants to capture serial console output and screenshots to analyze the boot process. Enabling boot diagnostics would be the correct action.

D

An administrator wants to prevent accidental deletion of a critical production VM that hosts a database. Applying a resource lock (e.g., CanNotDelete) would be the correct action to protect the VM from being removed.

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 involving Log Analytics when a simple action group suffices.

C

Candidates may confuse 'diagnostics' with performance monitoring, assuming boot diagnostics can report CPU usage, or they might think enabling any diagnostic setting helps with alerting.

D

Candidates may confuse resource locks with a method to 'lock down' or control resource behavior, mistakenly thinking it can limit CPU usage or trigger alerts.

460
MCQmedium

You need to ensure that all new resources deployed to a subscription automatically receive a CostCenter tag with a default value if the tag is omitted during deployment. Which Azure governance feature should you use?

A.A resource lock
B.An Azure Policy with an append or modify effect
C.A management group lock
D.A custom RBAC role
AnswerB

An Azure Policy with an append or modify effect is evaluated during resource provisioning. Append can inject a required tag such as CostCenter into the resource properties when absent, while modify can add or update tag values and can even use a managed identity to remediate existing non-compliant resources. This happens automatically at deployment time, making it the only option that actually writes metadata as part of the creation flow.

Why this answer

Azure Policy with an append or modify effect can automatically add a CostCenter tag with a default value to resources that are missing it during deployment. The append effect adds the tag and value at creation time, while the modify effect (using a 'addOrReplace' operation) can also update existing resources. This ensures governance compliance without manual intervention.

Exam trap

The trap here is confusing Azure Policy (which enforces and automatically applies tags) with resource locks or RBAC roles, which manage permissions or prevent changes but do not automatically add missing tags.

Why the other options are wrong

A

Resource locks prevent deletion or modification of resources, but they do not enforce tagging or add default tags to new resources.

C

Management group locks prevent deletion or modification of resources at the management group scope, but they do not enforce tagging or add default values to new resources.

D

Custom RBAC roles control permissions (who can do what) but cannot enforce tag values or automatically add missing tags during resource deployment.

When would these options actually be correct?

A

A resource lock would be correct in a scenario where you need to prevent accidental deletion or modification of a critical resource, such as a production database or a key vault, by applying a CanNotDelete or ReadOnly lock.

C

A management group lock would be correct if the question asked: 'You need to prevent all subscriptions under a management group from being deleted.'

D

A custom RBAC role would be correct if the question asked: 'You need to prevent users from deleting a specific tag from existing resources. Which feature should you use?'

Why candidates pick the wrong answer

A

Candidates may confuse resource locks with policy enforcement, thinking that locks can also enforce configurations like tags, but locks only protect resources from changes, not enforce compliance.

C

Candidates may confuse management group locks with Azure Policy, thinking locks can enforce compliance, or they may overestimate the scope of locks to include tag enforcement.

D

Candidates may confuse role-based access control with policy enforcement, thinking that restricting permissions can automatically apply tags.

461
MCQmedium

You need to deploy a set of identical Azure virtual machines that can automatically scale out during demand spikes and scale in when usage falls. Which Azure feature should you use?

A.An availability set
B.A Virtual Machine Scale Set
C.A Recovery Services vault
D.Boot diagnostics
AnswerB

Scale Sets provide fleet management and autoscaling for identical VMs.

Why this answer

A Virtual Machine Scale Set (VMSS) is the correct Azure feature because it is designed specifically to deploy and manage a set of identical, load-balanced VMs that can automatically scale out (increase instance count) during demand spikes and scale in (decrease instance count) when usage falls, using autoscale rules based on metrics like CPU or memory.

Exam trap

The trap here is that candidates often confuse an availability set (which provides high availability) with a scale set (which provides both high availability and automatic scaling), leading them to pick Option A when the question explicitly asks for automatic scaling.

Why the other options are wrong

A

An availability set provides high availability by distributing VMs across fault and update domains, but it does not support automatic scaling based on demand.

C

A Recovery Services vault is used for backup and disaster recovery (Azure Backup / Site Recovery), not for automatic scaling of virtual machines.

D

Boot diagnostics captures serial logs and screenshots for troubleshooting VM boot failures, but it does not provide any auto-scaling capabilities to handle demand spikes or scale-in.

When would these options actually be correct?

A

You need to ensure that two or more VMs remain available during planned maintenance or unplanned failures. An availability set would be the correct answer for a question about high availability, not autoscaling.

C

You need to protect a set of Azure VMs by enabling backup and restore capabilities. Which Azure resource should you create?

D

A question asks: 'You need to troubleshoot why an Azure VM is not booting properly. Which feature should you enable to capture console output and screenshots?' Boot diagnostics would be the correct answer.

Why candidates pick the wrong answer

A

Candidates may confuse availability sets with scale sets because both involve multiple VMs, and they might think availability sets also handle scaling, but they only provide redundancy.

C

Candidates may confuse 'Recovery' with 'resilience' or 'scaling' because both involve handling failures or load changes, but the vault is for data protection, not compute scaling.

D

Candidates may confuse boot diagnostics with a monitoring or scaling tool because it involves logging and diagnostics, leading them to think it could help with scaling decisions.

462
Multi-Selecteasy

A team wants one Azure Files share to be used by both Windows and Linux virtual machines. Which two mounting approaches are valid? Select two.

Select 2 answers
A.Map the share on Windows by using the built-in SMB client.
B.Mount the share on Linux by using an SMB/CIFS client such as mount.cifs.
C.Mount the share on Linux by using the Azure Blob service endpoint.
D.Use an Azure VPN gateway to make the file share mount possible.
E.Use an Azure load balancer to present the share to both VMs.
AnswersA, B

Windows has native SMB client support. To connect, you use the storage account key or shared access signature to authenticate, and map a drive letter to the UNC path like \\storageaccount.file.core.windows.net\sharename. This is the standard method for Windows VMs and on-premises Windows machines to access Azure Files, and it appears as a normal drive to applications.

Why this answer

Windows includes a built-in SMB client that can directly map an Azure Files share using its UNC path (e.g., \\storageaccount.file.core.windows.net\sharename). This leverages the SMB 3.0 protocol, which Azure Files supports over the public internet with encryption, requiring no additional gateway or VPN.

Exam trap

The trap here is that candidates assume Azure Files requires a VPN or ExpressRoute for secure mounting, but Azure Files SMB 3.0 with encryption works securely over the public internet, making options like D unnecessary.

Why the other options are wrong

C

Azure Files uses SMB protocol, not Blob service endpoints. Mounting via Blob service endpoint would attempt to use HTTPS/REST, which is incompatible with Azure Files' SMB-based mounting.

D

An Azure VPN gateway is used for site-to-site or point-to-site connectivity between on-premises networks and Azure, not for mounting an Azure Files share. Azure Files supports direct mounting over SMB without requiring a VPN.

E

An Azure load balancer distributes network traffic across multiple VMs but does not provide file-level access or mount capabilities for Azure Files shares. It cannot present a file share to VMs as a mountable endpoint.

When would these options actually be correct?

C

If the question asked about accessing data in Azure Blob Storage from Linux, mounting via Blob service endpoint (e.g., using blobfuse) would be correct. For example: 'A team needs to mount an Azure Blob Storage container on a Linux VM.'

D

In a scenario where an on-premises network needs to access an Azure Files share securely over the internet, an Azure VPN gateway would be the correct answer to establish a secure connection for mounting the share.

E

In a scenario where you need to distribute incoming client traffic across multiple virtual machines hosting a file server application (e.g., a custom file sharing service), an Azure load balancer would be the correct choice to ensure high availability and load distribution.

Why candidates pick the wrong answer

C

Candidates may confuse Azure Files with Azure Blob Storage, thinking both can be mounted via similar endpoints, or they may assume that any Azure storage can be mounted using a service endpoint.

D

Candidates may think a VPN is necessary for secure access to Azure Files, or they may confuse the need for network connectivity with the mounting process itself.

E

Candidates may confuse load balancing with providing access to a shared resource, thinking that a load balancer can act as a front-end to make the file share available to multiple VMs, similar to how it works for web applications.

463
MCQmedium

A hub VNet is peered to two spoke VNets. The spokes can reach the hub, but they cannot communicate with each other through the hub. The administrator wants centralized inspection in the hub. What should be deployed and configured?

A.An Azure Firewall or other NVA in the hub, plus user-defined routes and forwarding support.
B.Only additional peering links between the hub and both spokes.
C.A private endpoint in the hub for each spoke subnet.
D.A service endpoint on each spoke subnet to the hub VNet.
AnswerA

VNet peering is non-transitive, so for spoke VNets to communicate through the hub, you must insert a routing element. Deploying Azure Firewall (or an NVA with IP forwarding enabled) in the hub, then configuring user-defined routes (UDRs) on each spoke subnet with the firewall/NVA's private IP as the next hop, forces spoke-to-spoke traffic to transit the hub. The NVA must also have IP forwarding enabled and be able to route between the spoke address spaces; Azure Firewall does this natively. This setup provides the centralized inspection and connectivity the scenario requires.

Why this answer

Azure Firewall or an NVA in the hub can inspect traffic between spokes, but by default, Azure routing does not forward spoke-to-spoke traffic through the hub. To force this traffic through the firewall, you must configure user-defined routes (UDRs) on the spoke subnets with a next hop of the firewall's private IP, and enable IP forwarding on the NVA. This setup enables centralized inspection and transitive routing through the hub.

Exam trap

The trap here is that candidates assume VNet peering is transitive by default, similar to a router, but Azure explicitly requires UDRs and a forwarding device to enable spoke-to-spoke communication through a hub.

Why the other options are wrong

B

Additional peering links between the hub and both spokes do not enable spoke-to-spoke communication through the hub; they only create direct peering, which still requires routing configuration (like UDRs) to forward traffic through the hub for centralized inspection.

C

A private endpoint in the hub allows private connectivity to a specific Azure service (e.g., Azure SQL) from the spokes, but it does not enable inter-spoke routing or centralized inspection of traffic between spokes.

D

Service endpoints allow private access from a VNet to Azure PaaS services, not routing traffic between VNets. They do not enable spoke-to-spoke communication through the hub.

When would these options actually be correct?

B

In a scenario where the requirement is simply to enable connectivity between spokes and the hub (not spoke-to-spoke through the hub), and no centralized inspection is needed, adding peering links would suffice.

C

In a scenario where spokes need secure, private access to an Azure PaaS service (e.g., Azure Storage or SQL Database) deployed in the hub VNet, without traversing the public internet, deploying a private endpoint in the hub for that service would be correct.

D

In a scenario where a VNet needs secure, private access to an Azure PaaS service (e.g., Azure Storage, SQL Database) located in another VNet, deploying a service endpoint on the spoke subnet to the hub VNet would allow the spoke to access that PaaS service privately via the hub.

Why candidates pick the wrong answer

B

Candidates may think that more peering automatically enables transitive routing, but VNet peering is non-transitive by default, so additional peering alone does not solve the problem.

C

Candidates may confuse private endpoints with network connectivity solutions, thinking that a private endpoint in the hub can route traffic between spokes, when it only provides private access to a specific service.

D

Candidates may confuse service endpoints with VNet peering or think they provide a routing path between VNets, misunderstanding that service endpoints only apply to Azure service traffic, not general VNet-to-VNet communication.

464
MCQmedium

A private endpoint was created for Azure SQL Database in VNet A. A VM in peered VNet B can reach other resources, but it resolves the SQL server name to the public IP and connection attempts fail because public network access is disabled. What is the best fix?

A.Add an outbound NSG rule allowing TCP 1433 to the internet.
B.Link the appropriate private DNS zone to VNet B.
C.Assign a public IP address to the private endpoint.
D.Replace the private endpoint with a service endpoint.
AnswerB

Clients in VNet B must resolve the SQL server name to the private endpoint address. Linking the private DNS zone to VNet B allows the VM to receive the correct private IP mapping through DNS.

Why this answer

When public network access is disabled on an Azure SQL Database, the private endpoint in VNet A provides a private IP address for the SQL server. However, for VMs in peered VNet B to resolve the SQL server's fully qualified domain name (FQDN) to that private IP instead of the public IP, the private DNS zone (typically `privatelink.database.windows.net`) must be linked to VNet B. Without this link, DNS resolution falls back to the public IP, causing connection failures because public access is disabled.

Exam trap

The trap here is that candidates assume DNS resolution works automatically across peered VNets, but private DNS zones are not transitive and must be explicitly linked to each peered VNet for private IP resolution to succeed.

Why the other options are wrong

A

The issue is DNS resolution, not outbound connectivity. Adding an outbound NSG rule for TCP 1433 to the internet does not change the DNS resolution of the SQL server name from public IP to private IP, so the connection will still fail because public network access is disabled.

C

Assigning a public IP to a private endpoint is not supported; private endpoints use private IPs from the VNet. It would not resolve the DNS resolution issue in peered VNet B.

When would these options actually be correct?

A

In a scenario where a VM in a peered VNet cannot connect to an Azure SQL Database because outbound traffic on port 1433 is blocked by an NSG, and public network access is enabled, adding an outbound NSG rule allowing TCP 1433 to the internet would fix the connectivity issue.

C

If the question required enabling inbound internet access to an Azure SQL Database while keeping it private within a VNet, assigning a public IP to the database server (not the endpoint) and configuring firewall rules could be correct. However, this scenario is rare and typically avoided.

Why candidates pick the wrong answer

A

Candidates may think that the connection failure is due to network security blocking outbound traffic, and they focus on allowing the SQL port (1433) outbound, overlooking that the real problem is DNS resolution to a private IP.

C

Candidates may think adding a public IP to the private endpoint would make it reachable from peered VNets, misunderstanding that private endpoints are inherently private and cannot have public IPs.

465
Multi-Selecteasy

A project team adds and removes contractors every month. The admin wants Azure access to update automatically when membership changes without editing role assignments for each person. Which two actions should the admin take? Select two.

Select 2 answers
A.Create a Microsoft Entra ID security group for the contractors.
B.Assign the Azure RBAC role directly to each contractor user account.
C.Assign the Azure RBAC role to the security group.
D.Create a management group for the contractors.
E.Use a resource lock to control access.
AnswersA, C

A security group gives the administrator one place to manage a changing set of users. When contractors join or leave, membership can be updated without rewriting Azure role assignments. This is the standard way to delegate access for a team or project that changes often.

Why this answer

Creating a Microsoft Entra ID security group for contractors allows the admin to manage membership dynamically. When contractors are added or removed from the group, their Azure access updates automatically without needing to edit individual role assignments. This leverages group-based RBAC, where the group is assigned the role, and membership changes propagate to Azure RBAC.

Exam trap

The trap here is that candidates often confuse management groups (Option D) with security groups, thinking they can be used for access control, but management groups are for organizing subscriptions and applying policies, not for assigning RBAC roles to users.

Why the other options are wrong

B

Assigning RBAC roles directly to each contractor user account requires manual updates when contractors change, which does not meet the requirement for automatic access updates based on membership changes.

D

Management groups are used for organizing subscriptions and applying governance policies, not for managing user access to resources. They do not support direct role assignments for user access control.

E

Resource locks prevent accidental deletion or modification of resources, but they do not automate role assignment updates based on group membership changes. The question requires dynamic access updates, which resource locks cannot provide.

When would these options actually be correct?

B

If the question stated that the team has a small, stable set of contractors who rarely change, and the admin needs to assign unique permissions per individual, then direct role assignment would be appropriate.

D

An organization needs to apply consistent Azure Policy or RBAC across multiple subscriptions. The admin should create a management group, place the subscriptions under it, and assign the policy or role at the management group level.

E

An admin needs to prevent accidental deletion of a critical production resource. The correct action would be to apply a resource lock (e.g., CanNotDelete) to that resource, ensuring no one, even with high privileges, can delete it without removing the lock first.

Why candidates pick the wrong answer

B

Candidates may think direct assignment is simpler or more direct, not realizing it creates administrative overhead for frequent membership changes.

D

Candidates may confuse management groups with security groups, thinking both are used for grouping entities for access control, but management groups are for subscription organization, not user permissions.

E

Candidates may confuse resource locks with access control mechanisms, thinking they can restrict access similarly to RBAC, or they may misread the question as needing to protect resources rather than automate access updates.

466
MCQhard

You create a private endpoint for an Azure Storage account and disable public network access on the account. A VM in a peered VNet cannot reach the storage account by name. The private endpoint resides in VNet-App. What is the most likely missing configuration?

A.A private DNS zone linked so the relevant VNet can resolve the storage account to the private endpoint IP
B.An NSG rule allowing outbound DNS to 8.8.8.8
C.A Recovery Services vault in the peered VNet
D.A public IP address on the private endpoint NIC
AnswerA

A private endpoint allocates a private IP from the VNet subnet, but the storage account's public FQDN still resolves to its public IP unless you override resolution. Linking a private DNS zone (e.g., privatelink.blob.core.windows.net) to the VNet and creating an A record for the endpoint makes the storage account name resolve to the private IP. This DNS integration is the essential companion to the private endpoint, and without it clients in the VNet would keep bypassing the endpoint.

Why this answer

When you create a private endpoint for an Azure Storage account and disable public network access, the storage account's public DNS name must resolve to the private endpoint's private IP address within the VNet. This requires a private DNS zone (privatelink.blob.core.windows.net) linked to the VNet where the VM resides. Without that DNS zone link, the VM in the peered VNet will resolve the storage account name to the public IP, which is unreachable because public access is disabled, causing the connection failure.

Exam trap

The trap here is that candidates assume VNet peering automatically extends DNS resolution for private endpoints, but Azure requires explicit private DNS zone links to each VNet that needs to resolve the private endpoint name.

Why the other options are wrong

B

The issue is DNS resolution, not outbound internet DNS. The VM cannot resolve the storage account name because the private endpoint's private DNS zone is not linked to the peered VNet. An NSG rule allowing outbound DNS to 8.8.8.8 would not help because the VM uses Azure DNS (168.63.129.16) for name resolution, and the private endpoint requires a custom DNS zone.

C

A Recovery Services vault is used for backup and disaster recovery, not for network connectivity or DNS resolution. It does not enable a VM in a peered VNet to resolve a storage account's private endpoint.

D

A private endpoint NIC does not require a public IP address; it uses a private IP from the VNet. Adding a public IP would not resolve the name resolution issue, as the problem is DNS resolution, not public connectivity.

When would these options actually be correct?

B

This option would be correct in a scenario where a VM in a VNet cannot reach an Azure service (e.g., storage account) via its public endpoint because an NSG on the VM subnet blocks outbound traffic to the internet, and the service does not use private endpoints. Adding an NSG rule to allow outbound DNS to 8.8.8.8 would enable the VM to resolve the service's public name.

C

If the question asked about why a VM cannot back up data to a Recovery Services vault after configuring a private endpoint, or if the vault's network settings block traffic from a peered VNet, then a missing vault configuration (like allowing trusted Microsoft services) could be the issue.

D

This option would be correct in a scenario where a private endpoint is used for a service that requires public IP-based access (e.g., Azure PaaS service with a public endpoint) and the question asks for a configuration to allow outbound traffic from the private endpoint to the internet via a public IP.

Why candidates pick the wrong answer

B

Candidates may think that DNS resolution requires internet access, so they assume an NSG rule allowing outbound DNS to a public resolver like 8.8.8.8 would fix the issue. They overlook that Azure VMs use Azure DNS by default and that private endpoints rely on custom DNS zones, not public DNS.

C

Candidates may confuse Recovery Services vaults with Azure Private Link or DNS zones, thinking that vaults provide some form of network connectivity or name resolution for private endpoints.

D

Candidates may mistakenly think that a private endpoint needs a public IP for name resolution or internet access, confusing the private endpoint's role with that of a standard VM or load balancer.

467
MCQmedium

An administrator assigned a modify policy at the subscription scope to add a CostCenter tag to new virtual machines. New VMs now have the tag, but older VMs in the subscription still do not. What must the administrator do to bring the existing VMs into compliance?

A.Reassign the policy at the resource group scope.
B.Create a remediation task for the noncompliant resources.
C.Add a resource lock to the subscription.
D.Move the VMs to another resource group and back again.
AnswerB

Policy assignments evaluate both existing and new resources, but a modify effect needs remediation to update already deployed resources. The remediation task tells Azure Policy to apply the configured effect to noncompliant resources that were created before the assignment or before the policy changed. That is the step that fills in the missing tag on the older virtual machines.

Why this answer

The modify effect policy assigned at the subscription scope automatically applies the CostCenter tag to new resources during creation, but it does not retroactively update existing noncompliant resources. To bring older VMs into compliance, the administrator must create a remediation task, which triggers Azure Policy's deployment engine to evaluate and apply the defined modify effect (e.g., adding the missing tag) to existing noncompliant resources using a managed identity.

Exam trap

The trap here is that candidates assume a policy assigned with a modify effect automatically applies to existing resources, but Azure Policy's modify effect only applies to new resources unless a remediation task is explicitly created and run.

Why the other options are wrong

A

Reassigning the policy at the resource group scope does not retroactively apply the policy to existing resources; it only affects new resources in that scope. The issue is that existing VMs are noncompliant, and reassignment does not trigger remediation.

C

A resource lock prevents accidental deletion or modification of resources, but it does not apply or enforce Azure Policy assignments. It cannot bring existing noncompliant resources into compliance.

D

Moving VMs to another resource group and back does not trigger policy evaluation or remediation; policies are evaluated on resource creation or update, not on move.

When would these options actually be correct?

A

If the question asked how to ensure that only new resources in a specific resource group receive the tag (e.g., to limit policy scope), then reassigning the policy at the resource group scope would be correct. This would apply the policy only to that resource group, not the entire subscription.

C

An administrator needs to prevent accidental deletion of critical resources in a subscription. The correct answer would be to add a resource lock (e.g., CanNotDelete) to the subscription or resource group to protect those resources.

D

If a VM needs to be migrated to a different resource group to apply resource-specific policies (e.g., location restrictions) that are scoped at the resource group level, moving it would bring it under the new policy scope.

Why candidates pick the wrong answer

A

Candidates may think that applying the policy at a more granular scope (resource group) will force compliance on existing resources, misunderstanding that policies are only enforced on new resources unless remediation is used.

C

Candidates may confuse resource locks with policy enforcement, thinking that locking the subscription will somehow force compliance, or they may believe that a lock can trigger remediation actions.

D

Candidates may think that moving resources forces a re-evaluation of policies, similar to how moving can trigger other Azure operations, but policy compliance is not automatically reassessed on move.

468
Multi-Selecteasy

A team needs to understand Azure RBAC inheritance. Which two statements are correct? Select two.

Select 2 answers
A.A role assignment at a resource group scope applies to resources inside that group.
B.A role assignment at subscription scope applies to all resource groups and resources in that subscription.
C.A role assignment at a resource scope automatically applies to all other resources in the subscription.
D.A role assignment at management group scope applies only to the subscription where it was created.
E.A role assignment at a resource group scope is broader than a subscription scope.
AnswersA, B

RBAC permissions flow downward within the scope where the assignment is made. A resource group assignment automatically covers the resources inside that resource group, which is why groups are useful for managing several related resources together.

Why this answer

Azure RBAC inheritance follows a hierarchical scope model: a role assignment at a resource group scope applies to all resources within that resource group, as the resource group is the parent scope for its child resources. This means any user or group assigned a role at the resource group level automatically inherits those permissions for every resource (e.g., VMs, storage accounts) inside that group, without needing separate assignments.

Exam trap

The trap here is that candidates often confuse the direction of RBAC inheritance, mistakenly thinking a narrower scope (like resource group) applies to broader scopes (like subscription), or that assignments at a resource scope propagate to other resources in the same subscription, when in fact inheritance only flows downward from parent to child scopes.

Why the other options are wrong

C

Azure RBAC does not cascade from a resource to other resources in the same subscription; each resource requires its own role assignment unless inherited from a higher scope.

D

Role assignments at management group scope apply to all subscriptions within that management group, not just the subscription where it was created.

E

A role assignment at resource group scope is narrower than subscription scope because subscription scope includes all resource groups and resources within that subscription, whereas resource group scope only applies to resources within that specific group.

When would these options actually be correct?

C

If the question asked about Azure Policy inheritance (not RBAC), a policy assignment at a resource scope can apply to that resource only, but policies at higher scopes can affect multiple resources. However, for RBAC, this statement is never correct.

D

If the question stated that a role assignment at management group scope applies only to subscriptions directly under that management group (excluding child management groups), then D would be correct in that limited context.

E

If the question asked 'Which scope is broader: resource group or subscription?' or 'Which statement about scope breadth is correct?', then stating that subscription scope is broader than resource group scope would be correct. Alternatively, if the question was about inheritance direction, saying 'A role assignment at resource group scope is broader than resource scope' would be correct.

Why candidates pick the wrong answer

C

Candidates may confuse RBAC with Azure Policy inheritance or mistakenly think that permissions assigned to one resource automatically apply to all resources in the subscription.

D

Candidates may confuse management group scope with subscription scope, thinking that a management group assignment is limited to a single subscription rather than inherited by all subscriptions in the hierarchy.

E

Candidates may confuse the hierarchy, thinking that a resource group is a higher-level container than a subscription, or they may misinterpret 'broader' as meaning more specific or inclusive in a different context.

469
MCQmedium

A Windows VM and a Linux VM in Azure must use the same shared working folder for application files. The team does not want to run a separate file server, and both VMs must be able to mount the share by using native operating system tools. What should the administrator deploy?

A.An Azure Blob container mounted as a local NTFS volume on both VMs
B.An Azure Files share mounted from Windows by using SMB and from Linux by using SMB or the Azure Files mount command
C.A managed disk attached to both VMs in read-write mode
D.An Azure Queue storage account with application-level file synchronization
AnswerB

Azure Files is designed for shared file access from both Windows and Linux. It provides a managed file share that can be mounted with native tools, avoiding the need to operate a separate file server. This matches the requirement for a common working folder accessible from both operating systems.

Why this answer

Azure Files provides fully managed SMB (Server Message Block) file shares that can be mounted natively from both Windows (using SMB) and Linux (using SMB or the dedicated Azure Files mount command). This meets the requirement of a shared working folder without needing a separate file server, and both operating systems can use their native tools to access the share.

Exam trap

The trap here is that candidates may confuse Azure Blob storage (object storage) with Azure Files (file shares) and assume Blob can be mounted locally, or they may incorrectly think a managed disk can be attached to multiple VMs simultaneously without understanding the limitations of shared disk attachments.

Why the other options are wrong

A

Azure Blob containers cannot be mounted as a local NTFS volume natively; they require third-party tools or custom applications, and Windows does not support mounting Blob storage as an NTFS volume without additional software.

C

A managed disk cannot be attached to multiple VMs in read-write mode simultaneously; Azure managed disks support shared attachments only with specific configurations (e.g., shared disks) that require cluster-aware file systems, not native OS tools for simple file sharing.

D

Azure Queue storage is a messaging service for asynchronous communication, not a file-sharing solution. It cannot be mounted as a shared working folder using native OS tools, and it lacks file system semantics required for concurrent read/write access.

When would these options actually be correct?

A

An administrator needs to store large amounts of unstructured data (e.g., images, videos) accessible via HTTP/HTTPS from multiple VMs, and the VMs can use Azure Blob storage SDKs or REST APIs to access the data, not requiring native OS mounting.

C

An administrator needs to attach a single data disk to multiple VMs for a clustered application (e.g., SQL Server FCI) using SCSI-3 Persistent Reservations, and the VMs are part of a Windows Server Failover Cluster or similar cluster that manages concurrent access.

D

An administrator needs to decouple application components for asynchronous processing, such as a web app sending tasks to a backend worker. Azure Queue storage would be correct for storing messages that trigger processing, not for shared file access.

Why candidates pick the wrong answer

A

Candidates may confuse Azure Blob storage with Azure Files, thinking both can be mounted as drives, or they may assume that any Azure storage can be mounted natively on both Windows and Linux.

C

Candidates may think a managed disk can be shared like a network drive, overlooking Azure's limitation that a disk can only be attached to one VM at a time unless using specialized shared disk features with cluster coordination.

D

Candidates may confuse Azure Queue storage with a general-purpose storage service, assuming it can store and synchronize files, or they might think 'file synchronization' implies a shared folder capability.

470
MCQmedium

A team is creating a new spoke VNet that will later be peered to an existing hub VNet and connected to on-premises networks. The proposed address space for the spoke is 10.60.1.0/24. The hub already uses 10.60.0.0/16. What should the administrator do before deploying the spoke?

A.Use the proposed address space because the spoke subnet is smaller than the hub address space.
B.Choose a non-overlapping address space for the spoke, such as 10.61.1.0/24.
C.Create a private endpoint in the spoke to separate its routing table from the hub.
D.Enable gateway transit on the hub peering before creating the spoke.
AnswerB

VNet peering requires non-overlapping address spaces. Because 10.60.1.0/24 is contained inside the hub's 10.60.0.0/16 range, the spoke cannot be safely peered as proposed. The correct fix is to pick a different CIDR block that does not overlap with the hub or any other connected network, such as 10.61.1.0/24.

Why this answer

VNet address spaces must not overlap when peered or connected via VPN/ExpressRoute. The proposed spoke address 10.60.1.0/24 falls within the hub's 10.60.0.0/16 range, creating an overlap that would prevent successful peering and routing. A non-overlapping address space like 10.61.1.0/24 ensures unique IP ranges, allowing proper route propagation and connectivity.

Exam trap

The trap here is that candidates mistakenly think a smaller subnet within a larger address space is acceptable for VNet peering, but Azure requires completely non-overlapping address spaces to avoid routing ambiguity.

Why the other options are wrong

A

The proposed spoke address space 10.60.1.0/24 overlaps with the hub's 10.60.0.0/16, causing IP conflicts when peered. Azure requires non-overlapping VNet address spaces for peering.

C

Creating a private endpoint does not separate routing tables; it provides private connectivity to Azure PaaS services. The issue here is overlapping IP address spaces between hub and spoke, which would prevent VNet peering, not routing separation.

D

Gateway transit is configured on the hub peering to allow the spoke to use the hub's VPN gateway for on-premises connectivity, but it is not a prerequisite for creating the spoke VNet. The spoke must be created first, then peered, and gateway transit can be enabled afterward.

When would these options actually be correct?

A

If the hub address space were a different range (e.g., 10.50.0.0/16) and the spoke subnet 10.60.1.0/24 did not overlap, then using the proposed space would be correct.

C

This option would be correct in a scenario where an administrator needs to securely access an Azure PaaS service (e.g., Azure Storage) from a spoke VNet without traversing the public internet, and the hub VNet already has a private endpoint for that service. The private endpoint in the spoke would provide isolated, private connectivity.

D

This option would be correct if the question asked: 'After peering a spoke VNet to a hub VNet that has a VPN gateway, what should the administrator enable to allow the spoke to access on-premises networks through the hub?' In that scenario, enabling gateway transit on the hub peering is the required step.

Why candidates pick the wrong answer

A

Candidates may think that a smaller subnet within a larger address space is acceptable, not realizing that VNet address spaces must be completely non-overlapping for peering.

C

Candidates may confuse private endpoints with network segmentation or think that creating a private endpoint can resolve IP address conflicts by isolating routing, not realizing that private endpoints are for service access, not address space management.

D

Candidates may confuse the order of operations, thinking that gateway transit must be set up before the spoke is created, or they may overestimate the complexity of hub-spoke connectivity and assume a prerequisite step is needed.

471
MCQeasy

Based on the exhibit, the administrator cannot create VNet peering between the hub and spoke networks. What should be changed?

A.Change the hub VNet to use a smaller subnet mask.
B.Change the spoke VNet address space so it does not overlap the hub.
C.Add a route table to the spoke VNet before creating peering.
D.Enable a service endpoint on both VNets.
AnswerB

This is the correct fix because Azure VNet peering requires non-overlapping IP ranges. The exhibit shows the spoke range sits inside the hub range, which causes the peering attempt to fail. Readdressing the spoke to a unique CIDR block resolves the conflict and allows the peering to be created.

Why this answer

VNet peering requires that the address spaces of the peered VNets do not overlap. Overlapping address spaces cause routing conflicts because Azure cannot distinguish between resources in the hub and spoke when IP addresses are identical or within the same CIDR range. Changing the spoke VNet address space to a non-overlapping range resolves this issue and allows peering to be established.

Exam trap

The trap here is that candidates often confuse VNet peering prerequisites with routing or security features, mistakenly thinking route tables or service endpoints are required, when the core requirement is non-overlapping address spaces.

Why the other options are wrong

A

VNet peering fails due to overlapping address spaces, not subnet mask size. Changing the subnet mask does not resolve address space overlap.

C

VNet peering does not require route tables; overlapping address spaces are the issue here, not routing.

D

Enabling a service endpoint does not resolve VNet peering failures caused by overlapping address spaces; service endpoints are used for secure access to Azure services, not for VNet connectivity.

When would these options actually be correct?

A

In a scenario where VNet peering is failing due to subnet exhaustion or routing issues, and the hub VNet has too many subnets causing routing table limits, using a smaller subnet mask (larger subnet) could reduce the number of routes and resolve the issue.

C

In a scenario where traffic between peered VNets must be routed through a network virtual appliance (NVA), you would add a route table to the spoke VNet with a route pointing to the NVA as the next hop for traffic destined to the hub or on-premises.

D

In a scenario where an administrator needs to secure access from a VNet to an Azure service (e.g., Azure Storage) and restrict traffic to that service from only specific subnets, enabling a service endpoint on the VNet and the service resource would be the correct action.

Why candidates pick the wrong answer

A

Candidates may confuse subnet mask adjustments with address space conflicts, thinking that a smaller subnet mask reduces the address range and thus avoids overlap.

C

Candidates may confuse VNet peering with routing requirements, thinking that a route table is necessary to enable connectivity between VNets.

D

Candidates may mistakenly think that service endpoints are required for VNet peering or that they help establish connectivity between VNets, confusing them with VNet peering prerequisites.

472
MCQeasy

A production VM is using too much CPU. You want Azure to notify the operations team by email when Average Percentage CPU stays above 80 percent for 5 minutes. What should you configure?

A.A diagnostic setting on the VM
B.A metric alert rule linked to an action group
C.A Log Analytics workspace only
D.An Azure Policy assignment
AnswerB

A metric alert rule watches a platform metric such as CPU percentage and evaluates it against a threshold over time. Linking the alert to an action group lets Azure send the notification to the operations team by email or other channels when the condition is met.

Why this answer

A metric alert rule monitors a specific metric (e.g., Percentage CPU) and triggers when a condition (e.g., above 80% for 5 minutes) is met. Linking the alert to an action group allows Azure to send email notifications to the operations team. This is the correct Azure Monitor feature for threshold-based, metric-driven notifications.

Exam trap

The trap here is that candidates confuse diagnostic settings (which only route data) with alert rules (which evaluate conditions and trigger actions), leading them to select Option A thinking it can send notifications directly.

Why the other options are wrong

A

A diagnostic setting on the VM sends metrics/logs to a destination (e.g., Storage, Event Hub, Log Analytics) but does not trigger email notifications or alerts based on metric thresholds.

C

A Log Analytics workspace alone cannot send email notifications; it only collects and stores log data. The question requires an alert to notify the operations team by email, which necessitates an alert rule and action group.

D

Azure Policy is used to enforce organizational standards and assess compliance at scale, not to monitor and alert on performance metrics like CPU usage. It cannot trigger email notifications based on metric thresholds.

When would these options actually be correct?

A

A diagnostic setting would be correct if the question asked to stream VM metrics to a Log Analytics workspace for analysis or to archive metrics to a storage account for compliance.

C

A Log Analytics workspace would be correct if the question asked for a central location to collect and analyze performance data from multiple VMs for troubleshooting or reporting, without requiring real-time email notifications.

D

An Azure Policy assignment would be correct if the question asked how to enforce a rule that all VMs must have a specific diagnostic setting enabled, or to audit VMs that do not meet certain configuration standards (e.g., requiring a minimum number of data disks).

Why candidates pick the wrong answer

A

Candidates may confuse diagnostic settings with alerting because both involve metrics, but diagnostic settings only route data, they do not evaluate conditions or send notifications.

C

Candidates may think a Log Analytics workspace is sufficient because it can collect performance metrics and generate alerts, but they overlook that alerts require explicit configuration of alert rules and action groups to send notifications.

D

Candidates may confuse Azure Policy with monitoring and alerting capabilities, thinking it can be used to define rules that trigger actions like sending emails when conditions are met, due to the word 'policy' implying a rule-based response.

473
Multi-Selecthard

A Modify policy adds CostCenter=042 to resources in RG-Finance. New resources are tagged correctly, but existing virtual machines remain untagged. What three requirements must be met for the assignment to update the existing resources? Select three.

Select 3 answers
A.Create a remediation task for the policy assignment.
B.Ensure the policy assignment has a managed identity.
C.Grant that identity permission to update the target resources or tags at the assigned scope.
D.Recreate the virtual machines before the policy can evaluate them.
E.Change the effect from Modify to Audit to trigger the tag operation.
AnswersA, B, C

A Modify policy assignment only makes the effect available to the Azure Policy engine; it does not automatically update already-provisioned resources. Existing virtual machines in the finance resource group remain non-compliant until you trigger a remediation task, which asynchronously invokes the resource provider to write the costcenter=042 tag. You can run the task on demand or schedule it, and it will report the number of resources successfully remediated versus those that failed.

Why this answer

A remediation task is required to apply a Modify effect policy to existing non-compliant resources. The Modify effect only tags new resources automatically; existing resources remain untagged until a remediation task is triggered, which uses the policy's managed identity to update the resource tags.

Exam trap

The trap here is that candidates assume the Modify effect automatically updates existing resources, but it only applies to new resources; a remediation task is mandatory for existing resources, and the managed identity must have appropriate permissions (e.g., Tag Contributor) at the scope.

Why the other options are wrong

D

Azure Policy evaluates existing resources automatically; recreating VMs is unnecessary because the Modify effect with a remediation task can update tags on existing resources without redeployment.

E

The Modify effect already triggers the tag operation; changing to Audit would only evaluate compliance without applying tags, failing to update existing resources.

When would these options actually be correct?

D

In a scenario where a policy uses the DeployIfNotExists effect to install an agent on VMs, and the VMs must be redeployed to trigger the agent installation because the policy cannot modify existing VMs without remediation, then recreating VMs might be required if remediation is not configured.

E

In a scenario where a policy uses the 'Audit' effect to detect non-compliant resources and you need to trigger a separate remediation action (e.g., via a runbook or manual process), changing to Audit would be correct to enable compliance evaluation without automatic modification.

Why candidates pick the wrong answer

D

Candidates may think that policy only applies to new resources and that existing resources need to be recreated to comply, misunderstanding that Azure Policy can evaluate and remediate existing resources through remediation tasks.

E

Candidates may confuse the purpose of policy effects, thinking Audit is needed to 'activate' the policy or that Modify requires an explicit trigger, not understanding that Modify inherently applies changes.

474
MCQhard

Your application stores compliance records in Azure Blob Storage. The records must remain in a write-once-read-many state for three years and must not be altered or deleted during that period. What should you configure?

A.Blob soft delete
B.Immutable blob storage with a time-based retention policy
C.Lifecycle management to move data to Archive
D.A shared access signature
AnswerB

Immutable blob storage with a time-based retention policy enforces write-once-read-many (WORM) behavior, meaning blobs cannot be modified or deleted during the assigned retention period. This is the only option that provides the explicit, unalterable retention required for compliance records, and the policy is enforced at the storage container level. The retention period is counted from the blob's last modification time, and it cannot be shortened while the policy is active.

Why this answer

Immutable blob storage with a time-based retention policy enforces a WORM (Write-Once, Read-Many) state, preventing any modification or deletion of blobs for a specified retention period. This meets the requirement of keeping compliance records unaltered for three years, as the policy locks the data at the storage level, overriding any user permissions or delete operations.

Exam trap

The trap here is that candidates often confuse soft delete (which only recovers deleted blobs) with immutability, or think lifecycle management or SAS can enforce retention, but neither prevents modification or deletion during the required period.

Why the other options are wrong

A

Blob soft delete protects against accidental deletion but does not prevent modification or overwriting of blobs, nor does it enforce a write-once-read-many (WORM) state. It only retains deleted blobs for a specified period.

C

Lifecycle management moves data to Archive storage tier, but it does not prevent deletion or modification of blobs. The question requires a write-once-read-many (WORM) state with no alteration or deletion for three years, which lifecycle management cannot enforce.

D

A shared access signature (SAS) provides delegated access to storage resources but does not enforce a write-once-read-many (WORM) state. It cannot prevent deletion or modification of blobs by authorized users.

When would these options actually be correct?

A

A scenario where the requirement is to recover blobs that were accidentally deleted or overwritten within a retention period, without needing to prevent modifications or enforce immutability. For example, 'You need to ensure that blobs deleted by mistake can be restored within 30 days.'

C

A scenario where the goal is to reduce storage costs by automatically moving blobs to cooler tiers after a specified period, without any compliance or immutability requirements. For example: 'You need to automatically move blobs older than 30 days to Cool tier and blobs older than 90 days to Archive tier to minimize costs.'

D

A shared access signature would be correct if the question asked for a way to grant time-limited, restricted access to a specific blob or container for external users without exposing storage account keys.

Why candidates pick the wrong answer

A

Candidates may confuse soft delete with immutability because both involve retention periods, but soft delete does not prevent writes or enforce WORM compliance.

C

Candidates may think that moving data to Archive tier makes it immutable because Archive is offline and not directly modifiable, but Archive blobs can still be deleted or overwritten. They confuse cost optimization with data protection.

D

Candidates may confuse SAS with a method to enforce retention because SAS can include expiration times, leading them to think it can prevent modifications or deletions.

475
MCQmedium

You need to ensure that a user can view cost data for Azure resources but cannot create or modify those resources. Which built-in role should you assign at the required scope?

A.Owner
B.Contributor
C.Reader
D.User Access Administrator
AnswerC

Reader does not include permissions to view cost data; cost data access requires a separate built-in role such as Cost Management Reader.

Why this answer

The correct role for viewing cost data without managing resources is Cost Management Reader or Billing Reader, neither of which is listed among the options. The Reader role does not include cost data permissions.

Exam trap

Candidates often assume that the Reader role includes cost data access, but in Azure, cost data requires a separate built-in role such as Cost Management Reader.

Why the other options are wrong

A

The Owner role grants full access to all resources, including the ability to create and modify resources, which violates the requirement that the user should not be able to create or modify resources.

B

The Contributor role allows creating and modifying resources, which violates the requirement that the user cannot create or modify resources.

D

The User Access Administrator role grants permissions to manage user access to Azure resources, including the ability to assign roles, which allows creating or modifying resource permissions, not just viewing cost data.

When would these options actually be correct?

A

When the requirement is to grant a user full control over all resources, including the ability to manage access and resource policies, such as for a subscription administrator who needs to delegate roles and manage resource groups.

B

Assign the Contributor role when a user needs full management access to resources, including creating and modifying them, but cannot manage access (e.g., assign roles).

D

A question where the requirement is to delegate the ability to manage role assignments for other users, such as 'You need to allow a user to assign the Reader role to other users at the subscription scope.'

Why candidates pick the wrong answer

A

Candidates may think Owner is necessary for viewing cost data, but cost data can be viewed with Reader; Owner is overkill and grants unwanted permissions.

B

Candidates may confuse 'view cost data' with broader management permissions, or assume Contributor is needed to view cost data, not realizing Reader already includes read access to cost data.

D

Candidates may confuse the ability to view cost data with administrative access, thinking that managing user access is necessary to view cost data, or they may not fully understand the specific permissions of the User Access Administrator role.

476
MCQhard

A release team needs to deploy the same hardened Windows image to VMs in three regions. They must keep approved versions, replicate images to each region, and be able to roll back to an earlier approved version without uploading a new VHD. What should they use as the image source?

A.A managed disk snapshot captured from one reference VM
B.An Azure Compute Gallery image definition with image versions
C.A single unmanaged VHD stored in a storage account
D.A custom script extension that installs the operating system settings after deployment
AnswerB

An Azure Compute Gallery (formerly Shared Image Gallery) image definition acts as a schema for the OS, state, and regional replication settings, while image versions are immutable, versioned snapshots of that schema. This combination supports controlled rollout via replication to multiple regions, rolling back to a previous image version, and enforcing consistent hardened configurations across VM deployments, which is exactly what a release team needs for managed OS lifecycle management.

Why this answer

Azure Compute Gallery (formerly Shared Image Gallery) allows you to store multiple versions of a custom image definition, replicate them across regions, and manage rollbacks by simply changing which image version is referenced during deployment. This meets all requirements: hardened Windows image, multi-region replication, version control, and rollback without uploading a new VHD.

Exam trap

The trap here is that candidates often confuse managed disk snapshots with images, not realizing that snapshots lack the versioning, replication, and deployment flexibility that Azure Compute Gallery provides for multi-region scenarios.

Why the other options are wrong

A

A managed disk snapshot is tied to a single region and cannot be replicated across multiple regions. It also does not support versioning or rollback to earlier approved versions without uploading a new VHD.

C

A single unmanaged VHD stored in a storage account cannot be versioned or replicated across regions, and rolling back to an earlier version would require uploading a new VHD, failing the requirement to keep approved versions and enable rollback without re-uploading.

D

A custom script extension installs OS settings after deployment but does not provide a hardened Windows image source, versioning, or rollback capability without uploading a new VHD.

When would these options actually be correct?

A

When deploying a single VM in the same region from a point-in-time backup, and rollback is not required. For example, creating a test VM from a snapshot of a production VM for troubleshooting.

C

If the question required a simple, cost-effective solution for deploying a single VM in one region without versioning or rollback capabilities, and the team could manually manage VHD copies, then using an unmanaged VHD in a storage account would be acceptable.

D

When the question requires applying post-deployment configurations (e.g., installing software, setting registry keys) to an existing VM without modifying the base image, and versioning/rollback of the image itself is not needed.

Why candidates pick the wrong answer

A

Candidates may think snapshots provide a reusable image source, but they lack multi-region replication and version management capabilities needed for this scenario.

C

Candidates may think a VHD is a straightforward image source and overlook the need for versioning, replication, and rollback features that Azure Compute Gallery provides.

D

Candidates may think custom script extensions can automate OS hardening, but they confuse configuration management with image management, overlooking the need for image versioning and regional replication.

477
MCQmedium

You need to choose a storage redundancy option that provides the lowest cost and protects data against local hardware failure within a single datacenter only. Which redundancy option should you select?

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

LRS (Locally Redundant Storage) keeps three synchronous replicas in the same physical datacenter within the primary region. Because there is no data transfer to another zone or region, it incurs no geo-replication bandwidth or secondary storage charges, making it the lowest-cost redundancy tier. It protects against server and rack failures but not a full datacenter outage.

Why this answer

LRS (Locally Redundant Storage) replicates data three times within a single datacenter (or availability zone) in the same region, protecting against local hardware failures such as disk or server crashes. It is the lowest-cost redundancy option because it does not incur the additional replication costs of cross-zone or cross-region copying. This meets the requirement of protecting data against local hardware failure within a single datacenter only.

Exam trap

The trap here is that candidates often confuse LRS with ZRS, mistakenly thinking ZRS is also single-datacenter, when in fact ZRS spans multiple datacenters (availability zones) and costs more, failing the 'lowest cost' and 'single datacenter' constraints.

Why the other options are wrong

B

ZRS (Zone-Redundant Storage) synchronously replicates data across multiple Azure availability zones within a region, which provides higher durability than LRS but at a higher cost. The question specifies protection against local hardware failure within a single datacenter only, so ZRS is overkill and more expensive.

C

GRS (Geo-Redundant Storage) replicates data to a secondary region, which increases cost and is not limited to a single datacenter. The question specifically requires protection only within one datacenter and lowest cost.

D

GZRS (Geo-Zone-Redundant Storage) provides both zone-level and geo-redundancy, which is overkill and more expensive for a scenario requiring only protection against local hardware failure within a single datacenter.

When would these options actually be correct?

B

A question requiring data protection against an entire datacenter failure (e.g., due to fire or flooding) within a region, while still keeping costs lower than geo-redundant options. For example: 'You need to ensure data remains available if a single datacenter fails, but you do not need cross-region replication. Which redundancy option should you select?'

C

A question that requires data to be durable even if an entire datacenter fails, and cost is not the primary concern. For example: 'You need to ensure data survives a regional outage with synchronous replication within the primary region and asynchronous replication to another region.'

D

When the question requires the highest durability and availability by synchronously replicating data across multiple Azure availability zones in the primary region and asynchronously to a secondary region, and cost is not the primary constraint.

Why candidates pick the wrong answer

B

Candidates may confuse 'zone' with 'datacenter' and think ZRS protects against local hardware failure, not realizing ZRS spans multiple datacenters (zones) and costs more than LRS.

C

Candidates may think GRS provides better protection at a reasonable cost, overlooking that the question explicitly limits protection to a single datacenter and demands lowest cost.

D

Candidates might confuse GZRS as a 'better' version of LRS or ZRS, thinking it offers more protection at a similar cost, or they may not fully understand the cost implications of geo-replication.

478
Multi-Selecthard

A scheduled script runs on several Azure VMs. The VMs are rebuilt often, and the script must always use the same Azure identity across every rebuild without storing secrets on disk. Which two steps should the administrator take? Select two.

Select 2 answers
A.Create a user-assigned managed identity.
B.Assign that user-assigned identity to each VM that runs the script.
C.Use a system-assigned managed identity on one VM and clone it.
D.Store a service principal secret in the script configuration.
E.Use a shared access signature to authenticate to Azure Resource Manager.
AnswersA, B

A user-assigned managed identity is created as a standalone Azure resource in Azure AD, making it independent of any specific VM. Because it is not tied to a VM's lifecycle, it persists even after VMs are deleted or rebuilt, and the same identity can be reassigned to replacement VMs. This provides a stable, distributed identity for the scheduled script, and Azure automatically rotates its backing credentials, eliminating the need to store any secrets on the VMs.

Why this answer

A user-assigned managed identity is the correct choice because it is an Azure identity that exists independently of any VM and can be assigned to multiple VMs. When a VM is rebuilt, you simply assign the same user-assigned identity to the new VM, and the script can authenticate using the identity's client ID without storing any secrets on disk. This ensures the script always uses the same identity across rebuilds, as the identity's credentials are managed entirely by Azure and rotated automatically.

Exam trap

The trap here is that candidates often confuse system-assigned managed identities with user-assigned ones, mistakenly thinking a system-assigned identity can be reused across VM rebuilds, when in fact it is deleted when the VM is deleted and cannot be transferred.

Why the other options are wrong

C

System-assigned managed identities are tied to a specific VM instance and cannot be cloned or reused across rebuilt VMs; each new VM would get a new identity, breaking the requirement for a consistent identity.

D

Storing a service principal secret in the script configuration violates the requirement of not storing secrets on disk. Managed identities eliminate the need for secrets entirely.

E

Shared access signatures (SAS) are used for delegated access to Azure Storage resources, not for authenticating to Azure Resource Manager or providing an identity for Azure VMs. They cannot serve as a consistent identity across VM rebuilds.

When would these options actually be correct?

C

If the question required an identity that is automatically tied to a single VM's lifecycle and no cross-VM consistency was needed, using a system-assigned managed identity would be correct.

D

When an application needs to authenticate to Azure services using a service principal, and the secret can be securely stored in Azure Key Vault or environment variables, not on disk.

E

A question asks for a way to grant a client application time-limited access to a specific Azure Storage blob without exposing the storage account key. Using a SAS token with the appropriate permissions and expiry would be the correct answer.

Why candidates pick the wrong answer

C

Candidates may think system-assigned identities can be 'cloned' like a VM image, not realizing they are unique per resource and cannot be transferred.

D

Candidates may be familiar with service principals for authentication and overlook the managed identity alternative, or they may not fully understand that managed identities are the recommended approach for Azure VMs.

E

Candidates may confuse SAS with a general authentication mechanism for Azure services, or think it can be used as an identity token for VMs, because SAS tokens are commonly used for secure access to resources without hardcoding keys.

479
Multi-Selecteasy

An application runs in a subnet and must reach a storage account over the public endpoint, but only that subnet should be allowed. The team does not want to use a private endpoint. Which two configurations should the administrator use? Select two.

Select 2 answers
A.Enable the Microsoft.Storage service endpoint on the subnet.
B.Add the subnet to the storage account's virtual network rules.
C.Create a private endpoint for the storage account.
D.Assign the Reader role to the subnet.
E.Turn on blob soft delete.
AnswersA, B

Enabling a Microsoft.Storage service endpoint extends the identity of the subnet to the storage service, so storage accounts can permit access based on the subnet's virtual network address space rather than a specific private IP. This flag must be set on the subnet itself before a virtual network rule can be added to the storage account. Because the endpoint uses the public endpoint of the storage service, no private IP address is allocated, which matches the scenario's constraint.

Why this answer

Enabling the Microsoft.Storage service endpoint on the subnet (A) ensures that traffic from the subnet to the storage account's public endpoint is routed through the Azure backbone network and uses the source IP of the subnet's virtual network, allowing the storage account firewall to identify the traffic. Adding the subnet to the storage account's virtual network rules (B) then explicitly permits only that subnet's traffic, denying all other public endpoint access. Together, these two configurations restrict access to the storage account's public endpoint exclusively to the specified subnet without requiring a private endpoint.

Exam trap

The trap here is that candidates often confuse service endpoints with private endpoints, assuming private endpoints are required for subnet-specific access, but service endpoints plus virtual network rules achieve the same restriction on the public endpoint without the cost or complexity of private endpoints.

Why the other options are wrong

C

The question explicitly states the team does not want to use a private endpoint, so creating a private endpoint (option C) contradicts the requirement.

D

Assigning the Reader role to the subnet does not restrict network access to the storage account; it only grants read permissions to resources in that subnet, but the subnet itself is not authorized to access the storage account over the network.

E

Blob soft delete is a data protection feature that allows recovering deleted blobs, but it does not restrict network access to the storage account. The question requires limiting access to a specific subnet, which soft delete cannot achieve.

When would these options actually be correct?

C

If the question required a private connection to the storage account without exposing it to the public internet, and the team is allowed to use private endpoints, then creating a private endpoint would be correct.

D

In a scenario where a user or application in a subnet needs to read storage account configuration (e.g., list keys) but not access data, and network access is already open, assigning the Reader role to the subnet's managed identity or user would be correct.

E

In a scenario where an organization needs to protect against accidental blob deletion or overwrite, enabling blob soft delete would be correct. For example, a question might ask: 'Which feature should be enabled to allow recovery of accidentally deleted blobs within a retention period?'

Why candidates pick the wrong answer

C

Candidates may confuse service endpoints with private endpoints, or think private endpoints are always the best security practice, ignoring the explicit constraint in the question.

D

Candidates may confuse role-based access control (RBAC) with network access control, thinking that assigning a role to a subnet grants network-level access to the storage account.

E

Candidates may confuse data protection features with network security controls, or mistakenly think that soft delete includes access restrictions because it is a security-related setting in the storage account.

480
MCQmedium

A company has 15 branch Windows file servers that must show the same shared drive content. Users should keep working during short WAN outages, and local servers should cache frequently used files. Which Azure feature should you deploy?

A.Azure Blob Storage with lifecycle rules, because it can present files to multiple branches.
B.Azure File Sync, because it synchronizes on-premises file servers with an Azure file share and supports cloud tiering.
C.A private endpoint to Blob Storage, because it provides local caching for SMB file shares.
D.A managed disk shared across the branch servers, because it gives the same content to all locations.
AnswerB

Azure File Sync is designed for this exact scenario. It keeps an Azure file share as the central source of truth while synchronizing branch servers and optionally tiering infrequently used files to the cloud. That gives users local performance, file-share consistency, and better resilience during temporary WAN disruptions. It is the best fit when multiple Windows servers need synchronized file content.

Why this answer

Azure File Sync is the correct choice because it synchronizes on-premises Windows file servers with an Azure file share, enabling multi-site file server consolidation. It supports cloud tiering, which caches frequently accessed files locally on each branch server while freeing up space by tiering cold data to the cloud. This ensures users can continue working during short WAN outages, as local caches provide access to synced files even when connectivity is lost.

Exam trap

The trap here is that candidates often confuse Azure Blob Storage with Azure Files, assuming blob storage can serve SMB file shares directly, but Azure Blob Storage does not support SMB protocol natively without Azure Files or third-party tools.

Why the other options are wrong

A

Azure Blob Storage with lifecycle rules does not provide file-level synchronization or caching for on-premises file servers; it is object storage for unstructured data, not a solution for keeping multiple Windows file servers in sync with local caching.

C

A private endpoint to Blob Storage does not provide local caching for SMB file shares; it only secures network traffic to Azure storage. The question requires caching on local servers, which Azure File Sync's cloud tiering provides, not a private endpoint.

D

A managed disk cannot be simultaneously attached to multiple servers in read-write mode; it supports only one writer at a time, so it cannot provide the same shared content across 15 branch servers.

When would these options actually be correct?

A

A company needs to store large amounts of unstructured data (e.g., backups, logs, media) and automatically move it to cooler tiers (e.g., cool or archive) based on age to optimize costs. Lifecycle rules manage tier transitions automatically.

C

A question asks: 'You need to ensure that an Azure Storage account is accessible only from a specific virtual network, without exposing it to the public internet. Which Azure feature should you deploy?' In this scenario, a private endpoint is the correct answer.

D

You need to provide a high-performance, low-latency shared block storage for a single virtual machine or a clustered application (e.g., SQL Server FCI) that requires SCSI-3 Persistent Reservations for shared access.

Why candidates pick the wrong answer

A

Candidates may think Blob Storage can serve files to multiple branches because it is accessible from anywhere, but they overlook that it lacks the file-level sync and caching capabilities required for on-premises file servers.

C

Candidates may confuse private endpoints with providing local caching or SMB access, or think that securing connectivity inherently improves performance and availability for file shares.

D

Candidates may think a managed disk can be shared like a network drive, overlooking Azure's single-attach limitation for standard managed disks.

481
MCQeasy

An application team needs Contributor access only for the resources in rg-app. They must not manage any other resources in the subscription. At what scope should you assign the role?

A.Management group scope
B.Subscription scope
C.Resource group scope
D.Resource scope
AnswerC

Assigning the Contributor role at the resource group scope grants the application team full management permissions exclusively over the resources contained within that specific resource group (e.g., rg-app). This scope is the correct boundary because it isolates access to only the resources that make up the application while preventing the team from modifying unrelated resource groups, subscription-wide settings, or resources in other scopes.

Why this answer

The Contributor role assigned at the resource group scope grants the application team full management access to all resources within rg-app, but no access to resources in other resource groups or at the subscription level. This meets the requirement of restricting permissions to only that specific resource group.

Exam trap

The trap here is that candidates often confuse 'resource group scope' with 'subscription scope' and assume Contributor at the subscription level is required for managing a group of resources, not realizing that resource group scope provides the exact isolation needed.

Why the other options are wrong

A

Management group scope applies permissions to all subscriptions within that group, which would grant the team Contributor access to resources beyond rg-app, violating the requirement to restrict access to only that resource group.

B

Subscription scope grants Contributor access to all resources in the subscription, not just those in rg-app, violating the requirement to restrict access to only that resource group.

D

Resource scope would grant Contributor access only to a specific resource, not to all resources in rg-app. The requirement is to manage all resources in the resource group, so resource scope is too narrow.

When would these options actually be correct?

A

If the question required granting Contributor access to all resources across multiple subscriptions that belong to the same management group, and the team needed to manage resources in all those subscriptions, then assigning the role at management group scope would be correct.

B

Assign this role at subscription scope when the requirement is to grant Contributor access to all resources within the entire subscription, without restricting to a specific resource group.

D

A question that asks: 'You need to grant a user Contributor access to a specific virtual machine only, without access to any other resources in the resource group. At what scope should you assign the role?' Then resource scope would be correct.

Why candidates pick the wrong answer

A

Candidates may think management group scope is a way to apply permissions broadly without realizing it encompasses more than the intended resource group, or they may confuse management groups with resource groups.

B

Candidates may mistakenly think subscription scope is necessary to cover all resources in rg-app, not realizing that resource group scope is sufficient and more restrictive.

D

Candidates may think that assigning at the resource level is sufficient to cover all resources in the group, but they overlook that each resource requires a separate assignment, and the requirement is for all resources in the group.

482
MCQhard

A production subscription contains 20 virtual machines across two resource groups. Operations needs an email and SMS notification whenever any single VM's average Percentage CPU stays above 85 for 10 minutes. The alert should be managed as one rule, and evaluation must happen independently for each VM. What should the administrator configure?

A.Create a log query alert that uses the Heartbeat table and the existing action group.
B.Create one metric alert scoped to the 20 VM resources, using Percentage CPU and the shared action group.
C.Create one subscription-wide metric alert and average CPU across all virtual machines.
D.Configure diagnostic settings on each VM and use the action group for threshold processing.
AnswerB

A metric alert is the correct signal for CPU threshold monitoring, and scoping the rule to the VM resources lets Azure evaluate each VM independently while keeping a single alert definition. The action group handles the email and SMS delivery. This avoids creating 20 separate rules and prevents fleet-wide averaging from hiding one overloaded server. It is the simplest design that still evaluates each VM separately.

Why this answer

A single metric alert rule can be scoped to multiple resources (up to 20 VMs) in Azure Monitor, allowing independent evaluation of each VM's Percentage CPU metric. When the average CPU exceeds 85% for 10 minutes on any individual VM, the alert fires and triggers the shared action group to send email and SMS notifications. This meets the requirement of one rule with per-VM independent evaluation.

Exam trap

The trap here is that candidates assume a single alert rule cannot monitor multiple VMs independently, leading them to choose option C (subscription-wide average) or option D (diagnostic settings), when in fact Azure Monitor supports multi-resource metric alerts with per-resource evaluation.

Why the other options are wrong

A

A log query alert using the Heartbeat table cannot measure Percentage CPU; Heartbeat logs only indicate VM availability, not performance metrics like CPU usage.

C

Option C averages CPU across all VMs, but the requirement is for independent evaluation per VM. A subscription-wide metric alert with average aggregation would not trigger individually for each VM exceeding 85%.

D

Diagnostic settings stream metrics to Azure Monitor, but they do not create alerts. Threshold processing and alerting require an alert rule, which is not configured by diagnostic settings alone.

When would these options actually be correct?

A

This option would be correct if the requirement was to alert when a VM stops sending heartbeat signals (i.e., becomes unavailable) for a specified duration, using a log query alert scoped to the VMs.

C

This option would be correct if the requirement was to alert when the average CPU across all VMs in the subscription exceeds 85% for 10 minutes, indicating a fleet-wide performance issue rather than per-VM monitoring.

D

If the question required collecting VM metrics into Log Analytics for historical analysis or custom log-based alerting, configuring diagnostic settings on each VM would be necessary to send metrics to a Log Analytics workspace.

Why candidates pick the wrong answer

A

Candidates may confuse log-based alerts with metric alerts, or mistakenly think Heartbeat logs contain CPU performance data, leading them to choose this option for a CPU alert.

C

Candidates may think a subscription-wide alert is efficient and covers all VMs, overlooking the need for per-VM independent evaluation. The phrase 'average CPU across all virtual machines' seems like a simple way to monitor overall health.

D

Candidates may confuse diagnostic settings with alert rules, thinking that sending metrics to an action group directly triggers notifications, or they may overcomplicate the solution by assuming metrics must be routed through diagnostic settings before alerting.

483
MCQmedium

Frontend VMs in one subnet must reach backend VMs on TCP 8443. The backend VMs are rebuilt frequently, so their private IP addresses change often. The administrator wants to avoid updating NSG rules every time the backend IPs change. What should be used in the NSG rule?

A.Application Security Groups for the frontend and backend tiers.
B.A service endpoint on the backend subnet.
C.A route table with a next hop of Virtual network gateway.
D.A private endpoint for each backend VM.
AnswerA

Application Security Groups let you reference groups of VMs in NSG rules instead of individual IP addresses. That is ideal when backend IPs change often because the rule continues to target the backend application tier rather than a specific address. The administrator can place the frontend VMs in one ASG and the backend VMs in another, then allow TCP 8443 between those groups without constantly editing the NSG.

Why this answer

Application Security Groups (ASGs) allow you to group VMs logically by function (e.g., frontend, backend) and reference those groups in NSG rules. Since the backend VMs are rebuilt frequently and their private IPs change, using ASGs in the NSG rule (source = frontend ASG, destination = backend ASG, port = 8443) eliminates the need to update IP addresses manually. The NSG rule remains valid as long as the VMs are assigned to the correct ASG, regardless of IP changes.

Exam trap

The trap here is that candidates often confuse Application Security Groups with Network Security Groups themselves, or think that service endpoints or private endpoints are designed for VM-to-VM communication, when in fact they are for securing access to Azure PaaS services.

Why the other options are wrong

B

A service endpoint secures Azure service traffic (e.g., to Azure Storage) to a subnet, not TCP traffic between VMs. It does not allow dynamic IP-based rules for backend VMs.

C

Route tables control traffic routing, not security filtering. A route table with a next hop of Virtual network gateway would redirect traffic to a VPN gateway, which does not solve the need to allow TCP 8443 traffic to dynamically changing backend IPs without updating NSG rules.

D

Private endpoints are used to securely access Azure PaaS services over a private IP address, not to allow VMs in one subnet to communicate with VMs in another subnet within the same VNet. They do not solve the problem of dynamic private IP addresses for backend VMs.

When would these options actually be correct?

B

When you need to restrict access from a subnet to a specific Azure service (e.g., Azure Storage or SQL Database) over the Azure backbone network, ensuring traffic never leaves the Microsoft network.

C

In a scenario where you need to force traffic from a subnet to go through a network virtual appliance (NVA) or VPN gateway for inspection or hybrid connectivity, a route table with a next hop of Virtual network gateway would be correct. For example, to route all outbound traffic from a subnet through an on-premises firewall via a site-to-site VPN.

D

A question where backend VMs need to securely access an Azure PaaS service (e.g., Azure SQL Database or Storage Account) without using public endpoints, and the PaaS service's IP addresses are not relevant because the connection is over a private IP.

Why candidates pick the wrong answer

B

Candidates may confuse service endpoints with a method to secure intra-VNet traffic, not realizing they are designed for Azure PaaS services, not VM-to-VM communication.

C

Candidates may confuse routing with security, thinking that directing traffic through a gateway can implicitly control access, or they may believe that a route table can replace NSG rules for traffic filtering.

D

Candidates may confuse private endpoints with a method to assign static private IPs to VMs, or think that private endpoints can be used for VM-to-VM communication within a VNet.

484
MCQmedium

Based on the exhibit, which address space can you assign to the new spoke virtual network so it can be peered to the hub and later connected to on-premises without an IP overlap?

A.10.50.128.0/17
B.10.51.0.0/16
C.10.52.0.0/16
D.10.50.0.0/24
AnswerC

10.52.0.0/16 is the only proposed range that is disjoint from both the existing hub VNet (10.50.0.0/16) and the on-premises address space (10.51.0.0/16). Because Azure VNet peering and hybrid VPN/ExpressRoute connections require non-overlapping address spaces, assigning this range to the new spoke VNet is safe and will allow route exchange without ambiguity. It also leaves ample room for subnet segmentation and future growth.

Why this answer

(10.52.0.0/16) is correct because it does not overlap with the hub virtual network's address space (10.50.0.0/16) or the on-premises network (10.51.0.0/16). This allows the spoke VNet to be peered to the hub and later connected to on-premises via a gateway in the hub without IP address conflicts, which is a requirement for successful VNet peering and VPN/ExpressRoute connectivity.

Exam trap

The trap here is that candidates often assume any address outside the hub's exact /16 is safe, forgetting to check the on-premises range (10.51.0.0/16), leading them to pick option B, which overlaps with on-premises and would break hybrid connectivity.

Why the other options are wrong

A

Option A (10.50.128.0/17) overlaps with the hub's address space 10.50.0.0/16, which would prevent successful peering and cause IP conflicts with on-premises connections.

B

Option B (10.51.0.0/16) overlaps with the hub's address space 10.51.0.0/16 shown in the exhibit, preventing successful peering and connection to on-premises without IP overlap.

D

Option D (10.50.0.0/24) is a subset of the hub's address space 10.50.0.0/16, which would cause an IP overlap when peering, violating the requirement for no overlap.

When would these options actually be correct?

A

This option would be correct if the hub's address space were 10.50.0.0/17 (instead of /16), leaving 10.50.128.0/17 as a non-overlapping range for the spoke.

B

If the hub's address space were 10.50.0.0/16 and the on-premises network used 10.52.0.0/16, then 10.51.0.0/16 would be a non-overlapping address space for the spoke.

D

This option would be correct if the hub's address space were 10.51.0.0/16 and the on-premises network used 10.52.0.0/16, and the question required a small subnet for a spoke with minimal hosts, such as a test environment with fewer than 256 IPs.

Why candidates pick the wrong answer

A

Candidates may think a /17 subnet is large enough and assume it's within a different range, but they overlook that it is a subset of the hub's /16, causing overlap.

B

Candidates may assume any /16 subnet not explicitly listed in the hub is safe, overlooking that the hub's address space includes 10.51.0.0/16 as shown in the exhibit.

D

Candidates may see that /24 is a common subnet size and assume it's safe, overlooking that it falls within the hub's larger /16 range, or they may misread the exhibit and think the hub uses a different address space.

485
MCQmedium

Administrators need to connect to Windows and Linux VMs from the Azure portal using a browser. The VMs do not have public IP addresses, and the security team does not want a VPN client installed on admin laptops. Which service should be deployed?

A.Azure VPN Gateway
B.Azure Load Balancer
C.A network security group with RDP and SSH rules
D.Azure Bastion
AnswerD

Azure Bastion provides secure browser-based RDP and SSH to VMs that have no public IP addresses. It keeps management traffic inside Azure and avoids exposing administrative ports to the internet or requiring a client VPN on the administrator's device.

Why this answer

Azure Bastion provides secure, seamless RDP and SSH connectivity to Azure VMs directly from the Azure portal over TLS, without requiring public IP addresses on the VMs or a VPN client on the admin's laptop. It uses a hardened bastion host deployed in the same virtual network, acting as a jump server that brokers browser-based connections, meeting both the security and connectivity requirements.

Exam trap

The trap here is that candidates often confuse Azure Bastion with a VPN gateway or assume that an NSG with RDP/SSH rules alone is sufficient for secure browser-based access, overlooking the requirement for no public IPs and no client software.

Why the other options are wrong

A

Azure VPN Gateway requires a VPN client installed on admin laptops to establish a site-to-site or point-to-site connection, which conflicts with the security team's requirement of no VPN client installation.

B

Azure Load Balancer distributes traffic to VMs but does not provide inbound RDP/SSH connectivity without public IPs or a jump box; it operates at the transport layer and cannot replace a secure bastion host for browser-based access.

C

A network security group (NSG) with RDP and SSH rules controls inbound traffic at the subnet or NIC level, but it does not provide browser-based connectivity without public IPs or a VPN. The VMs lack public IPs, so NSG rules alone cannot enable access from the Azure portal.

When would these options actually be correct?

A

An exam question where administrators need to securely connect on-premises networks to Azure VMs over the internet, and installing a VPN client on admin laptops is acceptable, would make Azure VPN Gateway the correct answer.

B

A question requiring high availability and load distribution for web applications across multiple VMs, where the goal is to distribute incoming traffic and ensure fault tolerance, not to provide secure administrative access.

C

This option would be correct in a scenario where VMs already have public IP addresses and the question asks how to restrict inbound RDP/SSH access to specific source IPs or deny all inbound traffic except from a management subnet, using NSG rules.

Why candidates pick the wrong answer

A

Candidates may think VPN Gateway provides browser-based connectivity without client software, but it actually requires a VPN client for point-to-site connections, making it tempting but incorrect here.

B

Candidates may think a load balancer can be used to reach VMs internally, confusing its traffic distribution role with a gateway for administrative access, especially when VMs lack public IPs.

C

Candidates may think that allowing RDP/SSH in an NSG is sufficient for connectivity, overlooking the requirement for browser-based access without public IPs or VPN clients.

486
MCQeasy

An archive of legal documents is accessed only a few times each month, but when someone needs a document it must open immediately without a rehydration wait. Which access tier should be used?

A.Hot tier
B.Cool tier
C.Archive tier
D.Geo-redundant storage (GRS)
AnswerB

Cool tier is the most cost-effective online tier for a legal archive that is read only a few times each period. It keeps blobs immediately accessible without any rehydration step while lowering storage costs compared to Hot tier, instead charging a higher per-access fee that is negligible for such low read frequency. Azure Cool tier has a 30-day minimum retention period, but that is acceptable for long-lived legal documents that are rarely touched.

Why this answer

The Cool tier is designed for data that is infrequently accessed but must be available immediately when needed, with a lower storage cost than Hot tier but higher access costs. Since the archive is accessed only a few times per month and requires instant retrieval without rehydration delay, Cool tier meets both requirements, whereas Archive tier would impose a rehydration wait of up to 15 hours.

Exam trap

The trap here is that candidates confuse the 'Archive' tier name with the use case of 'archival data' and overlook the critical requirement for immediate access, mistakenly choosing Archive tier despite its mandatory rehydration delay.

Why the other options are wrong

A

The Hot tier is designed for frequently accessed data with high availability, but the question specifies that the archive is accessed only a few times each month, making the Hot tier unnecessarily expensive compared to the Cool tier.

C

The Archive tier has a rehydration time of up to 15 hours, which violates the requirement that documents must open immediately without a rehydration wait.

D

Geo-redundant storage (GRS) is a replication strategy, not an access tier. The question asks for an access tier that provides immediate access without rehydration, which is not addressed by GRS.

When would these options actually be correct?

A

A scenario where data is accessed frequently (multiple times per day or week) and requires low latency, such as a production database or active user content, would make the Hot tier the correct choice.

C

A question where the requirement is to minimize storage costs for data that is rarely accessed and can tolerate a delay of several hours to retrieve, such as long-term backup archives or compliance records that are accessed only a few times per year.

D

A question that asks: 'Which storage replication option provides the highest durability by replicating data to a paired region?' would make GRS the correct answer, as it ensures data survives a regional disaster.

Why candidates pick the wrong answer

A

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

C

Candidates may think 'archive' is the cheapest tier and assume it fits the 'accessed only a few times each month' description, overlooking the critical need for immediate access without rehydration delay.

D

Candidates may confuse replication options with access tiers, thinking that GRS implies a higher availability tier, or they may mistakenly believe GRS provides faster access than other tiers.

487
MCQmedium

A team runs a Windows service on an Azure virtual machine that uploads invoices to Blob storage every few minutes. Security policy forbids storing account keys or long-lived SAS tokens on the VM. The service must authenticate without human interaction. What should the administrator configure?

A.Generate a SAS token with a 1-year expiry and store it in an encrypted file on the VM.
B.Assign the VM a managed identity and grant it Storage Blob Data Contributor on the container or storage account.
C.Share the storage account access key with the service account and rotate it monthly.
D.Create a storage firewall rule that allows the VM's public IP address and keep using anonymous access.
AnswerB

A managed identity lets the VM authenticate to Azure Storage without storing credentials. Granting Storage Blob Data Contributor provides the data-plane permissions needed to upload blobs while keeping access tied to Entra ID and RBAC. This satisfies the requirement for noninteractive authentication and avoids account keys or long-lived SAS tokens.

Why this answer

Assigning a managed identity to the VM allows it to authenticate to Azure Blob Storage without any secrets stored on the VM. The managed identity provides an automatically managed service principal in Azure AD, and by granting the Storage Blob Data Contributor role, the service obtains the necessary permissions to upload invoices. This satisfies the security policy forbidding account keys or long-lived SAS tokens and enables unattended authentication.

Exam trap

The trap here is that candidates may think a SAS token or access key is acceptable if encrypted or rotated, but the security policy explicitly forbids storing any secrets on the VM, making managed identity the only compliant option.

Why the other options are wrong

A

Storing a SAS token with a 1-year expiry in an encrypted file on the VM violates the security policy forbidding long-lived tokens on the VM, and still requires managing a secret on the VM, which is not allowed.

C

Storing the storage account access key on the VM violates the security policy forbidding account keys on the VM, and monthly rotation does not eliminate the risk of key exposure.

When would these options actually be correct?

A

A question where the security policy allows storing secrets on the VM with encryption, and the service needs to access Blob storage for a limited time (e.g., 1 year) without requiring managed identity support or frequent token renewal.

C

If the security policy allowed storing keys on the VM and required periodic rotation, this option would be correct for a service that needs to authenticate to Blob storage without managed identity support.

Why candidates pick the wrong answer

A

Candidates may think an encrypted file provides sufficient security and that a long-lived SAS token avoids the need for frequent renewal, overlooking the policy restriction and the better managed identity solution.

C

Candidates may think that rotating keys monthly is a sufficient security measure and overlook the explicit policy forbidding key storage on the VM.

488
MCQhard

A compliance team stores signed contract scans in Azure Blob Storage. The data must remain available if one zone in the primary region fails. If the entire primary region is unavailable, the team also needs to read the secondary copy while recovery work is underway. Which redundancy option should you choose for the storage account?

A.ZRS, because it protects against a single zone failure in one region.
B.GRS, because it keeps a geo-replicated copy but does not provide zone redundancy in the primary region.
C.GZRS, because it combines zone redundancy with geo-replication and supports failover recovery.
D.RA-GZRS, because it combines zone redundancy, geo-replication, and read access to the secondary region.
AnswerD

RA-GZRS is the only option listed that satisfies both requirements simultaneously. It protects against a zone failure in the primary region through zone-redundant storage and also keeps a geo-replicated secondary copy in another region. The read-access feature lets administrators or applications read from the secondary endpoint during a regional outage or while validating recovery, which is exactly what the scenario requires.

Why this answer

RA-GZRS (Read-Access Geo-Zone-Redundant Storage) is the correct choice because it provides synchronous zone-level redundancy within the primary region (protecting against a single zone failure) and asynchronous geo-replication to a secondary region. Additionally, it enables read access to the secondary region at all times, allowing the compliance team to read the secondary copy immediately if the primary region becomes unavailable, without waiting for a failover.

Exam trap

The trap here is that candidates often confuse GZRS with RA-GZRS, overlooking that GZRS does not provide read access to the secondary region unless a failover is performed, while the question explicitly requires the ability to read the secondary copy immediately during primary region unavailability.

Why the other options are wrong

A

ZRS only protects against a single zone failure in the primary region, but does not provide a secondary copy for recovery if the entire primary region fails, which is required by the compliance team.

B

GRS does not provide zone redundancy in the primary region, so if a zone fails, data may become unavailable until failover is initiated. The question requires availability during a zone failure, which GRS cannot guarantee.

C

GZRS provides zone redundancy and geo-replication but does not allow read access to the secondary region unless a failover is initiated. The question requires the ability to read the secondary copy while recovery is underway, which necessitates read-access geo-redundant storage (RA-GZRS).

When would these options actually be correct?

A

A question where the requirement is only to protect against a zone failure within a single region, with no need for geo-replication or read access to a secondary region, such as a high-availability application within one Azure region.

B

A scenario where the requirement is only to protect against a region-level disaster and read access to the secondary region is not needed. For example: 'You need to ensure data is durable across regions but can tolerate downtime during failover.'

C

A scenario where the requirement is to protect against a zone failure in the primary region and have a geo-replicated copy for disaster recovery, but read access to the secondary region is not needed until a failover is performed. For example, an organization that only needs to fail over to the secondary region during a regional disaster and does not require immediate read access during recovery.

Why candidates pick the wrong answer

A

Candidates may choose ZRS because it offers zone redundancy, but they overlook the additional requirement for geo-redundancy and read access to the secondary region during a regional outage.

B

Candidates may think GRS is sufficient because it provides geo-redundancy, overlooking the need for zone-level availability in the primary region as specified in the question.

C

Candidates may see 'zone redundancy' and 'geo-replication' in GZRS and assume it meets all requirements, overlooking the specific need for read access to the secondary region without failover.

489
MCQmedium

An employee deleted one spreadsheet stored on a Windows VM that is protected by Azure Backup. The administrator must recover only that file without restoring the entire VM. What should be used?

A.A full VM restore to replace the existing virtual machine.
B.The file recovery process from the Recovery Services vault recovery point.
C.Blob rehydration from Archive tier in the storage account.
D.A restore point collection operation in Azure Compute.
AnswerB

Azure Backup supports file-level recovery by mounting a selected recovery point and allowing the administrator to copy out individual files or folders. This is the best option when the goal is to restore one deleted spreadsheet without replacing the entire virtual machine. It minimizes disruption and avoids overwriting other current VM data that was not affected.

Why this answer

Azure Backup for Azure VMs supports file-level recovery from a recovery point without restoring the entire VM. The file recovery process mounts the recovery point as an iSCSI target on the VM, allowing the administrator to browse and copy the deleted spreadsheet directly from the snapshot. This is the only option that provides granular, non-disruptive file restoration from a VM backup.

Exam trap

The trap here is that candidates confuse Azure Backup's file-level recovery with full VM restore or blob-level operations, assuming that file recovery requires a full VM restore or that the file is stored in Azure Blob Storage rather than on the VM's disk.

Why the other options are wrong

A

A full VM restore replaces the entire virtual machine, which is overkill and time-consuming when only a single file needs recovery. Azure Backup offers file-level recovery for Windows VMs, making a full restore unnecessary.

C

Blob rehydration from Archive tier is used to restore blob data from cold storage, not to recover individual files from an Azure Backup-protected VM. The question specifies a file on a Windows VM, not a blob in a storage account.

D

A restore point collection operation in Azure Compute is used to manage restore points for Azure VMs, not to recover individual files from an Azure Backup recovery point.

When would these options actually be correct?

A

This option would be correct if the question specified that the entire VM is corrupted or unavailable, and the goal is to restore the whole system to a previous state, not just a single file.

C

An administrator needs to restore a large dataset stored as blobs in an Azure Storage account that has been moved to the Archive tier to reduce costs. The correct action would be to rehydrate the blobs to a hot or cool tier before accessing them.

D

This option would be correct if the question asked: 'An administrator needs to create a custom restore point for a set of Azure VMs to be used for application-consistent recovery. What should be used?'

Why candidates pick the wrong answer

A

Candidates may default to a full restore because they are familiar with it as a standard backup recovery method, overlooking the more efficient file-level recovery feature available in Azure Backup.

C

Candidates may confuse Azure Backup's file recovery with storage account blob operations, or mistakenly think that 'Archive tier' refers to backup archives rather than blob storage tiers.

D

Candidates may confuse restore point collections with the file-level recovery feature, assuming that any 'restore point' operation can retrieve individual files.

490
MCQeasy

Based on the exhibit, what should the administrator deploy to monitor CPU and free disk space on a small set of VMs while keeping telemetry cost low?

A.Deploy Azure Monitor Agent and collect only the required performance counters with a data collection rule.
B.Enable diagnostic settings on each VM and send all guest logs to a storage account.
C.Install Application Insights on each VM and enable request tracing.
D.Create a resource lock on each VM to preserve the current state.
AnswerA

Azure Monitor Agent with a targeted data collection rule is the cost-aware choice because it collects only the specific performance data needed. The administrator can scope the rule to the five VMs and include just CPU and disk free space counters, avoiding broad log ingestion. This meets the monitoring requirement without paying to send unnecessary telemetry to Log Analytics.

Why this answer

Azure Monitor Agent (AMA) is the modern, cost-effective agent for collecting performance counters like CPU and free disk space from VMs. By using a Data Collection Rule (DCR) to specify only the required counters, the administrator minimizes data ingestion volume, directly controlling telemetry costs. This approach avoids the overhead of sending all guest logs or using more expensive monitoring tools.

Exam trap

The trap here is that candidates often confuse Azure Monitor Agent with the older Log Analytics agent or mistakenly think diagnostic settings to storage accounts are free, overlooking that storage write operations and data retention incur costs.

Why the other options are wrong

B

Sending all guest logs to a storage account incurs high storage and data transfer costs, and does not provide real-time monitoring for CPU and disk space; it also lacks the targeted performance counter collection needed for low-cost monitoring.

C

Application Insights is designed for application performance monitoring and request tracing, not for OS-level metrics like CPU and disk space. It would incur higher costs and unnecessary complexity for simple VM monitoring.

D

Resource locks prevent accidental deletion or modification of resources but do not monitor CPU or free disk space, so they cannot satisfy the monitoring requirement.

When would these options actually be correct?

B

If the question required long-term archival of all guest OS logs for compliance or audit purposes, and cost was not a primary concern, enabling diagnostic settings to send logs to a storage account would be appropriate.

C

When the question asks to monitor the performance and usage of a custom web application running on VMs, including tracking user requests, dependencies, and exceptions, while keeping costs low by using only the required telemetry.

D

An administrator needs to prevent accidental deletion or modification of critical VMs in a production environment. Deploying resource locks (e.g., CanNotDelete or ReadOnly) on each VM would be the correct answer.

Why candidates pick the wrong answer

B

Candidates may think that enabling diagnostic settings is a standard way to collect performance data, and they overlook the cost implications of sending all logs versus collecting only specific counters.

C

Candidates may confuse Application Insights as a general monitoring tool for VMs, not realizing it is focused on application-level telemetry rather than OS performance counters.

D

Candidates may confuse resource locks with monitoring or think that locking preserves the current state, including performance metrics, but locks only affect management operations, not data collection.

491
Multi-Selectmedium

Two workloads have different resilience requirements. Workload A must stay available if a single datacenter in the region fails. Workload B only needs protection from planned maintenance and a single hardware host failure. Which two deployment models should the administrator use? Select two.

Select 2 answers
A.Availability Zones for Workload A
B.Availability Set for Workload B
C.Virtual Machine Scale Set without zones
D.Proximity Placement Group
E.Single VM with premium SSD
AnswersA, B

Availability Zones are physically separate locations within an Azure region, each with independent power, cooling, and networking. By deploying Workload A across two or more zones, you ensure that a failure in one zone does not affect the other, protecting against a complete datacenter outage. This configuration achieves the highest resilience SLA of 99.99% for virtual machines.

Why this answer

Workload A requires protection against a full datacenter failure within a region. Availability Zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. Deploying VMs across multiple zones ensures that if one zone (datacenter) fails, the workload remains available in another zone.

Workload B only needs protection from planned maintenance and a single hardware host failure. An Availability Set distributes VMs across multiple fault domains (hardware hosts) and update domains (planned maintenance cycles), providing resilience against these specific failure scenarios without requiring zone-level separation.

Exam trap

The trap here is that candidates often confuse Availability Zones with Availability Sets, mistakenly thinking an Availability Set can protect against a full datacenter failure, or they assume a Virtual Machine Scale Set inherently provides zone-level resilience without explicitly configuring zones.

Why the other options are wrong

C

Virtual Machine Scale Set without zones does not protect against a full datacenter failure, as it operates within a single datacenter. It also does not provide the planned maintenance and single host failure protection that an Availability Set offers for Workload B.

D

Proximity Placement Groups reduce network latency between VMs but do not provide resilience against datacenter failures or planned maintenance; they are not a deployment model for high availability.

E

A single VM with premium SSD does not provide high availability; it protects only against disk failure, not datacenter or host failure, failing both Workload A's requirement for datacenter failure resilience and Workload B's need for planned maintenance protection.

When would these options actually be correct?

C

A question requiring automatic scaling of a stateless web application across multiple VMs without needing high availability against datacenter failures, such as 'Which deployment model should be used for a web app that needs to scale out based on CPU usage and can tolerate a single VM failure?'

D

When the question asks for minimizing inter-VM network latency for a latency-sensitive application (e.g., HPC or real-time data processing) and does not require high availability or fault tolerance.

E

A question that asks for a cost-effective solution for a single, non-critical application that must survive a local disk failure without data loss, and where downtime for maintenance is acceptable.

Why candidates pick the wrong answer

C

Candidates may confuse Scale Sets with high availability features, assuming they inherently provide resilience across datacenters, or they may think Scale Sets are equivalent to Availability Sets for planned maintenance protection.

D

Candidates may confuse proximity placement groups with availability sets or zones, thinking they offer some form of redundancy due to the word 'placement' or because they group VMs together.

E

Candidates may think premium SSD's high durability and performance are sufficient for resilience, overlooking that it does not address compute or datacenter-level failures.

492
MCQmedium

You have a storage account that stores infrequently accessed data that must remain available immediately when requested. You need to minimize storage costs. Which access tier should you use?

A.Premium
B.Hot
C.Cool
D.Archive
AnswerC

Cool tier is designed for data that is accessed infrequently but requires immediate availability, offering lower storage costs than Hot while keeping negligible retrieval latency. Its access charges are higher, but that is outweighed by the storage savings when reads are sparse, which directly matches the scenario's profile. Therefore Cool is the correct tier because it minimizes idle storage cost without forcing you to rehydrate the data before reading it.

Why this answer

The Cool access tier is designed for data that is infrequently accessed but still requires immediate availability when requested, offering lower storage costs than the Hot tier while maintaining low latency access. Since the data must remain available immediately, the Archive tier is unsuitable due to its multi-hour retrieval latency, and the Premium tier is optimized for high-performance scenarios, not cost minimization.

Exam trap

The trap here is that candidates often choose Archive for its lowest storage cost, overlooking the critical requirement for immediate availability, which Archive cannot provide due to its mandatory rehydration latency.

Why the other options are wrong

A

Premium tier is designed for low-latency, high-performance workloads, not for infrequently accessed data. It costs significantly more than Cool tier, so it does not minimize storage costs for this scenario.

B

The Hot tier is designed for frequently accessed data, not infrequently accessed data. Using it would incur higher storage costs than necessary for data that is rarely accessed.

D

The Archive tier has the lowest storage cost but requires hours to rehydrate data before access, violating the requirement that data must remain available immediately when requested.

When would these options actually be correct?

A

A question requiring sub-millisecond latency for frequently accessed data (e.g., a real-time analytics application) would make Premium the correct answer. The scenario would emphasize performance over cost.

B

When the question specifies that data is accessed frequently (e.g., multiple times per day) and requires low latency, the Hot tier is the correct choice to balance performance and cost.

D

When the question specifies that data is rarely accessed, can tolerate retrieval delays of up to 15 hours, and the primary goal is to minimize storage costs without any immediate availability requirement.

Why candidates pick the wrong answer

A

Candidates may assume 'Premium' implies better overall value or mistakenly think it offers lower costs for infrequent access due to its name, without understanding its high cost structure.

B

Candidates may think 'Hot' implies immediate availability, but they overlook the 'infrequently accessed' constraint, mistakenly prioritizing availability over cost optimization.

D

Candidates may assume that 'infrequently accessed' automatically means the cheapest tier (Archive) is best, overlooking the critical constraint of immediate availability.

493
MCQmedium

A team runs a Windows VM in Azure that uploads invoices to a blob container. Security policy forbids storing storage account keys or long-lived SAS tokens on the VM. The app must keep working until the VM is deleted, and access should disappear automatically when the VM is removed. What should the administrator configure?

A.Assign the VM's managed identity the Storage Blob Data Contributor role on the storage account or container.
B.Create an account SAS token with write permissions and store it in a secure file on the VM.
C.Assign the Reader role on the storage account to the VM's computer account.
D.Enable shared key access and rotate the storage account keys regularly.
AnswerA

This uses Entra ID-based authorization without storing secrets on the VM. A managed identity is tied to the VM lifecycle, so when the VM is deleted, the identity is removed too. The Storage Blob Data Contributor role grants the data-plane permissions needed to upload blobs, while keeping access scoped to only the required storage resource.

Why this answer

Assigning the VM's managed identity the Storage Blob Data Contributor role on the storage account or container allows the VM to authenticate to Azure Blob Storage without storing any keys or tokens. Managed identities provide an automatically managed service principal in Azure AD, and the application can use the Azure Instance Metadata Service (IMDS) to obtain an access token. When the VM is deleted, the managed identity is automatically removed, and the role assignment becomes invalid, so access disappears immediately.

Exam trap

The trap here is that candidates confuse the Reader role (management plane) with data plane roles like Storage Blob Data Contributor, or they assume that storing a SAS token securely is acceptable despite the explicit policy forbidding it.

Why the other options are wrong

B

Option B violates the security policy that forbids storing storage account keys or long-lived SAS tokens on the VM. An account SAS token is a long-lived credential that would need to be stored on the VM, and it does not automatically expire when the VM is deleted.

C

The Reader role only allows read access to storage account metadata, not data operations like uploading blobs. The VM's computer account is not used for Azure RBAC; managed identity or service principal is required.

D

Option D suggests enabling shared key access and rotating keys regularly, but the security policy forbids storing storage account keys on the VM. Even with rotation, the key must be present on the VM at some point, violating the policy. Additionally, shared key access does not automatically revoke access when the VM is deleted.

When would these options actually be correct?

B

This option would be correct if the question allowed storing credentials on the VM and required a time-limited access solution, such as generating a SAS token with a short expiry and securely storing it, while the VM's lifecycle is managed separately.

C

If the question required read-only access to storage account properties (e.g., listing containers or reading metrics) and the VM had a managed identity, assigning the Reader role would be correct.

D

This option would be correct if the question required using storage account keys for authentication, and the security policy allowed storing keys securely (e.g., in Azure Key Vault with automatic rotation). The VM would retrieve the key at runtime without storing it locally.

Why candidates pick the wrong answer

B

Candidates may think a SAS token is a secure way to grant access without exposing the account key, and they might overlook the security policy forbidding credential storage on the VM.

C

Candidates may confuse 'Reader role' with data access or think that a computer account can be used for Azure RBAC similarly to on-premises Active Directory.

D

Candidates may think that rotating keys regularly is a good security practice and that enabling shared key access is standard for storage accounts, overlooking the explicit policy forbidding key storage on the VM.

494
Multi-Selecthard

A company wants encrypted connectivity between its on-premises network and an Azure VNet. The organization has one edge VPN device at headquarters, and the Azure design must support a classic site-to-site tunnel rather than individual user VPN connections. Which three prerequisites are required? Select three.

Select 3 answers
A.Deploy a virtual network gateway in a dedicated GatewaySubnet.
B.Assign a public IP address to the Azure VPN gateway.
C.Configure the on-premises VPN device with a public IP and supported IKE/IPsec settings.
D.Create a private endpoint for the headquarters network.
E.Enable Microsoft peering on the virtual network gateway.
AnswersA, B, C

Azure VPN gateways must be deployed into the special GatewaySubnet within the VNet.

Why this answer

A virtual network gateway must be deployed in a dedicated subnet called GatewaySubnet to host the VPN gateway resources. This subnet is required for the gateway to function and must be named exactly 'GatewaySubnet' to be recognized by Azure when creating a site-to-site VPN connection.

Exam trap

The trap here is that candidates may confuse private endpoints (used for PaaS services) or ExpressRoute peering with the prerequisites for a classic site-to-site VPN, which strictly requires a GatewaySubnet, a public IP on the gateway, and a compatible on-premises VPN device.

Why the other options are wrong

D

Private endpoints are used for secure access to Azure PaaS services (e.g., Storage, SQL) over a private IP within a VNet, not for establishing site-to-site VPN connectivity between on-premises and Azure.

E

Microsoft peering is used for ExpressRoute, not site-to-site VPN. A classic site-to-site tunnel requires a VPN gateway with a public IP and IKE/IPsec settings, not peering.

When would these options actually be correct?

D

A company requires secure, private connectivity from on-premises to an Azure Storage account without traversing the public internet. In that scenario, creating a private endpoint for the storage account in the VNet would be a correct prerequisite.

E

In a scenario requiring private connectivity between Azure and an on-premises network via ExpressRoute, enabling Microsoft peering on the virtual network gateway allows access to Azure PaaS services over the ExpressRoute circuit.

Why candidates pick the wrong answer

D

Candidates may confuse 'private endpoint' with 'private IP' or think it provides a secure tunnel, not realizing that site-to-site VPN requires a VPN gateway and public IP, not a private endpoint.

E

Candidates may confuse 'peering' with VPN connectivity or think that enabling peering is a generic step for any hybrid connection, not realizing it's specific to ExpressRoute.

495
MCQeasy

A platform team must deploy the same group of Azure VMs every month from source control and wants the deployment to be repeatable and reviewable. Which approach should they use?

A.Manual portal deployment each month
B.A Bicep template in source control
C.A temporary virtual machine snapshot
D.A network security group rule collection
AnswerB

Bicep is an infrastructure-as-code language that is concise, readable, and well suited for Azure deployments. Storing the template in source control makes the deployment repeatable, auditable, and easy to modify over time. It is a strong choice when the team wants the same VM deployment every month.

Why this answer

Bicep is a domain-specific language (DSL) for deploying Azure resources declaratively. Storing a Bicep template in source control ensures the VM deployment is repeatable (same parameters produce identical infrastructure) and reviewable (changes are tracked via pull requests and commit history), meeting the team's requirements for infrastructure as code (IaC).

Exam trap

The trap here is that candidates may confuse a VM snapshot (a backup artifact) with a deployment template, or think manual portal steps can be 'repeatable' if documented, but Azure explicitly tests the concept that only IaC (Bicep/ARM) ensures true repeatability and auditability from source control.

Why the other options are wrong

A

Manual portal deployment is not repeatable, reviewable, or sourced from version control, failing the requirements for automation and auditability.

C

A temporary virtual machine snapshot is used for backup or recovery, not for repeatable, reviewable deployments from source control. It does not support versioning or infrastructure-as-code practices.

D

A network security group (NSG) rule collection controls traffic filtering, not VM deployment. It cannot deploy or manage VMs, so it fails to meet the requirement for repeatable and reviewable deployment from source control.

When would these options actually be correct?

A

For a one-time, ad-hoc deployment where speed is prioritized over repeatability and reviewability, such as quickly testing a configuration in a sandbox environment.

C

If the question asked for a method to quickly restore a VM to a known state for testing or disaster recovery, a VM snapshot would be correct. For example: 'A team needs to revert a VM to a previous state after a failed update.'

D

An exam question asks: 'You need to restrict inbound traffic to a subnet for all VMs. Which should you configure?' In that scenario, an NSG rule collection is the correct answer because it defines security rules to allow or deny network traffic.

Why candidates pick the wrong answer

A

Candidates may think manual deployment is simpler and sufficient for small-scale tasks, overlooking the need for repeatability and reviewability in a platform team context.

C

Candidates may think a snapshot can be stored and reused for monthly deployments, confusing it with a template or image that can be version-controlled.

D

Candidates may confuse NSG rule collections with deployment templates because both involve rules or definitions, or they might think NSG rules can automate VM provisioning due to the term 'collection' implying a set of resources.

496
MCQeasy

Based on the exhibit, the workload must keep running if an entire datacenter in the region becomes unavailable. The region supports availability zones. What should you deploy?

A.An availability set with one update domain per VM.
B.Availability zones with the VMs distributed across zones.
C.A single VM with a premium SSD data disk.
D.An Azure proximity placement group.
AnswerB

Availability zones are the correct choice because they place resources in separate datacenters within the same region. That gives the application resilience if one datacenter or zone becomes unavailable. The scenario explicitly asks for datacenter-level protection, which is what zones are designed to provide.

Why this answer

Availability zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. Deploying VMs across multiple zones ensures that if one entire datacenter fails, the workload continues running in the other zone(s), meeting the requirement for regional datacenter-level resilience.

Exam trap

The trap here is confusing availability sets (which protect against rack-level failures) with availability zones (which protect against datacenter-level failures), leading candidates to choose an availability set when the question explicitly requires surviving an entire datacenter outage.

Why the other options are wrong

A

An availability set protects against failures within a single datacenter (rack/update domain failures), not against an entire datacenter becoming unavailable. The question requires resilience across datacenters, which availability sets cannot provide.

C

A single VM with a premium SSD data disk does not provide high availability; it is a single point of failure. If the datacenter becomes unavailable, the VM and its data are inaccessible, failing to meet the requirement of keeping the workload running.

D

A proximity placement group reduces network latency between VMs but does not protect against an entire datacenter failure because it does not distribute VMs across different availability zones or fault domains.

When would these options actually be correct?

A

This option would be correct if the question required high availability for VMs within a single datacenter, such as protecting against planned maintenance or hardware failures, and the region did not support availability zones.

C

This option would be correct for a question requiring high-performance storage for a single VM, such as 'You need to maximize IOPS for a database VM running on a single node. What disk type should you use?'

D

An Azure proximity placement group would be correct when the requirement is to minimize network latency between VMs in a high-performance computing or tightly coupled application, and the question does not require high availability across datacenters.

Why candidates pick the wrong answer

A

Candidates may confuse availability sets with availability zones, or think that multiple update domains provide datacenter-level redundancy, not understanding that availability sets are confined to one datacenter.

C

Candidates may think premium SSD offers high reliability and performance, mistakenly believing it alone ensures availability, overlooking the need for redundancy across failure domains.

D

Candidates may confuse proximity placement groups with high availability solutions, thinking that grouping VMs close together ensures they fail over together, but they overlook the need for fault isolation across datacenters.

497
MCQmedium

A company wants to peer a new spoke virtual network with an existing hub VNet. The hub uses 10.20.0.0/16. The spoke was created with 10.20.1.0/24 because that range was still available in the IPAM spreadsheet. VNet peering creation fails. What should the administrator do first?

A.Enable gateway transit on the hub and retry the peering.
B.Add a route table to the spoke subnet so the networks can communicate.
C.Change the spoke VNet address space to a non-overlapping range, then recreate or update peering.
D.Configure a custom DNS server in the spoke to translate the overlapping range.
AnswerC

VNet peering requires the two virtual networks to have non-overlapping IP address spaces. Because the hub already uses 10.20.0.0/16, the spoke cannot use 10.20.1.0/24. The administrator must renumber the spoke to a different range, such as 10.21.0.0/16 or another approved block, before peering can succeed.

Why this answer

VNet peering in Azure requires that the address spaces of the peered virtual networks do not overlap. The hub uses 10.20.0.0/16, and the spoke uses 10.20.1.0/24, which is a subset of the hub's range. This overlap causes the peering creation to fail.

The administrator must first change the spoke's address space to a non-overlapping range (e.g., 10.21.0.0/24) and then recreate or update the peering.

Exam trap

The trap here is that candidates may think overlapping address spaces can be resolved by routing or DNS changes, but Azure explicitly prohibits peering with overlapping ranges, and no configuration workaround exists—the address space must be changed.

Why the other options are wrong

A

The peering fails because the spoke VNet (10.20.1.0/24) overlaps with the hub VNet (10.20.0.0/16). Enabling gateway transit does not resolve address space overlap; it only allows the spoke to use the hub's VPN gateway for connectivity to on-premises networks.

B

Adding a route table to the spoke subnet does not resolve the address overlap issue. VNet peering requires non-overlapping address spaces; routing cannot fix overlapping IP ranges.

D

The peering failure is due to overlapping address spaces (10.20.0.0/16 hub vs 10.20.1.0/24 spoke), not DNS resolution. Configuring a custom DNS server does not resolve the IP address overlap, which prevents peering from being established.

When would these options actually be correct?

A

In a scenario where the hub VNet has a VPN gateway and the spoke VNet needs to access on-premises resources through the hub, but the spoke does not have its own gateway. Enabling gateway transit on the hub and configuring the spoke to use remote gateways would be the correct first step.

B

In a scenario where VNet peering is already established but traffic is not flowing between subnets, adding a route table with a user-defined route (UDR) to direct traffic to the peered VNet's gateway or appliance would be the correct first step.

D

This option would be correct in a scenario where VNet peering is successful but resources in the spoke cannot resolve names from the hub (or vice versa) due to default Azure DNS not handling custom domains, requiring a custom DNS server to enable name resolution across peered VNets.

Why candidates pick the wrong answer

A

Candidates may confuse peering connectivity issues with gateway transit settings, thinking that enabling transit will force traffic through the hub and resolve routing conflicts, without realizing that overlapping address spaces are a fundamental design flaw that must be fixed first.

B

Candidates may think routing can solve connectivity issues between peered VNets, overlooking that peering itself fails due to overlapping address spaces, which is a prerequisite for peering.

D

Candidates may confuse overlapping address space issues with DNS resolution problems, thinking that a custom DNS server can translate overlapping IPs or resolve connectivity issues, when in fact overlapping ranges must be fixed at the network layer.

498
MCQeasy

The Azure portal shows that a storage service in the region is experiencing an outage that affects several Microsoft customers. The administrator wants to view official Azure status updates for that issue. Which Azure Monitor feature should be used?

A.Activity log
B.Service Health
C.Azure Advisor
D.Metrics explorer
AnswerB

Service Health is the dedicated Azure portal blade that aggregates Microsoft's platform status, including service incidents, planned maintenance, and health advisories for every Azure region and service. When a storage service experiences an issue in a specific region, Service Health surfaces the incident, affected regions, root-cause updates, and mitigation status directly from Microsoft's own telemetry. This is the authoritative source for verifying Microsoft-side incidents, distinct from the telemetry of your own resources.

Why this answer

Service Health is the correct Azure Monitor feature because it provides a personalized view of the health of Azure services, regions, and resources, including real-time and historical information about service-impacting events such as outages. It also surfaces official root cause analyses and planned maintenance, making it the appropriate tool for an administrator to view official Azure status updates for a regional outage affecting multiple customers.

Exam trap

The trap here is that candidates often confuse the Activity log (which tracks resource-level operations) with Service Health (which tracks Azure platform-level health), leading them to select Activity log when they need official outage status updates.

Why the other options are wrong

A

Activity log records operational events on Azure resources, but it does not provide official Azure service outage status updates. Service Health is the correct feature for viewing Azure service issues and planned maintenance.

C

Azure Advisor provides personalized recommendations for best practices in cost, security, reliability, and performance, but it does not display real-time service outage status or official Azure incident updates.

D

Metrics explorer is used to collect and analyze performance metrics (e.g., CPU usage, request latency) from Azure resources, not to view official outage status updates from Microsoft.

When would these options actually be correct?

A

An administrator needs to review who deleted a storage account and when. Activity log would be the correct feature to audit resource-level operations and changes.

C

An administrator wants to review personalized recommendations to improve the reliability of their Azure resources, such as configuring geo-redundant storage or enabling soft delete. In that scenario, Azure Advisor would be the correct feature.

D

An administrator needs to analyze the number of storage transactions over the past hour to identify a performance bottleneck. Metrics explorer would be the correct feature to query and chart this metric.

Why candidates pick the wrong answer

A

Candidates may confuse Activity log with Service Health because both involve logging and status, but Activity log is resource-specific, not service-wide.

C

Candidates may confuse Azure Advisor's 'reliability' recommendations with monitoring service health, or assume that any Azure monitoring tool would show outage information.

D

Candidates may confuse 'metrics' with 'status' or think that monitoring outages involves analyzing performance data, not realizing that Service Health is the dedicated service for Azure-wide issues.

499
MCQmedium

A VM in a subnet has both a subnet-level NSG and a NIC-level NSG. The subnet NSG allows inbound TCP 22 from the VirtualNetwork service tag, but the NIC NSG denies inbound TCP 22 from the same source. An administrator says the subnet rule should be enough because it allows the traffic. What is the actual behavior?

A.The allow rule wins because subnet NSGs always override NIC NSGs.
B.The traffic is blocked because a deny in either NSG is effective.
C.The traffic is allowed because service tags bypass NIC-level rules.
D.The connection succeeds unless a route table sends the traffic elsewhere.
AnswerB

Azure treats subnet and NIC NSGs as independent security layers that both apply to the packet. For a connection to succeed, traffic must be permitted by the effective rules of BOTH the subnet NSG and the NIC NSG. If either NSG contains a matching deny rule, that packet is immediately discarded — a later allow rule in the other NSG has no chance to override it. This is true regardless of whether the deny comes from the subnet layer or the NIC layer.

Why this answer

When both a subnet-level NSG and a NIC-level NSG are applied to a virtual machine, network traffic is evaluated against both NSGs. The effective rule is the most restrictive: if either NSG contains a deny rule that matches the traffic, the traffic is blocked. In this scenario, the NIC-level NSG explicitly denies inbound TCP 22 from the VirtualNetwork service tag, so even though the subnet NSG allows it, the deny at the NIC level takes precedence and the traffic is blocked.

Exam trap

The trap here is that candidates often assume subnet-level NSGs take precedence over NIC-level NSGs, but Azure actually applies both and the most restrictive rule (any deny) wins, making it critical to check both NSGs for conflicting rules.

Why the other options are wrong

A

In Azure, NSG rules are evaluated in order of priority, and a deny rule in either the subnet or NIC NSG will block traffic, regardless of an allow rule in the other NSG. Subnet NSGs do not override NIC NSGs; both are evaluated, and the most restrictive rule applies.

C

Service tags do not bypass NSG rules; NSGs are evaluated in order of priority, and a deny rule in the NIC NSG will block traffic regardless of the subnet NSG allow rule.

D

In Azure, NSG rules are evaluated in order of priority, and a deny rule in either the subnet or NIC NSG will block traffic. Route tables do not affect NSG rule evaluation; they only influence traffic routing.

When would these options actually be correct?

A

This option would be correct in a scenario where the question states that subnet NSGs have higher priority than NIC NSGs, or that subnet NSG rules override NIC NSG rules. For example, if the question specified that subnet NSGs are applied after NIC NSGs and can override them, then an allow at the subnet level would win.

C

If the question stated that the NIC NSG has no rule for TCP 22 and the subnet NSG allows it, then the traffic would be allowed because subnet NSG rules apply to all VMs in the subnet unless overridden by a NIC NSG rule.

D

A VM in a subnet has a subnet NSG allowing inbound TCP 22 from the VirtualNetwork service tag, but a route table on the subnet redirects traffic to a network virtual appliance. In this case, the connection may fail if the appliance does not forward the traffic, even though the NSG allows it.

Why candidates pick the wrong answer

A

Candidates may think that subnet-level NSGs are applied after NIC-level NSGs and thus can override them, or they may confuse NSG evaluation with route table precedence where subnet routes override NIC routes.

C

Candidates may mistakenly believe that service tags have special privileges or that subnet-level rules take precedence over NIC-level rules, leading them to think the allow rule overrides the deny.

D

Candidates may confuse the role of NSGs and route tables, thinking that routing decisions can override NSG rules, or they may incorrectly assume that a route table can bypass NSG deny rules.

500
MCQmedium

A support team must be able to start, stop, and restart virtual machines in one application resource group, but they must not create or delete VMs, modify disks, or manage networking. What is the best access approach?

A.Assign Contributor at the subscription scope so the team can manage all resources.
B.Create a custom RBAC role with only the required VM power actions and assign it at the resource group scope.
C.Assign Reader at the resource group scope and use Azure Policy to permit VM restarts.
D.Apply a resource lock to the resource group so the team can only make approved changes.
AnswerB

A custom role is appropriate when the built-in roles are broader than the actual task. By granting only the VM start, stop, and restart actions needed for that resource group, the administrator keeps permissions tightly limited. Assigning the role at the resource group scope also ensures the team cannot affect resources outside that application boundary.

Why this answer

Azure RBAC allows you to create a custom role with specific actions like Microsoft.Compute/virtualMachines/start/action, Microsoft.Compute/virtualMachines/restart/action, and Microsoft.Compute/virtualMachines/deallocate/action, and assign it at the resource group scope. This grants the support team exactly the permissions needed to start, stop, and restart VMs without allowing VM creation, deletion, disk modification, or networking changes, adhering to the principle of least privilege.

Exam trap

The trap here is that candidates often confuse Azure Policy or resource locks with RBAC, thinking they can grant or restrict permissions, when in fact they are separate governance tools—Policy enforces rules, locks prevent changes, and only RBAC roles control who can perform actions.

Why the other options are wrong

A

Assigning Contributor at the subscription scope grants far too many permissions, including the ability to create, delete, and modify VMs, disks, and networking, which violates the requirement to restrict those actions.

C

Reader role does not allow any write actions, including VM start/stop/restart, and Azure Policy cannot grant permissions—it only enforces compliance. Thus, this combination cannot provide the required power management capabilities.

D

A resource lock prevents deletion or modification of resources but does not grant permissions to start, stop, or restart VMs; it only blocks changes, so the team would have no ability to perform the required actions.

When would these options actually be correct?

A

This option would be correct if the question required the team to have full management capabilities over all resources in the subscription, including creating and deleting VMs, modifying disks, and managing networking, without any restrictions.

C

If the question required preventing unauthorized modifications while allowing read access, and the team needed to view VM status but not perform any actions, then assigning Reader at the resource group scope would be correct. Azure Policy could be used to audit or enforce settings, not to grant permissions.

D

In a scenario where the goal is to prevent accidental deletion or modification of critical resources while still allowing authorized users to manage them via RBAC, a resource lock would be correct. For example, a question asking 'How to protect a resource group from accidental deletion while allowing administrators to manage resources?' would make this option correct.

Why candidates pick the wrong answer

A

Candidates may think Contributor is a safe role that allows management without full admin rights, but they overlook that it includes permissions beyond the specific VM power actions needed.

C

Candidates may mistakenly believe that Azure Policy can override RBAC to grant specific actions, or think that combining Reader with Policy can selectively allow operations, not realizing that Policy only controls configuration compliance, not permissions.

D

Candidates may confuse resource locks with access control, thinking that locking the resource group somehow permits specific actions like VM restarts, or they may believe locks can be used to enforce allowed operations.

501
MCQhard

A line-of-business web tier consists of two Azure VMs in a region that supports availability zones. The business requirement is to survive a full datacenter outage in that region without deploying to a second region. What should the administrator use?

A.An availability set with multiple update domains
B.Availability zones with the VMs placed in different zones
C.A proximity placement group for both VMs
D.A single-zone virtual machine scale set
AnswerB

Availability zones are physically separate datacenter locations within an Azure region, each with independent power, cooling, and networking. By placing the two VMs in different zones, you eliminate a single-datacenter dependency, so if one zone experiences an outage (e.g., a regional storm or cooling failure), the other VM remains online. This is the only option listed that provides true datacenter-level fault isolation while keeping both VMs in the same region for low-latency traffic.

Why this answer

Availability zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. Placing the two VMs in different zones ensures that if one entire datacenter fails, the other VM remains operational, meeting the requirement to survive a full datacenter outage without deploying to a second region.

Exam trap

The trap here is that candidates confuse availability sets (which protect within a datacenter) with availability zones (which protect across datacenters), leading them to choose an availability set despite the explicit requirement to survive a full datacenter outage.

Why the other options are wrong

A

An availability set protects against rack-level failures within a single datacenter, not against a full datacenter outage. The requirement to survive a full datacenter outage demands distribution across availability zones, which are physically separate datacenters within a region.

C

A proximity placement group reduces network latency between VMs but does not protect against a full datacenter outage because all VMs in the group could be in the same datacenter.

D

A single-zone VMSS places all VMs in the same availability zone, which cannot survive a full datacenter outage because that zone is tied to a single datacenter.

When would these options actually be correct?

A

An availability set would be correct if the requirement was to protect against hardware failures within a single datacenter (e.g., server rack or network switch failure) while keeping VMs in the same datacenter for low latency, and the region does not support availability zones.

C

An administrator needs to minimize network latency between two VMs for a high-performance computing workload, and the VMs must be in the same region but as close as possible.

D

If the requirement were to achieve high availability within a single datacenter (e.g., to protect against server or rack failures) without needing to survive a full datacenter outage, a single-zone VMSS with multiple instances would be correct.

Why candidates pick the wrong answer

A

Candidates may confuse update domains with fault domains or assume that multiple update domains provide datacenter-level redundancy, not realizing that availability sets only span a single datacenter.

C

Candidates may confuse proximity placement groups with high availability features, thinking that placing VMs close together ensures they are in different failure domains.

D

Candidates may think VMSS inherently provides high availability across zones, but a single-zone VMSS only distributes across fault domains within one zone, not across zones.

502
Matchinghard

A platform team is tuning alerting for a production VM and the surrounding Azure resources. Match each Azure Monitor component to the function it performs in this design.

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

Concepts
Matches

Evaluates a numeric Azure Monitor metric and fires when a threshold or dynamic condition is met.

Runs a KQL query against workspace data and fires when the query result matches the condition.

Delivers notifications or automation such as email, SMS, webhook, or runbook execution.

Exports resource logs and metrics to a destination such as Log Analytics, storage, or Event Hub.

Monitors subscription-level control-plane events such as deletes, writes, or policy actions.

Why these pairings

Azure Monitor Metrics handles numerical data, Logs handles log data; Application Insights is for app monitoring; Alerts notify on conditions; Workbooks and Dashboards are visualization tools.

503
Drag & Dropmedium

Order the steps to configure Azure Traffic Manager for geographic routing.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

Create profile, set geographic routing, add endpoints with mapping, configure monitoring, update DNS.

504
MCQeasy

A finance department wants several Windows virtual machines to map the same shared drive letter and work with the same files at the same time. Which Azure Storage service should you configure?

A.Azure Blob container
B.Azure Files share
C.Archive blob tier
D.Storage account access key only
AnswerB

Azure Files delivers a fully managed SMB 3.0/3.1.1 file share that Windows VMs can map to a drive letter (e.g., Z:) using standard `net use` or mounting in the OS. It supports NTFS ACLs, integration with Active Directory, and the same file-locking semantics as an on-premises file server, making it the correct choice for shared departmental drives. Unlike blob storage, Azure Files is expressly designed for multi-VM access with concurrent SMB clients.

Why this answer

Azure Files provides fully managed file shares in the cloud that support the SMB protocol, allowing multiple Windows VMs to mount the same share with a consistent drive letter (e.g., Z:) and access the same files concurrently. This meets the finance department's requirement for shared access with a mapped drive letter, which Azure Blob storage cannot provide because it uses REST APIs rather than SMB.

Exam trap

The trap here is that candidates confuse Azure Blob storage (object storage) with Azure Files (file storage), assuming that any storage service can provide a mapped drive letter, but only Azure Files supports SMB-based file shares for concurrent VM access.

Why the other options are wrong

A

Azure Blob containers provide object storage for unstructured data and do not support SMB protocol or drive letter mapping required for simultaneous file sharing across multiple Windows VMs.

C

Archive blob tier is for cost-effective storage of infrequently accessed blob data with high latency, not for simultaneous file sharing with drive letter mapping.

D

A storage account access key only provides authentication to the storage account, not a shared drive letter mapping or concurrent file access. It does not offer the SMB protocol support needed for Windows VMs to map a drive letter.

When would these options actually be correct?

A

When the requirement is to store and serve large amounts of unstructured data, such as images, videos, or backups, via HTTP/HTTPS, and no need for shared drive letter mapping or SMB access.

C

When the question asks for the most cost-effective storage tier for long-term backup data that is rarely accessed and can tolerate hours of retrieval latency.

D

When the question asks for the method to authenticate to Azure Files or Blob storage from a script or application, and the correct answer is to use a storage account access key (or connection string) for programmatic access.

Why candidates pick the wrong answer

A

Candidates may confuse blob storage with file shares because both can store files, and they might overlook the specific need for SMB protocol and drive letter mapping.

C

Candidates may confuse 'archive' with a general storage solution or think it can be used for file sharing because it stores data in Azure.

D

Candidates may think that the access key is sufficient to enable drive mapping, confusing authentication with the actual file sharing protocol (SMB) required for drive letter mapping.

505
Multi-Selecthard

A developer has the Contributor role on a resource group. A Bicep deployment that creates a VM with a public IP fails with a policy denial, but the same template succeeds after the public IP resource is removed. Which two statements are true? Select two.

Select 2 answers
A.The Contributor role allows deployments in the resource group, but it cannot override a deny policy inherited from a higher scope.
B.The policy assignment can apply to the resource group because policy inheritance flows from management group to subscription to resource group.
C.A CanNotDelete lock is the reason the public IP resource cannot be created.
D.Assigning Owner on the resource group would automatically bypass the policy denial and allow the template to deploy unchanged.
E.Moving the VM to another subnet in the same virtual network would remove the inherited policy effect.
AnswersA, B

Contributor grants broad management rights within its scope, but Azure Policy enforcement is separate from RBAC. A deny effect blocks the resource creation even when the user has sufficient permissions. The fact that the deployment succeeds once the public IP is removed strongly indicates a policy rule, not a permissions issue.

Why this answer

The Contributor role grants full management access to resources within the resource group, but it cannot override Azure Policy effects such as 'deny'. Policy inheritance flows from higher scopes (management group, subscription) down to the resource group, and even a Contributor cannot bypass a deny policy assigned at a higher scope. The Bicep deployment fails specifically because the public IP resource violates a policy rule, not because of a lack of permissions on the role itself.

Exam trap

The trap here is confusing Azure Policy denials with Azure role-based access control (RBAC) or resource locks, leading candidates to incorrectly assume that a higher-privileged role like Owner can override a policy denial, or that a CanNotDelete lock blocks resource creation.

Why the other options are wrong

C

A CanNotDelete lock prevents deletion of existing resources, not creation of new ones. The failure is due to a policy denial, not a lock.

D

Assigning the Owner role on the resource group does not automatically bypass Azure Policy denials. Policies are enforced at the Azure Resource Manager level and override any role permissions, including Owner.

E

Moving a VM to another subnet does not affect policy inheritance; policies are assigned to scopes (management group, subscription, resource group) and apply to all resources within that scope regardless of subnet.

When would these options actually be correct?

C

A question where a resource cannot be deleted and the error message indicates a lock is in place, or where a deployment fails because it tries to delete a locked resource.

D

This option would be correct if the question stated that the deployment failed due to a resource lock (e.g., CanNotDelete) instead of a policy denial. In that case, assigning Owner would allow the user to remove or override the lock.

E

If the question described a network security group (NSG) rule blocking traffic, and moving the VM to a different subnet with a different NSG resolved the issue, then this option would be correct.

Why candidates pick the wrong answer

C

Candidates may confuse locks with policies, or think that a 'deny' effect is equivalent to a lock, leading them to incorrectly attribute the failure to a CanNotDelete lock.

D

Candidates may assume that higher privileges like Owner can override any restriction, confusing Azure Policy (which is an explicit deny) with role-based access control or resource locks.

E

Candidates may confuse policy inheritance with network-level restrictions, thinking that changing subnets can alter policy applicability.

506
MCQmedium

Security wants one assignment that enforces all of these controls across several subscriptions: allowed Azure regions, required tags, and disabling public network access on specific resources. Which Azure feature should you use?

A.A single Azure Policy definition with one rule for all three controls
B.An Azure Policy initiative that contains multiple related policy definitions
C.A management group lock applied to the subscriptions
D.A custom RBAC role assigned at the management group
AnswerB

An initiative lets you group multiple policies into one assignment, which is ideal for enforcing a broader security baseline.

Why this answer

An Azure Policy initiative (also called a policy set) is the correct choice because it groups multiple independent policy definitions into a single assignable unit. This allows you to enforce all three distinct controls—allowed regions, required tags, and disabling public network access—across several subscriptions in one assignment, while keeping each rule as a separate policy definition for easier management and granular effect.

Exam trap

The trap here is that candidates often think a single policy definition can contain multiple rules (like a JSON array of conditions), but Azure Policy requires each definition to have exactly one policyRule, so an initiative is the only way to bundle separate controls into one assignment.

Why the other options are wrong

A

A single Azure Policy definition can only enforce one rule (e.g., allowed regions, required tags, or disabling public network access), not all three controls simultaneously. The question requires multiple controls, which necessitates an initiative (a collection of definitions).

C

A management group lock prevents accidental deletion or modification of resources, but it cannot enforce allowed regions, required tags, or disable public network access. Locks do not apply policy controls.

D

Custom RBAC roles control permissions (who can do what), not enforcement of resource configurations like allowed regions, tags, or network settings. The question asks for enforcing controls, not granting permissions.

When would these options actually be correct?

A

This option would be correct if the question asked for enforcing a single control, such as 'allowed Azure regions only' across multiple subscriptions. A single policy definition is sufficient for one rule.

C

An exam question asks: 'You need to prevent all users from deleting a critical subscription. Which feature should you use?' In that case, a management group lock (specifically a CanNotDelete lock) would be correct.

D

A custom RBAC role assigned at the management group would be correct if the question asked for granting a specific set of permissions (e.g., 'allow read access to all resources but prevent deletion') across multiple subscriptions, without requiring policy enforcement.

Why candidates pick the wrong answer

A

Candidates may think a single policy definition can contain multiple rules (like an if-then statement with multiple conditions), but Azure Policy definitions are limited to one effect per definition. They confuse a policy definition's flexibility with an initiative's grouping capability.

C

Candidates may confuse management group locks with policy enforcement, thinking a lock can enforce compliance rules, when locks only protect against deletion or modification.

D

Candidates may confuse RBAC with policy because both can be assigned at management groups and affect multiple subscriptions, but RBAC governs access, not compliance or configuration enforcement.

507
MCQmedium

Based on the exhibit, what should the administrator configure so the container group can pull the private image without storing registry credentials?

A.Assign a managed identity to the container group and grant it AcrPull on the registry.
B.Store the ACR admin account password in a container environment variable.
C.Use a SAS token for the container image reference.
D.Place the registry in the same resource group as the container group.
AnswerA

Managed identity-based access is the correct secret-free method for Azure Container Instances to authenticate to Azure Container Registry. By assigning an identity to the container group and granting that identity the AcrPull role on the registry, the group can pull the private image without storing credentials in the template. This satisfies both security and operational requirements.

Why this answer

Azure Container Groups support managed identities, which allow the container group to authenticate to Azure Container Registry (ACR) without storing any credentials. By assigning a system-assigned or user-assigned managed identity to the container group and granting it the AcrPull role on the registry, the container runtime can use Azure AD authentication to pull the private image. This eliminates the need to store registry admin credentials or SAS tokens in the container configuration.

Exam trap

The trap here is that candidates often confuse SAS tokens (used for Azure Storage) with ACR authentication, or assume that resource group placement or admin credentials are valid solutions, when the core requirement is to use Azure AD-based authentication via a managed identity to avoid storing any credentials.

Why the other options are wrong

B

Storing the ACR admin account password in a container environment variable exposes credentials in plain text, which violates security best practices and does not meet the requirement of 'without storing registry credentials.'

C

A SAS token is used for granting time-limited access to Azure Storage resources, not for authenticating to Azure Container Registry. Container groups pull images using registry credentials, not SAS tokens.

D

Placing the registry in the same resource group as the container group does not grant any authentication permissions; the container group still needs credentials to pull a private image.

When would these options actually be correct?

B

This option would be correct if the question asked for a simple way to authenticate to ACR for testing purposes, without requiring managed identities or key vault, and security concerns were not a factor.

C

If the question were about accessing a private container image stored in Azure Blob Storage (e.g., using a custom container runtime), a SAS token on the image reference would provide temporary access without storing credentials.

D

If the question asked about minimizing cross-resource group costs or simplifying resource management, placing resources in the same resource group could be correct. For example, 'What should an administrator do to reduce network egress costs between a container registry and a container group?'

Why candidates pick the wrong answer

B

Candidates may think environment variables are a secure way to pass secrets, or they may be unaware of managed identity as a more secure alternative for Azure resources.

C

Candidates may confuse SAS tokens with other access methods, thinking they can be used for any Azure resource, or they may recall that SAS tokens are used for secure access without credentials in storage scenarios.

D

Candidates may mistakenly believe that same resource group implies automatic access or trust, confusing resource group scope with actual authentication mechanisms.

508
MCQmedium

Based on the exhibit, what should the administrator do so VM-B resolves the storage account name to the private IP address?

A.Create a service endpoint on VNet-B and leave DNS unchanged.
B.Link the private DNS zone to VNet-B.
C.Assign a public IP address to the private endpoint.
D.Add a route table with a next hop to the storage account.
AnswerB

The DNS zone link lets workloads in VNet-B resolve the storage name to the private endpoint address.

Why this answer

The private DNS zone for the storage account must be linked to VNet-B so that VM-B can resolve the storage account's fully qualified domain name (FQDN) to the private IP address of the private endpoint. Without this link, the DNS resolution will fall back to the public endpoint, bypassing the private connectivity. Linking the zone ensures Azure's default DNS servers return the private IP for the storage account within VNet-B.

Exam trap

The trap here is that candidates often confuse network-level controls (like service endpoints or route tables) with DNS resolution, assuming that private connectivity alone will automatically change name resolution without explicitly linking the private DNS zone.

Why the other options are wrong

A

Creating a service endpoint on VNet-B does not enable private DNS resolution for the storage account; it only allows traffic to the storage account's public endpoint via the Azure backbone network. The question requires resolving the storage account name to a private IP address, which requires linking the private DNS zone to VNet-B.

C

Assigning a public IP to the private endpoint does not affect DNS resolution for the storage account; it only exposes the endpoint to the internet, which defeats the purpose of private connectivity and does not make VM-B resolve the name to the private IP.

D

Adding a route table with a next hop to the storage account does not affect DNS resolution; it only controls network traffic routing. The issue is that VM-B cannot resolve the storage account name to the private IP address, which requires DNS configuration, not routing.

When would these options actually be correct?

A

This option would be correct if the question asked: 'How can you ensure that traffic from VM-B to the storage account stays within the Azure backbone network without using a private endpoint?' In that scenario, a service endpoint on VNet-B would route traffic to the storage account's public endpoint over the Azure backbone.

C

If the question were about enabling internet-based clients to access a storage account through a private endpoint (e.g., for hybrid scenarios), assigning a public IP to the private endpoint could be part of a solution to allow inbound traffic from the internet while still using private IP for internal traffic.

D

This option would be correct if the question were about ensuring traffic from VM-B to the storage account goes through a specific network virtual appliance (NVA) or firewall for inspection, and the storage account is accessed via its public endpoint. In that case, a route table with a next hop to the NVA would force traffic accordingly.

Why candidates pick the wrong answer

A

Candidates may confuse service endpoints with private endpoints, thinking both provide private IP resolution. They might also believe that a service endpoint alone can change DNS resolution, which it cannot.

C

Candidates may think that adding a public IP to the private endpoint will make the endpoint reachable and thus DNS resolution will work, confusing connectivity with DNS resolution.

D

Candidates may confuse DNS resolution with network routing, thinking that directing traffic to the storage account's IP via a route table will also make the name resolve to that IP. They overlook that DNS is separate from routing.

509
MCQmedium

A blob was moved to the Archive tier last month. A project team now needs the file available later today, and they expect to read it several times during review. What should the administrator do first?

A.Copy the blob directly from Archive to a local machine and reopen it there.
B.Start a rehydration request and move the blob to the Hot tier with high priority.
C.Change the blob to the Cool tier immediately and expect it to become available within minutes.
D.Create a lifecycle rule to move the blob back to Hot automatically on the next day.
AnswerB

Archive data must be rehydrated before it can be read. If the team needs the file later today and will access it repeatedly, rehydrating it to Hot with high priority is the fastest practical choice.

Why this answer

A blob in the Archive tier is offline and must be rehydrated (changed to Hot or Cool) before it can be accessed. Using high-priority rehydration ensures the blob becomes available within 1 hour, which meets the requirement for later today. The Hot tier is appropriate since the team expects to read the blob several times, providing low-latency access without incurring read costs from Cool tier.

Exam trap

The trap here is that candidates assume changing the tier directly (e.g., to Cool) makes the blob instantly accessible, but in reality, any tier change from Archive triggers a rehydration process with significant latency, and only high-priority rehydration guarantees availability within an hour.

Why the other options are wrong

A

Copying a blob directly from the Archive tier to a local machine is not possible because the blob is offline and must first be rehydrated (moved to a hot or cool tier) before it can be accessed or copied.

C

Changing a blob to the Cool tier does not immediately make it available; Archive blobs must be rehydrated first, which can take hours. The Cool tier also has a higher latency than Hot, and the question requires availability later today with multiple reads, making Hot with high priority rehydration the correct choice.

D

Creating a lifecycle rule to move the blob back to Hot automatically on the next day does not meet the immediate need for the file to be available later today. Lifecycle rules run once per day, so the blob would not be available until the next day at the earliest.

When would these options actually be correct?

A

If the blob were already in a hot or cool tier (i.e., online), copying it to a local machine would be a valid first step for local access.

C

This option would be correct if the blob were already in the Cool tier and needed to be accessed quickly, or if the question specified that the blob was in the Cool tier and the goal was to reduce costs while still maintaining reasonable access times.

D

This option would be correct if the question stated that the blob needs to be available starting tomorrow and no immediate access is required. For example: 'A blob is in the Archive tier and will be needed for a project starting next week. The administrator wants to automate the transition back to Hot tier without manual intervention.'

Why candidates pick the wrong answer

A

Candidates may think that copying from Archive is as straightforward as copying from any other tier, not realizing that Archive blobs are offline and require rehydration first.

C

Candidates may think that changing the access tier directly is sufficient, not realizing that Archive blobs require an explicit rehydration step before they can be read. They might also underestimate the time needed for rehydration and assume Cool tier access is fast enough.

D

Candidates may think that lifecycle rules can be used to schedule the rehydration, but they overlook that lifecycle rules run only once per day and cannot provide immediate access.

510
Multi-Selecthard

A compliance team wants newly uploaded monthly reports to remain in the Hot tier for 90 days and then move automatically to a cheaper online tier without becoming offline. Which two configurations should the administrator use? Select two.

Select 2 answers
A.Create a blob lifecycle management rule.
B.Configure the rule to transition blobs from Hot to Cool after 90 days.
C.Transition the blobs to Archive after 90 days so they cost less than Cool.
D.Use file share snapshots because lifecycle rules do not apply to blobs.
E.Enable soft delete on the container to change access tiers automatically.
AnswersA, B

A blob lifecycle management rule is a policy you define on a storage account that automatically executes actions—such as tiering or deleting—based on rules like age, size, or blob type. It runs daily and evaluates new uploads, making it ideal for monthly reports because you can enforce cost-saving transitions without manual intervention. The rule is the correct starting point because it is the actual Azure feature designed for automated storage-tier governance.

Why this answer

Azure Blob Lifecycle Management rules allow administrators to automate tier transitions for blobs based on age or other conditions. Option B is correct because transitioning from Hot to Cool after 90 days meets the requirement of moving to a cheaper online tier (Cool is online and less expensive than Hot) while keeping the data accessible without becoming offline.

Exam trap

The trap here is that candidates often confuse the Archive tier as a 'cheaper online' option, but Archive is offline and requires rehydration, while Cool is the correct online tier for cost savings after 90 days.

Why the other options are wrong

C

The question requires the data to remain online (not offline). Archive tier is offline and requires rehydration to access, so transitioning to Archive violates the requirement for a cheaper online tier.

D

File share snapshots are used for point-in-time recovery of Azure Files, not for automatic tier transitions. Lifecycle management rules do apply to blobs, making this option incorrect.

E

Soft delete is used to protect blobs from accidental deletion or overwrites, not to automatically change access tiers. It does not transition blobs between tiers based on age.

When would these options actually be correct?

C

In a scenario where the compliance team wants to minimize storage costs for data that is rarely accessed and can tolerate several hours of retrieval time (e.g., regulatory archives with access latency up to 15 hours), transitioning to Archive after 90 days would be correct.

D

If the question asked for a method to preserve previous versions of files in Azure Files for rollback or recovery purposes, enabling file share snapshots would be the correct answer.

E

If the question asked for a feature to recover accidentally deleted blobs or to retain deleted blobs for a specified period, enabling soft delete on the container would be correct.

Why candidates pick the wrong answer

C

Candidates may mistakenly think Archive is always cheaper than Cool and overlook the 'online' requirement, or they may not know that Archive is an offline tier.

D

Candidates may confuse file share snapshots with blob snapshots or think that snapshots can automate tier changes, not realizing they serve a different purpose.

E

Candidates may confuse soft delete with lifecycle management because both involve automatic actions on blobs, or they might think 'soft delete' implies moving data to a cheaper, less accessible state.

511
MCQmedium

A subnet uses a route table with gateway route propagation disabled so internet-bound traffic can be forced through a network virtual appliance. After the change, VMs in the subnet can no longer reach servers in the on-premises network 172.16.0.0/16 over the VPN gateway. What should the administrator add to the route table?

A.A user-defined route for 172.16.0.0/16 with next hop type Virtual network gateway.
B.A user-defined route for 172.16.0.0/16 with next hop type Internet.
C.An NSG allow rule for TCP 172.16.0.0/16.
D.A service endpoint for the on-premises network range.
AnswerA

When gateway route propagation is disabled, the subnet no longer learns on-premises routes automatically from the VPN gateway. Adding a specific route for the on-premises prefix with next hop Virtual network gateway restores reachability to that network while keeping the forced-tunneling design for other traffic.

Why this answer

When gateway route propagation is disabled on a route table, the subnet no longer receives the default system routes that include the VPN gateway route for on-premises networks. To restore connectivity to 172.16.0.0/16, you must add a user-defined route (UDR) with next hop type 'Virtual network gateway', which explicitly directs traffic for that prefix through the VPN gateway. This overrides the missing propagated route and forces the traffic to the on-premises network correctly.

Exam trap

The trap here is that candidates confuse routing (UDR) with filtering (NSG) or connectivity methods (service endpoints), assuming an NSG rule or service endpoint can fix a routing issue, when only a user-defined route with the correct next hop type can restore traffic flow to the on-premises network.

Why the other options are wrong

B

The next hop type 'Internet' would route traffic destined for 172.16.0.0/16 to the internet, not to the on-premises network via the VPN gateway, breaking connectivity.

C

An NSG rule controls traffic at the network interface or subnet level based on ports and protocols, but it cannot route traffic to a VPN gateway. The issue is a missing route for 172.16.0.0/16, not a firewall rule.

D

Service endpoints are used to secure Azure service access to specific virtual networks, not to route traffic to on-premises networks. They do not affect routing to on-premises destinations like 172.16.0.0/16.

When would these options actually be correct?

B

This option would be correct if the question asked how to force internet-bound traffic from the subnet through a network virtual appliance, or if the on-premises network was reachable via the internet (e.g., using a public IP).

C

An NSG allow rule for 172.16.0.0/16 would be correct if the question described that VMs cannot reach on-premises servers due to an NSG denying the traffic, and the solution required allowing inbound or outbound traffic on a specific port (e.g., TCP 3389 for RDP).

D

A service endpoint would be correct if the question asked how to ensure that traffic from a subnet to an Azure service (e.g., Azure Storage) stays within the Microsoft backbone and does not traverse the internet, while also restricting access to that service from only that subnet.

Why candidates pick the wrong answer

B

Candidates may mistakenly think that because the route table has gateway route propagation disabled, they need to explicitly route all traffic, including on-premises traffic, to the internet as a default.

C

Candidates may confuse network security groups (NSGs) with routing, thinking that allowing traffic via NSG will fix connectivity, but NSGs do not provide routing paths.

D

Candidates may confuse service endpoints with VPN or ExpressRoute connectivity, thinking they can extend network reach to on-premises, or they may believe service endpoints can replace route tables for hybrid connectivity.

512
Matchingmedium

A team is choosing the right Azure Monitor alert type for different operational signals. Match each alert type to the situation it is best suited for.

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

Concepts
Matches

Alerts on a numeric measurement such as average CPU, disk queue length, or memory utilization.

Evaluates a KQL query and alerts when matching records appear in a workspace.

Responds to subscription-level control-plane events such as create, delete, or policy changes.

Indicates that a specific Azure resource is unhealthy or unavailable.

Notifies on Azure platform incidents, advisories, or maintenance affecting a region or service.

Why these pairings

Metric alerts monitor numeric values; Activity log alerts on resource changes; Log alerts query log data; Smart detection finds anomalies; Resource health alerts on resource status; Service health alerts on Azure service issues.

513
MCQmedium

Based on the exhibit, an administrator wants to prevent new Azure resources from being deployed in any region except East US and West US across the entire Corp hierarchy. What should the administrator configure?

A.Assign a built-in RBAC role that denies deployments in unsupported regions.
B.Create and assign an Azure Policy at the Corp management group using the allowed locations rule.
C.Apply a CanNotDelete lock to the subscriptions.
D.Use a resource tag named RegionApproved and require teams to set it manually.
AnswerB

Azure Policy is the correct tool for enforcing location compliance. Assigning the policy at the Corp management group ensures the restriction applies to all current and future child subscriptions, and a deny effect blocks noncompliant region deployments at creation time.

Why this answer

Azure Policy is the correct tool to enforce governance rules across management groups. The 'allowed locations' built-in policy definition restricts resource deployment to specified regions. By assigning this policy at the Corp management group, the rule applies to all child subscriptions and resources, preventing deployment in any region except East US and West US.

Exam trap

The trap here is confusing Azure Policy (which enforces rules on resource properties) with RBAC (which controls access) or resource locks (which prevent deletion), leading candidates to choose an option that addresses permissions rather than configuration compliance.

Why the other options are wrong

A

RBAC roles control access to Azure resources (who can do what), not which regions are allowed for deployment. A built-in RBAC role cannot enforce region restrictions; Azure Policy is required for such governance.

C

A CanNotDelete lock prevents deletion of resources but does not restrict deployment regions; it cannot block resource creation in non-allowed regions.

D

Resource tags are not enforced; they rely on manual compliance and do not prevent deployment in unapproved regions. Azure Policy is required to enforce allowed locations across the management group hierarchy.

When would these options actually be correct?

A

If the question asked: 'An administrator wants to prevent a specific user from deploying resources in any region except East US and West US.' Then assigning a custom RBAC role with a deny action on unsupported regions would be correct.

C

If the question asked how to prevent accidental deletion of critical subscriptions or resource groups, applying a CanNotDelete lock at the subscription or resource group level would be correct.

D

If the question asked for a method to track which resources are approved for deployment in specific regions without blocking deployments, or to report on compliance after the fact, then requiring a 'RegionApproved' tag would be correct.

Why candidates pick the wrong answer

A

Candidates may confuse RBAC's deny assignments with policy enforcement, thinking that a role can restrict deployment locations, when in fact RBAC only manages permissions, not resource properties.

C

Candidates may confuse locks with policy restrictions, thinking a lock can block all operations including creation, or they may misremember the purpose of CanNotDelete locks.

D

Candidates may think tags can enforce governance because they are used for organization and cost tracking, but they lack the enforcement capability of Azure Policy.

514
MCQmedium

Based on the exhibit, the security team wants an alert whenever someone changes the configuration of a storage account, such as disabling public network access. The current rule is a metric alert on transaction count. What should you use instead?

A.Keep the metric alert and lower the threshold to 10 transactions.
B.Create a service health alert because storage account settings affect platform status.
C.Use a Log Analytics query alert against VM guest logs to detect network-rule changes.
D.Create an activity log alert for write operations on the storage account resource.
AnswerD

Configuration changes to a storage account are control-plane actions and appear in the Azure Activity log. An activity log alert on write operations is the right monitoring approach because it detects management changes, not traffic patterns.

Why this answer

Activity log alerts are designed to monitor Azure resource-level operations, such as write actions that modify storage account configurations. Option D is correct because it creates an alert specifically for write operations on the storage account resource, which captures events like disabling public network access. This is the appropriate method for detecting configuration changes, unlike metric alerts which track performance data.

Exam trap

The trap here is that candidates confuse metric alerts (which monitor performance counters like transaction count) with activity log alerts (which monitor resource management operations), leading them to choose options that track the wrong type of data.

Why the other options are wrong

A

Lowering the threshold to 10 transactions does not change the metric type; it still monitors transaction count, not configuration changes like disabling public network access. Activity log alerts are required for resource configuration changes.

B

Service health alerts monitor issues with Azure services themselves, not configuration changes to individual resources like storage accounts. The question asks for alerts on storage account configuration changes, which are tracked via the Azure activity log, not service health.

C

The question asks about detecting configuration changes to a storage account, not about VM guest OS logs. Log Analytics query alerts against VM guest logs would only capture events within the VM, not Azure resource-level changes like storage account network rule modifications.

When would these options actually be correct?

A

This option would be correct if the question asked for a metric alert to detect a sudden drop in storage account transactions (e.g., due to a network outage) and the threshold needed adjustment to trigger earlier.

B

A service health alert would be correct if the question asked to be notified when Azure declares an outage or planned maintenance affecting storage accounts, or when a region-wide issue impacts storage services. For example: 'Create an alert to notify the team if Azure reports a service issue with storage accounts in the East US region.'

C

This option would be correct if the question were: 'You need to alert when a specific application running on a VM changes its network configuration, such as disabling a firewall rule. What should you use?' In that case, VM guest logs would capture the application-level changes.

Why candidates pick the wrong answer

A

Candidates may think reducing the threshold makes the alert more sensitive to any change, not realizing that metric alerts only track performance metrics, not configuration operations.

B

Candidates may think that changes to storage account settings (like disabling public network access) could affect the platform's health status, or they confuse service health alerts with resource-level monitoring. The term 'service health' sounds like it covers all health-related alerts.

C

Candidates may confuse Azure resource-level changes (tracked via Activity Log) with guest OS-level changes (tracked via Log Analytics), or think that all monitoring requires Log Analytics queries.

515
MCQeasy

A web front end must automatically add or remove instances based on demand. The application is stateless and all instances should be managed as one group. Which Azure service should you use?

A.A single Azure VM with a larger size
B.Virtual Machine Scale Set
C.Availability set
D.Managed disk snapshots
AnswerB

A Virtual Machine Scale Set is designed for multiple similar VMs that need to scale together. It is a good fit for stateless workloads because instances can be added or removed without special per-VM configuration. You can also combine it with autoscale rules to respond to changing demand automatically.

Why this answer

Virtual Machine Scale Sets (VMSS) automatically scale the number of VM instances in or out based on demand or a defined schedule, making them ideal for stateless, horizontally scalable applications. They manage all instances as a single group behind a load balancer, ensuring uniform configuration and seamless scaling without manual intervention.

Exam trap

The trap here is that candidates confuse availability sets (which only provide fault tolerance) with auto-scaling, or mistakenly think that a single large VM can handle variable load by resizing, when the question explicitly requires automatic addition/removal of instances as a group.

Why the other options are wrong

A

A single larger VM cannot automatically scale out/in based on demand; it only provides more resources for a single instance, not dynamic scaling across multiple instances.

C

An availability set provides high availability for VMs within a datacenter but does not support automatic scaling based on demand. It cannot add or remove instances automatically.

D

Managed disk snapshots are point-in-time backups of disks, not a scaling solution. They cannot automatically add or remove instances based on demand.

When would these options actually be correct?

A

For a stateless application that requires high performance and does not need auto-scaling, such as a dedicated database server or a single-instance application with predictable load, a single larger VM would be appropriate.

C

You need to ensure that two or more VMs hosting a critical application remain available during planned or unplanned maintenance events, and you want to guarantee that they are placed on different fault and update domains.

D

A question asks for a method to create a backup of a virtual machine's OS disk for disaster recovery purposes, where the backup should be stored as a managed resource.

Why candidates pick the wrong answer

A

Candidates may think that a larger VM can handle increased load by itself, overlooking the need for automatic scaling and high availability across multiple instances.

C

Candidates may confuse availability sets with scaling capabilities, thinking that the 'availability' in the name implies automatic scaling, or they may not fully understand the difference between high availability and auto-scaling.

D

Candidates may confuse snapshots with scaling mechanisms, thinking snapshots can be used to create new instances quickly, but they lack automation and load-based scaling.

516
Multi-Selectmedium

You are an Azure administrator for a company that runs critical virtual machines (VMs) in Azure. You need to configure a monitoring solution that will alert you when the average CPU usage of a specific VM exceeds 90% for more than 15 minutes. Which three of the following actions should you take to set up this alert? (Choose three.)

Select 3 answers
.Create a metric alert rule in Azure Monitor targeting the VM's 'Percentage CPU' metric.
.Configure the alert condition to fire when the average CPU usage is greater than 90 for a period of 15 minutes.
.Define an action group that includes an email notification to the operations team.
.Create a log alert rule based on the VM's performance counters collected in Log Analytics.
.Enable Azure Diagnostic Settings on the VM to send performance data to a storage account.
.Configure an Application Insights availability test to monitor the VM's CPU.

Why this answer

A metric alert rule in Azure Monitor is the correct approach because it directly monitors a specific metric like 'Percentage CPU' from the VM without requiring additional data collection. Configuring the condition to fire when the average CPU usage exceeds 90% for a period of 15 minutes ensures the alert triggers only after sustained high usage, reducing noise. Defining an action group with email notification is necessary to alert the operations team when the alert fires, completing the monitoring solution.

Exam trap

The trap here is that candidates often confuse metric alerts with log alerts or diagnostic settings, thinking that log-based monitoring is required for CPU alerts, when in fact metric alerts are the native, simpler solution for host-level metrics like CPU usage.

517
MCQeasy

You want to deploy a resource group with Bicep and see the changes Azure plans to make before you apply them. Which command should you run?

A.az deployment group what-if
B.az deployment group create
C.az group delete
D.az vm update
AnswerA

The `az deployment group what-if` command is specifically designed to preview the changes that a Bicep or ARM template deployment would make to a resource group, without actually applying them. It runs Azure's What-If engine on the compiled template and reports resource additions, deletions, and property modifications, giving you a safe, pre-flight review of the deployment plan.

Why this answer

The `az deployment group what-if` command is correct because it performs a dry-run validation of a Bicep (or ARM) deployment against a resource group, showing the changes Azure will make (create, modify, delete) without actually applying them. This is the Azure equivalent of a 'what-if' analysis, allowing you to review the impact before execution.

Exam trap

The trap here is that candidates often confuse `az deployment group what-if` with `az deployment group create`, assuming that `create` also provides a preview, but `create` immediately applies changes without any dry-run capability.

Why the other options are wrong

B

The `az deployment group create` command deploys resources immediately without previewing changes, whereas the question specifically asks to see planned changes before applying them.

C

The 'az group delete' command removes a resource group and its resources, not preview changes. The question asks to see planned changes before applying them, which requires the what-if operation.

D

The 'az vm update' command is used to modify properties of an existing virtual machine, not to preview changes before deploying a resource group with Bicep.

When would these options actually be correct?

B

This command is correct when the question asks to deploy a Bicep file to a resource group and apply the changes immediately, without requiring a preview.

C

This command would be correct in a scenario where you need to delete an entire resource group and all its resources, such as cleaning up test environments after validation.

D

This command would be correct when the question asks: 'You need to change the VM size of an existing Azure virtual machine. Which command should you run?'

Why candidates pick the wrong answer

B

Candidates may confuse the deployment command with the what-if command, thinking that 'create' includes a preview step, or they may not know the what-if feature exists.

C

Candidates might confuse 'what-if' with deletion because both involve analyzing the current state, but they serve opposite purposes: preview vs. removal.

D

Candidates might confuse the 'what-if' functionality with updating resources, or think that 'az vm update' can simulate changes because it modifies VM settings.

518
MCQmedium

A team standardizes 30 Windows VMs for a line-of-business application. They install IIS, a monitoring agent, and baseline security settings on one reference VM. Future deployments must use that same build and be easy to version. Which Azure feature should the administrator create?

A.A snapshot of the reference VM's OS disk
B.An image version in Azure Compute Gallery
C.An availability set for the reference VM
D.A custom script extension on each new VM
AnswerB

Azure Compute Gallery is designed for publishing, versioning, and distributing custom VM images. It lets administrators capture a hardened reference image, create managed versions, and deploy consistent new VMs from that approved build across environments or regions.

Why this answer

B is correct because an image version in Azure Compute Gallery (formerly Shared Image Gallery) captures the entire VM configuration—including IIS, monitoring agent, and security settings—into a reusable, versioned image. This allows the team to deploy standardized VMs from the same build and easily manage updates by creating new image versions, meeting the requirements for consistency and versioning.

Exam trap

The trap here is that candidates often confuse a snapshot with an image, thinking a snapshot can be used to deploy standardized VMs, but snapshots lack versioning, regional replication, and the ability to create multiple VMs directly without additional conversion steps.

Why the other options are wrong

A

A snapshot captures only the OS disk at a point in time and does not support versioning, sharing across subscriptions, or creating multiple VMs with the same build easily. It lacks the image management and replication capabilities needed for standardized, version-controlled deployments.

D

Custom script extensions run post-deployment tasks but do not capture or version the entire VM build (OS, IIS, agent, security settings). The question requires a reusable, versioned image, which only Azure Compute Gallery provides.

When would these options actually be correct?

A

If the question asked for a quick, one-time backup or a way to restore a single VM to a specific state without needing to manage multiple versions or share images across regions, a snapshot would be the correct answer.

D

When the requirement is to run a configuration script (e.g., install IIS, apply settings) on existing VMs after deployment, without needing to capture a full image. For example: 'Deploy 30 VMs from a marketplace image and then run a script to install IIS and monitoring agent.'

Why candidates pick the wrong answer

A

Candidates may think a snapshot is sufficient for creating similar VMs because it captures the disk state, but they overlook the need for versioning, replication, and ease of deployment that an image gallery provides.

D

Candidates may think custom script extensions can automate the setup of new VMs, but they overlook the need for a standardized, versioned base image that includes all pre-installed components.

519
MCQmedium

Your operations team wants to query collected VM log data by using Kusto Query Language and retain it centrally for analysis. Which Azure resource should you deploy?

A.A Log Analytics workspace
B.An availability set
C.A local user account on each VM
D.A network security group
AnswerA

A Log Analytics workspace is the central data repository and query platform for Azure Monitor Logs. Each workspace provides a unique log namespace where agents (such as Azure Monitor Agent or the legacy Log Analytics agent) and diagnostic settings deliver VM logs, performance counters, and events. You can then run KQL (Kusto Query Language) queries across all collected logs, create alerts, and build workbooks without having to access individual VMs.

Why this answer

A Log Analytics workspace is the correct Azure resource because it serves as the central repository for VM log data collected via Azure Monitor agents. It supports Kusto Query Language (KQL) for querying and analyzing the collected data, enabling the operations team to perform advanced log analytics and retention. This aligns directly with the requirement to query and retain VM log data centrally.

Exam trap

The trap here is that candidates might confuse a Log Analytics workspace with a simple storage account or think that local accounts or NSGs can somehow be used for log aggregation, but only a Log Analytics workspace provides the KQL query engine and central retention required for this scenario.

Why the other options are wrong

B

An availability set is a logical grouping of VMs to ensure high availability during platform updates and failures; it does not provide log querying or retention capabilities.

C

A local user account on each VM is used for authentication and access control, not for querying or retaining VM log data centrally with Kusto Query Language.

D

A network security group (NSG) filters traffic to and from Azure resources but does not collect, store, or query log data. It is not a data analytics or retention service.

When would these options actually be correct?

B

When the question asks for a solution to ensure high availability for virtual machines by distributing them across fault and update domains, deploying an availability set is the correct answer.

C

In a scenario where you need to provide administrative access to a VM without using Azure AD or domain accounts, deploying a local user account on each VM would be correct for local authentication.

D

You need to control inbound and outbound traffic to virtual machines or subnets. For example, a question asking 'Which resource should you use to restrict access to a VM based on source IP address?' would have NSG as the correct answer.

Why candidates pick the wrong answer

B

Candidates may confuse 'availability' with 'data availability' for analysis, or mistakenly think that an availability set includes monitoring or logging features.

C

Candidates may mistakenly think that local user accounts can be used to collect or query logs, confusing user management with log analytics capabilities.

D

Candidates may confuse NSG diagnostic logs (which can be sent to Log Analytics) with the actual query and retention capability, or think NSGs inherently store log data for analysis.

520
MCQmedium

Based on the exhibit, a support lead must manage role assignments for RG-Apps so the team can grant or revoke access for others. The support lead must not be able to change resource configurations. Which role should you assign?

A.Owner at RG-Apps
B.Contributor at RG-Apps
C.User Access Administrator at RG-Apps
D.Reader at RG-Apps
AnswerC

User Access Administrator is designed specifically for managing Azure RBAC access without granting full resource configuration rights. Assigning it at the resource group scope lets the support lead create and remove role assignments for RG-Apps while avoiding unnecessary management permissions.

Why this answer

The User Access Administrator role at the RG-Apps scope allows the support lead to manage role assignments (grant or revoke access) for others without having permissions to modify resource configurations. This role is specifically designed for delegating access management while preventing changes to the resources themselves, which aligns with the requirement.

Exam trap

The trap here is that candidates often confuse the Contributor role (which can manage resources but not access) with the User Access Administrator role, or mistakenly think the Owner role is required for managing role assignments, overlooking the specific delegation capability of User Access Administrator.

Why the other options are wrong

A

The Owner role at RG-Apps includes full management access, including the ability to change resource configurations, which violates the requirement that the support lead must not be able to change resource configurations.

B

The Contributor role allows managing resources but cannot grant or revoke role assignments to others, which is the primary requirement for the support lead.

D

Reader role only allows read access to resources, not the ability to manage role assignments. The support lead needs to grant or revoke access for others, which requires role assignment permissions.

When would these options actually be correct?

A

If the requirement were for a user to have full control over resources and role assignments at the resource group scope, including the ability to modify resources, then the Owner role would be correct.

B

A question where the requirement is for a user to deploy and manage resources (e.g., virtual machines, storage) but not manage access for others, and the scope is a resource group.

D

In a scenario where a user only needs to view resource configurations and properties without making any changes or managing access, such as a compliance auditor reviewing resource settings in a subscription.

Why candidates pick the wrong answer

A

Candidates may think Owner is necessary to manage role assignments because it has full permissions, overlooking that the User Access Administrator role specifically grants only access management without resource modification rights.

B

Candidates may confuse Contributor with User Access Administrator, thinking Contributor includes all management capabilities, but it lacks the ability to manage role assignments.

D

Candidates may think Reader is sufficient because the support lead should not change resource configurations, but they overlook that managing role assignments requires higher privileges than read-only.

521
MCQmedium

Based on the exhibit, the operations team wants an alert that fires when any VM has not sent a heartbeat in the last 15 minutes. Which KQL query should they use as the condition for the log alert?

A.Heartbeat | summarize LastSeen=max(TimeGenerated) by Computer | where LastSeen > ago(15m)
B.Heartbeat | summarize LastSeen=max(TimeGenerated) by Computer | where LastSeen < ago(15m)
C.Heartbeat | where TimeGenerated > ago(15m) | summarize count() by Computer | where count() == 0
D.Heartbeat | distinct Computer | where Computer == "VM01"
AnswerB

This query summarizes the most recent heartbeat per computer and then filters for systems whose latest record is older than 15 minutes. That matches the requirement to alert when a VM has stopped sending heartbeat data.

Why this answer

The query uses `summarize max(TimeGenerated) by Computer` to get the latest heartbeat timestamp per VM, then filters with `where LastSeen < ago(15m)` to identify VMs whose last heartbeat is older than 15 minutes. This directly matches the alert condition: any VM that has not sent a heartbeat in the last 15 minutes.

Exam trap

The trap here is that candidates often confuse the direction of the time comparison, picking Option A (which fires on VMs that *have* sent a heartbeat recently) instead of Option B (which fires on VMs that have *not* sent a heartbeat recently).

Why the other options are wrong

A

This query fires when the last heartbeat was seen within the last 15 minutes (LastSeen > ago(15m)), which is the opposite of the desired condition. The alert should trigger when no heartbeat has been received for 15 minutes, i.e., LastSeen is older than 15 minutes.

C

The query filters for heartbeats in the last 15 minutes and then summarizes count by Computer. If a VM has no heartbeats in that window, the count is 0, but the 'where count() == 0' clause will not return any rows because the summarize operator only produces rows for computers that have at least one heartbeat in the time range. Thus, VMs with no heartbeat are never represented in the result.

D

This query returns a list of distinct computer names, filtered to only 'VM01'. It does not check heartbeat timeliness or alert on missing heartbeats for all VMs.

When would these options actually be correct?

A

This query would be correct if the requirement was to alert when a VM has sent a heartbeat within the last 15 minutes (e.g., to confirm active VMs). For example: 'Alert when any VM has sent a heartbeat in the last 15 minutes.'

C

This query would be correct if the alert should fire when a VM has sent fewer than a certain number of heartbeats (e.g., less than 2) in the last 15 minutes, and the heartbeat table includes a row for each heartbeat event. For example, 'Heartbeat | where TimeGenerated > ago(15m) | summarize count() by Computer | where count() < 2' would alert on VMs with insufficient heartbeats.

D

If the question asked for an alert that fires only when a specific VM (e.g., 'VM01') has not sent a heartbeat, and the alert condition is based on the absence of a result from this query (e.g., using a 'Result count' condition of 0), then this query would be appropriate.

Why candidates pick the wrong answer

A

Candidates often confuse the direction of the time comparison, thinking 'greater than ago(15m)' means 'older than 15 minutes' instead of 'more recent than 15 minutes ago'.

C

Candidates may think that filtering for heartbeats in the last 15 minutes and then checking for zero count will catch VMs with no heartbeats, but they overlook that the summarize operator only returns computers that have data in the filtered set, so computers with zero heartbeats are absent from the result.

D

Candidates may think that listing distinct computers is a necessary step to identify which VMs are missing, or they may confuse the need to filter by a specific VM with the general requirement to monitor all VMs.

522
MCQmedium

A subnet has a NAT gateway attached, but outbound internet traffic from the VMs is still leaving through a network virtual appliance. The subnet's route table includes a user-defined route for 0.0.0.0/0 with the next hop set to Virtual appliance. The business wants internet traffic to use the NAT gateway while keeping any required specific routes to on-premises networks. What should the administrator do?

A.Keep the default route and add a second NAT gateway to the subnet.
B.Remove the 0.0.0.0/0 user-defined route and keep only specific routes for private prefixes.
C.Disable network security groups on the subnet so the NAT gateway becomes active.
D.Set gateway route propagation to Disabled so the NAT gateway is preferred.
AnswerB

A subnet-level 0.0.0.0/0 UDR to a virtual appliance overrides the system route that would otherwise let the NAT gateway handle internet-bound traffic. Removing that default route restores normal outbound internet handling through the NAT gateway, while more specific routes for on-premises or private destinations can remain in place. This preserves both functionality and control.

Why this answer

The user-defined route (UDR) for 0.0.0.0/0 with next hop Virtual appliance is overriding the NAT gateway's default route. NAT gateways require a default route (0.0.0.0/0) with next hop 'Internet' to direct outbound traffic through them. By removing the conflicting UDR and keeping only specific routes for on-premises prefixes, the subnet will use the NAT gateway for internet traffic while maintaining connectivity to on-premises networks via the remaining UDRs.

Exam trap

The trap here is that candidates mistakenly think NAT gateways can coexist with a default UDR to a virtual appliance, or that disabling gateway propagation or adding more NAT gateways will override the UDR, when in fact the UDR's higher priority always wins for the 0.0.0.0/0 prefix.

Why the other options are wrong

A

Adding a second NAT gateway does not resolve the conflict; the 0.0.0.0/0 user-defined route with next hop Virtual appliance still overrides the NAT gateway for outbound internet traffic, because UDRs have higher priority than the default route to the NAT gateway.

C

Disabling NSGs does not affect route selection; the NAT gateway is not used because the user-defined route for 0.0.0.0/0 with next hop Virtual appliance overrides the default route to the NAT gateway.

D

Disabling gateway route propagation does not affect the priority of a NAT gateway over a user-defined route (UDR). The 0.0.0.0/0 UDR with next hop Virtual Appliance still has higher priority than the NAT gateway's default route, so traffic continues to use the NVA.

When would these options actually be correct?

A

In a scenario where a subnet already uses a NAT gateway for internet traffic but needs additional outbound capacity or redundancy, adding a second NAT gateway to the subnet (with proper routing) could distribute traffic. The question would not involve a conflicting UDR for 0.0.0.0/0.

C

If a subnet has a NAT gateway but outbound traffic is blocked by NSG rules (e.g., default deny outbound), disabling NSGs would allow the NAT gateway to route traffic outbound. This would be correct when the issue is NSG filtering, not routing.

D

In a scenario where a subnet has forced tunneling enabled (e.g., via VPN gateway) and you want to allow direct internet access from the subnet, you would disable gateway route propagation to prevent the forced tunneling route from overriding the NAT gateway's default route.

Why candidates pick the wrong answer

A

Candidates may think that multiple NAT gateways can share the load or override the NVA, but they misunderstand that the UDR explicitly directs traffic to the NVA, and adding another NAT gateway does not change the route priority.

C

Candidates may mistakenly think NSGs can override routing decisions or that disabling them is a quick fix for connectivity issues, confusing security filtering with route preference.

D

Candidates may confuse gateway route propagation with route priority, thinking that disabling propagation removes competing routes and allows the NAT gateway to take over, but they overlook that the explicit UDR still exists and has higher precedence.

523
MCQmedium

A subnet has a route table with a 0.0.0.0/0 user-defined route to an on-premises virtual appliance. The business now wants Azure VM outbound internet traffic to use a NAT gateway so the public source IP stays consistent, and the firewall appliance is no longer required for internet egress. What should the administrator do?

A.Keep the default route to the virtual appliance and add the NAT gateway to the subnet.
B.Remove the 0.0.0.0/0 UDR and associate the NAT gateway with the subnet.
C.Change the route next hop to Virtual network gateway.
D.Create an NSG outbound rule that allows internet traffic from the subnet.
AnswerB

NAT gateway is used for outbound internet traffic when the subnet does not already force that traffic elsewhere. Because the 0.0.0.0/0 UDR sends all internet-bound packets to the virtual appliance, NAT gateway cannot provide the source IP. Removing the UDR allows the subnet to use the NAT gateway for outbound connectivity as intended.

Why this answer

Removing the 0.0.0.0/0 user-defined route (UDR) that points to the on-premises virtual appliance and associating a NAT gateway with the subnet ensures that all outbound internet traffic from Azure VMs uses the NAT gateway's public IP address. The NAT gateway automatically creates a default route (0.0.0.0/0) with a next hop type of 'Internet' for the subnet, overriding any conflicting UDRs. This provides a consistent source IP for internet egress without requiring the firewall appliance.

Exam trap

The trap here is that candidates may think a NAT gateway can coexist with a conflicting UDR (Option A) or that changing the next hop to a virtual network gateway (Option C) will provide internet egress, when in fact the UDR must be removed to allow the NAT gateway's default route to take effect.

Why the other options are wrong

A

Keeping the 0.0.0.0/0 UDR to the virtual appliance forces internet traffic through the appliance, bypassing the NAT gateway. The NAT gateway requires the subnet's default route to be 0.0.0.0/0 with next hop 'Internet' to handle outbound traffic directly.

C

Changing the route next hop to Virtual network gateway would route traffic to a VPN gateway or ExpressRoute gateway, which does not provide NAT gateway functionality for consistent public IP. The NAT gateway must be associated with the subnet, and the UDR to the appliance must be removed to allow direct internet egress.

D

An NSG outbound rule allows traffic but does not provide a consistent public source IP; NAT gateway is required for that. The NSG cannot replace the route table change needed to bypass the virtual appliance.

When would these options actually be correct?

A

If the business still required the firewall appliance for inspection or logging of internet traffic, but also needed a consistent public IP for outbound traffic, you would keep the UDR to the appliance and add the NAT gateway to the subnet (though this setup is not supported by Azure NAT gateway).

C

This option would be correct if the requirement was to route internet-bound traffic through a VPN gateway for inspection or to connect to on-premises resources, and the NAT gateway was not needed. For example, if the business wanted to force all internet traffic through a site-to-site VPN to a central inspection point.

D

If the question asked how to allow internet outbound traffic from a subnet while still using the on-premises firewall for inspection, an NSG outbound rule could be used to permit the traffic, but the route would still direct it to the firewall.

Why candidates pick the wrong answer

A

Candidates may think the NAT gateway can coexist with the existing UDR, assuming the NAT gateway overrides the route, but in reality the UDR takes precedence and traffic still goes to the appliance.

C

Candidates may think that changing the next hop to a virtual network gateway is a way to route traffic through a gateway that can provide NAT, but they confuse Virtual network gateway with NAT gateway. They also may not understand that NAT gateway requires subnet association and removal of conflicting UDRs.

D

Candidates may think NSGs control outbound internet access and assume adding an allow rule is sufficient, overlooking that routing and source NAT are separate concerns.

524
MCQmedium

Based on the exhibit, which restart policy should be configured for the container group?

A.Always
B.OnFailure
C.Never
D.UnlessStopped
AnswerC

Never is the correct restart policy for a one-time task that should stop after finishing successfully. The exhibit describes a batch-style import job, not a long-running service. Using Never ensures the container exits and stays stopped until the next deployment or scheduled run. That behavior matches operational expectations for a completed import process.

Why this answer

The container group in the exhibit is configured with a restart policy of 'Never' because it is designed to run a batch job that should execute once and then terminate. Azure Container Instances supports three restart policies: Always, OnFailure, and Never. Since the task is a one-time job, 'Never' ensures the container does not restart after completion, which is the correct choice for a single-run workload.

Exam trap

The trap here is that candidates confuse Docker's native restart policies (which include 'UnlessStopped') with Azure Container Instances' supported policies, leading them to select 'UnlessStopped' even though it is not available in ACI.

Why the other options are wrong

A

The exhibit shows a container group that runs a batch job; 'Always' would cause the container to restart indefinitely even after successful completion, which is not desired for a one-time task.

B

The container group is designed for a single-run task (e.g., a batch job) that must not restart after completion. OnFailure would restart the container if it exits with a non-zero code, but the task is expected to succeed and should not restart even on failure.

D

The question asks for a restart policy for a container group, and 'UnlessStopped' is not a valid restart policy for Azure Container Instances; the valid options are Always, Never, and OnFailure.

When would these options actually be correct?

A

For a container group running a long-lived service like a web server that must be automatically restarted after any crash or stop, 'Always' is correct.

B

A container group runs a batch processing job that should automatically restart only if it fails (non-zero exit code). For example, a data transformation task that must be retried upon failure until success.

D

In a Docker environment (not Azure Container Instances), 'UnlessStopped' is a valid restart policy. An exam question about Docker container restart policies where the container should restart unless explicitly stopped would have 'UnlessStopped' as the correct answer.

Why candidates pick the wrong answer

A

Candidates may think 'Always' is the default or safest restart policy, not realizing that for batch jobs or tasks that should run once, 'Never' or 'OnFailure' is appropriate.

B

Candidates often associate OnFailure with batch jobs that need retry on error, but overlook that the question's exhibit shows a task that must not restart under any condition, making Never the correct choice.

D

Candidates may confuse Docker restart policies with Azure Container Instances policies, or they might think 'UnlessStopped' is a more flexible version of 'Always' that stops restarting when the container is manually stopped.

525
MCQmedium

After a Windows VM is deployed, an administrator must install IIS, copy application files, and run a post-deployment configuration script without connecting interactively to the server. Which Azure feature should be used?

A.Custom Script Extension.
B.An availability zone assignment.
C.A route table association.
D.A user-assigned managed identity alone.
AnswerA

The Custom Script Extension (CSE) is a VM extension that executes scripts on the virtual machine immediately after provisioning or at any later time. It runs as SYSTEM (Windows) or root (Linux), enabling commands such as `Install-WindowsFeature Web-Server` or `apt install nginx` without requiring an interactive RDP/SSH session. CSE can be deployed via ARM templates, Azure CLI, PowerShell, or portal, and is the standard method for post-deployment software installation like IIS. It supports idempotency if the script is written to check for existing installations, and it can retrieve scripts from Azure Storage or GitHub.

Why this answer

The Custom Script Extension (CSE) is the correct Azure feature because it allows you to run scripts on an Azure VM after deployment without requiring interactive login. It is specifically designed for post-deployment configuration tasks like installing IIS, copying application files, and executing configuration scripts, all executed via the Azure VM agent.

Exam trap

The trap here is that candidates may confuse the Custom Script Extension with other automation tools like Azure Automation or Desired State Configuration (DSC), but the question specifically requires a feature that runs a script post-deployment without interactive login, and CSE is the direct, lightweight solution for that task.

Why the other options are wrong

B

Availability zones are for high availability and fault tolerance by distributing resources across physically separate datacenters; they do not provide any mechanism to install software or run scripts on a VM.

C

A route table association controls network traffic routing between subnets and does not install software or run scripts on a VM.

D

A user-assigned managed identity alone provides authentication to Azure resources but does not execute scripts or install software on a VM. The question requires running a post-deployment configuration script, which is beyond the capability of a managed identity.

When would these options actually be correct?

B

When a question asks how to protect a VM from datacenter failures or ensure high availability, selecting an availability zone assignment would be correct. For example: 'You need to deploy a VM that remains available if one datacenter fails. Which feature should you use?'

C

When a question asks how to force all outbound traffic from a subnet through a network virtual appliance (NVA) or firewall, associating a route table with a user-defined route (UDR) that points to the NVA is the correct answer.

D

A user-assigned managed identity would be correct in a scenario where a VM needs to authenticate to Azure services (e.g., Azure Key Vault, Azure Storage) without storing credentials, and no script execution is required. For example, an application running on the VM needs to access secrets from Key Vault using the managed identity.

Why candidates pick the wrong answer

B

Candidates may confuse availability zones with automation features because the term 'zone' sounds like a configuration step, leading them to think it can be used for post-deployment tasks.

C

Candidates may confuse network configuration tasks (like routing) with post-deployment automation, thinking route tables can somehow trigger actions on VMs.

D

Candidates may confuse managed identities with extensions that perform configuration tasks, or they might think that a managed identity can be used to run scripts via some other mechanism, overlooking that the Custom Script Extension is the direct solution for script execution.

Page 6

Page 7 of 14

Page 8