Courseiva

AZ-104 (AZ-104) — Questions 826900

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

Page 11

Page 12 of 14

Page 13
826
MCQeasy

An NSG on a subnet has these inbound rules: Deny-All-Inbound at priority 100 and Allow-RDP-from-AdminSubnet at priority 200. Administrators on AdminSubnet still cannot RDP to a VM in the subnet. What should the network administrator change?

A.Delete the deny rule so only the allow rule remains.
B.Move the allow rule to a lower priority number than 100.
C.Change the VM to a different availability zone.
D.Create a private endpoint for the VM.
AnswerB

NSG rules are evaluated in ascending priority order, where the lowest numeric value is processed first and the first matching rule determines the outcome. The current deny-all rule at priority 100 will match any inbound traffic, so a lower-priority allow rule (with a higher number, e.g., 200) is never reached. By moving the RDP allow rule to a priority number below 100, it is evaluated before the deny rule and permits the connection, while the deny rule still blocks all other unsolicited inbound traffic.

Why this answer

The NSG rules are evaluated in priority order, with lower numbers having higher precedence. The Deny-All-Inbound rule at priority 100 blocks all traffic, including RDP from AdminSubnet, before the Allow-RDP-from-AdminSubnet rule at priority 200 is evaluated. To allow RDP traffic, the allow rule must have a lower priority number (e.g., 90) than the deny rule (100), ensuring it is evaluated first and permits the traffic before the deny rule blocks it.

Exam trap

The trap here is that candidates assume allow rules override deny rules regardless of priority, but Azure NSGs use priority-based evaluation where the first matching rule (lowest priority number) wins, so a higher-priority deny rule will block traffic even if a lower-priority allow rule exists.

Why the other options are wrong

A

Deleting the deny rule would remove all inbound traffic restrictions, allowing any source to reach the subnet, which is overly permissive and violates security best practices. The issue is that the allow rule at priority 200 is never evaluated because the deny rule at priority 100 is processed first.

C

Changing the VM to a different availability zone does not affect NSG rule evaluation; NSG rules are applied at the subnet or NIC level regardless of zone.

D

Creating a private endpoint for the VM does not affect NSG rules; private endpoints are used for secure access to Azure PaaS services, not for RDP connectivity to VMs.

When would these options actually be correct?

A

In a scenario where an NSG has a low-priority deny rule that is too restrictive and the intent is to allow all traffic except specific threats, deleting the deny rule and relying on default allow rules or a more permissive rule set could be correct. For example, if the requirement is to allow all inbound traffic and only block known malicious IPs via a higher-priority deny rule.

C

In a scenario where a VM in a specific availability zone is experiencing network connectivity issues due to a zonal outage or a zone-specific network virtual appliance failure, moving the VM to a different zone could restore connectivity.

D

In a scenario where a VM needs to be accessed securely from on-premises without exposing it to the internet, creating a private endpoint for the VM (via Private Link) would be the correct solution.

Why candidates pick the wrong answer

A

Candidates may think that removing the conflicting deny rule will directly solve the connectivity issue without understanding NSG rule priority evaluation order, assuming that allow rules can override deny rules regardless of priority.

C

Candidates may mistakenly think that availability zones affect network security or that moving a VM to a different zone could bypass NSG rules.

D

Candidates may confuse private endpoints with a general networking solution for connectivity issues, not realizing they are specific to PaaS services and do not override NSG rules for IaaS VMs.

827
MCQhard

You need to collect Windows event logs and performance counters from multiple Azure virtual machines and query the data by using Kusto Query Language. Which Azure resource should you use?

A.A Log Analytics workspace
B.A Recovery Services vault
C.Azure Network Watcher
D.A load balancer
AnswerA

A Log Analytics workspace is the correct destination because it acts as Azure Monitor's centralized data repository for telemetry such as Windows event logs (collected in the Event table) and performance counters (stored in the Perf table). The Azure Monitor Agent (or legacy Log Analytics agent) sends this VM data to the workspace, where it can be analyzed using KQL queries, visualized in workbooks, and used to trigger alerts. Without a workspace, you cannot run log analytics queries over these OS-level metrics and events.

Why this answer

A Log Analytics workspace is the correct Azure resource for collecting Windows event logs and performance counters from Azure VMs and querying them using Kusto Query Language (KQL). It serves as the central repository where diagnostic data is ingested via the Azure Diagnostics extension or the Log Analytics agent, enabling rich log analytics and custom KQL queries.

Exam trap

The trap here is that candidates often confuse a Log Analytics workspace with Azure Monitor itself, but the workspace is the specific resource that stores and queries the data, while Azure Monitor is the overarching service; the question explicitly asks for the resource that collects and queries the data, which is the workspace.

Why the other options are wrong

B

A Recovery Services vault is used for backup and disaster recovery, not for collecting and querying Windows event logs and performance counters with Kusto Query Language.

C

Azure Network Watcher is used for network monitoring and diagnostics, not for collecting and querying Windows event logs and performance counters with KQL.

D

A load balancer distributes network traffic and does not collect or store Windows event logs or performance counters, nor does it support Kusto Query Language queries.

When would these options actually be correct?

B

You need to back up Azure virtual machines and restore files or folders from a backup. In that scenario, a Recovery Services vault is the correct resource to manage backups and perform restores.

C

When the question asks for a tool to capture network traffic, diagnose connectivity issues, or monitor network performance between Azure VMs, Azure Network Watcher would be the correct answer.

D

You need to distribute incoming traffic across multiple virtual machines to ensure high availability and fault tolerance for a web application. In that scenario, an Azure load balancer would be the correct resource.

Why candidates pick the wrong answer

B

Candidates may confuse the data collection and querying capabilities of Log Analytics with the backup and recovery functions of Recovery Services vaults, especially since both involve managing data from VMs.

C

Candidates may confuse Network Watcher's monitoring capabilities with log collection, assuming it can gather event logs and performance data, but its scope is limited to network-level metrics and packet captures.

D

Candidates may confuse load balancers with monitoring tools because load balancers can be associated with health probes and metrics, leading them to incorrectly assume it can collect and query log data.

828
MCQeasy

You want to preview what a Bicep deployment will change before you apply it to a resource group. Which command should you use?

A.az deployment group what-if
B.az vm create
C.az monitor metrics list
D.az deployment group create --mode Complete
AnswerA

az deployment group what-if invokes Azure Resource Manager's what-if operation at a resource group or subscription scope. It takes a Bicep file or ARM template and compares the current deployed state against the desired state, then prints a table of predicted operations: Create, Modify, Delete, NoChange, and sometimes Ignore. It does not actually execute any deployment, so it is completely safe for previewing the impact of a Bicep deployment before applying it. You can further refine it with --exclude-change-types or --result-format to focus on specific changes.

Why this answer

The `az deployment group what-if` command allows you to preview the changes a Bicep deployment will make to a resource group before actually applying them. It returns a list of resources that will be created, modified, or deleted, enabling you to validate the deployment's impact without committing any changes. This is the correct tool for a dry-run or validation scenario.

Exam trap

The trap here is that candidates may confuse `az deployment group what-if` with `az deployment group validate` (which checks template syntax but does not show resource-level changes), or they might think `az deployment group create --mode Complete` provides a preview, when in fact it executes the deployment immediately.

Why the other options are wrong

B

The 'az vm create' command is used to deploy a new virtual machine, not to preview changes from a Bicep deployment. It does not provide a what-if analysis of deployment impacts.

C

The command 'az monitor metrics list' retrieves metric data for Azure resources, not deployment previews. It is unrelated to Bicep or ARM template deployment validation.

D

The `az deployment group create --mode Complete` command applies the deployment immediately without previewing changes, and Complete mode can delete resources not in the template, which is irreversible.

When would these options actually be correct?

B

This option would be correct in a scenario where the question asks: 'You need to deploy a new Linux virtual machine in Azure using the CLI. Which command should you use?'

C

This command would be correct in a scenario where you need to list metric values for a specified Azure resource, such as checking CPU usage of a VM over a time range.

D

This command is correct when the question asks to deploy a Bicep file to a resource group using Complete mode, which removes existing resources not defined in the template, ensuring the resource group matches the template exactly.

Why candidates pick the wrong answer

B

Candidates may confuse the deployment of a Bicep template with the creation of a VM, thinking that a VM creation command can somehow preview changes, or they may mistakenly believe that Bicep deployments are only for VMs.

C

Candidates might confuse monitoring commands with deployment validation, or think that previewing changes involves checking metrics, especially if they are unfamiliar with the 'what-if' functionality.

D

Candidates may confuse 'what-if' with 'Complete mode' or think that Complete mode includes a preview, or they might mistakenly believe that `--mode Complete` is necessary for any deployment.

829
MCQmedium

A container group runs a nightly processing job in Azure Container Instances. The job should exit after completing successfully and should not restart automatically. Which restart policy should you configure?

A.Always
B.Never
C.OnFailure
D.Automatic
AnswerB

The 'Never' restart policy is correct for a nightly batch job because Azure Container Instances will run the container once to completion and then leave it in a stopped state without initiating any automatic restart, regardless of the exit code. This matches the expected lifecycle of a one-time processing workload that should not be relaunched after it finishes, either successfully or with an error.

Why this answer

The 'Never' restart policy ensures that the container group runs once and does not restart after it exits, regardless of the exit code. This is ideal for a nightly batch job that should complete and then stop permanently without automatic restarts.

Exam trap

The trap here is that candidates may confuse 'OnFailure' with 'Never' for successful jobs, not realizing that 'OnFailure' still restarts on failure, while the question requires no restart at all after successful completion.

Why the other options are wrong

A

The 'Always' restart policy restarts the container regardless of exit code, which contradicts the requirement that the job should exit after completing successfully and not restart automatically.

C

The job should exit after completing successfully and not restart. 'OnFailure' restarts the container only if it exits with a non-zero exit code (failure), but the question specifies the job completes successfully, so no restart is needed.

D

The 'Automatic' restart policy is not a valid option in Azure Container Instances; the valid policies are Always, Never, and OnFailure. Therefore, it cannot be configured for any container group.

When would these options actually be correct?

A

A question where a container must run continuously and be restarted automatically if it stops for any reason, such as a web server or a long-running service that should always be available.

C

A container group runs a data processing job that must restart only if it fails (e.g., due to transient errors). The job should not restart on success, but should retry on failure. 'OnFailure' would be correct.

D

If the question asked about a restart policy for an Azure VM or a different service that supports an 'Automatic' restart policy (e.g., Azure VM Scale Sets with automatic repairs), then 'Automatic' could be correct. For example, 'Which restart policy ensures a VM is automatically restarted after a failure in a scale set?'

Why candidates pick the wrong answer

A

Candidates may confuse 'Always' with a default or safe option, assuming it ensures the job runs repeatedly, but they overlook the specific requirement for the job to exit and not restart.

C

Candidates may think 'OnFailure' is appropriate because the job should not restart on success, but they overlook that the job is expected to succeed and exit, so no restart policy is needed at all.

D

Candidates may confuse the term 'Automatic' with the 'Always' policy or assume it is a valid option because it sounds like a logical default for automatic restarts.

830
MCQmedium

A reporting server will run an in-memory analytics workload that needs 8 vCPUs and 64 GiB RAM. CPU usage is expected to stay moderate, but the application benefits most from memory capacity. Which VM family should the administrator choose as the starting point?

A.B-series
B.D-series
C.F-series
D.E-series
AnswerD

The E-series is Azure's memory-optimized VM family, engineered with a high memory-to-CPU ratio to fit workloads like in-memory analytics. With configurations offering 64 GiB or more RAM per VM, it maximizes memory bandwidth and capacity for large datasets held entirely in RAM. This directly matches the reporting server's need for 64 GiB RAM, making it the correct choice.

Why this answer

The E-series (memory-optimized) VM family is designed for in-memory analytics workloads that require high memory-to-CPU ratios. With 8 vCPUs and 64 GiB RAM, the workload demands 8 GiB per vCPU, which aligns with E-series specifications (typically 8–16 GiB per vCPU). D-series offers a balanced ratio (4 GiB per vCPU) and would not provide sufficient memory capacity for this workload.

Exam trap

The trap here is that candidates often default to D-series (general purpose) for any 'moderate CPU' workload, overlooking the specific memory requirement that dictates the need for a memory-optimized family like E-series.

Why the other options are wrong

A

B-series VMs are burstable and designed for workloads with low average CPU usage but occasional spikes, not for consistent moderate CPU usage with high memory demands. They also lack the memory-to-CPU ratio needed for 64 GiB RAM with 8 vCPUs.

B

D-series VMs are general-purpose and balanced, but the workload benefits most from memory capacity, and E-series offers higher memory-to-core ratios (e.g., up to 8 GiB per vCPU) compared to D-series (typically 4 GiB per vCPU), making E-series more cost-effective for in-memory analytics.

C

F-series VMs are compute-optimized, prioritizing high CPU performance over memory capacity. The workload requires 64 GiB RAM, and F-series offers limited memory per vCPU (e.g., F8s_v2 has 8 vCPUs but only 16 GiB RAM), far below the needed 64 GiB.

When would these options actually be correct?

A

A B-series VM would be correct for a question describing a small web server or dev/test environment that experiences low baseline CPU usage with occasional bursts, and where cost optimization is a primary constraint.

B

A question where the workload requires a balanced mix of CPU, memory, and local disk performance, such as a small-to-medium database or web server with moderate resource demands, and cost optimization is a key factor.

C

An administrator needs to run a batch processing job that is CPU-intensive (e.g., video encoding or financial risk modeling) with minimal memory requirements. The job requires 8 vCPUs and only 16 GiB RAM, making F-series the cost-effective choice.

Why candidates pick the wrong answer

A

Candidates may think B-series is suitable because it offers low cost and can handle variable workloads, overlooking that the question specifies moderate CPU usage and high memory requirements, which B-series does not efficiently support.

B

Candidates may default to D-series as the 'standard' general-purpose family, overlooking that the question emphasizes memory capacity as the primary benefit, which E-series is specifically optimized for.

C

Candidates may assume that any workload needing 8 vCPUs and moderate CPU usage fits the F-series, overlooking the critical memory requirement. The 'in-memory analytics' keyword might be misinterpreted as needing CPU speed rather than memory capacity.

831
MCQmedium

A change-freeze requires that no one can modify the settings of a subscription's resource group for six hours. Deletion is not the main concern; the priority is to block changes to existing resources during the freeze. Which lock should you apply?

A.CanNotDelete
B.ReadOnly
C.Reader
D.DeployIfNotExists
AnswerB

The ReadOnly lock is the correct choice because it blocks all write operations against a resource, including create, update, and delete actions, while allowing reads. This effectively enforces a change freeze by preventing any configuration modification through the management plane, regardless of the user's role, because locks are evaluated above RBAC. Even an Owner cannot modify resources until the lock is removed, making it the strongest way to guarantee a freeze.

Why this answer

The ReadOnly lock prevents any modification to existing resources, including configuration changes, while still allowing read operations. This directly satisfies the change-freeze requirement to block changes for six hours, as it denies all write operations at the resource group scope.

Exam trap

The trap here is confusing Azure RBAC roles (like Reader) with resource locks, as both can restrict changes but locks are applied at the resource scope and override all permissions, while RBAC roles are identity-based and can be bypassed by privileged users.

Why the other options are wrong

A

The CanNotDelete lock prevents deletion but still allows modifications to existing resources, which does not satisfy the requirement to block all changes during the freeze.

C

The Reader role allows viewing resources but does not block modifications; it only prevents changes by users without contributor/owner permissions, not by administrators or automated processes. The question requires blocking all changes, which ReadOnly lock provides.

D

DeployIfNotExists is a policy effect, not a lock. It triggers a remediation task to deploy a resource if one doesn't exist, but it does not block changes to existing resources, which is the requirement here.

When would these options actually be correct?

A

A question where the primary concern is preventing accidental deletion of resources, but modifications are allowed. For example: 'You need to ensure that a critical resource group cannot be deleted, but administrators can still update resource configurations.'

C

A question asks: 'You need to allow a support team to view resource configurations but prevent them from making any changes. Which built-in role should you assign?' Here, Reader is correct because it grants read-only access without blocking administrators.

D

A question asks: 'You need to automatically deploy a network security group to any new subnet that does not have one. Which policy effect should you use?' In that scenario, DeployIfNotExists would be correct.

Why candidates pick the wrong answer

A

Candidates may assume that 'change-freeze' implies preventing deletion, but they overlook that modifications are also a form of change that must be blocked.

C

Candidates confuse the Reader role (a role-based access control) with the ReadOnly lock (a resource lock), thinking 'Reader' implies read-only access that blocks changes, but it does not prevent changes by users with higher permissions.

D

Candidates may confuse policy effects with resource locks, or think that 'DeployIfNotExists' implies a protective action that prevents changes, when it actually only deploys missing resources.

832
Multi-Selecteasy

A department wants three related policies grouped together and assigned as one unit to a set of subscriptions. Which two statements about an Azure Policy initiative are correct? Select two.

Select 2 answers
A.An initiative groups multiple policy definitions into one assignment.
B.An initiative can be assigned at management group scope to cover child subscriptions.
C.An initiative grants Azure permissions to users.
D.An initiative replaces resource group locks.
E.An initiative is used to create a new resource group.
AnswersA, B

An initiative is used to bundle related policy definitions so they can be managed together. This reduces administrative effort because you assign and review one control set instead of handling each policy separately.

Why this answer

An Azure Policy initiative is specifically designed to group multiple policy definitions into a single assignment. This allows you to apply a set of related compliance rules as one unit, simplifying management and ensuring consistent enforcement across subscriptions.

Exam trap

The trap here is that candidates often confuse Azure Policy initiatives with RBAC roles or resource locks, mistakenly thinking initiatives manage permissions or protect resources, when in fact they only enforce compliance rules.

Why the other options are wrong

C

An initiative does not grant permissions; Azure RBAC roles are used for granting permissions. Initiatives are for grouping and assigning policy definitions, not for access control.

D

An initiative does not replace resource group locks; it groups policy definitions for assignment. Resource group locks are a separate Azure governance feature that prevents accidental deletion or modification.

E

An initiative is a group of policy definitions, not a tool for creating resource groups. Resource groups are created via Azure Resource Manager templates, CLI, or portal, not through policy initiatives.

When would these options actually be correct?

C

If the question were about Azure RBAC, such as 'Which feature grants Azure permissions to users?', then 'role assignment' would be correct. But 'initiative' is never correct for granting permissions.

D

In a question asking 'Which Azure feature prevents accidental deletion of a resource group?', 'Resource group lock' would be the correct answer. The scenario would involve protecting critical resources from deletion or modification.

E

If the question were 'Which Azure feature can be used to enforce naming conventions on new resource groups?', then an initiative containing a policy that requires specific naming patterns would be correct, as initiatives can include policies that evaluate resource creation.

Why candidates pick the wrong answer

C

Candidates may confuse 'initiative' with 'role' or think that assigning a policy initiative somehow grants permissions because it can enforce compliance, but permissions are separate from policies.

D

Candidates may confuse policy initiatives with other governance tools like locks, assuming initiatives can enforce deletion protection, but they are designed for policy compliance, not resource locking.

E

Candidates may confuse the purpose of initiatives with that of Azure Blueprints or ARM templates, which can create resource groups. The word 'initiative' sounds like an active action, leading to the misconception that it can create resources.

833
MCQmedium

An online transaction app uses two identical VMs in an Azure region that supports availability zones. The business wants the app to stay available if an entire datacenter in the region fails. What should the administrator deploy?

A.An availability set with the VMs placed in different update domains.
B.Two VMs placed in different availability zones within the region.
C.A proximity placement group so both VMs stay physically close together.
D.A single VM with Premium SSD storage and automatic restart.
AnswerB

Availability zones place resources in separate datacenters inside the same region, so the workload can survive a complete zone or datacenter failure. For a requirement that explicitly includes datacenter-level resilience, zones are the correct choice. They provide stronger isolation than availability sets, which only protect against update domain and fault domain issues within a datacenter.

Why this answer

Deploying VMs in different availability zones protects against an entire datacenter failure. Each availability zone is a physically separate datacenter within an Azure region, with independent power, cooling, and networking. If one zone fails, the VM in the other zone remains available, ensuring business continuity for the app.

Exam trap

The trap here is that candidates confuse availability sets (which protect against rack-level failures within a single datacenter) with availability zones (which protect against entire datacenter failures), leading them to choose Option A instead of B.

Why the other options are wrong

A

An availability set protects against planned and unplanned maintenance within a single datacenter, not against an entire datacenter failure. The question requires protection from a full datacenter outage, which availability zones provide.

C

A proximity placement group reduces network latency by keeping VMs physically close, but it does not protect against an entire datacenter failure because all VMs could be in the same datacenter.

D

A single VM with Premium SSD and automatic restart cannot survive an entire datacenter failure; if the datacenter hosting that VM goes down, the VM becomes unavailable regardless of storage or restart policies.

When would these options actually be correct?

A

An administrator needs to protect VMs from hardware failures and maintenance within a single datacenter, but does not require resilience across datacenters. For example, deploying a two-tier app in a single datacenter where high availability within that datacenter is sufficient.

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. Deploying them in a proximity placement group ensures low latency.

D

If the question asked for a cost-effective solution to handle a temporary OS crash or planned maintenance within a single datacenter, deploying a single VM with automatic restart would be correct.

Why candidates pick the wrong answer

A

Candidates may confuse availability sets with availability zones, thinking that update domains provide datacenter-level fault tolerance, or they may not fully understand the scope of protection each option offers.

C

Candidates may confuse high availability with low latency, thinking that placing VMs close together ensures availability, or they may not fully understand that availability zones provide datacenter-level fault isolation.

D

Candidates may overestimate the protection offered by Premium SSD and automatic restart, mistakenly believing these features provide high availability against datacenter-level failures.

834
MCQhard

A Windows VM fails to start after a configuration change. You need to capture screenshots and serial console output to troubleshoot the boot problem. Which feature should you use?

A.Azure Backup
B.Boot diagnostics
C.Just-in-Time VM access
D.Autoscale
AnswerB

Boot diagnostics is the correct tool because it captures the VM's serial console output and screenshots during startup, which can reveal exactly where the boot process halts after the configuration change. This helps identify misconfigured services, missing drivers, or corrupt boot files. Unlike other options, it directly provides actionable boot-time logs without requiring access to the VM.

Why this answer

Boot diagnostics captures serial console output and screenshots of a VM during boot, which is essential for troubleshooting boot failures after a configuration change. This feature provides logs and visual data from the VM's boot process, accessible via the Azure portal or CLI, without requiring guest OS access.

Exam trap

The trap here is that candidates confuse boot diagnostics with Azure Backup or recovery services, assuming that restoring from a backup is the primary troubleshooting step for boot failures, rather than using the built-in diagnostic feature that captures real-time boot data.

Why the other options are wrong

A

Azure Backup is designed for data protection and recovery, not for troubleshooting boot failures. It cannot capture screenshots or serial console output of a VM's boot process.

C

Just-in-Time VM access is a security feature that restricts inbound traffic to VMs, not a troubleshooting tool for boot issues. It does not provide screenshots or serial console output.

D

Autoscale automatically adjusts the number of VM instances based on demand, but it does not provide any diagnostic tools like screenshots or serial console output for troubleshooting boot failures.

When would these options actually be correct?

A

An exam question asks: 'You need to ensure that VM data can be restored after accidental deletion. Which feature should you use?' In that scenario, Azure Backup would be the correct answer.

C

When the question asks how to reduce the attack surface by controlling RDP or SSH access to a VM on-demand, Just-in-Time VM access is the correct answer.

D

In a scenario where you need to automatically scale out VM instances in a scale set to handle increased load, and scale in during low demand, Autoscale would be the correct feature to configure.

Why candidates pick the wrong answer

A

Candidates may confuse backup with diagnostic capabilities, thinking that backup can somehow capture system state or boot logs, or they may not be familiar with the specific features of Boot diagnostics.

C

Candidates may confuse 'access' with 'diagnostic access' or think that enabling JIT access could help in troubleshooting connectivity issues during boot.

D

Candidates might confuse Autoscale with a troubleshooting feature because it involves monitoring and reacting to VM performance metrics, but it is not designed for boot diagnostics.

835
MCQmedium

A company stores contract PDFs in Azure Blob Storage. The application must keep working if one datacenter in the primary region has an outage, and auditors also want read-only access to the replicated data from the secondary region during a regional outage. Which redundancy option should the administrator choose?

A.LRS
B.ZRS
C.GZRS
D.RA-GZRS
AnswerD

RA-GZRS (Read-Access Geo-Zone-Redundant Storage) synchronously replicates data across three availability zones in the primary region and asynchronously geo-replicates to a secondary region, then exposes a read-only endpoint for that secondary region. This means that even before any failover, the secondary endpoint can serve read requests, enabling continuous access to contract PDFs during a primary regional disaster. It provides both the durability of geo-redundancy and the high availability of a readable secondary, which is why it is the correct choice.

Why this answer

RA-GZRS (Read-Access Geo-Zone-Redundant Storage) is the correct choice because it combines zone-redundant storage (ZRS) across availability zones in the primary region with geo-replication to a secondary region, and crucially enables read access to the secondary region data during a regional outage. This ensures the application remains available if one datacenter fails (via ZRS) and satisfies the auditors' requirement for read-only access to replicated data during a regional outage (via the read-access flag).

Exam trap

The trap here is that candidates often confuse GZRS with RA-GZRS, forgetting that GZRS alone does not grant read access to the secondary region during an outage; the 'RA' prefix is required to enable that read-only access.

Why the other options are wrong

A

LRS only replicates data within a single datacenter, so it cannot survive a datacenter outage, nor does it provide read access from a secondary region.

B

ZRS replicates data synchronously across three availability zones within a single region, so it does not provide a secondary region for read access during a regional outage, nor does it offer read access to replicated data in another region.

C

GZRS replicates data to a secondary region but does not provide read access to the secondary region during an outage; the application would need to wait for failover, violating the auditors' requirement for immediate read-only access.

When would these options actually be correct?

A

A question where cost is the primary constraint and the application can tolerate total data loss if the entire datacenter fails, such as for non-critical temporary data.

B

A scenario where the application requires high availability within a single region (e.g., to withstand a zone failure) but does not need cross-region replication or read-access from a secondary region. For example, a company storing non-critical data that must remain available if one datacenter fails, but no need for geo-redundancy.

C

A scenario where the requirement is for geo-redundancy with automatic failover but no need for immediate read access from the secondary region, such as a disaster recovery plan that allows for some downtime during failover.

Why candidates pick the wrong answer

A

Candidates may choose LRS because it is the cheapest option, overlooking the requirement for regional disaster recovery and read access during an outage.

B

Candidates may confuse ZRS with GZRS or RA-GZRS, thinking that 'zone-redundant' implies cross-region protection, or they may overlook the requirement for read-only access from a secondary region during an outage.

C

Candidates may confuse GZRS with RA-GZRS, assuming that geo-replication inherently includes read access, or they may overlook the 'read-access' prefix in the correct option.

836
MCQmedium

You need to deploy 30 identical Azure virtual machines for a web application and scale the instance count automatically based on CPU demand. Which Azure compute 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 grouped deployment and autoscaling.

Why this answer

Virtual Machine Scale Sets (VMSS) are designed specifically to deploy and manage a group of identical, load-balanced VMs that can automatically scale in or out based on CPU demand or other metrics. This matches the requirement for 30 identical VMs and autoscaling, making B the correct choice.

Exam trap

The trap here is that candidates often confuse availability sets (which provide high availability) with scale sets (which provide both high availability and autoscaling), leading them to pick A when the question explicitly requires automatic scaling based on demand.

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 CPU demand.

C

A Recovery Services vault is used for backup and disaster recovery, not for deploying or scaling virtual machines. It does not provide automatic scaling based on CPU demand.

D

Boot diagnostics provides troubleshooting information for VM boot failures, but it does not support deploying multiple VMs or autoscaling based on CPU demand.

When would these options actually be correct?

A

You need to ensure that two or more VMs hosting a critical application remain available during planned maintenance or hardware failures, without automatic scaling requirements.

C

A question asking how to protect Azure virtual machines by enabling backup and restore capabilities, or how to implement site recovery for failover, would have Recovery Services vault as the correct answer.

D

You need to enable serial console access or collect boot logs to diagnose why a specific Azure VM is failing to start. Boot diagnostics would be the correct feature to use.

Why candidates pick the wrong answer

A

Candidates may confuse availability sets with scale sets, thinking both provide scaling capabilities, or they may focus on the 'deploy 30 identical VMs' part and overlook the scaling requirement.

C

Candidates may confuse 'Recovery' with 'scaling' or think it provides some form of resilience that includes scaling, but it is solely for backup and disaster recovery.

D

Candidates may confuse boot diagnostics with a feature that helps manage VM performance or scaling, or they might think it's related to initial deployment configuration.

837
Multi-Selecthard

A finance VM is backed up daily. The team wants short-lived snapshots so recently changed files can be recovered quickly, but they also need daily recovery points retained for 30 days. Which two backup policy settings should be configured? Select two.

Select 2 answers
A.Retain instant restore snapshots for 2 days
B.Retain daily recovery points for 30 days
C.Run the backup job every 12 hours
D.Retain weekly recovery points for 30 days
E.Move backup data to Archive tier
AnswersA, B

Instant restore snapshots are VM-consistent snapshots stored locally with the VM for fast, file-level recovery without network latency. Retaining them for 2 days keeps recent restore points readily available while minimizing the cost of extra local storage. This retention is separate from vault-tier retention, which governs how long backup copies persist in the Recovery Services vault.

Why this answer

Instant restore snapshots are short-lived, locally stored snapshots that allow quick recovery of recently changed files. Setting 'Retain instant restore snapshots for 2 days' ensures these snapshots are available for immediate restores without consuming long-term backup storage. Option B is correct because 'Retain daily recovery points for 30 days' meets the requirement for daily recovery points to be kept for the specified retention period, allowing recovery from any of the last 30 daily backups.

Exam trap

The trap here is that candidates often confuse 'instant restore snapshots' with 'recovery points' and may select options like 'Run the backup job every 12 hours' thinking more frequent backups improve recovery speed, when in fact the instant restore snapshot retention setting directly controls the availability of quick file-level restores.

Why the other options are wrong

C

The requirement is for short-lived snapshots for quick recovery and daily recovery points retained for 30 days. Running the backup job every 12 hours would create additional recovery points but does not address the need for short-lived snapshots or the 30-day retention of daily points.

D

The question specifies daily recovery points retained for 30 days, not weekly. Retaining weekly recovery points for 30 days would keep only 4-5 weekly points, not daily, failing the requirement for daily recovery.

E

The Archive tier is for long-term retention of backup data at lower cost, but it does not support short-lived snapshots for quick recovery of recently changed files. The question requires both short-term snapshots and daily recovery points for 30 days, not archival storage.

When would these options actually be correct?

C

A question where the requirement is to minimize data loss with a Recovery Point Objective (RPO) of less than 24 hours, and the backup policy supports multiple backups per day, such as 'You need to ensure that no more than 12 hours of data is lost in case of a failure. Which backup frequency should you configure?'

D

In a scenario where the team needs weekly recovery points for compliance (e.g., retaining weekly backups for 30 days) and daily backups are not required, this option would be correct.

E

An organization needs to retain backup data for several years for compliance purposes but wants to minimize storage costs. The correct answer would be to move backup data to the Archive tier after a specified retention period, such as moving data older than 30 days to Archive.

Why candidates pick the wrong answer

C

Candidates may think that more frequent backups (every 12 hours) would improve recovery options, but the question specifically asks for short-lived snapshots and daily retention, not increased backup frequency.

D

Candidates may confuse 'daily recovery points' with 'weekly recovery points' or think that retaining weekly points for 30 days also covers daily recovery needs, not realizing the retention period applies to the selected frequency.

E

Candidates may think that moving backups to a cheaper storage tier is always beneficial for cost savings, overlooking that the Archive tier has longer restore times and is not suitable for the quick recovery of recent changes required in this scenario.

838
MCQmedium

Two VNets are peered. AppVNet contains VMs that access a private endpoint in DataVNet successfully by IP, but name resolution fails for the storage FQDN. The private DNS zone is linked only to DataVNet. What should you do?

A.Create another peering connection from AppVNet to DataVNet.
B.Add a virtual network link from the private DNS zone to AppVNet.
C.Create a public DNS zone with the same name as the private zone.
D.Assign a public IP address to the private endpoint.
AnswerB

Private endpoint name resolution depends on the private DNS zone being linked to the VNet where the clients reside. Because AppVNet is not linked to the zone, its VMs cannot resolve the private endpoint FQDN even though IP connectivity exists. Adding a virtual network link from the private DNS zone to AppVNet makes the private records available to those clients.

Why this answer

The private DNS zone is linked only to DataVNet, so VMs in AppVNet cannot resolve the storage FQDN even though IP connectivity works via the VNet peering. By adding a virtual network link from the private DNS zone to AppVNet, you enable DNS resolution for the private endpoint's FQDN across the peered VNet. This is required because private DNS zones are scoped to the VNets they are linked to, and peering alone does not propagate DNS resolution.

Exam trap

The trap here is that candidates assume VNet peering automatically extends DNS resolution for private endpoints, but peering only provides IP connectivity—DNS resolution requires explicit virtual network links to the private DNS zone.

Why the other options are wrong

A

The VNets are already peered, so creating another peering connection does not resolve DNS resolution issues. The problem is that the private DNS zone is not linked to AppVNet, not a lack of network connectivity.

C

Creating a public DNS zone with the same name as the private zone would not resolve the private endpoint's FQDN for VMs in AppVNet because public DNS zones are used for internet-facing resolution, not for private IP addresses. The private DNS zone must be linked to AppVNet to enable name resolution across the VNet peering.

D

Assigning a public IP to the private endpoint would expose it to the internet, defeating the purpose of private connectivity and not resolving name resolution issues within the peered VNets.

When would these options actually be correct?

A

This option would be correct if the VNets were not already peered and you needed to enable connectivity between them to access resources in DataVNet from AppVNet.

C

This option would be correct if the question stated that the storage account's FQDN needs to be resolved from the internet, and the private endpoint is not required. For example, if a VM in AppVNet needs to access the storage account over the public internet, creating a public DNS zone with the same name would allow public name resolution.

D

If the question stated that the private endpoint needs to be accessible from the internet while still using a private IP for internal traffic, assigning a public IP to the private endpoint would be correct.

Why candidates pick the wrong answer

A

Candidates may think that name resolution failures are due to network connectivity issues and assume that adding another peering will fix it, overlooking the DNS configuration.

C

Candidates may think that creating a public DNS zone with the same name will override the private zone or provide a fallback for resolution, not realizing that private DNS zones take precedence within linked VNets and that public zones are irrelevant for private endpoint resolution.

D

Candidates may think that name resolution fails because the private endpoint lacks a public IP, not realizing that private DNS zones require virtual network links for resolution across peered VNets.

839
MCQmedium

A storage account is accessed from a VM in VNet A through a private endpoint. A VM in peered VNet B can connect to the storage account by IP, but when it uses the storage account name, it resolves to the public endpoint. What should the administrator configure?

A.Enable a service endpoint on VNet B for Microsoft.Storage.
B.Link the private DNS zone for the storage account to VNet B.
C.Assign the VM in VNet B a managed identity.
D.Create a route table that points storage traffic to the private endpoint subnet.
AnswerB

The name resolution problem indicates that VNet B does not know to resolve the storage FQDN to the private endpoint address. Linking the correct private DNS zone to VNet B lets machines in that network resolve the name to the private IP instead of the public endpoint. This is a common requirement when private endpoints are accessed from peered networks or additional VNets.

Why this answer

The VM in VNet B can reach the storage account by IP because the private endpoint is accessible over the VNet peering, but DNS resolution still returns the public IP because the private DNS zone (privatelink.blob.core.windows.net) is not linked to VNet B. By linking the private DNS zone to VNet B, the VM will resolve the storage account name to the private endpoint IP, ensuring connectivity over the Microsoft backbone instead of the public internet.

Exam trap

The trap here is that candidates assume VNet peering automatically provides DNS resolution for private endpoints, but the private DNS zone must be explicitly linked to each peered VNet for name resolution to work.

Why the other options are wrong

A

A service endpoint on VNet B for Microsoft.Storage would allow VMs in VNet B to access the storage account via its public endpoint using the service endpoint's source IP, but it does not resolve the private DNS zone issue. The problem is DNS resolution, not network connectivity; the VM resolves the storage account name to the public IP instead of the private endpoint IP.

D

A route table directs traffic based on IP addresses, but the VM in VNet B resolves the storage account name to the public endpoint, not the private endpoint IP. Route tables do not affect DNS resolution, so they cannot fix the name resolution issue.

When would these options actually be correct?

A

A service endpoint would be correct if the question stated that VMs in VNet B need to access the storage account from on-premises or another network without a private endpoint, and the goal is to ensure traffic to the storage account stays within the Azure backbone. For example: 'A storage account is accessed from a VM in VNet B via the public endpoint. The administrator wants to ensure traffic to the storage account does not traverse the internet.'

D

If the VM in VNet B could already resolve the storage account name to the private endpoint IP (e.g., via a private DNS zone linked to VNet B), but traffic was still going over the public internet due to asymmetric routing or missing routes, then a route table forcing traffic to the private endpoint subnet would be correct.

Why candidates pick the wrong answer

A

Candidates often confuse service endpoints with private endpoints, thinking both provide private IP connectivity. They may assume that enabling a service endpoint on VNet B will automatically route traffic to the private endpoint, not realizing that service endpoints work with the public endpoint and do not affect DNS resolution.

D

Candidates may think that routing traffic to the private endpoint subnet is sufficient, overlooking that DNS resolution must first point to the private IP. They confuse network routing with name resolution.

840
MCQeasy

Three VMs run the same batch app and should use the same Azure identity to read blobs. The identity should remain available even if one VM is deleted. Which identity should you use?

A.Shared access signature (SAS) token
B.System-assigned managed identity
C.User-assigned managed identity
D.Storage account shared key
AnswerC

A user-assigned managed identity is a standalone Azure AD identity that can be assigned to multiple Azure resources at the same time, including these three VMs. It remains available even if one VM is deleted, so all VMs keep the same identity and permission set without any reconfiguration. This makes it the correct choice because the batch app on each VM can authenticate to Azure services (such as Key Vault or Storage) with the same principal and grant once.

Why this answer

C is correct because a user-assigned managed identity is an independent Azure resource that persists even if a specific VM is deleted. This allows multiple VMs to share the same identity to authenticate to Azure Blob Storage, ensuring continuous access to blobs as long as at least one VM remains.

Exam trap

The trap here is that candidates often choose system-assigned managed identity (Option B) because it is simpler to set up, but they overlook the requirement that the identity must survive VM deletion, which only a user-assigned identity guarantees.

Why the other options are wrong

A

A SAS token is tied to a specific storage account and can be revoked or expire, but it is not an Azure identity that can be assigned to VMs. It does not persist independently of VMs and cannot be used as a shared identity across multiple VMs that remains available if one VM is deleted.

B

A system-assigned managed identity is tied to a single VM and is deleted when that VM is deleted, so it would not remain available if one VM is removed.

D

A storage account shared key provides full access to the storage account and is not tied to a specific identity; it cannot be scoped to only the VMs and would remain valid even if a VM is deleted, but it does not meet the requirement of using an Azure identity for the batch app.

When would these options actually be correct?

A

A question where you need to grant time-limited, delegated access to a specific blob or container without using an Azure AD identity, such as providing temporary read access to a storage resource for an external application or user.

B

A question where a single VM needs to access Azure resources without managing credentials, and the identity should be automatically deleted when the VM is deleted (e.g., for a temporary VM).

D

In a scenario where a single application needs to access storage with full account-level permissions and you want to avoid managing identities or tokens, using a storage account shared key would be correct. For example, a legacy on-premises application that cannot use Azure AD authentication.

Why candidates pick the wrong answer

A

Candidates may think SAS tokens can be used for VM access to storage because they are a common method for granting access, but they are not designed for VM identity scenarios and lack the lifecycle management of managed identities.

B

Candidates may think system-assigned managed identities are automatically managed and assume they persist across VMs, not realizing they are scoped to a single resource.

D

Candidates may think a shared key is simpler to implement and always available, overlooking the requirement for an Azure identity and the security best practice of using managed identities.

841
MCQmedium

Based on the exhibit, what should the administrator change so the web tier can reach the database tier on TCP 443 without opening the subnet more broadly?

A.Move the allow rule for WebTierASG to a priority lower than 100.
B.Delete the deny rule because default rules already block unwanted traffic.
C.Change the deny rule source from VirtualNetwork to Internet.
D.Change the default inbound rule to AllowVnetInBound.
AnswerA

The allow rule for WebTierASG is currently assigned a priority number above 100, and because Azure processes NSG rules in ascending priority order, the deny rule at priority 100 is evaluated first and drops the traffic before the allow rule can run. Moving the ASG allow rule to a lower number, such as 90, ensures it is evaluated before the deny rule, permitting the intended traffic while still letting the deny rule apply to everything else. This is the only change that directly resolves the rule-order conflict without altering the overall security intent.

Why this answer

The administrator must ensure the allow rule for WebTierASG is evaluated before the deny-all rule. In Azure Network Security Groups (NSGs), rules are processed in priority order (lower numbers first). The current deny rule at priority 100 blocks all traffic from VirtualNetwork, including TCP 443 from the web tier.

By moving the allow rule to a priority lower than 100 (e.g., 90), it will be evaluated first, permitting TCP 443 traffic from WebTierASG to the database tier, while the deny rule still blocks all other traffic from the virtual network.

Exam trap

The trap here is that candidates often assume default rules block unwanted traffic, but Azure NSG default rules are permissive for virtual network traffic, so an explicit deny rule is necessary to restrict access, and priority order must be managed carefully to ensure allow rules are evaluated before deny rules.

Why the other options are wrong

B

Deleting the deny rule would allow all traffic from VirtualNetwork to the database subnet, including traffic from other subnets, which violates the requirement to restrict access to only the web tier on TCP 443.

C

Changing the deny rule source to 'Internet' would block traffic from the internet but not from other subnets within the virtual network, so the web tier would still be unable to reach the database tier due to the existing deny rule.

D

Changing the default inbound rule to AllowVnetInBound would allow all traffic from within the virtual network, which is too broad and does not restrict access to only the web tier on TCP 443.

When would these options actually be correct?

B

In a scenario where the question states that the default rules already block unwanted traffic and there is no need for explicit deny rules, or if the deny rule is redundant because the default inbound rule 'DenyAllInBound' is already in place and the allow rule is sufficient.

C

This option would be correct if the question asked how to block inbound traffic from the internet to a subnet while allowing traffic from within the virtual network, and the existing deny rule was blocking all traffic.

D

This would be correct if the question asked to ensure that all resources within the virtual network can communicate with each other by default, without any specific restrictions, and the current default rule is set to deny.

Why candidates pick the wrong answer

B

Candidates may think that default rules (like DenyAllInBound) automatically block unwanted traffic, so deleting explicit deny rules seems logical, but they overlook that the default rule is overridden by higher-priority allow rules, and the deny rule here is needed to block traffic from other subnets.

C

Candidates may think that changing the source to 'Internet' will allow internal traffic while blocking external, but they overlook that the deny rule still blocks all traffic from the specified source, and the web tier is within the virtual network.

D

Candidates may think that modifying default rules is a simple way to allow traffic, not realizing that it opens up the subnet more broadly than required.

842
MCQhard

Diagnostic settings on an Azure storage account must send logs to a destination storage account that has its firewall set to deny all public network access. The team cannot create a private endpoint, but the destination service is one of the Azure services that can bypass the firewall as a trusted Microsoft service. What should the administrator enable?

A.A service endpoint on the destination storage account subnet
B.The Allow trusted Microsoft services to bypass this firewall setting
C.A shared access signature with read permission
D.A private DNS zone linked to the workspace virtual network
AnswerB

This setting is designed for supported Microsoft services that need to reach a storage account even when public network access is denied. It allows the service to deliver data without opening the firewall broadly and without requiring a private endpoint. Because the scenario explicitly says the destination is a trusted Microsoft service, this is the correct and minimal change.

Why this answer

The 'Allow trusted Microsoft services to bypass this firewall' setting enables specific Azure services, such as Azure Monitor or Azure Backup, to write diagnostic logs to a storage account even when the storage account's firewall blocks all public network access. This bypass is controlled at the Azure platform level and does not require a private endpoint or public IP, making it the only viable solution when the destination storage account denies all public traffic.

Exam trap

The trap here is that candidates often confuse service endpoints (Option A) with the trusted Microsoft services bypass, mistakenly thinking a service endpoint on the source subnet can grant access, when in fact the bypass is a distinct firewall exception that does not require any virtual network integration.

Why the other options are wrong

A

A service endpoint on the destination storage account subnet would allow access from a specific virtual network, but the question requires bypassing the firewall for a trusted Microsoft service, not for a VNet. The destination storage account's firewall is set to deny all public access, and the source is a diagnostic setting, not a VNet.

C

A shared access signature (SAS) provides delegated access to a specific resource, but it does not bypass the storage account firewall. The firewall blocks all traffic unless explicitly allowed, and a SAS token does not override that restriction.

D

A private DNS zone linked to the workspace virtual network is used for custom domain name resolution within a virtual network, not for bypassing firewall rules on a storage account. The question requires enabling trusted Microsoft services to bypass the firewall, not DNS configuration.

When would these options actually be correct?

A

This option would be correct if the question asked: 'How to allow access to a storage account from a specific virtual network without using a private endpoint?' In that scenario, enabling a service endpoint on the source subnet and adding it to the storage account firewall rules would be the solution.

C

When the question asks for a method to grant time-limited, delegated access to a specific storage resource (e.g., blob, file share) without sharing the account key, and the destination does not require firewall bypass. For example: 'An application needs to read blobs from a storage account for 24 hours without using the account key.'

D

This option would be correct in a scenario where an Azure service (e.g., Azure SQL Database) is configured with a private endpoint, and you need to ensure that the service's private IP address resolves correctly within a virtual network. The administrator would create a private DNS zone linked to the virtual network to enable custom DNS resolution for the private endpoint.

Why candidates pick the wrong answer

A

Candidates may confuse service endpoints with the trusted Microsoft services bypass, thinking both allow access from Azure services. However, service endpoints are for VNet traffic, not for Azure platform services like diagnostic logs.

C

Candidates may confuse SAS with a mechanism to bypass firewalls because SAS tokens are often used to grant external access, but they do not affect network-level firewall rules.

D

Candidates may confuse private DNS zones with private endpoints or think that DNS configuration is needed to allow access through a firewall, not realizing that the trusted Microsoft services bypass setting is the direct solution.

843
MCQeasy

Based on the exhibit, where should the administrator go to see which resources are non-compliant with the assigned policy?

A.Azure Policy compliance view.
B.Entra ID users and groups.
C.Azure Activity log only.
D.Resource locks blade.
AnswerA

The Azure Policy compliance view, accessible under the Policy blade, provides the authoritative report of evaluation results for assigned policy definitions and initiatives. It displays per-resource and per-policy compliance states such as Compliant, Non-compliant, and Conflicting, and you can filter by scope, export to CSV, or open the raw compliance data. This is where an administrator must go to see which specific resources are non-compliant and why, including the triggering policy rule and any effect applied.

Why this answer

The Azure Policy compliance view is the correct place to see which resources are non-compliant with assigned policies. This view aggregates compliance states across all policies and initiatives, showing a per-resource breakdown of compliant, non-compliant, and exempt statuses. It directly reflects the evaluation results from the Azure Policy engine, which runs periodic scans and on-demand evaluations.

Exam trap

The trap here is that candidates confuse the Azure Activity log (which records who did what) with the Azure Policy compliance view (which shows what is out of compliance), leading them to pick the Activity log instead of the dedicated compliance dashboard.

Why the other options are wrong

B

The question asks for non-compliance with an assigned policy, which is specifically tracked in Azure Policy compliance view. Entra ID users and groups manage identity and access, not policy compliance.

D

The Resource locks blade is used to prevent accidental deletion or modification of resources, not to check policy compliance. Non-compliant resources are identified in the Azure Policy compliance view.

When would these options actually be correct?

B

This option would be correct if the question asked: 'Where should the administrator go to assign a user to a role that can manage policy compliance?' or 'Where to review which users have access to modify policies?'

D

An administrator needs to prevent deletion of a critical resource by applying a lock (e.g., CanNotDelete) to ensure it is not accidentally removed. The question would ask: 'Where should the administrator go to prevent accidental deletion of a resource?'

Why candidates pick the wrong answer

B

Candidates may confuse identity management with policy management, thinking that users and groups are involved in policy assignment or compliance, but Azure Policy compliance is separate from Entra ID.

D

Candidates may confuse resource locks with policy enforcement, thinking locks are a way to enforce compliance, or they may not clearly distinguish between governance tools (policy) and operational controls (locks).

844
Multi-Selecteasy

An archived blob must be read tomorrow morning. Which two actions are required before the blob can be opened? Select two.

Select 2 answers
A.Change the blob access tier from Archive to Hot or Cool so the data becomes online again.
B.Wait for the rehydration process to finish before opening the blob in a client or portal.
C.Enable a private endpoint, because archive blobs can only be read through private connectivity.
D.Convert the storage account to GZRS, because geo-replication automatically restores archived blobs.
E.Set the container ACL to public so archived blobs can be read without rehydration.
AnswersA, B

Azure Blob Storage's Archive tier is offline by design; to make an archived blob readable you must move it to an online tier such as Hot or Cool using the Set Blob Tier operation, a copy with rehydration, or a lifecycle policy. This action initiates the rehydration process and changes the tier property so the data is no longer in the offline archive state.

Why this answer

An archived blob is in an offline state and must be rehydrated to the Hot or Cool tier before it can be read. Changing the access tier initiates the rehydration process, which makes the blob data online and accessible.

Exam trap

The trap here is that candidates may think archive blobs can be read directly with special network settings or permissions, but the core requirement is always rehydration to an online tier before any read operation.

Why the other options are wrong

C

Archived blobs can be read through public endpoints after rehydration; private endpoints are not required. The blob must be rehydrated to a hot or cool tier before access, regardless of network connectivity.

D

Converting to GZRS does not automatically restore archived blobs; rehydration requires changing the tier or using copy operations. Geo-replication only provides redundancy, not automatic rehydration.

E

Setting the container ACL to public does not rehydrate an archived blob; archived blobs are offline and cannot be read until rehydrated to Hot or Cool tier, regardless of public access.

When would these options actually be correct?

C

When a question specifies that the storage account must be accessed securely over a private network and the blob is already in a hot or cool tier, enabling a private endpoint would be the correct action to restrict access.

D

If the question asked for a method to ensure data durability in a secondary region, converting to GZRS would be correct. For example: 'You need to protect archived blobs against a regional disaster. Which storage redundancy option should you enable?'

E

In a scenario where a blob is in the Cool or Hot tier and you need to allow anonymous read access to it, setting the container ACL to public would be correct.

Why candidates pick the wrong answer

C

Candidates may confuse the offline nature of archive blobs with network restrictions, assuming that private connectivity is needed to access archived data, when in fact rehydration is the prerequisite.

D

Candidates may confuse geo-replication with a feature that automatically restores data, or think that replication includes tier changes, not realizing rehydration is a separate manual step.

E

Candidates may mistakenly think that making a blob public bypasses the need for rehydration, confusing access permissions with blob tier state.

845
MCQhard

Three Azure VMs in separate resource groups run the same data-processing agent. The agent must read blobs from a storage account, and the access must continue to work if any VM is rebuilt or replaced. The operations team also wants one identity they can reassign to future VMs without creating another credential. Which identity approach should be used?

A.A system-assigned managed identity on each VM.
B.A storage account shared key embedded in the application settings.
C.A service principal credential stored in a Key Vault secret.
D.A user-assigned managed identity attached to the VMs.
AnswerD

A user-assigned managed identity is the right choice when the same Azure identity must be shared across multiple VMs and survive VM replacement. You can grant it access once, attach it to current and future VMs, and avoid storing passwords or access keys in the workload.

Why this answer

A user-assigned managed identity (D) is the correct choice because it is a standalone Azure resource that can be created independently and then attached to multiple VMs. If a VM is rebuilt or replaced, the same user-assigned identity can be reassigned to the new VM without any credential rotation or secret management. This ensures continuous blob access via Azure AD authentication, meeting the requirement for a single, reusable identity.

Exam trap

The trap here is that candidates confuse system-assigned and user-assigned managed identities, assuming both are equally reusable, but system-assigned identities are deleted with the VM, making them unsuitable for scenarios requiring identity persistence across VM rebuilds.

Why the other options are wrong

A

A system-assigned managed identity is tied to the lifecycle of a single VM; if the VM is rebuilt, the identity is deleted and recreated, breaking the RBAC role assignment on the storage account. The question requires the identity to persist across VM rebuilds.

B

A storage account shared key embedded in application settings is not secure and does not support identity reassignment; if a VM is rebuilt, the key must be re-deployed, and it cannot be easily reassigned to future VMs without creating a new credential.

C

A service principal credential stored in Key Vault requires managing a secret and rotating it, and if the VM is rebuilt, the application must retrieve the secret again, which adds complexity and a dependency on Key Vault availability. The question requires a single identity that can be reassigned to future VMs without creating another credential, which user-assigned managed identity fulfills more directly.

When would these options actually be correct?

A

A system-assigned managed identity would be correct if each VM needs its own unique identity (e.g., for individual auditing) and the VMs are never rebuilt or replaced, or if the role assignment is recreated automatically via infrastructure-as-code.

B

This option would be correct if the question required a simple, low-cost solution for a single VM that does not need identity reassignment, and security requirements are minimal (e.g., a development or test environment).

C

This option would be correct if the question required the identity to be used by applications running outside Azure (e.g., on-premises) or if the VMs were in a different tenant, where managed identities are not supported. It would also be correct if the scenario explicitly required storing the credential in a secure vault for auditing or rotation purposes.

Why candidates pick the wrong answer

A

Candidates may think managed identities are always the best practice for Azure resources, and system-assigned seems simpler to enable without extra setup, overlooking the lifecycle dependency.

B

Candidates may think embedding a shared key in application settings is straightforward and avoids the complexity of managed identities, overlooking security and manageability requirements.

C

Candidates may think Key Vault is the best practice for storing secrets and that a service principal is the standard way to grant access to Azure resources, overlooking that managed identities eliminate the need to manage credentials entirely.

846
MCQmedium

A Recovery Services vault currently keeps daily Azure VM recovery points for 7 days. The business changes the requirement to keep daily recovery points for 30 days. Where should the administrator change the setting?

A.In the VM's network interface settings, because backup retention follows the NIC configuration.
B.In the backup policy associated with the Recovery Services vault.
C.In Azure Policy, by assigning a retention compliance initiative to the subscription.
D.In a storage account lifecycle rule attached to the VM disks.
AnswerB

Retention settings for Azure VM backups are controlled in the backup policy within the Recovery Services vault. The policy defines how often backups occur and how long recovery points are retained. To move from 7 days to 30 days of daily retention, the administrator updates the backup policy and applies it to the protected VM. This is the correct place because retention is a vault-level backup behavior, not a VM networking or storage setting.

Why this answer

The retention duration for Azure VM backups is configured within the backup policy that is associated with the Recovery Services vault. By modifying the backup policy (either the default policy or a custom policy), the administrator can change the retention setting from 7 days to 30 days for daily recovery points. This policy directly controls how long backup snapshots are retained, and the change takes effect for all VMs linked to that policy.

Exam trap

The trap here is that candidates often confuse backup retention settings with storage lifecycle management or Azure Policy, assuming that retention can be controlled at the disk or subscription level, when in fact it is exclusively managed through the backup policy linked to the Recovery Services vault.

Why the other options are wrong

A

Backup retention settings are configured in the backup policy, not in the VM's network interface. The NIC controls network connectivity, not backup retention.

C

Azure Policy can enforce compliance rules but does not directly configure backup retention for Recovery Services vaults; retention is set within the backup policy itself.

D

Azure VM backup retention is configured in the backup policy, not in storage account lifecycle rules. Lifecycle rules manage blob storage tiers or deletion, not Recovery Services vault backup retention.

When would these options actually be correct?

A

If the question asked about configuring network security group (NSG) rules or IP address settings for a VM, then the NIC settings would be the correct place to change those configurations.

C

An exam scenario where an organization needs to enforce a minimum backup retention period across all subscriptions using a custom Azure Policy initiative that audits or deploys backup policies with specific retention settings.

D

For a question about automatically deleting or archiving old VM disk snapshots stored in a storage account (not Recovery Services vault), a lifecycle rule would be the correct setting.

Why candidates pick the wrong answer

A

Candidates may confuse network interface settings with backup settings because both are part of VM configuration, or they might think retention is tied to the VM's network path.

C

Candidates may confuse Azure Policy's compliance enforcement capabilities with the operational setting of backup retention, thinking a policy can directly change retention duration without modifying the backup policy.

D

Candidates may confuse backup retention with storage lifecycle management, thinking that extending retention requires a rule on the underlying disk storage rather than the backup policy.

847
MCQmedium

Based on the exhibit, which Azure Policy construct should the administrator use to deploy and manage these guardrails as one unit across the department?

A.Create an Azure Policy initiative and assign it at the management group scope.
B.Create an Azure RBAC role assignment at the management group scope.
C.Apply a ReadOnly lock to each subscription.
D.Move all resources into one resource group.
AnswerA

An Azure Policy initiative (also known as a policySetDefinition) aggregates multiple related policy definitions into a single assignable unit. By assigning the initiative at the management group scope, you propagate the enforcement and compliance evaluation to every subscription and resource group within that hierarchy, ensuring consistent application of tag requirements, allowed locations, and other guardrails across a large enterprise without per-subscription assignments.

Why this answer

An Azure Policy initiative is a collection of policy definitions designed to group related policies together for deployment as a single unit. By assigning the initiative at the management group scope, the administrator can enforce consistent guardrails across all subscriptions within that management group, ensuring centralized governance and compliance for the entire department.

Exam trap

The trap here is confusing Azure Policy initiatives with RBAC roles or resource locks, as candidates often think access control or resource protection alone can enforce governance guardrails, but only policy initiatives provide the unified, rule-based deployment and management of compliance requirements.

Why the other options are wrong

B

Azure RBAC role assignments manage permissions for users/groups, not guardrails like policies. The question asks for deploying and managing guardrails (policy rules) as a unit, which requires an initiative, not RBAC.

C

Applying a ReadOnly lock to each subscription prevents accidental deletion or modification of resources but does not deploy or manage guardrails (policies) as a unit; it is a separate control mechanism, not a policy construct.

D

Moving all resources into one resource group does not deploy or manage guardrails as a unit; it only consolidates resources without enforcing any policies or compliance rules.

When would these options actually be correct?

B

If the question were: 'Which construct should an administrator use to grant a team of developers contributor permissions to all subscriptions in a department?' then creating an RBAC role assignment at the management group scope would be correct.

C

An administrator needs to prevent accidental deletion or modification of all resources in a subscription for a critical production environment, and the requirement is to enforce a read-only state across the entire subscription without implementing custom policies.

D

An exam question asks: 'An administrator needs to simplify cost tracking by grouping all resources for a project under a single billing scope. Which action should be taken?' In that case, moving resources into one resource group would be correct.

Why candidates pick the wrong answer

B

Candidates may confuse RBAC with policy because both involve 'assignments' at management group scope, and they might think role assignments can enforce rules like guardrails.

C

Candidates may confuse locks with policy guardrails because both are used to enforce compliance and prevent changes, but locks are a simpler, non-policy-based control.

D

Candidates may think that grouping resources together simplifies management and policy enforcement, but resource groups do not provide policy enforcement capabilities.

848
MCQhard

A storage account becomes unavailable because Azure has a regional platform issue. The operations team wants a notification whenever Azure marks the resource or region unhealthy, and they want to avoid continuous log ingestion just to detect the outage. What should they configure?

A.A metric alert on storage capacity with an action group.
B.A log alert on storage diagnostic logs that watches for 503 responses.
C.A Service Health alert based on the Activity log, scoped appropriately.
D.An Azure Policy assignment that audits the storage account state.
AnswerC

Service Health alerts are the right choice when you need to know about Azure platform incidents, regional issues, or service degradations that affect a resource or region. They are generated from the Activity log and do not require you to ingest operational logs continuously just to detect an outage. This makes them both efficient and appropriate for platform availability monitoring.

Why this answer

A Service Health alert, configured from the Azure Activity log, provides proactive notifications when Azure services or regions experience an outage or degradation. This alert is triggered by Azure's own health signals, eliminating the need for continuous log ingestion or custom metric monitoring to detect platform-level issues.

Exam trap

The trap here is that candidates confuse application-level monitoring (e.g., log alerts on HTTP 503 errors) with Azure's own platform health signals, leading them to choose a log-based solution that requires continuous ingestion and misses the native Service Health alert capability.

Why the other options are wrong

A

Metric alerts on storage capacity monitor performance metrics like used capacity, not service health or regional outages. They cannot detect when Azure marks a resource or region as unhealthy, which is the specific requirement.

B

A log alert on storage diagnostic logs requires continuous log ingestion, which the operations team wants to avoid. Additionally, it watches for 503 responses from the storage account itself, not for Azure platform health notifications.

D

Azure Policy audits compliance but does not generate real-time notifications for service health issues; it is a governance tool, not an alerting mechanism for regional platform outages.

When would these options actually be correct?

A

A metric alert on storage capacity would be correct if the question asked for a notification when storage usage exceeds a threshold (e.g., 80% capacity) to plan scaling or cleanup, not for detecting Azure platform issues.

B

This option would be correct if the question asked for a way to detect application-level errors (e.g., 503 Service Unavailable) from the storage account due to client-side issues or throttling, and the team is already collecting diagnostic logs.

D

A question asking how to enforce that storage accounts are deployed only in specific regions or with certain encryption settings would make Azure Policy the correct answer, as it audits and enforces compliance rules.

Why candidates pick the wrong answer

A

Candidates may confuse metric alerts with health monitoring, thinking any alert on a storage account can detect outages, or they may not understand that Service Health alerts are separate from resource-level metrics.

B

Candidates may think that monitoring HTTP error codes is a direct way to detect outages, and they overlook the requirement to avoid continuous log ingestion and the need for platform-level health notifications.

D

Candidates may confuse Azure Policy's audit capability with monitoring and alerting, thinking it can detect and notify on resource state changes, but it lacks real-time alerting for service health events.

849
MCQeasy

Based on the exhibit, which KQL operator should replace the blank to return only those columns?

A.where, because it filters rows and also selects the visible columns.
B.summarize, because it groups the failed records into a smaller result set.
C.project, because it returns only the named columns in the result.
D.extend, because it creates new output columns for the selected fields.
AnswerC

The project operator is a column selection and reshaping operator: it returns only the columns explicitly listed in its arguments, in the order specified, and drops all other columns from the input tabular schema. In this query, using project TimeGenerated, VaultName, OperationName gives a concise, readable result set that keeps only the fields relevant to the failed recovery vault entries. All other columns, such as ResourceId or SubscriptionId, are discarded from the output even though they may exist in the underlying log data.

Why this answer

The `project` operator in Kusto Query Language (KQL) is specifically designed to select a subset of columns from the input table, returning only the named columns in the result set. This matches the requirement to 'return only those columns,' making option C correct.

Exam trap

The trap here is confusing row-filtering operators (like `where`) with column-selection operators (like `project`), leading candidates to choose `where` because they think it controls visible columns, when in fact it only filters rows.

Why the other options are wrong

A

The 'where' operator filters rows based on a condition, but it does not select or limit the columns returned; it returns all columns from the input table.

B

The question asks for an operator that returns only specific columns. 'summarize' groups rows and produces aggregation results, but it does not control which columns are returned; it can include additional columns from the group-by clause, not just the named ones.

D

The 'extend' operator creates new columns based on existing ones, but it does not remove other columns from the output. The question requires returning only specific columns, which 'project' does by selecting a subset of columns and discarding the rest.

When would these options actually be correct?

A

In a KQL question asking to filter records where the status is 'Failed' and return all columns, 'where' would be correct. For example: 'Which operator filters rows where Status == "Failed"?'

B

A question asks: 'Which KQL operator should be used to count the number of failed requests per hour?' In that case, 'summarize' is correct because it groups by time and counts failures.

D

In a scenario where you need to add a new calculated column (e.g., 'TotalPrice = Quantity * UnitPrice') while keeping all existing columns in the result, 'extend' would be the correct operator to use.

Why candidates pick the wrong answer

A

Candidates may confuse filtering rows with selecting columns, or think 'where' can also project columns because in SQL, SELECT can combine filtering and column selection.

B

Candidates may think 'summarize' reduces the result set to only relevant columns, confusing aggregation with column selection, or they may misinterpret 'return only those columns' as a reduction in data volume.

D

Candidates may confuse 'extend' with 'project' because both can manipulate columns, but 'extend' adds columns without removing others, whereas 'project' selects only specified columns.

850
MCQhard

Two virtual machines named VM-Web01 and VM-Web02 host the same public web application. Users on the internet must connect through a single public IP address, and incoming requests should be distributed across both VMs. What should you deploy?

A.An internal load balancer
B.A public load balancer
C.A private DNS zone
D.A Recovery Services vault
AnswerB

A public load balancer is the correct choice because it presents a single public IP address to internet clients and uses a backend pool containing vm-web01 and vm-web02. It applies health probes to each backend VM and forwards new connections only to healthy instances, thereby distributing traffic while also providing fault tolerance if one VM becomes unresponsive.

Why this answer

A public load balancer (Azure Load Balancer with a public frontend IP) is required because it provides a single public IP address for internet clients and distributes incoming traffic across the backend VMs (VM-Web01 and VM-Web02) using a configured load-balancing rule. This ensures high availability and scalability for the web application.

Exam trap

The trap here is that candidates often confuse an internal load balancer with a public load balancer, mistakenly thinking any load balancer can provide internet-facing access, but only a public load balancer exposes a public IP address for external clients.

Why the other options are wrong

A

An internal load balancer only handles traffic within a virtual network, not from the internet. Since users must connect from the internet through a single public IP, a public load balancer is required.

C

A private DNS zone resolves names within a private network, not for internet-facing traffic. It cannot provide a single public IP address or distribute incoming internet requests across VMs.

D

A Recovery Services vault is used for backup and disaster recovery, not for distributing incoming internet traffic across VMs.

When would these options actually be correct?

A

An internal load balancer would be correct if the question specified that the web application is accessed only by internal users within the same virtual network, and no internet-facing public IP is needed.

C

You need to resolve custom domain names (e.g., 'app.internal') to private IP addresses of VMs within a virtual network, without exposing them to the internet. For example, deploying a private DNS zone linked to a VNet for internal name resolution.

D

You need to protect Azure VMs by enabling backup. The question would ask: 'Which Azure resource should you create to store backup data and configure backup policies for Azure VMs?'

Why candidates pick the wrong answer

A

Candidates may confuse internal and public load balancers, thinking any load balancer can handle internet traffic, or they may overlook the requirement for a public IP address.

C

Candidates may confuse DNS-based load balancing with actual load balancing, thinking that a DNS zone can distribute traffic by resolving to multiple IPs, but it lacks health probing and session persistence.

D

Candidates may confuse Recovery Services vault with a service that provides high availability or failover, mistakenly thinking it can distribute traffic.

851
MCQmedium

A PowerShell script runs on an Azure VM every night and uses Azure CLI commands to create tags and VM resources in another subscription. The script cannot store a password or client secret. What should it use to authenticate to Azure?

A.az login with a username and password.
B.az login --identity.
C.Connect-AzAccount with device code authentication.
D.An app registration secret stored in a PowerShell variable.
AnswerB

The Azure CLI can sign in with the VM's managed identity by using az login --identity. That allows the script to authenticate without storing a password or client secret. After sign-in, the identity can be granted access to the target subscription or resource group, which makes the solution both secure and automation-friendly for nightly jobs.

Why this answer

The script runs on an Azure VM and can use a managed identity to authenticate without storing any secrets. The `az login --identity` command uses the VM's system-assigned or user-assigned managed identity to obtain an Azure AD access token via the Azure Instance Metadata Service (IMDS) endpoint. This satisfies the requirement of no password or client secret storage.

Exam trap

The trap here is that candidates often confuse managed identity with service principal secrets or device code authentication, assuming any non-interactive method requires a stored secret, but `az login --identity` provides secretless authentication for Azure resources.

Why the other options are wrong

A

The script cannot store a password or client secret, and interactive username/password login is not suitable for unattended execution. Additionally, Azure CLI's 'az login' with username/password requires interactive input or storing credentials, which violates the constraint.

C

Device code authentication requires interactive user input (browser login), but the script runs unattended every night, so it cannot complete the device code flow without human intervention.

D

The script cannot store a password or client secret, so using an app registration secret stored in a PowerShell variable violates that constraint. Additionally, secrets require secure storage and management, which is not feasible in an unattended script without credential storage.

When would these options actually be correct?

A

In a scenario where the script runs interactively with a user present, and the user can provide credentials each time without automation constraints, such as a one-time manual task. The question would not prohibit storing credentials or require unattended execution.

C

When an administrator runs a script interactively from their own workstation and wants to authenticate without entering credentials directly in the console, device code authentication is appropriate.

D

If the question allowed storing a secret securely (e.g., in Azure Key Vault) and the script could retrieve it at runtime, then using an app registration secret would be correct. For example: 'A PowerShell script runs on-premises and needs to authenticate to Azure using a service principal with a client secret stored in Azure Key Vault.'

Why candidates pick the wrong answer

A

Candidates may default to the familiar username/password authentication method without considering the unattended execution requirement or the constraint against storing secrets.

C

Candidates may think device code authentication is a secure, non-interactive method because it doesn't require a password in the script, but they overlook that it still requires manual browser interaction.

D

Candidates may think that storing a secret in a variable is acceptable because it avoids hardcoding, but they overlook the explicit constraint against storing any password or secret. They also may not realize that managed identity is the simpler, more secure option for Azure VMs.

852
MCQmedium

A stateless Linux API should start with 2 instances, scale out to 6 when average CPU stays above 75 percent for 10 minutes, and scale back in when load drops. Which Azure compute resource should the administrator deploy?

A.An availability set with manual VM resizing.
B.A virtual machine scale set with autoscale rules.
C.A single Standard D-series VM with scheduled shutdown.
D.A load balancer in front of two unmanaged VMs.
AnswerB

A virtual machine scale set is built for identical compute instances that need to scale horizontally. Autoscale rules can watch CPU, adjust the instance count automatically, and maintain the minimum and maximum capacity you define. This fits stateless services very well because any instance can handle incoming requests once traffic is distributed across the set.

Why this answer

A virtual machine scale set (VMSS) with autoscale rules is the correct choice because it natively supports scaling out and scaling in based on performance metrics like average CPU percentage. The requirement for a stateless Linux API with a minimum of 2 instances, scaling to 6 when CPU exceeds 75% for 10 minutes, and scaling back in when load drops is exactly the use case VMSS is designed for. Autoscale rules can be configured to use a scale-out and scale-in policy with a cool-down period, ensuring the application remains responsive while optimizing cost.

Exam trap

The trap here is that candidates may confuse an availability set with autoscaling, not realizing that availability sets only provide redundancy and fault tolerance, not dynamic scaling, or they may think a load balancer with two VMs is sufficient, overlooking the requirement for automatic scaling based on CPU thresholds.

Why the other options are wrong

A

An availability set with manual VM resizing does not provide automatic scaling based on CPU thresholds; it only ensures high availability across fault domains, not dynamic scaling.

C

A single Standard D-series VM with scheduled shutdown cannot scale out to 6 instances or handle variable load; it's a fixed-size VM that only shuts down on a schedule, not based on CPU metrics.

D

This setup lacks autoscaling; scaling requires manual intervention or additional configuration, and unmanaged VMs do not support the automated scale-out/in rules needed for the stateless API's CPU-based scaling requirements.

When would these options actually be correct?

A

If the question required high availability for a fixed number of VMs (e.g., 2 instances) without autoscaling, and the administrator needed to manually resize VMs to handle load changes, an availability set with manual resizing would be correct.

C

This would be correct for a non-critical, predictable workload that must run only during business hours and can be shut down at night to save costs, with no scaling requirements.

D

This option would be correct for a question requiring high availability for a stateful application with a fixed number of VMs (e.g., 2) behind a load balancer, where no autoscaling is needed and the VMs are managed individually.

Why candidates pick the wrong answer

A

Candidates may confuse availability sets with scalability, thinking that placing VMs in an availability set enables automatic scaling, or they may overlook the requirement for autoscaling rules.

C

Candidates may think scheduled shutdown can mimic scaling by turning off the VM during low load, but it lacks dynamic scaling based on real-time metrics like CPU usage.

D

Candidates may think a load balancer with multiple VMs provides scalability, but overlook that autoscaling is not inherent; they confuse load balancing with automatic scaling.

853
MCQmedium

You need to deploy several identical virtual machines and ensure that the failure of a single Azure host does not affect all of them. Which feature should you use?

A.An availability set
B.A proximity placement group
C.A private endpoint
D.A custom script extension
AnswerA

An availability set ensures the deployed VMs are placed on different fault domains (distinct physical hardware, power, and network) and update domains (distinct maintenance schedules). This configuration guarantees that at least one VM remains available during either planned Azure maintenance or an unexpected hardware failure, and it is required to qualify for the 99.95% VM SLA. For identical, redundant VMs, an availability set is the standard resilience mechanism.

Why this answer

An availability set distributes virtual machines across multiple fault domains (physical hosts) and update domains within an Azure datacenter. By placing VMs in an availability set, you ensure that a failure of a single Azure host (fault domain) does not affect all VMs, as each VM is placed on a different physical host. This meets the requirement for isolation from a single host failure.

Exam trap

The trap here is that candidates often confuse availability sets with availability zones, thinking zones are required for host failure isolation, but availability sets provide fault domain isolation within a single datacenter, which is sufficient for the stated requirement.

Why the other options are wrong

B

A proximity placement group reduces network latency between VMs by placing them close together, but it does not protect against the failure of a single Azure host. In fact, it increases the risk of simultaneous failure because VMs are placed in close proximity, potentially on the same host.

C

A private endpoint provides secure connectivity to Azure PaaS services over a private IP address, not fault tolerance for VMs. It does not isolate VMs from host failures.

D

A custom script extension is used to run scripts on VMs after deployment, not to provide high availability or fault isolation across hosts.

When would these options actually be correct?

B

You need to deploy several VMs that require the lowest possible network latency between them, such as for a high-performance computing (HPC) application or a latency-sensitive distributed database. The question would specify that high network performance is the primary requirement, not fault tolerance.

C

You need to ensure that traffic to an Azure Storage account from a virtual network does not traverse the public internet. A private endpoint would be the correct answer.

D

When the question asks how to automatically install software or run configuration scripts on a VM after it is provisioned, such as installing an antivirus agent or joining a domain.

Why candidates pick the wrong answer

B

Candidates may confuse 'proximity' with 'availability' or think that grouping VMs together somehow provides redundancy, not realizing that proximity actually increases the risk of correlated failures.

C

Candidates may confuse 'private' with 'isolated' or think that a private endpoint provides some form of redundancy or fault isolation.

D

Candidates may confuse the need for post-deployment automation with the requirement for fault tolerance, thinking that running a script can somehow mitigate host failures.

854
MCQmedium

A development environment uses temporary test VMs that can be rebuilt at any time. The administrator wants the operating system disk to provide the lowest practical latency and does not need the disk data to survive a deallocate operation. Which OS disk option should be selected?

A.Standard HDD managed disk.
B.Premium SSD managed disk.
C.Ephemeral OS disk.
D.Ultra Disk managed disk.
AnswerC

Ephemeral OS disks are designed specifically for stateless workloads like temporary test VMs. The disk is hosted on the local VM storage rather than Azure Storage, providing the lowest possible read/write latency for the OS. When the VM is stopped, deallocated, or redeployed, the disk content is lost, which is exactly what you want for disposable test environments—no persistent storage cost or orphaned disks to clean up.

Why this answer

Ephemeral OS disks use the local VM storage (temporary disk) rather than remote managed storage, which provides the lowest possible latency because data is stored directly on the host node. Since the test VMs can be rebuilt at any time and the disk data does not need to survive a deallocate operation, the ephemeral disk is ideal—it is automatically deleted when the VM is deallocated or deleted, and it avoids the cost and performance overhead of managed disks.

Exam trap

The trap here is that candidates often choose Premium SSD (B) because they associate 'lowest latency' with premium managed disks, forgetting that ephemeral OS disks use local storage which is inherently faster and also meets the 'no persistence' requirement, while managed disks always persist data across deallocations.

Why the other options are wrong

A

Standard HDD managed disks have the highest latency among Azure disk types, which contradicts the requirement for the lowest practical latency. Additionally, they are persistent and survive deallocation, which is unnecessary for temporary VMs that can be rebuilt.

B

Premium SSD provides low latency but its data persists through deallocate, which contradicts the requirement that disk data does not need to survive deallocate. Ephemeral OS disk is the correct choice for lowest latency and data loss on deallocate.

D

Ultra Disk provides extremely low latency, but it is a managed disk that persists data through deallocate operations and is not ephemeral. The question requires the disk to not survive deallocation, so Ultra Disk does not meet that requirement.

When would these options actually be correct?

A

A scenario where cost is the primary constraint and performance requirements are minimal, such as for archival or backup storage where low cost is prioritized over latency, and data persistence is needed across VM deallocations.

B

When the question requires persistent OS disk data across deallocate operations and the workload demands high IOPS and low latency, such as for a production database VM that must retain its OS state after being stopped.

D

When the question asks for the highest performance managed disk for a critical database workload that must persist data across VM restarts and deallocations, and cost is not a primary concern, Ultra Disk would be the correct choice.

Why candidates pick the wrong answer

A

Candidates may mistakenly think Standard HDD is sufficient for temporary VMs due to its low cost, overlooking the explicit latency requirement and the availability of Ephemeral OS disks for non-persistent, high-performance needs.

B

Candidates associate Premium SSD with low latency and high performance, overlooking the specific requirement that data does not need to survive deallocate, which makes Ephemeral OS disk the better fit.

D

Candidates see 'lowest practical latency' and immediately think of Ultra Disk, which is indeed the lowest-latency managed disk option, but they overlook the requirement that the disk data must not survive a deallocate operation.

855
MCQeasy

A line-of-business app will run on a single Azure virtual machine in a region that supports availability zones. The business wants the VM to keep running if one datacenter in the region fails. Which deployment choice should you use?

A.Place the VM in an availability set
B.Deploy the VM in an availability zone
C.Use a larger VM size
D.Use a custom image
AnswerB

An availability zone places the VM in a physically separate datacenter within the same Azure region. That design gives better resilience against a datacenter-level failure than an availability set. For a single VM, choosing a zone is the direct way to improve protection from one zone or datacenter going offline. It is the right operational choice when the region supports zones and the requirement is survivability during a datacenter outage.

Why this answer

Availability zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. Deploying the VM in an an availability zone ensures that if one datacenter fails, the VM remains operational because it is hosted in a different zone. This directly meets the requirement for resilience against a single datacenter failure.

Exam trap

The trap here is that candidates often confuse availability sets (which protect against rack-level failures within a datacenter) with availability zones (which protect against entire datacenter failures), leading them to incorrectly select availability set as the answer.

Why the other options are wrong

A

An availability set protects against failures within a single datacenter (e.g., rack or update domain failures), not against a full datacenter outage. Since the requirement is to survive a datacenter failure, availability zones (which span separate datacenters) are needed.

C

Increasing VM size improves performance but does not provide datacenter-level fault tolerance; it only adds more resources within the same datacenter.

D

Using a custom image does not provide any datacenter-level redundancy; it only defines the OS and software configuration of the VM, not its placement or fault tolerance.

When would these options actually be correct?

A

If the question asked for protection against hardware failures or maintenance events within a single datacenter (e.g., 'The VM must remain available during planned maintenance within the same datacenter'), then placing the VM in an availability set would be correct.

C

A question where the business requires higher compute or memory capacity for a VM, and the exam asks which VM size tier (e.g., Standard_D2s_v3 vs Standard_D4s_v3) to choose to meet performance requirements.

D

A question asks: 'You need to deploy multiple VMs with a specific pre-configured software stack. Which approach ensures consistent configuration across all VMs?' Using a custom image would be correct to capture the exact configuration and deploy it repeatedly.

Why candidates pick the wrong answer

A

Candidates may confuse availability sets with availability zones, thinking both provide datacenter-level fault tolerance, or they may recall that availability sets offer high availability without realizing they are limited to a single datacenter.

C

Candidates may mistakenly believe that a larger VM size inherently includes redundancy or high availability features, confusing scalability with fault tolerance.

D

Candidates may think a custom image can be used to deploy VMs in different datacenters, but it does not affect availability or fault tolerance.

856
MCQeasy

Two application VMs are in the same Azure region. They must stay available during planned host maintenance, but the business does not require protection from a full datacenter outage. Which placement option should you use?

A.Availability set
B.Availability zone
C.Shared disk
D.Snapshot set
AnswerA

An availability set spreads VMs across fault and update domains so planned maintenance affects only part of the group at a time.

Why this answer

An availability set distributes VMs across multiple fault domains (up to 3) and update domains (up to 20) within a single Azure datacenter. This ensures that during planned host maintenance, only one update domain is taken offline at a time, keeping the application VMs available. Since the requirement does not include protection from a full datacenter outage, an availability set is the correct and cost-effective placement option.

Exam trap

The trap here is that candidates often choose Availability zones because they see 'high availability' and assume it's always the best option, missing the explicit constraint that only planned host maintenance needs to be covered, not a full datacenter outage.

Why the other options are wrong

B

Availability zones protect against datacenter-level failures, but the question explicitly states no protection from a full datacenter outage is required. Zones also incur cross-zone latency and cost, which are unnecessary for planned host maintenance.

C

Shared disks allow multiple VMs to access the same managed disk simultaneously for clustered applications, but they do not provide high availability against planned host maintenance or datacenter outages.

D

Snapshot set is not a valid Azure placement option; it refers to a collection of disk snapshots used for backup or disaster recovery, not for VM placement during planned maintenance.

When would these options actually be correct?

B

If the question required protection from a full datacenter outage (e.g., 'must survive a datacenter failure') or demanded 99.99% uptime SLA, availability zones would be correct. For example: 'Two VMs must remain available during a regional disaster; which placement option?'

C

When the question asks for a solution to enable two VMs to share a single block storage volume for a failover cluster application (e.g., SQL Server FCI) in the same availability set or zone.

D

If the question asked for a method to create point-in-time backups of managed disks for a VM, or to replicate disks across regions for disaster recovery, then 'Snapshot set' (or snapshot) would be correct.

Why candidates pick the wrong answer

B

Candidates confuse 'availability' with 'high availability' and assume zones always provide better uptime, overlooking the specific requirement for planned maintenance only, not disaster recovery.

C

Candidates may confuse shared disks with high availability features, thinking that sharing storage inherently provides redundancy against maintenance events.

D

Candidates may confuse 'snapshot set' with availability sets due to the word 'set', or incorrectly think snapshots can provide high availability during maintenance.

857
MCQmedium

Based on the exhibit, where should the Reader role be assigned so the audit team automatically has access to every current and future subscription under Corp?

A.Assign Reader at the Corp management group scope.
B.Assign Reader at the subscription scope for Sub-001.
C.Assign Reader at the resource group scope in each subscription.
D.Assign Reader directly to each resource that the audit team might review.
AnswerA

Assigning the Reader role at the Corp management group scope is correct because Azure RBAC role assignments are inherited by all child scopes: subscriptions, resource groups, and resources that reside under that management group. Since Corp presumably contains all current and future subscriptions, a single assignment guarantees the audit team has read-only visibility across the entire hierarchy without needing further assignments. This aligns with the recommended practice of assigning roles at the highest applicable scope to minimize administrative overhead and ensure consistent access.

Why this answer

Assigning the Reader role at the Corp management group scope uses Azure RBAC inheritance to grant the audit team read-only access to all current and future subscriptions under that management group. Because management group scope propagates role assignments to all child subscriptions and resource groups, this ensures automatic coverage without manual updates.

Exam trap

The trap here is that candidates often choose subscription-level assignment (Option B) because they think it covers all resources in that subscription, but they overlook that the question requires access to every current and future subscription under Corp, which only management group inheritance can provide.

Why the other options are wrong

B

Assigning Reader at the subscription scope for Sub-001 only grants access to that specific subscription, not to every current and future subscription under Corp. The requirement is for automatic access to all subscriptions, which requires assignment at the management group scope.

C

Assigning Reader at the resource group scope does not grant access to every current and future subscription under Corp; it only covers specific resource groups within a single subscription, failing to meet the requirement for automatic access across all subscriptions.

D

Assigning Reader at the resource level would require manual assignment to each resource, failing to provide automatic access to all current and future subscriptions under Corp. It does not scale and violates the principle of least privilege by granting access at too granular a level.

When would these options actually be correct?

B

If the question specified that the audit team only needs access to Sub-001 and no other subscriptions, or if the Corp management group did not exist and subscriptions were managed individually, then assigning Reader at the subscription scope for Sub-001 would be correct.

C

This option would be correct if the question required granting the audit team access to all resources within a specific resource group across multiple subscriptions, but not to other resource groups or subscriptions, and future subscriptions were not a concern.

D

If the question required granting the audit team access only to specific resources (e.g., a single storage account) and no other resources in the subscription or management group, then assigning Reader at the resource scope would be correct.

Why candidates pick the wrong answer

B

Candidates may think assigning at the subscription level is sufficient because it covers all resources within that subscription, overlooking the need to cover multiple subscriptions and future ones automatically.

C

Candidates may think resource group scope is sufficient because it covers multiple resources within a group, but they overlook the need for subscription-wide or management group-level inheritance to include all subscriptions and future ones.

D

Candidates may think that assigning the role directly to resources is the most secure approach, not realizing that management group or subscription scopes provide inheritance and reduce administrative overhead.

858
MCQmedium

Two application VNets are deployed in different Azure regions. Each VNet uses a unique, non-overlapping address space. The application teams want private IP connectivity over the Microsoft backbone with the lowest possible latency between the regions. Which design should the administrator choose?

A.Global VNet peering.
B.A site-to-site VPN between the two VNets.
C.Azure Traffic Manager with two public endpoints.
D.A service endpoint for each application subnet.
AnswerA

Global VNet peering is the correct choice for private connectivity between VNets in different Azure regions. It keeps traffic on the Microsoft backbone, uses private IP addressing, and avoids the added latency and overhead of an external VPN tunnel. Because the VNets already have non-overlapping address spaces, they meet the peering prerequisites. This design is commonly used when multiple regional workloads need fast, private communication without introducing a gateway-based path.

Why this answer

Global VNet peering provides direct, private IP connectivity between two VNets in different Azure regions over the Microsoft backbone, ensuring the lowest possible latency by bypassing the public internet and any intermediate gateways. It uses the Azure infrastructure to route traffic efficiently between the peered VNets, meeting the requirement for private, low-latency communication.

Exam trap

The trap here is that candidates often confuse site-to-site VPN (Option B) as a private connectivity method, overlooking that its encryption overhead and gateway processing introduce higher latency compared to the direct, unencrypted path of Global VNet peering.

Why the other options are wrong

B

Site-to-site VPN uses the public internet or ExpressRoute with VPN gateway, which introduces higher latency and does not leverage the Microsoft backbone for the lowest latency path between VNets.

C

Azure Traffic Manager operates at the DNS level for traffic routing based on performance or geographic location, but it does not provide private IP connectivity between VNets; it requires public endpoints and does not enable direct VNet-to-VNet communication over the Microsoft backbone.

D

Service endpoints provide secure connectivity from a VNet to Azure PaaS services (like Storage or SQL) over the Microsoft backbone, not private IP connectivity between two VNets. They do not enable VNet-to-VNet routing or inter-region private connectivity.

When would these options actually be correct?

B

A site-to-site VPN would be correct if the requirement is to connect on-premises networks to Azure VNets, or to connect VNets across regions when VNet peering is not supported (e.g., different Azure clouds or classic VNets).

C

This option would be correct in a scenario where the requirement is to distribute incoming user traffic across multiple public endpoints (e.g., web applications) in different regions for high availability and low latency, without needing private IP connectivity between the VNets.

D

A question requiring secure, private access from a VNet to an Azure SQL Database or Storage Account, minimizing exposure to the public internet, would make service endpoints the correct answer. For example: 'You need to ensure that traffic from a VNet to Azure Storage never traverses the public internet.'

Why candidates pick the wrong answer

B

Candidates may think VPN provides private connectivity and is suitable for inter-region connections, but they overlook that VNet peering offers lower latency over the Microsoft backbone without a VPN gateway.

C

Candidates may confuse Traffic Manager's latency-based routing with providing low-latency private connectivity, or they might think that Traffic Manager can route traffic between VNets because it can direct traffic to endpoints in different regions.

D

Candidates may confuse service endpoints with VNet peering or assume that 'service endpoint' implies general private connectivity between VNets, not realizing it is limited to Azure PaaS services.

859
MCQmedium

Based on the exhibit, a user accidentally deleted one file from the VM and you need to restore only that file without recovering the entire virtual machine. What should you use?

A.Run file recovery from the available recovery point.
B.Restore the entire VM to the original resource group.
C.Create a new backup policy with longer retention and wait for the next backup.
D.Use Azure Monitor alerts to trigger an automatic file restore.
AnswerA

Azure VM backup supports file-level recovery from a restore point. Because only one file is needed, file recovery is the least disruptive and most efficient choice. It mounts the recovery point and lets you copy back the missing file without restoring the entire VM or its disks.

Why this answer

Azure Backup for Azure VMs supports file-level recovery from VM backup snapshots without restoring the entire VM. By selecting 'File Recovery' from the backup item's recovery point, you can mount the backup as a drive on the VM or a recovery machine, browse the file system, and copy the deleted file back to its original location. This avoids the overhead and downtime of a full VM restore.

Exam trap

The trap here is that candidates may confuse 'file recovery' with 'full VM restore' or assume that only a full restore can recover data, overlooking the granular file-level recovery capability built into Azure Backup.

Why the other options are wrong

B

Restoring the entire VM to the original resource group would recover the whole virtual machine, not just the single deleted file, which is not the required action.

C

Creating a new backup policy with longer retention does not restore the already deleted file; it only affects future backups. The file was deleted before the new policy takes effect, so no recovery point exists for it.

D

Azure Monitor alerts are for monitoring and triggering actions based on metrics or logs, not for file-level recovery from backups. File recovery requires using Azure Backup's file recovery feature from a recovery point.

When would these options actually be correct?

B

If the question asked to recover a VM that has been accidentally deleted or corrupted, and you need to restore it to its original state, then restoring the entire VM from a recovery point to the original resource group would be correct.

C

This option would be correct if the question asked: 'You need to ensure that future deleted files can be recovered for up to 30 days, but the current policy only retains backups for 7 days. What should you do?'

D

If the question asked: 'You need to automatically restore a file from backup whenever a specific event occurs, such as a file deletion detected by Azure Monitor.' Then using Azure Monitor alerts to trigger an automation runbook or logic app that performs file restore would be correct.

Why candidates pick the wrong answer

B

Candidates may think that restoring the entire VM is the only way to recover files, not knowing that Azure Backup supports file-level recovery from VM backups.

C

Candidates may think that adjusting the backup policy will retroactively protect the deleted file, misunderstanding that retention policies apply only to backups taken after the change.

D

Candidates may think Azure Monitor can handle any automated recovery task, confusing its alerting and action capabilities with backup-specific restore operations.

860
MCQmedium

Based on the exhibit, an administrator is trying to peer two VNets so workloads can communicate privately. The peering creation fails. What should the administrator do first?

A.Create a user-defined route in VNet-Prod to force traffic through a firewall.
B.Readdress one of the VNets so the address spaces no longer overlap.
C.Enable gateway transit on both VNets and retry the peering.
D.Add an NSG rule that allows traffic from the other VNet.
AnswerB

Azure VNet peering requires non-overlapping address spaces. The correct first step is to change one VNet to a unique, non-conflicting prefix before attempting peering again. Once the overlap is removed, the peering can be created and traffic can flow privately between the networks.

Why this answer

VNet peering requires that the address spaces of the two virtual networks do not overlap. Overlapping address spaces cause routing conflicts and prevent the peering from being established. The administrator must readdress one of the VNets so their IP ranges are unique before retrying the peering.

Exam trap

The trap here is that candidates often focus on network security or traffic control (NSGs, UDRs, gateway transit) instead of recognizing that VNet peering has a strict prerequisite of non-overlapping address spaces, which is a common misconfiguration in real-world scenarios.

Why the other options are wrong

A

The peering fails due to overlapping address spaces, not routing. A UDR is irrelevant until peering is established.

C

Gateway transit is used for connecting VNets via a VPN gateway, not for VNet peering. The peering fails due to overlapping address spaces, which is unrelated to gateway transit.

D

The peering failure is due to overlapping address spaces, not because traffic is being blocked. NSG rules control traffic flow but do not resolve the fundamental issue of overlapping IP ranges, which prevents peering from being established.

When would these options actually be correct?

A

If the VNets were successfully peered but traffic was being blocked or misrouted, and a firewall appliance was required to inspect or filter traffic between them, then creating a UDR to force traffic through a firewall would be correct.

C

If an administrator needs to allow a spoke VNet to use a VPN gateway in a hub VNet for connectivity to on-premises, enabling gateway transit on the hub and using remote gateways on the spoke is required.

D

An NSG rule allowing traffic from the other VNet would be correct if the peering is already established but traffic is being blocked by default NSG rules. For example, if VNet peering succeeds but VMs cannot communicate, adding an NSG rule to permit traffic between the VNets would resolve the issue.

Why candidates pick the wrong answer

A

Candidates may think routing issues are the default cause of connectivity failures, and UDRs are a common solution for controlling traffic flow between VNets.

C

Candidates may confuse VNet peering with gateway transit scenarios, thinking that enabling transit is a prerequisite for any peering to work, especially when troubleshooting connectivity issues.

D

Candidates often assume that connectivity issues after peering are due to security rules, so they think adding an NSG rule will fix the problem. They may overlook that overlapping address spaces prevent peering from being created at all.

861
MCQeasy

A newly created VM must read secrets from Azure Key Vault. The solution must not store credentials on the VM, and the identity should disappear automatically when the VM is deleted. What should the administrator enable?

A.User-assigned managed identity
B.System-assigned managed identity
C.A service principal with a stored client secret
D.A storage account access key
AnswerB

A system-assigned managed identity is tied directly to one VM. Azure creates and manages the identity for that resource, so no passwords or client secrets need to be stored on the server. When the VM is deleted, the identity is removed automatically, which satisfies both security and lifecycle requirements.

Why this answer

A system-assigned managed identity is automatically created and tied to the lifecycle of the Azure VM. When the VM is deleted, the identity is automatically removed, satisfying the requirement that the identity disappears. This identity can be granted access to Key Vault secrets via Azure RBAC or access policies, without storing any credentials on the VM.

Exam trap

The trap here is that candidates often confuse user-assigned and system-assigned managed identities, assuming both are tied to the VM lifecycle, but only the system-assigned identity is automatically deleted with the VM.

Why the other options are wrong

A

A user-assigned managed identity persists independently of the VM lifecycle; it does not disappear automatically when the VM is deleted, failing the requirement that the identity should disappear automatically.

D

A storage account access key is a static credential that must be stored on the VM, violating the requirement to not store credentials on the VM, and it does not automatically disappear when the VM is deleted.

When would these options actually be correct?

A

When the requirement is to share the same identity across multiple Azure resources (e.g., multiple VMs or an App Service and a VM) and the identity must persist even after one resource is deleted, a user-assigned managed identity is the correct choice.

D

When a VM needs to access Azure Storage blobs or files using a shared key, and the key can be stored securely (e.g., in Azure Key Vault) or rotated manually, and there is no requirement for automatic identity lifecycle management.

Why candidates pick the wrong answer

A

Candidates may confuse user-assigned and system-assigned managed identities, assuming both are managed identities and thus both meet the 'no credentials stored' requirement, overlooking the automatic lifecycle coupling of system-assigned identities.

D

Candidates may confuse storage account access keys with managed identities, thinking they provide a simple way to access Azure resources without understanding that keys are static credentials that must be stored on the VM.

862
Multi-Selecteasy

A records team stores blobs that are read often during the first month and then rarely accessed later, but the files must stay online the whole time. Which two access tiers should they use for the active and inactive data sets? Select two.

Select 2 answers
A.Hot, because it is optimized for frequent reads and online access to active data.
B.Cool, because it is designed for infrequent access while still keeping blobs online.
C.Archive, because it is best for data that must be opened immediately by users.
D.Premium block blob, because it is the standard tier for long-term retention and low-cost storage.
E.Cold, because it is intended for data that can stay offline until someone requests it.
AnswersA, B

Hot is the best fit for data that is accessed often and needs immediate online availability.

Why this answer

The Hot access tier is optimized for frequent reads and provides low-latency online access, making it ideal for the active data set that is read often during the first month. Option B is correct because the Cool access tier is designed for infrequently accessed data that must remain online, with lower storage costs but higher access costs, perfectly matching the rarely accessed but always online requirement.

Exam trap

The trap here is that candidates often confuse the Cool tier with the Archive tier, assuming 'infrequent access' means offline, or they mistakenly think the Cold tier (which is offline) satisfies the 'online' requirement, but the question explicitly states files must stay online the whole time.

Why the other options are wrong

C

The Archive tier is for data that is rarely accessed and has a retrieval latency of up to 15 hours; it is not for immediate access. The question requires blobs to stay online, but Archive tier data is offline until rehydrated.

D

Premium block blob accounts are designed for high transaction rates and low latency, not for long-term retention or low-cost storage. They are more expensive than standard tiers and are not optimized for infrequently accessed data.

E

The Cold tier is designed for data that can be stored for up to 30 days with infrequent access, but it is not intended for data that must stay online; it has a higher latency and lower availability than Hot or Cool tiers. The question requires blobs to stay online, which Cold does not guarantee.

When would these options actually be correct?

C

A question that asks for the lowest-cost storage tier for data that is rarely accessed and can tolerate hours of retrieval time, such as long-term backup archives or compliance data that must be retained but not frequently read.

D

A question requiring low-latency storage for high-frequency transactions, such as a real-time analytics application that needs fast read/write access to block blobs, would make Premium block blob the correct choice.

E

A question where data is rarely accessed, can tolerate higher latency, and must be stored for at least 30 days, but does not require immediate online access. For example: 'A company archives old logs that are accessed less than once a year and can be retrieved with a delay of several hours.'

Why candidates pick the wrong answer

C

Candidates may confuse 'Archive' with a long-term retention tier and assume it can be accessed immediately, or they may think 'archive' implies online storage similar to a file archive.

D

Candidates may confuse 'premium' with 'high durability' or assume it is a standard tier for all scenarios, overlooking its specific use case for high-performance workloads and higher cost.

E

Candidates may confuse 'Cold' with 'Cool' due to similar names, or assume that any tier with 'cold' in the name is suitable for infrequently accessed data that remains online, overlooking the specific latency and availability characteristics of the Cold tier.

863
MCQmedium

A VM in a subnet must access an Azure Storage account without creating a private endpoint. The organization is fine with the storage account remaining on its public endpoint, but traffic should stay on the Azure backbone rather than the public internet. Which feature should you use?

A.A service endpoint for Microsoft.Storage on the subnet.
B.A private endpoint and a private DNS zone.
C.A NAT gateway attached to the subnet.
D.A VPN gateway connection to the storage account resource group.
AnswerA

A service endpoint extends the VNet identity to the supported Azure service and keeps traffic on the Microsoft backbone. It does not create a private IP or require DNS changes, which matches this requirement. The storage account can remain on its public endpoint while still accepting traffic only from the allowed subnet.

Why this answer

A service endpoint for Microsoft.Storage on the subnet extends the virtual network identity to the storage account, allowing traffic from the subnet to the storage account's public endpoint to traverse the Azure backbone network instead of the public internet. This meets the requirement of keeping traffic on the Azure backbone without creating a private endpoint, as service endpoints use the public endpoint but route traffic through Microsoft's network.

Exam trap

The trap here is that candidates confuse service endpoints with private endpoints, assuming both require private IPs, but service endpoints keep the public endpoint while routing traffic over the Azure backbone.

Why the other options are wrong

B

The question explicitly states 'without creating a private endpoint,' so using a private endpoint (option B) violates that constraint. Additionally, the storage account remains on its public endpoint, which is incompatible with private endpoint usage.

C

A NAT gateway provides outbound internet connectivity with source network address translation, but it does not ensure traffic to Azure Storage stays on the Azure backbone; traffic still traverses the public internet.

D

A VPN gateway connection to the storage account resource group does not provide a direct path from the subnet to the storage account over the Azure backbone; it would require routing traffic through a VPN gateway, which is unnecessary and does not keep traffic on the Microsoft backbone for public endpoint access.

When would these options actually be correct?

B

This option would be correct in a scenario where the organization requires the storage account to be accessible only from a specific virtual network and not over the public internet at all, and they are willing to create a private endpoint. For example: 'A VM in a subnet must access an Azure Storage account with traffic staying entirely on the Microsoft backbone and the storage account must not be accessible from the public internet. Which feature should you use?'

C

When a question requires outbound internet access from a subnet with a static public IP and no other outbound connectivity, and the goal is to avoid SNAT port exhaustion or enable connection to external services that require a fixed public IP.

D

This option would be correct if the question required connecting an on-premises network to an Azure storage account securely over the internet, using a site-to-site VPN, and the storage account was configured to accept traffic only from the VPN gateway's public IP.

Why candidates pick the wrong answer

B

Candidates may confuse service endpoints with private endpoints, thinking both provide similar private connectivity. They might also believe that a private endpoint is the only way to keep traffic on the Azure backbone, overlooking that service endpoints also route traffic over the Microsoft network.

C

Candidates may confuse NAT gateway with service endpoints, thinking it provides a secure, private path to Azure services, but NAT gateway only translates IP addresses and does not route traffic over the Azure backbone.

D

Candidates may think a VPN gateway ensures private connectivity, but it is designed for hybrid connectivity, not for keeping Azure-to-Azure traffic on the backbone without a private endpoint.

864
MCQeasy

Based on the exhibit, what should the administrator create to let Alex restart one VM and read its properties without giving broader permissions?

A.Create a custom role that includes only the required VM read and restart actions.
B.Create an Azure Policy assignment that allows restart operations on the VM.
C.Apply a CanNotDelete lock to the VM resource.
D.Move the VM to a management group so the permissions become more specific.
AnswerA

A custom role lets the administrator define only the actions needed for the task, such as reading VM properties and restarting the VM. That is the cleanest least-privilege solution when built-in roles are broader than necessary.

Why this answer

Azure custom roles allow you to define granular permissions by specifying only the required actions in the `Actions` field of the role definition. For Alex to restart a VM (`Microsoft.Compute/virtualMachines/restart/action`) and read its properties (`Microsoft.Compute/virtualMachines/read`), a custom role with exactly these two actions provides the least-privilege access without granting broader permissions like VM write or delete.

Exam trap

The trap here is that candidates confuse Azure Policy (which enforces configurations) with RBAC (which controls permissions), or they mistakenly think locks or management groups can grant specific actions like restart.

Why the other options are wrong

B

Azure Policy is used to enforce compliance rules on resources, not to grant permissions. It cannot allow a user to perform actions like restarting a VM; it only evaluates and enforces conditions.

C

A CanNotDelete lock prevents deletion of the VM but does not grant permissions to restart it or read its properties; it only blocks delete operations, not controls access.

D

Moving a VM to a management group does not grant specific permissions like restart or read properties; it only changes the scope for policy and compliance inheritance, not role-based access control.

When would these options actually be correct?

B

An Azure Policy assignment would be correct if the question asked for a way to automatically tag all VMs in a subscription with a specific cost center, or to enforce that VMs are only deployed in certain regions.

C

If the question asked how to prevent accidental deletion of a VM while still allowing authorized users to manage it, applying a CanNotDelete lock would be correct.

D

An administrator needs to apply a common set of policies (e.g., allowed VM sizes) to multiple subscriptions. Moving the VM to a management group would allow policy inheritance across those subscriptions.

Why candidates pick the wrong answer

B

Candidates may confuse Azure Policy with Azure RBAC, thinking that policies can grant or deny actions, when in fact policies only audit or enforce resource configurations.

C

Candidates may confuse locks with permissions, thinking that a lock can restrict operations like restart, or they may assume that preventing deletion is equivalent to granting restart rights.

D

Candidates may think that management groups provide more granular control over permissions, but they are for policy and compliance, not for assigning specific actions like restart.

865
MCQhard

An administrator accidentally stopped protection for a critical VM and then deleted its backup item. The mistake was discovered a day later, and the organization wants deleted backup data to remain recoverable for a grace period. Which feature should be enabled on the Recovery Services vault?

A.Soft delete on the Recovery Services vault.
B.An action group attached to the vault alerts.
C.Diagnostic settings that export vault events to Log Analytics.
D.Cross-region restore for the vault.
AnswerA

Soft delete keeps deleted backup items recoverable for a retention window after deletion. That gives administrators time to reverse a mistaken stop-protection or delete action before the data is permanently lost. It is specifically designed for this sort of operational recovery scenario and is a vault-level protection setting. Because the question asks for recoverability after deletion, soft delete is the feature that directly addresses the requirement.

Why this answer

Soft delete on the Recovery Services vault provides a grace period (default 14 days) during which deleted backup data is retained in a soft-deleted state, allowing recovery even after a backup item is deleted. This feature is specifically designed to protect against accidental deletion, as it prevents permanent removal of backup data until the soft-delete period expires or is manually purged.

Exam trap

The trap here is that candidates may confuse soft delete with cross-region restore or diagnostic settings, thinking that logging or alerts can recover deleted data, when in fact only soft delete provides a grace period for recovery after accidental deletion.

Why the other options are wrong

B

An action group attached to vault alerts sends notifications but does not provide a grace period to recover deleted backup data. The question specifically asks for a feature that makes deleted backup data recoverable for a grace period, which soft delete provides.

C

Diagnostic settings export vault events to Log Analytics for monitoring and auditing, but they do not provide a grace period for recovering deleted backup data. Soft delete is the feature that retains deleted backups for 14 days.

D

Cross-region restore (CRR) enables restoring backup data to a paired secondary region for disaster recovery, but it does not provide a grace period to recover deleted backup items within the primary vault. The question specifically asks for a feature that retains deleted backup data for a grace period, which is soft delete, not CRR.

When would these options actually be correct?

B

This option would be correct if the question asked: 'An administrator wants to receive email notifications when backup jobs fail or when the vault is deleted. Which feature should be configured on the Recovery Services vault?'

C

An administrator needs to analyze backup failure trends and set up custom alerts based on backup events. Enabling diagnostic settings to export vault events to Log Analytics would allow querying and alerting on backup failures.

D

This option would be correct in a scenario where an organization needs to ensure backup data is available for restore even if the primary region experiences a disaster, and the question asks for a feature that enables restoring backups to a different Azure region.

Why candidates pick the wrong answer

B

Candidates may confuse alerting with recovery capabilities, thinking that being alerted about a deletion could allow them to take action to recover the data, but alerts alone do not retain deleted data.

C

Candidates may think that logging events to Log Analytics could help recover deleted backups by reviewing logs, but logs only provide information, not data recovery capabilities.

D

Candidates may confuse cross-region restore with soft delete because both involve data protection and recovery, but they serve different purposes: CRR is for regional disaster recovery, while soft delete is for accidental deletion recovery.

866
MCQmedium

A media archive contains video files that are accessed only a few times per year, but they must remain online and readable immediately whenever an investigator requests them. Which blob access tier should the administrator choose to minimize storage cost?

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

Cold is intended for very infrequently accessed data that still needs to stay online and readable immediately.

Why this answer

The Cold tier is the correct choice because it provides online, immediately readable storage for data accessed only a few times per year, while offering lower storage costs than the Cool tier. Unlike the Archive tier, Cold tier data does not require a rehydration delay, ensuring instant access for investigators.

Exam trap

The trap here is that candidates often confuse the Archive tier's 'immediate online access' with its actual requirement for rehydration, leading them to choose Archive for cost savings without considering the access latency constraint.

Why the other options are wrong

A

The Hot tier is designed for frequently accessed data with high availability and low access latency, but it has the highest storage cost. For data accessed only a few times per year, the Hot tier would be unnecessarily expensive.

B

The Cool tier is designed for data accessed infrequently (30+ days) but still requires lower latency than Cold. However, the question specifies access only a few times per year, which aligns better with Cold tier's longer access interval and lower cost, making Cool more expensive than necessary.

D

The Archive tier has the lowest storage cost but requires hours to rehydrate data before reading, violating the requirement that files remain 'readable immediately' upon request.

When would these options actually be correct?

A

A question where data is accessed frequently (e.g., multiple times per day or week) and requires low latency, such as a live video streaming service or a real-time analytics platform. The Hot tier minimizes access costs and provides the best performance for frequent reads.

B

An administrator needs to store data that is accessed about once a month, with immediate retrieval required. The Cool tier offers lower storage cost than Hot while still providing low-latency access for monthly access patterns.

D

A question where data is rarely accessed (e.g., once per year) and immediate read access is not required, such as long-term backup or compliance archives where retrieval latency of up to 15 hours is acceptable.

Why candidates pick the wrong answer

A

Candidates may think 'Hot' is always the best for immediate readability, overlooking that storage cost is the primary concern and that Cold tier also offers immediate readability at lower cost.

B

Candidates may confuse 'infrequent access' with 'few times per year' and choose Cool as a middle ground, not realizing Cold tier is specifically optimized for yearly access patterns with even lower cost.

D

Candidates see 'accessed only a few times per year' and assume the cheapest tier (Archive) is best, overlooking the 'readable immediately' constraint that makes Cold the correct choice.

867
MCQmedium

You plan to store backup files that are written once per week and are rarely accessed except during an audit. The company wants the lowest storage cost but still needs online access within hours, not days. Which blob access tier should you choose?

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

Cool is appropriate for infrequently accessed data that still needs to remain online.

Why this answer

The Cool tier is the correct choice because it is designed for data that is infrequently accessed and stored for at least 30 days, offering lower storage costs than Hot while still providing millisecond latency for online access. Since backups are written once per week and rarely accessed except during an audit, Cool tier meets the requirement of online access within hours at the lowest storage cost among the online tiers.

Exam trap

The trap here is that candidates often choose Archive for the lowest storage cost without considering the rehydration time requirement, mistakenly assuming 'online access within hours' is satisfied by Archive's standard rehydration priority of up to 15 hours.

Why the other options are wrong

A

Hot tier is designed for frequently accessed data with the lowest access latency, but it has the highest storage cost. The scenario requires lowest storage cost and only occasional access, making Hot unnecessarily expensive.

C

Archive tier has the lowest storage cost but retrieval times can take up to 15 hours, which does not meet the requirement of online access within hours.

D

Premium tier is designed for low-latency, high-performance workloads and has the highest cost, which contradicts the requirement for lowest storage cost. The scenario does not need sub-second access, only online access within hours.

When would these options actually be correct?

A

A question where data is accessed frequently (e.g., multiple times per day) and low latency is critical, such as a production database backup that is restored often. The requirement would be lowest latency, not lowest cost.

C

If the question stated that data is rarely accessed and retrieval within 24-48 hours is acceptable, or if the requirement was lowest storage cost with no specific online access time constraint, Archive would be correct.

D

A question where the workload requires consistent, low-latency access (e.g., <10ms) for frequently updated data, such as an interactive application's active dataset, and cost is not the primary concern.

Why candidates pick the wrong answer

A

Candidates may assume 'online access within hours' means Hot is needed, but Cool also provides online access within hours at lower cost. They overlook that Hot is for frequent access, not just online availability.

C

Candidates see 'lowest storage cost' and 'rarely accessed' and immediately think Archive, overlooking the 'online access within hours' constraint that Archive cannot satisfy.

D

Candidates may assume 'Premium' implies better overall performance and reliability, not realizing it is optimized for specific high-cost, low-latency scenarios and is not suitable for cost-sensitive backup storage.

868
MCQmedium

A subnet has a user-defined route for 0.0.0.0/0 that sends all outbound traffic to a network virtual appliance for inspection. The business now attaches a NAT gateway to the subnet and wants internet-bound traffic to use the NAT gateway's public IP, while traffic to private corporate prefixes should still go to the appliance. What should the administrator change?

A.Leave the route table unchanged because the NAT gateway always overrides a default UDR.
B.Remove the 0.0.0.0/0 UDR and add only the specific private-prefix routes that must go to the appliance.
C.Disable source NAT on the network virtual appliance.
D.Create a private endpoint for internet traffic so outbound packets stay in Azure.
AnswerB

A NAT gateway provides outbound internet translation when the subnet uses the default internet route. If a 0.0.0.0/0 UDR sends traffic to an appliance, that route wins and the NAT gateway is bypassed. To meet both requirements, keep specific routes for corporate/private prefixes toward the appliance and let internet-bound traffic follow the system route, where the NAT gateway can provide stable outbound IPs.

Why this answer

The 0.0.0.0/0 user-defined route (UDR) sends all outbound traffic to the network virtual appliance (NVA). A NAT gateway provides outbound connectivity with a public IP, but it only takes effect when there is no explicit 0.0.0.0/0 route overriding it. By removing the 0.0.0.0/0 UDR and adding only specific private-prefix routes (e.g., 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) pointing to the NVA, internet-bound traffic will use the NAT gateway (via its default route), while corporate traffic is still forced through the appliance.

Exam trap

The trap here is that candidates assume a NAT gateway automatically overrides any existing default route, but in Azure, a user-defined route (UDR) for 0.0.0.0/0 takes precedence over the NAT gateway's implicit default, so the UDR must be removed or made less specific to allow the NAT gateway to handle internet-bound traffic.

Why the other options are wrong

A

A NAT gateway does not override a user-defined route (UDR) for 0.0.0.0/0; the UDR takes precedence, so traffic would still go to the network virtual appliance instead of the NAT gateway.

C

Disabling source NAT (SNAT) on the NVA does not change routing behavior; the UDR for 0.0.0.0/0 still forces all internet traffic through the NVA, bypassing the NAT gateway. The NAT gateway requires a direct route to the internet, not via the NVA.

D

Private endpoints are used for inbound access to Azure PaaS services over a private IP, not for outbound internet traffic. They do not provide NAT or routing for internet-bound traffic from a subnet.

When would these options actually be correct?

A

In a scenario where a NAT gateway is attached to a subnet and there is no UDR for 0.0.0.0/0, the NAT gateway automatically handles all outbound internet traffic without needing any route changes.

C

In a scenario where the NVA is used for outbound internet traffic but the organization wants to preserve the original source IP for logging or compliance, disabling SNAT on the NVA would be correct. For example, if the NVA must forward traffic without translating the source IP to its own.

D

An organization wants to securely access an Azure Storage account from on-premises without traversing the public internet. Creating a private endpoint for the storage account would be correct to route traffic through the Microsoft backbone.

Why candidates pick the wrong answer

A

Candidates may mistakenly believe that a NAT gateway automatically overrides any existing default route, similar to how Azure default routes work, but UDRs have higher priority.

C

Candidates may think that disabling SNAT on the NVA allows traffic to bypass it, but routing is controlled by UDRs, not NAT settings. They confuse network address translation with routing decisions.

D

Candidates may confuse private endpoints with NAT or think that 'private' means all traffic stays internal, overlooking that private endpoints are for inbound access to Azure services, not outbound internet connectivity.

869
Drag & Dropmedium

Arrange the steps to create a virtual network in Azure with a subnet and deploy a VM.

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

First create the VNet with address space, then add a subnet, associate NSG, deploy VM, then verify.

870
MCQmedium

New Azure subscriptions are created every month. Production subscriptions require stricter governance than sandbox subscriptions, and central IT wants those rules to apply automatically to any future production subscription without reconfiguring each one. What should they set up?

A.Separate resource groups for production and sandbox workloads in each subscription.
B.A management group hierarchy with production and sandbox child management groups, then assign governance at the appropriate scope.
C.A CanNotDelete lock on each subscription.
D.A custom role assigned to each subscription owner.
AnswerB

Management groups provide a hierarchy for organizing subscriptions and applying governance that inherits to child scopes. Placing production and sandbox subscriptions under different child management groups lets central IT target different controls once, and the settings flow automatically to future subscriptions placed in those groups.

Why this answer

Management groups allow you to build a hierarchy that reflects your organizational structure and apply governance policies (e.g., Azure Policy, RBAC) at the management group scope. By creating a 'Production' child management group under the root, any new subscription placed in that group automatically inherits the assigned policies and role assignments, eliminating the need to reconfigure each subscription individually.

Exam trap

The trap here is that candidates confuse resource groups or locks with management groups, failing to realize that only management groups provide hierarchical inheritance of governance across multiple subscriptions without per-subscription configuration.

Why the other options are wrong

A

Resource groups organize resources within a subscription but do not enforce governance across multiple subscriptions or automatically apply rules to new subscriptions. The question requires automatic application of governance to new production subscriptions, which management groups provide.

C

A CanNotDelete lock prevents deletion of a subscription but does not enforce governance policies like tagging, RBAC, or compliance rules across multiple subscriptions automatically.

D

Custom roles assigned to subscription owners do not automatically apply to new subscriptions; each new subscription would require manual role assignment, failing the requirement for automatic governance.

When would these options actually be correct?

A

If the question asked how to isolate workloads within a single subscription while applying different policies to each workload, separating resource groups would be correct. For example, 'You need to apply different RBAC roles to production and test resources within one subscription.'

C

If the question asked for a way to prevent accidental deletion of a critical subscription while allowing all other operations, then a CanNotDelete lock on that subscription would be correct.

D

If the question required granting specific permissions (e.g., read-only access) to a particular user or group for existing subscriptions without affecting future subscriptions, assigning a custom role to each subscription owner would be appropriate.

Why candidates pick the wrong answer

A

Candidates may confuse resource groups with management groups, thinking that organizing resources into separate groups is sufficient for governance, but resource groups lack the hierarchical policy inheritance needed for cross-subscription management.

C

Candidates may confuse resource locks with governance policies, thinking that locking a subscription provides the same control as policy assignment, or they may overestimate the scope of locks.

D

Candidates may think custom roles provide fine-grained control and can be reused, but overlook that they must be explicitly assigned per subscription, not inherited automatically.

871
MCQmedium

A development team runs Windows and Linux VMs in a single Azure subnet. The VMs must access an Azure Storage account, and the security team wants to restrict the storage account so only that subnet can reach it. The team does not want to create a private IP for the storage account or change DNS records. What should the administrator configure?

A.A private endpoint for the storage account and a private DNS zone.
B.A service endpoint on the subnet and a storage account network rule allowing that subnet.
C.A site-to-site VPN between the subnet and the storage account.
D.A user-defined route that sends storage traffic to the default internet next hop.
AnswerB

Service endpoints extend the subnet identity to the Azure Storage service without assigning a private IP to the storage account. This allows the administrator to restrict access to the specific Azure subnet while keeping the service reachable through its normal public DNS name. It fits the requirement to avoid DNS changes and private IP creation.

Why this answer

A service endpoint extends the subnet's identity to the storage account, allowing the storage firewall to accept traffic from that subnet without assigning a private IP. This meets the security requirement of restricting access to only that subnet while avoiding private IPs or DNS changes.

Exam trap

The trap here is that candidates often confuse service endpoints with private endpoints, assuming both require private IPs and DNS changes, but service endpoints operate at the network layer without altering the storage account's public endpoint.

Why the other options are wrong

A

The question explicitly states the team does not want to create a private IP for the storage account or change DNS records. A private endpoint requires a private IP and a private DNS zone, which violates these constraints.

C

A site-to-site VPN connects on-premises networks to Azure, not a subnet within Azure. It does not restrict storage account access to a specific subnet without using private IPs or DNS changes.

D

A user-defined route (UDR) sending storage traffic to the default internet next hop does not restrict access to the subnet; it merely directs traffic via the internet, which offers no security boundary. The requirement is to limit storage account access to the subnet, which requires a network rule, not routing.

When would these options actually be correct?

A

When the requirement is to ensure the storage account is accessible only from a specific virtual network using a private IP address, and the team is willing to manage private DNS zones or use custom DNS to resolve the storage account's private endpoint.

C

If the question required connecting an on-premises network to an Azure storage account securely over the internet, a site-to-site VPN would be correct. For example: 'An on-premises data center needs to access an Azure storage account securely without using a public endpoint.'

D

If the question required forcing all traffic from the subnet to a storage account through a specific network virtual appliance (NVA) for inspection, a UDR with the NVA as next hop would be correct. For example: 'VMs must access storage via a firewall for logging; configure a route to send storage traffic to the firewall.'

Why candidates pick the wrong answer

A

Candidates may confuse private endpoints with service endpoints, thinking both provide similar subnet-level access, but private endpoints offer more isolation and are often perceived as the 'best practice' for securing PaaS resources.

C

Candidates may think a VPN provides secure network-level access control, but they overlook that service endpoints or private endpoints are designed for Azure-to-Azure subnet-level restrictions without VPN complexity.

D

Candidates may confuse routing with access control, thinking that directing traffic through a specific path (like the subnet) inherently restricts access, or they may assume a UDR can replace a network rule.

872
MCQmedium

Based on the exhibit, which feature should you enable so the subnet can access the storage account without creating a private IP address in the VNet?

A.Private endpoint
B.Service endpoint
C.VPN Gateway
D.Azure Firewall
AnswerB

A service endpoint extends the virtual network identity to the storage account over the Microsoft.Storage service, so the storage firewall can allow access from a specific subnet. You enable this on the subnet in the VNet and configure the storage account firewall to allow that subnet, which grants private subnet-level access without assigning a private IP. This exactly satisfies the requirement of restricting traffic by subnet while keeping the storage account on its public endpoint.

Why this answer

Service endpoints allow a subnet to securely and privately connect to Azure PaaS services (like Storage Accounts) over the Azure backbone network without requiring a private IP address in the VNet. They extend the VNet identity to the service, enabling access via the service's public endpoint while restricting traffic to the subnet. This matches the requirement exactly: no private IP is created in the VNet, and the storage account is accessed directly.

Exam trap

The trap here is that candidates confuse Private Endpoint (which creates a private IP) with Service Endpoint (which does not), often assuming any 'private' access requires a private IP, but Service Endpoint provides private access over the Microsoft backbone without allocating an IP in the VNet.

Why the other options are wrong

A

Private endpoint creates a private IP address in the VNet for the storage account, which contradicts the requirement to avoid creating a private IP address. Service endpoints do not assign a private IP; they extend the VNet identity to the PaaS service.

C

A VPN Gateway creates an encrypted tunnel between on-premises and Azure, not a direct connection from a subnet to a storage account without a private IP. It does not enable subnet-to-PaaS service access without private endpoints.

D

Azure Firewall is a managed network security service that filters traffic, but it does not enable private access to Azure PaaS services without a private IP address. The question requires a feature that allows subnet access to a storage account without creating a private IP in the VNet, which is achieved by service endpoints, not Azure Firewall.

When would these options actually be correct?

A

A question that asks: 'Which feature should you use to access a storage account securely over the Microsoft backbone network from a VNet, ensuring traffic never traverses the public internet, and you are allowed to create a private IP address in the VNet?'

C

A VPN Gateway would be correct in a scenario requiring secure, site-to-site connectivity between an on-premises network and an Azure VNet, such as extending a corporate datacenter to Azure for hybrid workloads.

D

Azure Firewall would be correct in a scenario where you need to centrally control outbound traffic from a VNet to the internet or to Azure services, with logging and threat intelligence. For example, 'You need to filter and log all outbound traffic from a VNet to the internet, ensuring only allowed destinations are reachable.'

Why candidates pick the wrong answer

A

Candidates may confuse private endpoint with service endpoint because both provide secure access to PaaS services from a VNet, but they differ in IP assignment and network isolation.

C

Candidates may confuse VPN Gateway with a method to access Azure services privately, not realizing it's for hybrid connectivity rather than PaaS service endpoints.

D

Candidates may confuse Azure Firewall's ability to control traffic to Azure services (via service tags) with the direct connectivity provided by service endpoints, or they might think a firewall is required for secure access to storage accounts.

873
Multi-Selectmedium

An operations team must enforce two rules across all subscriptions in a department: new resources must include a CostCenter tag, and deployments are allowed only in East US and West US. The team wants one assignment and automatic blocking of noncompliant deployments. Which three actions should the administrator take? Select three.

Select 3 answers
A.Create an Azure Policy initiative that contains both policy definitions.
B.Assign the initiative at the management group scope that contains the department subscriptions.
C.Use the Deny effect for both policy definitions.
D.Grant Contributor at the subscription scope.
E.Apply a CanNotDelete lock to each resource group.
AnswersA, B, C

An Azure Policy initiative (policySetDefinition) bundles multiple related policy definitions into a single assignable unit, enabling the operations team to manage the tag and location requirements as one cohesive governance package. Instead of assigning two separate policies, an initiative simplifies administration, keeps related rules organized, and ensures that both definitions are always evaluated together consistently across all resources.

Why this answer

An Azure Policy initiative (a set of policy definitions) allows combining the CostCenter tag requirement and the allowed region restriction into a single assignment, simplifying management. This ensures both rules are enforced together across all subscriptions in the department.

Exam trap

The trap here is that candidates often confuse RBAC roles (like Contributor) with Azure Policy effects, mistakenly thinking granting permissions can enforce compliance, or they confuse resource locks with policy enforcement.

Why the other options are wrong

D

Granting Contributor at the subscription scope does not enforce tagging or location restrictions; it grants broad permissions to manage resources, not block noncompliant deployments.

E

Applying a CanNotDelete lock prevents deletion of resource groups but does not enforce tagging or restrict deployment locations, which are the requirements in this question.

When would these options actually be correct?

D

In a scenario where the goal is to allow a team to manage resources within a subscription but not at a higher scope, and no policy enforcement is needed, assigning Contributor at the subscription scope would be correct.

E

An administrator needs to prevent accidental deletion of critical resource groups in a production environment, while still allowing modifications to resources within them.

Why candidates pick the wrong answer

D

Candidates may think Contributor role can enforce policies or that a role assignment is needed for policy assignment, but policies are assigned separately and Contributor does not block deployments.

E

Candidates may confuse resource locks with policy enforcement, thinking that locks can block noncompliant deployments, but locks only prevent deletion or modification, not creation of resources.

874
MCQeasy

An administrator wants to run a one-time Azure CLI command from inside a VM to create a resource in Azure, but the administrator does not want to store credentials on the VM. What should be used for authentication?

A.The VM's managed identity
B.A local administrator password
C.A network security group rule
D.An Azure region paired with the VM
AnswerA

The VM’s managed identity lets scripts or Azure CLI commands authenticate to Azure without storing secrets on the machine. After the identity is enabled and granted the needed role, the command can sign in by using the identity instead of a password or service principal secret. This is the secure and practical approach.

Why this answer

Azure Managed Identity provides an automatically managed identity in Azure AD that allows a VM to authenticate to any service that supports Azure AD authentication, including Azure Resource Manager, without storing any credentials on the VM. When the administrator runs the Azure CLI command from within the VM, the CLI can use the managed identity's token endpoint (169.254.169.254/metadata/identity/oauth2/token) to obtain an access token, enabling secure, credential-free resource creation.

Exam trap

The trap here is that candidates may confuse authentication with authorization or network controls, thinking a local password or NSG rule can somehow grant Azure resource creation permissions, when only an Azure AD-backed identity like a managed identity can provide credential-free authentication to ARM.

Why the other options are wrong

B

A local administrator password would be stored on the VM, violating the requirement to not store credentials. It also does not provide Azure AD authentication for Azure CLI commands.

C

A network security group (NSG) rule controls inbound/outbound traffic to a VM, not authentication for Azure CLI commands. It cannot provide credentials or identity for creating Azure resources.

D

An Azure region paired with the VM is used for disaster recovery and geo-redundancy, not for authentication. It does not provide any identity or credential to authorize Azure CLI commands.

When would these options actually be correct?

B

When the question asks for authentication to access the VM itself (e.g., RDP or SSH) and the administrator needs to use local credentials because the VM is not joined to a domain.

C

When the question asks how to allow inbound RDP access to a VM from a specific IP address range, an NSG rule with the appropriate source IP and port 3389 would be the correct answer.

D

A question asks: 'Which feature ensures data replication across two regions for high availability?' The correct answer would be an Azure region paired with the VM, as it enables geo-redundant storage or paired region failover.

Why candidates pick the wrong answer

B

Candidates may think a local admin password is a simple, familiar authentication method for running commands, overlooking the need for Azure resource access without credential storage.

C

Candidates may confuse network security controls with authentication mechanisms, thinking that allowing traffic from the VM to Azure services via an NSG rule is sufficient for authentication.

D

Candidates may confuse regional pairing with authentication because both involve Azure infrastructure, or they might think that being in a paired region grants implicit permissions to create resources.

875
MCQmedium

A subnet NSG contains a deny inbound rule for TCP 3389 from Any at priority 100 and an allow inbound rule for TCP 3389 from 10.4.1.0/24 at priority 200. Admin workstations in 10.4.1.0/24 cannot connect by RDP. What change should the administrator make?

A.Replace the source IP range with an application security group in the allow rule.
B.Change the protocol from TCP to Any in the allow rule.
C.Lower the allow rule priority number so it is evaluated before the deny rule.
D.Add a user-defined route to the subnet so RDP traffic bypasses the NSG.
AnswerC

Network Security Group rules are processed in ascending order of their priority value, so the rule with the lowest number (highest priority) is evaluated first. If the deny rule has a lower priority number than the allow rule, it is matched before the allow rule ever runs, and because it denies RDP, the packet is dropped immediately. Lowering the allow rule's priority number — for example from 200 to 100 — places it ahead of the deny rule, so the allow condition is matched first and the deny rule is never reached.

Why this answer

NSG rules are evaluated in priority order, with lower numbers having higher priority. The deny rule at priority 100 blocks all TCP 3389 traffic from Any, and the allow rule at priority 200 is never reached. Lowering the allow rule's priority number (e.g., to 90) ensures it is evaluated before the deny rule, allowing RDP traffic from 10.4.1.0/24.

Exam trap

The trap here is that candidates often assume allow rules automatically override deny rules, but Azure NSGs use first-match evaluation based on priority numbers, not rule type.

Why the other options are wrong

A

The deny rule at priority 100 blocks all inbound RDP traffic, including from 10.4.1.0/24, because NSG rules are evaluated in priority order (lower number = higher priority). Replacing the source IP range with an application security group does not change the evaluation order; the deny rule still applies first.

B

The allow rule already permits TCP 3389, so changing the protocol to Any would not fix the issue. The problem is that the deny rule at priority 100 blocks all TCP 3389 traffic before the allow rule at priority 200 is evaluated.

D

NSGs filter traffic within a subnet; they do not route traffic. Adding a UDR would affect routing but cannot bypass NSG rules, as NSGs are evaluated after routing. The issue is rule priority, not routing.

When would these options actually be correct?

A

If the question described a scenario where the allow rule uses an application security group but the source IPs are not members, or if the deny rule's source is set to 'Any' and the allow rule's source is an ASG that includes the admin workstations, then replacing the source IP range with the ASG in the allow rule would be correct to ensure the allow rule matches the traffic.

B

If the allow rule were intended to permit all RDP traffic (including UDP) from 10.4.1.0/24, and the deny rule only blocked TCP 3389, then changing the protocol to Any would allow UDP-based RDP connections.

D

A UDR would be correct if the question described a scenario where RDP traffic to a VM in a peered VNet is being dropped due to asymmetric routing or a forced-tunneling configuration, requiring a custom route to direct traffic correctly.

Why candidates pick the wrong answer

A

Candidates may think that using an application security group provides more granular control and might override the deny rule, not realizing that NSG rules are evaluated strictly by priority number regardless of rule type.

B

Candidates may think that the allow rule is too restrictive by only allowing TCP, and that expanding to Any would override the deny rule, not realizing that NSG priority order determines rule evaluation.

D

Candidates may confuse network security groups with routing, thinking that adding a route can override NSG deny rules, or they may misunderstand the role of UDRs in controlling traffic flow versus filtering.

876
MCQhard

Your company stores departmental documents in an Azure file share. Users need to be able to recover previous versions of files that were deleted or modified accidentally. You need a solution that supports recovery at the file share level without deploying additional virtual machines. What should you configure?

A.Enable blob versioning.
B.Configure Azure File Sync cloud tiering.
C.Create share snapshots for the Azure file share.
D.Enable immutable blob storage.
AnswerC

Share snapshots provide point-in-time recovery for Azure Files without adding extra infrastructure.

Why this answer

Azure file share snapshots provide point-in-time, read-only copies of the entire file share, allowing users to recover previous versions of files that were deleted or modified accidentally. This feature operates at the file share level without requiring any additional virtual machines, making it a straightforward and cost-effective solution for version recovery.

Exam trap

The trap here is that candidates often confuse blob versioning (a Blob Storage feature) with file share snapshots (an Azure Files feature), or they mistakenly think cloud tiering or immutable storage can serve as a version recovery mechanism, when in fact they serve entirely different purposes.

Why the other options are wrong

A

Blob versioning is a feature of Azure Blob Storage, not Azure Files. The question specifies an Azure file share, which does not support blob versioning; it uses share snapshots for point-in-time recovery.

B

Azure File Sync cloud tiering optimizes storage by caching frequently accessed files locally, but it does not provide point-in-time recovery of file versions or deleted files at the share level.

D

Immutable blob storage is designed for Azure Blob Storage, not Azure Files, and it prevents deletion/modification rather than enabling recovery of previous versions at the file share level.

When would these options actually be correct?

A

You need to automatically retain previous versions of blobs in an Azure Storage account to protect against accidental deletion or overwrite, and you want to enable this at the storage account level without additional infrastructure.

B

An organization wants to reduce on-premises storage usage while keeping frequently accessed files cached locally for fast access. The question would specify needing to extend on-premises file shares to Azure and optimize storage costs.

D

A company needs to store critical business records in Azure Blob Storage with a policy that prevents data from being deleted or overwritten for a specified retention period, such as for regulatory compliance (e.g., SEC Rule 17a-4).

Why candidates pick the wrong answer

A

Candidates may confuse Azure Files with Azure Blob Storage, or assume that 'versioning' is a universal recovery feature across all Azure storage services.

B

Candidates may confuse cloud tiering with backup or recovery capabilities, thinking that tiering offloads files to Azure and thus provides versioning or recovery, but it only manages caching and does not retain file versions.

D

Candidates may confuse immutable storage with versioning or snapshot capabilities, assuming it can recover previous versions, but it actually locks data to prevent changes.

877
MCQhard

A project team has 12 operators who need to read resource properties and restart only the virtual machines in one application resource group. Access should be removed automatically when an operator leaves the team, and any new VMs added to that resource group should inherit the same access without further changes. What should the administrator configure?

A.Assign the role directly to each operator at the resource group scope.
B.Create an Entra ID group, add the operators to it, and assign a custom least-privilege role to the group at the resource group scope.
C.Assign Virtual Machine Contributor to the team at the subscription scope.
D.Use a resource lock and add the operators as lock owners.
AnswerB

Using a group makes access management dynamic, because removing someone from the group immediately removes their effective permissions. Assigning the role at the resource group scope also ensures any new VM in that group inherits the access automatically, while a custom role can keep permissions limited to read and restart actions.

Why this answer

It uses an Entra ID group to manage access, which allows automatic removal of operators from the group when they leave the team, and any new VMs added to the resource group will inherit the role assignment at the resource group scope. A custom least-privilege role ensures operators can only read resource properties and restart VMs, meeting the specific requirements without over-permissioning.

Exam trap

The trap here is that candidates often confuse resource locks with RBAC permissions, thinking locks can control access, or they overlook the need for a group-based approach to meet the automatic access removal requirement, instead choosing direct assignments or overly broad subscription-level roles.

Why the other options are wrong

A

Direct role assignment per operator requires manual updates when operators leave or new VMs are added, failing the automatic access removal and inheritance requirements.

C

Assigning Virtual Machine Contributor at the subscription scope grants excessive permissions (e.g., ability to manage all VMs across all resource groups) and does not restrict access to only reading properties and restarting VMs in one resource group. It also does not automatically remove access when an operator leaves, as the role is assigned directly to the team rather than through a group.

D

Resource locks prevent accidental deletion or modification of resources but do not grant access permissions; they cannot provide the read and restart permissions required for the operators.

When would these options actually be correct?

A

If the question stated that the team is small and static (no turnover) and the resource group will not change, direct assignment would be simpler and still meet the requirements.

C

This option would be correct if the requirement was for a team to manage all virtual machines across the entire subscription (e.g., a central IT team responsible for all VMs), and the question did not specify automatic access removal or inheritance to new resources. In that case, assigning Virtual Machine Contributor at subscription scope would be appropriate.

D

An administrator needs to prevent accidental deletion of a critical resource group while allowing a specific team to manage resources within it. The team already has the necessary RBAC role, and a resource lock is added to protect the resource group from deletion.

Why candidates pick the wrong answer

A

Candidates may think direct assignment is straightforward and sufficient, overlooking the need for automatic access management and inheritance for new resources.

C

Candidates may think Virtual Machine Contributor is a standard role that covers the required actions (read and restart VMs) and assume assigning it at subscription scope is simpler, overlooking the need for least privilege and automatic access management via groups.

D

Candidates may confuse resource locks with access control, thinking that locking a resource and adding users as lock owners grants them permissions, but locks only protect against operations, not grant access.

878
Multi-Selecthard

A contractor is a member of an Entra security group that has a PIM-eligible Contributor assignment on a resource group. The contractor sees the role in the portal, but deployment fails with a role not active message. The activation policy requires justification, MFA, and manager approval. Which two actions are required before the deployment succeeds? Select two.

Select 2 answers
A.Activate the eligible role assignment in Privileged Identity Management.
B.Complete the configured activation requirements, such as justification, MFA, and manager approval.
C.Add the contractor directly to the subscription Owner role to bypass the eligibility workflow.
D.Wait for Azure Policy compliance evaluation to finish before trying again.
E.Remove the user from the security group and add them back so the role becomes active.
AnswersA, B

An eligible assignment does not grant active access until the user activates it. Seeing the role in the portal only means the assignment exists; it does not mean it is currently effective. Activation is the first required step to make the permissions usable.

Why this answer

The contractor has a PIM-eligible role assignment, which means the role is not active until the user activates it through Privileged Identity Management. Activation is a prerequisite for the role to be effective, and without it, any deployment requiring the Contributor role will fail with a 'role not active' message.

Exam trap

The trap here is that candidates often assume an eligible role assignment is immediately usable, but PIM requires explicit activation with all configured requirements before the role becomes effective for deployments.

Why the other options are wrong

C

Adding the contractor directly to the subscription Owner role bypasses the PIM eligibility workflow and violates the principle of least privilege; it does not address the requirement to activate the eligible role assignment.

D

Azure Policy compliance evaluation does not affect role activation; the deployment fails because the PIM-eligible role must be activated first, not because of policy evaluation.

E

Removing and re-adding the user does not activate the PIM-eligible role; the role remains inactive until the user activates it through PIM and meets the policy requirements.

When would these options actually be correct?

C

This option would be correct in a scenario where a user needs immediate, permanent access to a resource and there is no PIM or eligibility requirement; for example, when a new administrator must be granted Owner rights on a subscription without any activation process.

D

If a deployment fails due to a policy violation (e.g., a resource location restriction), waiting for policy evaluation to complete and then retrying could resolve the issue if the policy is eventually compliant.

E

This would be correct if the user's role assignment was corrupted or not properly applied due to a transient issue, and the question specified that the user already has an active role assignment but it's not taking effect.

Why candidates pick the wrong answer

C

Candidates may think that granting a higher role like Owner will override the activation requirement, or they may not fully understand that PIM eligible roles require explicit activation even if the user is already a member of a group with the role.

D

Candidates may confuse Azure Policy with role-based access control, thinking that policy compliance must be checked before role activation takes effect.

E

Candidates may think that re-adding the user refreshes the role assignment or triggers a re-evaluation, similar to troubleshooting group membership issues in other contexts.

879
MCQmedium

A web tier must use identical VMs, keep the desired instance count if one instance becomes unhealthy, and allow future horizontal expansion without creating VMs one by one. What should the administrator deploy?

A.An availability set because it automatically replaces unhealthy instances.
B.A virtual machine scale set with health-based instance management.
C.An Azure Dedicated Host to keep the VMs on one physical server.
D.A proximity placement group to ensure the VMs are distributed evenly.
AnswerB

A virtual machine scale set provides a managed pool of identical VMs and is the right choice when you want Azure to maintain instance count and support horizontal growth. It works well for web tiers because the platform can replace unhealthy instances and let you scale up or down as demand changes. This removes the need to create and maintain each VM individually.

Why this answer

A virtual machine scale set with health-based instance management is correct because it automatically maintains a desired number of identical VM instances, replaces unhealthy instances based on health probes, and supports horizontal scaling without manual VM creation. This aligns with the requirements for identical VMs, automatic instance replacement, and future expansion.

Exam trap

The trap here is that candidates often confuse an availability set's fault domain protection with automatic instance replacement, not realizing that availability sets only provide redundancy, not health-based remediation.

Why the other options are wrong

A

An availability set does not automatically replace unhealthy instances; it only ensures VMs are distributed across fault and update domains for high availability. The question requires automatic health-based instance management, which availability sets lack.

C

An Azure Dedicated Host provides dedicated physical servers for compliance or licensing, but does not offer automatic health-based instance management or horizontal scaling; it would require manual VM creation and replacement.

When would these options actually be correct?

A

An availability set would be correct if the requirement was to protect against hardware failures and planned maintenance by distributing VMs across multiple fault and update domains, without needing automatic instance replacement or scaling.

C

An administrator needs to deploy VMs for a regulated workload that requires physical isolation from other customers, and the VMs must be placed on the same physical server to meet licensing or compliance requirements.

Why candidates pick the wrong answer

A

Candidates may confuse availability sets with automatic healing because both are related to high availability, but availability sets only provide redundancy, not automatic replacement of unhealthy VMs.

C

Candidates may think that keeping VMs on one physical server ensures identical performance and simplifies management, but they overlook that Dedicated Hosts do not provide auto-scaling or health replacement.

880
MCQmedium

You need to reduce compute cost for a development virtual machine that is used only during business hours on weekdays. Which option provides the most direct built-in cost optimization?

A.Place the VM in an availability set.
B.Enable auto-shutdown on the VM.
C.Convert the OS disk to premium SSD v2.
D.Create a site-to-site VPN.
AnswerB

Auto-shutdown stops the VM according to a schedule and releases compute resources, so you stop paying for vCPU and RAM while the VM is deallocated; only the managed disk and static resources (such as a reserved public IP) continue to incur charges. For a development VM used only during business hours, this directly eliminates nightly and weekend compute billing, often the largest portion of the monthly cost, with no architectural changes.

Why this answer

B is correct because enabling auto-shutdown on the VM directly stops the VM during non-business hours (e.g., evenings and weekends), eliminating compute costs (which are billed per second while the VM is running). This is a built-in Azure feature that requires no additional infrastructure or manual intervention, making it the most direct cost-optimization method for a development VM with a predictable usage schedule.

Exam trap

The trap here is that candidates may confuse high-availability features (availability sets) or connectivity features (VPN) with cost optimization, or mistakenly think upgrading to premium storage reduces costs, when in fact the most direct built-in method for compute cost reduction is stopping the VM during idle periods via auto-shutdown.

Why the other options are wrong

A

An availability set provides high availability by distributing VMs across fault and update domains, but does not reduce compute costs for a VM used only during business hours.

C

Converting the OS disk to premium SSD v2 increases cost due to higher per-GB pricing and additional IOPS charges, whereas the goal is to reduce compute cost for a VM used only during business hours.

D

Creating a site-to-site VPN does not reduce compute costs; it is a networking feature for connecting on-premises networks to Azure, unrelated to VM cost optimization.

When would these options actually be correct?

A

When the question asks for a solution to ensure high availability for a production application running on multiple VMs, placing them in an availability set would be correct.

C

This option would be correct in a scenario where the question asks for the best way to improve I/O performance for a production database VM that requires low latency and high throughput, and cost is not the primary concern.

D

A question asking for a secure connection between an on-premises network and Azure to enable hybrid workloads, where the requirement is to extend the on-premises network securely into Azure.

Why candidates pick the wrong answer

A

Candidates may confuse availability sets with cost-saving features, or think that distributing VMs somehow reduces individual VM costs.

C

Candidates may mistakenly believe that premium SSD v2 is a cost-saving measure because it offers better performance per dollar in some high-I/O workloads, but they overlook that it is more expensive than standard disks for low-usage VMs.

D

Candidates may confuse cost optimization with network connectivity solutions, or mistakenly think that a VPN reduces costs by enabling hybrid scenarios that could use on-premises resources.

881
MCQmedium

A company has a hub VNet and two peered spoke VNets, AppSpoke and DataSpoke. Both spokes can reach on-premises networks through the hub gateway. The app VM in AppSpoke must connect privately to the data VM in DataSpoke without using the internet or sending traffic on-premises first. What should the administrator do?

A.Add an NSG rule that allows traffic from AppSpoke to DataSpoke.
B.Enable gateway transit on both spoke peerings.
C.Create a direct VNet peering between AppSpoke and DataSpoke.
D.Add a user-defined route in AppSpoke pointing DataSpoke traffic to the hub gateway.
AnswerC

Azure VNet peering is not transitive. If two spoke VNets must communicate directly, they need a direct peering between them or another routing design such as an appliance. Because the requirement is simply private connectivity between the app and data VNets, direct peering is the simplest and correct fix. The existing hub peering does not provide that spoke-to-spoke path.

Why this answer

A direct VNet peering between AppSpoke and DataSpoke establishes a private, low-latency connection between the two VNets without routing traffic through the hub gateway or on-premises networks. This satisfies the requirement for a private connection that does not use the internet or traverse on-premises, as VNet peering uses the Microsoft backbone infrastructure.

Exam trap

The trap here is that candidates often assume gateway transit (Option B) enables direct spoke-to-spoke communication, but it only allows spokes to use the hub’s gateway for on-premises connectivity, not for inter-spoke traffic without going through the hub.

Why the other options are wrong

A

NSG rules control traffic filtering, not routing. They cannot establish a direct path between VNets; traffic would still flow through the hub, potentially using on-premises connectivity.

B

Gateway transit allows spoke VNets to use the hub VPN gateway to reach on-premises networks, but it does not enable direct private connectivity between spokes. Traffic between AppSpoke and DataSpoke would still be routed through the hub, potentially going on-premises if the hub gateway is involved.

D

Adding a user-defined route in AppSpoke pointing DataSpoke traffic to the hub gateway would force traffic through the hub, which then routes to on-premises if no direct peering exists, violating the requirement to avoid sending traffic on-premises first.

When would these options actually be correct?

A

An NSG rule would be correct if the question asked how to block or allow specific traffic between subnets within the same VNet, or between VNets already connected via peering, where routing is already in place.

B

In a scenario where a spoke VNet needs to reach an on-premises network through the hub VPN gateway, enabling gateway transit on the spoke-to-hub peering is correct. For example, if AppSpoke must connect to an on-premises database via the hub gateway, enabling gateway transit on AppSpoke's peering with the hub is required.

D

This would be correct if the requirement was to route traffic through the hub for inspection or filtering, and the hub had a direct connection to DataSpoke (e.g., via a network virtual appliance) without going on-premises.

Why candidates pick the wrong answer

A

Candidates may confuse NSGs with routing, thinking that allowing traffic in a firewall-like rule is sufficient to enable connectivity, overlooking the need for a network path.

B

Candidates may confuse gateway transit with enabling direct communication between spokes, thinking that enabling it on both peerings allows spokes to talk directly through the hub without additional configuration.

D

Candidates may think that routing through the hub is always the correct way to connect spokes, not realizing that hub routing can inadvertently send traffic on-premises if the hub's default route points there.

882
MCQeasy

A team has an approved Windows VM that already includes patches, a monitoring agent, and line-of-business software. They want future VMs to start from that same build. What should they use?

A.A custom image
B.A snapshot of the OS disk
C.An availability set
D.A larger VM size
AnswerA

A custom image is the best option when you want future VMs to start from an approved, preconfigured build. The image captures the operating system plus installed software and settings so you can deploy consistent new VMs from the same baseline. This is a common way to standardize environments and speed up repeat deployments.

Why this answer

A custom image captures the exact state of a VM, including installed patches, monitoring agents, and line-of-business software, allowing you to create multiple identical VMs from that golden image. Unlike a snapshot, which is tied to a specific disk and requires manual steps to create a VM, a custom image is stored as a managed image resource that can be used directly during VM provisioning via the Azure portal, CLI, or ARM templates.

Exam trap

The trap here is confusing a snapshot (which is a disk-level backup) with a custom image (which is a deployable template that includes the OS and all software), leading candidates to choose the snapshot option because they think it can be used directly to create a VM with the same configuration.

Why the other options are wrong

B

A snapshot of the OS disk captures the disk state at a point in time but cannot be used directly to deploy new VMs; it must first be converted to a managed disk or image, and it does not include the data disks or the generalized sysprep state required for creating multiple VMs.

C

An availability set is used to ensure high availability by grouping VMs across fault and update domains, not for creating reusable VM configurations.

D

A larger VM size only provides more compute resources (CPU/RAM) but does not capture the pre-configured OS, patches, monitoring agent, or line-of-business software needed to replicate the approved build.

When would these options actually be correct?

B

When you need to create a backup or restore a specific VM to its exact state at the time of the snapshot, or when you want to create a new VM from a snapshot of a failed VM for disaster recovery purposes, without needing to generalize the OS.

C

When a question asks how to ensure that two or more VMs are not placed on the same physical hardware during maintenance or failure events, an availability set is the correct answer.

D

When a VM is experiencing performance bottlenecks (e.g., high CPU or memory usage) and the question asks for a solution to improve performance without changing the underlying configuration or software.

Why candidates pick the wrong answer

B

Candidates may think a snapshot is equivalent to an image because both capture the disk state, but they overlook that snapshots are not directly deployable as new VMs and lack the generalization step required for creating multiple identical VMs.

C

Candidates may confuse availability sets with image management, thinking that grouping VMs in an availability set somehow standardizes their configuration.

D

Candidates may mistakenly think that a larger VM size can 'include' the same software and settings, confusing hardware scaling with image-based deployment.

883
MCQmedium

A web application on a VM is failing on TCP 8443. The administrator wants to capture packets on the VM NIC to inspect retransmissions and handshake details after the test run. Which Network Watcher capability should be used?

A.IP flow verify
B.Connection troubleshoot
C.Packet capture
D.Effective routes
AnswerC

Packet capture records network traffic on the VM NIC so the administrator can analyze the exchange later. It is the right choice when the problem may involve retransmissions, handshake failures, or other packet-level behavior rather than only a routing or NSG question.

Why this answer

Packet capture in Network Watcher allows you to capture network traffic to and from a VM, including TCP retransmissions and handshake details (SYN, SYN-ACK, ACK). This is the correct tool for inspecting raw packets after a test run to diagnose issues like failed connections on TCP 8443.

Exam trap

The trap here is that candidates confuse IP flow verify or Connection troubleshoot with packet capture, not realizing that only packet capture provides raw packet data for analyzing retransmissions and handshake details.

Why the other options are wrong

A

IP flow verify checks if traffic is allowed or denied to/from a VM, but it does not capture packets for post-run analysis of retransmissions or handshake details.

B

Connection troubleshoot tests connectivity and identifies issues like blocked ports or latency, but it does not capture packets for post-run analysis of retransmissions and handshake details.

D

Effective routes shows the effective routes applied to a VM's NIC, but it does not capture or inspect network packets. It cannot be used to analyze retransmissions or handshake details on TCP 8443.

When would these options actually be correct?

A

When an administrator needs to verify whether a specific TCP packet on port 8443 is allowed or blocked by NSG rules, and the question asks for a diagnostic tool to test connectivity without capturing full packet data.

B

When the question asks to diagnose a connectivity issue from a VM to a destination (e.g., a specific IP and port) and requires a report on latency, packet loss, and hop-by-hop path, without needing the actual packet data.

D

When a VM cannot connect to a destination and you need to verify if the expected routes (e.g., forced tunneling, UDR) are actually applied to the NIC, Effective routes would be the correct tool to diagnose routing issues.

Why candidates pick the wrong answer

A

Candidates may confuse IP flow verify with packet capture because both involve network traffic analysis, but IP flow verify is a quick connectivity test, not a capture tool.

B

Candidates may confuse 'troubleshoot' with 'capture', thinking that diagnosing a connection problem includes packet-level inspection, but Connection troubleshoot only provides connectivity test results, not raw packet data.

D

Candidates may confuse 'effective routes' with 'packet capture' because both involve network troubleshooting, but they serve different purposes: routes deal with path selection, not packet-level inspection.

884
MCQhard

A legal department keeps signed contract scans in a blob container. The files are almost never opened, but when a reviewer requests one, it must be available later the same day and then stay online for about three days while the review is completed. The team wants the lowest ongoing storage cost during that review window. What should the administrator do?

A.Leave the blob in Archive and download it directly when needed
B.Rehydrate the blob to the Cool tier with standard priority
C.Copy the blob to the Hot tier permanently before the review starts
D.Change the storage account replication to GZRS to make archived data readable
AnswerB

Rehydrating to Cool makes the blob online again while keeping read costs lower than Hot for a short-term review period. Standard priority is appropriate when the request can wait several hours and does not require expedited restoration. This choice balances availability and cost for a blob that will be accessed briefly and infrequently.

Why this answer

Rehydrating the blob from Archive to the Cool tier with standard priority meets the requirement of making the file available later the same day (standard priority rehydration completes within 1–15 hours) and provides the lowest ongoing storage cost during the three-day review window, as Cool tier is cheaper than Hot tier for data that is infrequently accessed.

Exam trap

The trap here is that candidates may think Archive blobs can be directly downloaded or that changing replication settings makes archived data accessible, but in reality, Archive blobs must be explicitly rehydrated to an online tier before any read operation is possible.

Why the other options are wrong

A

Direct download from Archive tier is not supported; the blob must be rehydrated first, which incurs additional cost and delay, and does not achieve the lowest ongoing storage cost during the review window.

C

Moving the blob to the Hot tier permanently incurs higher storage costs during the 3-day review window compared to rehydrating to Cool tier, which is sufficient for the access pattern and cheaper.

When would these options actually be correct?

A

If the question required immediate access to a blob that is rarely accessed and the cost of rehydration was not a concern, or if the blob was already in the Archive tier and the access pattern allowed for a one-time retrieval with no need for cost optimization during the access period.

C

If the question required the lowest latency for access and the files were accessed frequently (e.g., multiple times per day) over a long period, then storing permanently in Hot tier would be correct to avoid rehydration delays and costs.

Why candidates pick the wrong answer

A

Candidates may think that Archive tier is the cheapest storage and assume direct download is possible, overlooking the fact that Archive tier blobs are offline and must be rehydrated before access.

C

Candidates may assume that Hot tier is always the best for any access, overlooking that Cool tier is cheaper and adequate for infrequent access with a short retention window.

885
MCQmedium

An administrator is deploying a site-to-site VPN gateway in the Azure portal. The deployment fails validation because the gateway does not have a public-facing address to terminate the tunnel. What must be created and associated with the VPN gateway?

A.A load balancer frontend IP configuration in front of the gateway subnet.
B.A public IP address resource associated with the VPN gateway.
C.A NAT gateway attached to GatewaySubnet.
D.A private endpoint for the virtual network gateway resource.
AnswerB

Azure VPN gateways require a public IP address resource so the on-premises VPN device can establish the tunnel to a known public endpoint. The gateway is deployed in GatewaySubnet, and the public IP is attached as part of the gateway configuration. Without that resource, the VPN gateway cannot be created successfully.

Why this answer

A site-to-site VPN gateway in Azure requires a public IP address to terminate the IPSec tunnel from the on-premises device. The public IP address resource must be created and associated with the VPN gateway during deployment; without it, the gateway has no routable endpoint for the tunnel, causing validation to fail.

Exam trap

The trap here is that candidates often confuse the public IP requirement with other networking components like load balancers or NAT gateways, mistakenly thinking those can provide the necessary public endpoint for VPN tunnel termination.

Why the other options are wrong

A

A load balancer frontend IP configuration does not provide a public IP address that can be directly associated with a VPN gateway. The VPN gateway requires a dedicated public IP address resource to terminate the tunnel, not a load balancer frontend.

C

A NAT gateway provides outbound internet connectivity for virtual machines, not a public-facing IP for terminating VPN tunnels. The VPN gateway requires a public IP address resource directly associated with it, not a NAT gateway.

D

A private endpoint is used to securely connect to Azure PaaS services over a private IP address within a virtual network, not to provide a public-facing address for terminating a VPN tunnel.

When would these options actually be correct?

A

This option would be correct in a scenario where you need to distribute inbound traffic across multiple VPN gateways or provide high availability for VPN connections, and the question asks for a way to expose a single public IP for multiple gateways using a load balancer.

C

In a scenario where you need to provide outbound internet access for resources in a subnet (e.g., to access external APIs) while preventing inbound connections, a NAT gateway attached to the subnet would be the correct answer.

D

In a scenario where an organization requires a private, secure connection to an Azure VPN gateway without exposing it to the public internet, a private endpoint could be used to access the VPN gateway privately from on-premises via ExpressRoute or another VPN.

Why candidates pick the wrong answer

A

Candidates may confuse the need for a public-facing endpoint with load balancing, thinking that a load balancer frontend IP can serve as the public address for the VPN gateway, not realizing that the gateway itself must have its own public IP resource.

C

Candidates may confuse NAT gateway with public IP addressing, thinking it provides a public endpoint for the VPN gateway, or they may recall that NAT is used for internet connectivity in Azure.

D

Candidates may confuse private endpoints with public IP addresses, thinking that a private endpoint can serve as a termination point for a VPN tunnel, or they may misunderstand the role of private endpoints in providing connectivity.

886
MCQhard

You need to suppress alert notifications for a group of virtual machines every Sunday during a planned maintenance window, without deleting the underlying alert rules. What should you configure?

A.Disable diagnostic settings during the maintenance window.
B.Create an alert processing rule for the maintenance window.
C.Delete and recreate the alert rules every week.
D.Move the VMs to a different subscription on Sundays.
AnswerB

An alert processing rule (formerly an action rule) can be configured with a maintenance window schedule to suppress notifications for a scoped set of virtual machines. During that defined time range, the rule overrides future alert actions by discarding or modifying them, while the underlying alert rules continue to evaluate and fire. This preserves your alert rule configuration, avoids false silence outside the window, and keeps the audit trail/history of fired alerts intact.

Why this answer

An alert processing rule (formerly action rule) allows you to apply actions or suppress notifications for specific alert rules during defined time windows without modifying the underlying alert rules. By configuring a suppression action rule for the maintenance window (every Sunday), you can prevent notifications from being sent while the alert rules remain active and continue to evaluate conditions.

Exam trap

The trap here is that candidates may confuse disabling diagnostic settings (which stops data collection) with suppressing notifications, or think that modifying the underlying alert rule is required, when Azure provides a dedicated alert processing rule feature for this exact scenario.

Why the other options are wrong

A

Disabling diagnostic settings stops the collection of metrics and logs, but it does not suppress alert notifications from existing alert rules that are already configured. Alerts based on those diagnostics would not fire because data stops flowing, but the rules remain active and would resume firing once diagnostics are re-enabled, which is not the same as suppressing notifications during a planned window.

C

Deleting and recreating alert rules every week is inefficient, error-prone, and does not suppress notifications during maintenance; it removes the rules entirely, which is not required.

D

Moving VMs to a different subscription on Sundays is an overly complex and disruptive approach that doesn't suppress alerts; it changes the management boundary and may affect other resources and policies.

When would these options actually be correct?

A

You need to temporarily stop collecting diagnostic data from a set of VMs to reduce costs during a maintenance window, without deleting the diagnostic settings permanently. Disabling diagnostic settings would be the correct action to stop data ingestion and associated costs.

C

If an exam question asks for a method to permanently remove alert rules for a specific time period and you are allowed to recreate them manually each week, this could be a valid approach, though not recommended.

D

You need to isolate a set of VMs for separate cost tracking or compliance requirements, and moving them to a different subscription is the only way to apply distinct policies or billing. The question would specify that alert suppression is not the goal.

Why candidates pick the wrong answer

A

Candidates may confuse diagnostic settings with alert rules, thinking that disabling diagnostics will also suppress alerts, or they may believe that alerts are directly tied to the diagnostic data stream rather than being separate rule-based evaluations.

C

Candidates may think that deleting and recreating rules is a straightforward way to stop alerts temporarily, overlooking the existence of alert processing rules that can suppress notifications without deleting rules.

D

Candidates might think that moving VMs to a different subscription would automatically stop alerts from the original subscription, but this is inefficient and ignores Azure's built-in alert processing rules for suppression.

887
MCQhard

An enterprise has a management group named Corp. Corp contains two child management groups: Prod and Sandbox. A compliance auditor is a member of an Entra ID group and must have read-only access to every current and future resource in all subscriptions that are under Prod. The auditor must not see resources in Sandbox, and the admin does not want to maintain separate assignments for each new subscription. What should the administrator do?

A.Assign the Reader role to the group at each subscription scope under Prod.
B.Assign the Reader role to the group at the Corp management group scope.
C.Assign the Reader role to the group at the Prod management group scope.
D.Assign the Reader role to the group at one resource group in each Prod subscription.
AnswerC

A role assignment at the Prod management group scope inherits to all subscriptions, resource groups, and resources beneath that management group, including future subscriptions placed there later. It also stays limited to Prod, so Sandbox remains outside the auditor's visibility.

Why this answer

Assigning the Reader role at the Prod management group scope applies that permission to all current and future subscriptions and resources within Prod, satisfying the requirement for read-only access without needing separate assignments. Management groups in Azure provide a hierarchical scope that inherits role assignments to all child subscriptions and resource groups, making this the most efficient and future-proof approach.

Exam trap

The trap here is that candidates may choose Option B (assign at Corp scope) thinking it covers all subscriptions, but they overlook that it would also grant access to Sandbox, failing the requirement to restrict the auditor to Prod only.

Why the other options are wrong

A

Assigning the Reader role at each subscription scope under Prod requires maintaining separate assignments for each new subscription, which contradicts the requirement to avoid manual maintenance.

B

Assigning the Reader role at the Corp management group scope would grant read-only access to all subscriptions under both Prod and Sandbox, violating the requirement that the auditor must not see resources in Sandbox.

D

Assigning the Reader role at one resource group in each Prod subscription does not grant access to all current and future resources in the entire subscription, only to that specific resource group. It also requires maintaining separate assignments for each new subscription, violating the requirement to avoid that.

When would these options actually be correct?

A

If the requirement were to grant read-only access only to existing subscriptions under Prod, without needing to cover future subscriptions automatically, then assigning the Reader role at each subscription scope would be appropriate.

B

This option would be correct if the requirement was to grant read-only access to all current and future resources in all subscriptions under both Prod and Sandbox, without any restriction on Sandbox access.

D

This option would be correct if the requirement was to grant read-only access only to a specific resource group within each subscription, and the auditor did not need access to other resource groups or future resources outside that group.

Why candidates pick the wrong answer

A

Candidates may think that assigning at the subscription level is necessary because they are unaware that management group scope inheritance applies to all child subscriptions, including future ones.

B

Candidates may think that assigning at the highest scope (Corp) is more efficient and covers all subscriptions, overlooking the need to exclude Sandbox as per the requirement.

D

Candidates might think that assigning at a resource group level is sufficient and simpler, not realizing that management group scope provides inheritance to all subscriptions and resources under it, which is needed for future resources and full subscription coverage.

888
MCQhard

An analytics team keeps quarterly telemetry exports in Azure Blob Storage. The files are accessed only a few times per year, but when they are needed they must remain online and immediately readable without any rehydration delay. Which access tier should you use?

A.Hot, because it is optimized for frequent reads and writes.
B.Cool, because it is designed for infrequently accessed data that still stays online.
C.Cold, because it is intended for rarely accessed online data with lower storage cost.
D.Archive, because it is the cheapest tier and can be opened directly in the portal.
AnswerC

Cold is the best match because the data must remain online and readable immediately, yet is accessed only a few times per year. That makes Archive inappropriate because Archive requires rehydration before reading. Cold gives the team an online tier with lower storage cost than the hotter tiers, while preserving immediate access when an analyst needs the files.

Why this answer

The Cold tier is designed for data that is rarely accessed but must remain online with immediate read access, offering lower storage costs than Cool or Hot tiers while avoiding the rehydration delay of Archive. The scenario specifies files are accessed only a few times per year but must be immediately readable without any rehydration delay, which matches Cold tier's purpose of providing online access with no latency for infrequent reads.

Exam trap

The trap here is that candidates confuse 'rarely accessed' with 'Archive tier,' forgetting that Archive requires rehydration and is not immediately readable, while Cold tier provides online access with lower storage cost for data accessed only a few times per year.

Why the other options are wrong

A

The Hot tier is optimized for frequent reads and writes, but the question specifies that files are accessed only a few times per year, making Hot unnecessarily expensive due to higher storage costs.

B

Cool tier is designed for infrequently accessed data, but the question specifies 'only a few times per year,' which aligns more with Cold tier's 90-day minimum and lower cost. Cool tier has a 30-day minimum and higher storage cost than Cold, making it less optimal for this access pattern.

D

Archive tier requires rehydration (which can take hours) before data is readable, contradicting the requirement for immediate readability without delay.

When would these options actually be correct?

A

A question where data is accessed frequently (e.g., daily or multiple times per hour) and requires low-latency access, such as a web application serving user-uploaded images in real time.

B

A company stores monthly sales reports that are accessed about once a month for analysis. The data must remain online with no rehydration delay. Cool tier would be correct because it balances cost and availability for data accessed roughly every 30 days.

D

A question where data is accessed very rarely (e.g., once a year or less) and rehydration delay is acceptable, such as long-term compliance archives where cost is the primary concern.

Why candidates pick the wrong answer

A

Candidates may assume 'Hot' is always the safest default for online access, overlooking that the question emphasizes infrequent access and cost optimization.

B

Candidates see 'infrequently accessed' and think Cool is the standard tier for such data, overlooking that 'a few times per year' is even less frequent and better served by Cold tier with lower storage cost.

D

Candidates see 'cheapest' and 'rarely accessed' and assume Archive fits, overlooking the critical requirement for immediate online access without rehydration.

889
MCQmedium

An operations team must administer Windows and Linux VMs that have no public IP addresses. They want to connect from a browser without installing a VPN client and without exposing RDP or SSH to the internet. Which Azure service should they deploy?

A.Azure Load Balancer
B.Azure Bastion
C.VPN Gateway point-to-site only
D.Application Gateway
AnswerB

Azure Bastion provides secure browser-based RDP and SSH access to VMs in a virtual network without needing public IP addresses on the VMs. It also avoids exposing management ports directly to the internet and does not require the user to install a VPN client. This makes it a strong fit for controlled administrative access in locked-down environments.

Why this answer

Azure Bastion provides secure, seamless RDP and SSH connectivity to virtual machines directly from the Azure portal over TLS, without requiring a public IP address on the VM, a VPN client, or exposing RDP/SSH ports to the internet. It uses a hardened bastion host inside the virtual network, proxying connections via the browser, which satisfies the requirement for browser-based access without additional client software.

Exam trap

The trap here is that candidates often confuse Azure Bastion with a VPN gateway or jump box, mistakenly thinking a VPN client or public IP is required for administrative access, when Bastion eliminates both by proxying connections directly from the Azure portal.

Why the other options are wrong

A

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

C

VPN Gateway point-to-site requires installing a VPN client on the browser machine, which contradicts the requirement of no VPN client installation.

D

Application Gateway is a layer-7 load balancer that requires public IPs for frontend and does not provide secure browser-based RDP/SSH access to VMs without public IPs.

When would these options actually be correct?

A

When the question asks for distributing incoming traffic across multiple VMs to ensure high availability and scalability, and the VMs have public IPs or are accessible via other means, Azure Load Balancer would be the correct answer.

C

A question where users need secure remote access from remote locations without public IPs on VMs, but are allowed to install a VPN client on their devices, and the requirement is to avoid exposing RDP/SSH to the internet.

D

When the requirement is to expose web applications to the internet with SSL termination, URL-based routing, and Web Application Firewall (WAF) protection, and the VMs have private IPs behind the gateway.

Why candidates pick the wrong answer

A

Candidates may confuse load balancing with providing access, thinking that a load balancer can somehow enable connectivity to VMs without public IPs, or they may misremember that Bastion is a load balancer service.

C

Candidates may think point-to-site VPN provides browser-based access without public IPs, but overlook the client installation requirement.

D

Candidates may confuse Application Gateway's web application delivery with remote access, or think its WAF and SSL features can secure RDP/SSH traffic.

890
MCQmedium

A platform team runs an internal automation tool that must restart VMs and read network interface settings in one resource group. Built-in roles available to the team are broader than the access they want to grant. What should the administrator create?

A.A custom role with only the required compute and read permissions, assigned at the resource group scope.
B.The Contributor role assigned at the subscription scope.
C.The Reader role assigned at the resource group scope.
D.The Network Contributor role assigned at the resource group scope.
AnswerA

A custom role is the preferred approach because it enforces least privilege: the role definition can be scoped to only the specific Microsoft.Compute actions necessary for the automation (for example, Microsoft.Compute/virtualMachines/start/action, restart/action, and read), and assigning it at the resource group scope ensures the tool cannot affect resources outside that boundary. This gives the exact operational permissions needed without granting subscription-wide or unrelated network/admin access.

Why this answer

The team needs only specific actions (restart VMs and read network interface settings) within a single resource group. Creating a custom role with only the required compute and read permissions, assigned at the resource group scope, follows the principle of least privilege and avoids granting broader access than necessary. Built-in roles like Contributor or Network Contributor include extra permissions (e.g., write, delete) that are not needed.

Exam trap

The trap here is that candidates often choose a built-in role like Contributor or Network Contributor because they see 'restart' or 'network' in the name, without realizing these roles include excessive permissions that violate the principle of least privilege.

Why the other options are wrong

B

The Contributor role at subscription scope grants full management access to all resources in the subscription, which is far broader than the required permissions to restart VMs and read network interface settings in a single resource group.

C

The Reader role grants read-only access, but the automation tool needs to restart VMs, which requires write permissions (e.g., Microsoft.Compute/virtualMachines/restart/action). Reader cannot perform restart operations.

D

The Network Contributor role only grants permissions for network resources, not for restarting VMs (which requires compute permissions like Microsoft.Compute/virtualMachines/restart/action).

When would these options actually be correct?

B

If the question required granting full management access to all resources in a subscription (e.g., for a DevOps team managing all resources), then the Contributor role at subscription scope would be appropriate.

C

A question where the requirement is only to read network interface settings and VM configurations (no restart or write actions) in a resource group. For example: 'A team needs to monitor VM and network interface configurations but must not make changes. What role should be assigned?'

D

If the automation tool only needed to read and modify network interface settings (e.g., update IP configurations) and did not require any VM restart or compute permissions, then assigning the Network Contributor role at the resource group scope would be sufficient.

Why candidates pick the wrong answer

B

Candidates may think Contributor is a safe, commonly used role that covers the needed actions, overlooking that it grants excessive permissions beyond the stated requirements.

C

Candidates may mistakenly think Reader is sufficient because the question mentions 'read network interface settings,' overlooking the restart requirement that demands write permissions.

D

Candidates may think Network Contributor covers VM restart because VMs are associated with network interfaces, but it lacks compute-specific actions.

891
MCQmedium

An application team plans to store block blobs for application logs, lifecycle them to cooler tiers over time, and use Azure Monitor diagnostic exports from several Azure resources into the same storage account. They also want access tier controls and general-purpose features in one place. Which storage account type should the administrator create?

A.BlobStorage account, because it is optimized for storing only unstructured blobs.
B.StorageV2 general-purpose account, because it supports blobs, tiering, and broad Azure integrations.
C.FileStorage account, because it supports any Azure diagnostic data format and access tiers.
D.BlockBlobStorage account, because it is required whenever logs are exported from Azure Monitor.
AnswerB

A general-purpose v2 (StorageV2) account is the recommended Azure Storage account for blob-centric workloads because it consolidates blob, file, queue, table, and disk services under one account. It natively supports the hot, cool, and archive blob access tiers along with lifecycle management policies, enabling cost-effective tiering of application logs. StorageV2 also integrates directly with Azure Monitor for metrics and diagnostic settings, making it the ideal choice for application teams that need broad Azure service interoperability.

Why this answer

A StorageV2 general-purpose account (B) is the correct choice because it supports block blobs, lifecycle management policies for tiering to cool, cold, and archive tiers, and integrates seamlessly with Azure Monitor diagnostic exports. Unlike specialized accounts, StorageV2 provides a unified platform for blobs, files, queues, and tables, meeting the team's need for access tier controls and general-purpose features in one place.

Exam trap

The trap here is that candidates often assume any blob-specific account (like BlobStorage or BlockBlobStorage) is sufficient for diagnostic exports, but Azure Monitor requires a general-purpose v2 account to properly create the necessary containers and support lifecycle management policies.

Why the other options are wrong

A

BlobStorage accounts do not support Azure Monitor diagnostic exports or lifecycle management policies, which are required for the scenario.

C

FileStorage accounts are optimized for SMB file shares, not block blobs, and do not support Azure Monitor diagnostic exports or access tier controls for blobs.

D

BlockBlobStorage accounts do not support Azure Monitor diagnostic exports or lifecycle management policies, and they lack general-purpose features like tables and queues.

When would these options actually be correct?

A

A question that asks for a storage account optimized solely for storing unstructured blob data (e.g., for a simple backup or archive solution) with no need for Azure Monitor integration or lifecycle management would make BlobStorage the correct answer.

C

If the question required storing file shares for applications using SMB protocol, with premium performance and no need for blob storage or lifecycle management, a FileStorage account would be correct.

D

A scenario where an application requires maximum performance for block blob storage with low latency, such as for high-throughput logging or analytics workloads, and does not need Azure Monitor diagnostics or lifecycle management.

Why candidates pick the wrong answer

A

Candidates may think BlobStorage is sufficient because the primary data type is blobs, overlooking the need for broader Azure integrations and lifecycle management features that only StorageV2 provides.

C

Candidates may confuse FileStorage with general-purpose storage, assuming it supports any data format and tiering, or misremember that Azure Monitor exports can go to file shares.

D

Candidates may think that block blobs for logs require a BlockBlobStorage account, overlooking that StorageV2 accounts also support block blobs and provide the necessary additional features.

892
MCQmedium

A VM in a virtual network must access an Azure Storage account over a private IP address, and the storage account's public endpoint must be disabled. Name resolution from the VM should resolve the storage name to the private IP. Which configuration should you use?

A.Service endpoint on the subnet plus public DNS, because the storage account will expose a private IP automatically.
B.Private endpoint with a private DNS zone linked to the virtual network.
C.Network security group rules only, because they can force traffic to use private addressing.
D.Storage account firewall rules with Allow trusted Microsoft services, because that gives a private address path.
AnswerB

A private endpoint places the storage service behind a private IP address in your virtual network, which is exactly what the scenario requires. Linking a private DNS zone ensures the storage account name resolves to that private IP from resources inside the VNet. Together, these settings provide private network access and allow you to disable the public endpoint safely.

Why this answer

A private endpoint assigns a private IP from the virtual network to the storage account, effectively bringing the service into the VNet. By linking a private DNS zone to the virtual network, the VM's DNS resolution for the storage account name returns the private IP instead of the public endpoint, satisfying both the private connectivity and public endpoint disablement requirements.

Exam trap

The trap here is confusing service endpoints (which only provide source IP preservation and routing via the public endpoint) with private endpoints (which provide a true private IP and can disable the public endpoint), leading candidates to choose option A.

Why the other options are wrong

A

Service endpoints do not assign a private IP to the storage account; they only provide direct connectivity over the Azure backbone. The storage account's public endpoint remains enabled, and name resolution still resolves to the public IP, not a private IP.

C

Network security group rules only control inbound/outbound traffic filtering and cannot assign a private IP address to a storage account or disable its public endpoint. They do not provide private name resolution or private connectivity.

D

Storage account firewall rules with 'Allow trusted Microsoft services' do not provide a private IP address; they only allow traffic from trusted Azure services over the public endpoint. The requirement is to disable the public endpoint and use a private IP, which firewall rules cannot achieve.

When would these options actually be correct?

A

A question requiring secure access from a VM to a storage account without disabling the public endpoint, where the goal is to avoid internet routing and reduce costs, and private IP is not required. Service endpoints on the subnet would be correct.

C

A question asks: 'You need to restrict inbound traffic to a subnet to only allow traffic from a specific IP range. Which configuration should you use?' In that scenario, NSG rules are the correct answer.

D

This option would be correct in a scenario where the requirement is to restrict access to a storage account to only trusted Microsoft services (e.g., Azure Backup) while keeping the public endpoint enabled, and no private IP connectivity is needed.

Why candidates pick the wrong answer

A

Candidates may confuse service endpoints with private endpoints, thinking both provide private IP connectivity, or assume that 'private IP automatically' means the service endpoint assigns a private IP to the storage account.

C

Candidates may think NSGs can force traffic to use private addressing by blocking public IPs, but they overlook that NSGs cannot create a private network interface for a PaaS service or resolve names to private IPs.

D

Candidates may think that enabling trusted Microsoft services provides a private path, confusing the concept of service trust with network-level private connectivity, or they may overlook the explicit requirement to disable the public endpoint.

893
Multi-Selecteasy

Which two statements about Azure route tables and user-defined routes are correct? Select two.

Select 2 answers
A.You can associate a route table with a subnet.
B.A user-defined route can send traffic to a virtual appliance as the next hop.
C.Route tables can be associated directly to a single virtual machine without using its subnet.
D.A user-defined route automatically overrides a network security group deny rule.
E.System routes are never used when a route table exists.
AnswersA, B

A route table is a top-level Azure resource that must be linked to one or more subnets. After the association, all VMs in that subnet automatically use the route table's user-defined routes, and the route table cannot be attached to a VM's network interface directly. This design allows consistent routing for all resources in the subnet but means you cannot isolate one VM's routes without creating a separate subnet.

Why this answer

Route tables in Azure are associated at the subnet level, not directly to a virtual machine. This association allows the route table's user-defined routes (UDRs) to override system default routes for traffic leaving that subnet. The subnet must be in the same region as the route table, and a single route table can be associated with multiple subnets.

Exam trap

The trap here is that candidates often confuse the scope of route table association (subnet vs. VM) and assume UDRs can override NSG rules, when in fact routing and firewall filtering are separate layers in Azure's networking stack.

Why the other options are wrong

C

Route tables are associated with subnets, not directly with individual virtual machines. A VM inherits routes from its subnet's route table.

D

User-defined routes (UDRs) control network traffic routing, not security filtering. Network security group (NSG) rules are evaluated after routing, and a UDR cannot override an NSG deny rule because they operate at different layers: routing determines the path, NSG rules allow or deny traffic.

E

System routes are always used by default; user-defined routes (UDRs) override system routes only for specific traffic, but system routes still apply for other traffic and are not completely ignored when a route table exists.

When would these options actually be correct?

C

In a scenario where the question asks about associating a network security group (NSG) directly to a VM's network interface, that would be correct. For example: 'You can associate a network security group directly to a virtual machine's network interface.'

D

In a scenario where the question asks about the precedence of route types, and an option states 'A user-defined route can override a system route for the same destination prefix.' This would be correct because UDRs have higher precedence than system routes.

E

If the question asked 'Which statement about route priority is correct?' and the options included 'System routes are never used when a user-defined route is applied to the same traffic,' then this could be correct because UDRs take precedence over system routes for matching traffic.

Why candidates pick the wrong answer

C

Candidates may confuse route tables with network security groups (NSGs), which can be associated directly to a VM's NIC, or think that route tables can be applied per-VM for granular control.

D

Candidates may confuse the functions of routing and security, thinking that a route can bypass security rules, or they may misinterpret 'override' as simply taking precedence over system routes, not NSG rules.

E

Candidates may mistakenly think that associating a route table with a subnet completely replaces system routes, not realizing that system routes still apply for traffic not covered by UDRs.

894
Matchingeasy

Match each Azure Storage redundancy option to the best description.

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

Concepts
Matches

Stores three copies of data within one Azure datacenter.

Stores copies across multiple availability zones in one region.

Replicates data to a secondary region, but the secondary copy is not readable.

Replicates data to a secondary region and allows read access to that secondary copy.

Combines zone redundancy in the primary region with geo-replication to a secondary region.

Combines zone redundancy and geo-replication, with readable access to the secondary region.

Why these pairings

Each redundancy option provides increasing durability and availability: LRS is lowest cost, ZRS protects against zone failure, GRS adds geo-replication, RA-GRS allows read from secondary, GZRS combines zone and geo, RA-GZRS adds read access to secondary.

895
Multi-Selecteasy

A VM was corrupted and the team wants to recover it from Azure Backup without using the original damaged disks. Which two restore targets are supported? Select two.

Select 2 answers
A.Create a new virtual machine
B.Restore the managed disks
C.Change the subscription automatically
D.Replace the Recovery Services vault name
E.Rebuild the virtual network
AnswersA, B

Restoring to a new virtual machine creates a fresh VM resource from the chosen recovery point, preserving the original VM's disks, network interface, and configuration as of the backup. This is the default restore target and lets you leave the corrupted VM intact for forensic analysis or troubleshooting, while immediately provisioning a clean, bootable instance from the snapshot.

Why this answer

Azure Backup supports restoring a VM to a new virtual machine directly from the recovery point, which creates a new VM with the same configuration and data without using the original damaged disks. This is a common restore workflow when the original VM is corrupted or inaccessible.

Exam trap

The trap here is that candidates often assume 'Replace existing VM' is an option, but Azure Backup does not support in-place restoration of a corrupted VM; you must restore to a new VM or to managed disks, then manually swap disks or reconfigure.

Why the other options are wrong

C

Azure Backup does not support automatically changing the subscription during restore; restore operations are confined to the same subscription as the Recovery Services vault.

D

Azure Backup does not support changing the Recovery Services vault name as a restore target; the vault name is fixed and cannot be replaced during restore operations.

E

Rebuilding the virtual network is not a supported restore target for Azure Backup; backup restores operate on VM or disk level, not on network resources.

When would these options actually be correct?

C

If the question were about moving a backup to a different subscription for billing or organizational purposes, you would need to perform a cross-subscription restore, which is supported for certain workloads like Azure VMs by restoring to a different subscription.

D

In a scenario where you need to move a backup to a different Recovery Services vault (e.g., for organizational restructuring), you would use the 'Backup to another vault' feature or cross-region restore, but the vault name itself cannot be changed; you select a different existing vault.

E

In a scenario where a virtual network is accidentally deleted or misconfigured, and you need to recreate it from a template or script, 'Rebuild the virtual network' would be a valid recovery action, but it is not a restore target from Azure Backup.

Why candidates pick the wrong answer

C

Candidates may think that changing the subscription is a valid restore option because they confuse restore with migration or assume that backup data can be moved across subscriptions easily.

D

Candidates may think that changing the vault name is a valid restore option because they confuse it with the ability to restore to a different vault or subscription, but the vault name is immutable after creation.

E

Candidates may think that restoring a VM requires its network to be rebuilt or that Azure Backup can restore network components, confusing network recovery with VM recovery.

896
MCQhard

A Windows VM and a Linux VM in the same on-premises Active Directory Domain Services domain must mount the same Azure Files share over SMB. Security policy forbids storage account keys and long-lived SAS tokens. What should the administrator configure?

A.Use Azure Files with Active Directory Domain Services authentication and grant permissions to the required AD group.
B.Use a private endpoint and rely on network isolation instead of authentication.
C.Use the storage account access key because SMB requires shared-key authentication.
D.Use Azure Files NFS authentication because Linux and Windows workloads can both mount it.
AnswerA

This provides password-based domain authentication for SMB access without using storage keys or SAS. Both Windows and Linux clients can mount the share when they are domain joined and the share permissions are assigned correctly.

Why this answer

Azure Files supports identity-based authentication over SMB using on-premises Active Directory Domain Services (AD DS). By enabling AD DS authentication for the storage account and granting share-level permissions to an AD group that includes both the Windows and Linux VMs, the administrator can mount the Azure Files share without using storage account keys or SAS tokens. This satisfies the security policy while allowing SMB access from both operating systems.

Exam trap

The trap here is that candidates may assume NFS is the only cross-platform option for Linux and Windows, overlooking that Azure Files SMB with AD DS authentication supports both operating systems when domain-joined.

Why the other options are wrong

B

Network isolation via a private endpoint does not authenticate users or satisfy the security policy forbidding storage account keys and SAS tokens; it only restricts network access.

C

The question explicitly forbids storage account keys, and SMB with Azure Files does not require shared-key authentication when using AD DS authentication.

D

Azure Files NFS authentication is not supported for Windows clients, and the question requires both Windows and Linux VMs to mount the same share over SMB, not NFS.

When would these options actually be correct?

B

If the question required secure network access to Azure Files without traversing the public internet, and authentication was handled separately (e.g., via AD DS), a private endpoint would be correct.

C

A question that asks for the simplest method to mount an Azure Files share for a single Windows VM without any authentication restrictions, and the security policy does not forbid using storage account keys.

D

If the question specified that only Linux clients need to mount the Azure Files share and SMB is not required, or if the environment uses NFSv4.1 and does not include Windows clients, then NFS authentication would be correct.

Why candidates pick the wrong answer

B

Candidates may confuse network security (private endpoint) with authentication, thinking that restricting network access alone meets the security requirement.

C

Candidates may mistakenly believe that SMB inherently requires shared-key authentication, overlooking that Azure Files supports Kerberos-based authentication with AD DS.

D

Candidates may mistakenly believe that NFS is the universal protocol for cross-platform file sharing, overlooking that Azure Files NFS is Linux-only and incompatible with Windows SMB requirements.

897
MCQhard

A stateless web app runs on two Ubuntu VMs behind an Azure Load Balancer. The region supports availability zones. The business wants the app to survive a full datacenter outage and also avoid having both VMs on the same maintenance boundary. Which deployment should you choose?

A.Place both VMs in a single availability set.
B.Deploy one VM and rely on Azure Backup for recovery.
C.Place the VMs in separate availability zones in the same region.
D.Deploy both VMs without any fault-domain configuration.
AnswerC

Availability zones place workloads in physically separate datacenters within the same region. That design protects against a full zone or datacenter outage and also gives you a stronger isolation boundary than an availability set. Because the app has two VMs behind a load balancer, you can distribute them across zones and maintain service if one zone becomes unavailable.

Why this answer

Deploying the VMs in separate availability zones ensures they are placed in physically distinct datacenters within the same region, protecting against a full datacenter outage. Additionally, each availability zone has its own fault and update domains, so the VMs will never share the same maintenance boundary, meeting both business requirements.

Exam trap

The trap here is that candidates often confuse availability sets (which protect within a datacenter) with availability zones (which protect across datacenters), and fail to recognize that only zones can survive a full datacenter outage while also avoiding shared maintenance boundaries.

Why the other options are wrong

A

An availability set protects against rack-level failures within a single datacenter, not a full datacenter outage. The requirement to survive a full datacenter outage demands availability zones, which span separate physical locations.

B

Azure Backup provides disaster recovery for data and VMs, but it does not ensure high availability or prevent downtime during a datacenter outage; recovery takes time and the app would be unavailable.

D

Deploying both VMs without fault-domain configuration does not protect against a full datacenter outage or maintenance events, as both VMs could be placed on the same physical host or within the same datacenter, violating the requirement for high availability.

When would these options actually be correct?

A

A question that asks for high availability within a single datacenter (e.g., 'survive a server rack failure') without requiring multi-datacenter resilience, and the region does not support availability zones.

B

If the question asked for a cost-effective disaster recovery solution for a non-critical app where some downtime is acceptable, and the business wants to recover data after a regional failure, then deploying one VM with Azure Backup would be correct.

D

This option would be correct in a scenario where the application is not critical, cost is the primary constraint, and the business accepts the risk of downtime during maintenance or failures, such as for a development or test environment.

Why candidates pick the wrong answer

A

Candidates often confuse availability sets with availability zones, thinking both provide similar disaster recovery capabilities, or they underestimate the scope of a 'full datacenter outage'.

B

Candidates may confuse disaster recovery (Backup) with high availability, thinking that backup can quickly restore the app in another location, but fail to consider the recovery time and lack of automatic failover.

D

Candidates may think that simply deploying VMs without any configuration is sufficient for basic availability, or they may overlook the need for explicit fault-domain placement to meet high-availability requirements.

898
MCQeasy

Based on the exhibit, which lock should the administrator apply so resources can still be updated but cannot be deleted by mistake?

A.ReadOnly lock
B.CanNotDelete lock
C.Subscription lock
D.Management group lock
AnswerB

CanNotDelete is the correct lock when the organization wants to allow configuration changes but prevent accidental deletion. It protects the resource group and its resources from delete operations while still letting administrators update settings and perform normal management tasks.

Why this answer

The CanNotDelete lock (option B) is correct because it allows all operations including updates and reads, but explicitly prevents deletion of the resource. This meets the requirement that resources can still be updated but cannot be deleted by mistake. Azure resource locks operate at the scope level and override any role-based permissions, ensuring that even users with Contributor or Owner roles cannot delete the resource while the lock is active.

Exam trap

The trap here is that candidates often confuse the ReadOnly lock with the CanNotDelete lock, mistakenly thinking that a ReadOnly lock still allows updates, when in fact it blocks all write operations including updates, making it unsuitable for the stated requirement.

Why the other options are wrong

A

A ReadOnly lock prevents any modifications, including updates, to resources. The question requires that resources can still be updated but not deleted, so a ReadOnly lock is too restrictive.

C

A subscription lock applies to the entire subscription, not just the resources in the exhibit. The question asks for a lock that allows updates but prevents deletion of specific resources, which is the CanNotDelete lock at the resource or resource group scope.

D

A management group lock applies to all subscriptions within the management group hierarchy, not to individual resources. The question asks for a lock that allows updates but prevents deletion of specific resources, which is the CanNotDelete lock at the resource or resource group scope.

When would these options actually be correct?

A

A ReadOnly lock would be correct if the question stated that resources must be protected from both deletion and modification (e.g., 'prevent any changes to resources').

C

When the question asks for a lock that prevents all modifications (including updates) to an entire subscription, such as 'You need to ensure no one can modify or delete any resources in the subscription.'

D

When the question asks for a lock that prevents deletion or modification of all resources across multiple subscriptions, such as enforcing compliance or governance at the top-level hierarchy. For example: 'An administrator needs to ensure that no resources can be deleted or modified in any subscription under a management group. Which lock should be applied?'

Why candidates pick the wrong answer

A

Candidates may confuse 'cannot delete' with 'read-only', thinking that preventing deletion implies read-only access, but they overlook the requirement that updates must still be allowed.

C

Candidates may think a subscription lock is a broad solution that covers all resources, but they overlook that it also blocks updates, which is not desired here, and that the scope is too wide for the specific requirement.

D

Candidates may think a management group lock provides broad protection and mistakenly believe it can be used to protect individual resources, or they confuse management group scope with resource group scope.

899
MCQmedium

A company has 25 remote employees who need to connect from their laptops to Azure VMs that have only private IP addresses. No on-premises VPN appliance exists, and the VMs must not be assigned public IP addresses. Which solution should the administrator deploy?

A.Site-to-site VPN Gateway
B.Point-to-site VPN Gateway
C.ExpressRoute circuit
D.Public load balancer with inbound NAT rules
AnswerB

Point-to-site VPN Gateway is the correct choice because it allows each remote employee's laptop to establish an individual encrypted tunnel (using SSTP, IKEv2, or OpenVPN) directly to the Azure virtual network. This approach does not expose the VMs to the public internet, as the VMs remain reachable only through the VPN gateway's private address space. It supports modern authentication methods like Azure AD, certificate-based, or RADIUS, making it ideal for a distributed set of 25 remote users without requiring any on-premises hardware.

Why this answer

A Point-to-Site (P2S) VPN Gateway is the correct solution because it allows individual remote clients (laptops) to establish a secure VPN connection from anywhere to Azure VMs with private IP addresses, without requiring a public IP on the VMs or an on-premises VPN appliance. P2S uses SSTP, IKEv2, or OpenVPN protocols to create a tunnel from each client to the Azure virtual network, enabling access to private resources.

Exam trap

The trap here is that candidates often confuse Point-to-Site with Site-to-Site VPN, assuming a Site-to-Site VPN can work without an on-premises VPN appliance, or they mistakenly think a public load balancer can provide private access without public IPs on the VMs.

Why the other options are wrong

A

Site-to-site VPN requires a VPN device on-premises, which the company does not have. It connects entire networks, not individual remote clients.

C

ExpressRoute provides dedicated private connectivity to Azure from an on-premises network, but requires a physical connection or a partner provider, and does not support individual remote client connections without a VPN gateway. The question specifies no on-premises VPN appliance and remote employees connecting from laptops, making ExpressRoute unsuitable.

D

A public load balancer with inbound NAT rules requires VMs to have public IP addresses or be reachable via a public frontend, which contradicts the requirement that VMs must not be assigned public IP addresses. Additionally, it does not provide a VPN tunnel for secure remote connectivity.

When would these options actually be correct?

A

A company has an on-premises network with a VPN appliance and needs to connect that entire network to Azure VNet securely. All on-premises users and devices need access to Azure resources.

C

A company has a large on-premises data center with multiple servers that need high-speed, low-latency, and reliable connectivity to Azure VMs, and the company can establish a dedicated circuit through a connectivity provider. The scenario requires consistent performance and compliance with regulatory data residency requirements.

D

This option would be correct if the question required load-balancing incoming internet traffic to multiple VMs (with private IPs) behind a single public endpoint, and the VMs could have public IPs or the load balancer could translate traffic to private IPs via NAT rules.

Why candidates pick the wrong answer

A

Candidates may confuse site-to-site with point-to-site, or think that any VPN can connect remote users, overlooking the requirement for an on-premises VPN device.

C

Candidates may think ExpressRoute is the most secure and private option for connecting to Azure VMs, overlooking that it is designed for site-to-site connectivity and requires on-premises infrastructure, not for individual remote client access.

D

Candidates might think inbound NAT rules can map public ports to private VMs, providing remote access without public IPs on VMs, but they overlook that the load balancer's frontend is public and the VMs still need outbound connectivity or a VPN for security.

900
MCQeasy

A subnet NSG contains a deny RDP rule from Any at priority 200. The administrator must allow RDP from 10.8.0.0/24 to the virtual machines in that subnet. What should the administrator do?

A.Create an allow rule with a higher priority number than 200.
B.Create an allow rule with a lower priority number than 200.
C.Add a route table entry for TCP 3389.
D.Disable the default security rules on the NSG.
AnswerB

Azure NSGs process rules in ascending priority order, meaning the lowest numeric priority value is evaluated first and the first rule that matches traffic determines the outcome. To permit RDP TCP/3389 despite the deny rule at priority 200, add an allow rule with a lower number, such as 100, so it is matched before the deny. This allow rule can scope source IPs, service tags, or prefixes as needed, but it must have a numeric priority less than 200 to take precedence. If the allow rule has any higher number, it will never be reached because the deny rule already terminates processing.

Why this answer

B is correct because NSG rules are evaluated in priority order, with lower numbers having higher priority. The existing deny rule at priority 200 blocks all RDP traffic. To allow RDP from 10.8.0.0/24, a new allow rule must be created with a priority lower than 200 (e.g., 150) so it is evaluated before the deny rule, permitting the specific traffic.

Exam trap

The trap here is that candidates often confuse priority numbers, thinking a higher number means higher priority, and incorrectly choose option A, or they mistakenly believe route tables can override NSG rules, leading them to option C.

Why the other options are wrong

A

In Azure NSGs, rules are evaluated in priority order, with lower numbers having higher priority. A priority of 200 is higher than 200, so an allow rule with a higher priority number (e.g., 300) would be evaluated after the deny rule and would never be applied because the deny rule matches first.

C

Route tables control traffic routing between subnets, not security filtering. NSG rules are evaluated independently; adding a route entry for TCP 3389 does not override the deny rule in the NSG.

D

Disabling default security rules would remove essential protections like allowing outbound traffic and denying all inbound traffic by default, potentially exposing the subnet to security risks. It does not specifically allow RDP from 10.8.0.0/24.

When would these options actually be correct?

A

This option would be correct if the question stated that the existing rule was an allow rule (not a deny rule) and the goal was to override it with a more specific deny rule. For example, 'A subnet NSG contains an allow RDP rule from Any at priority 200. The administrator must block RDP from 10.8.0.0/24.

What should the administrator do?'

C

In a scenario where traffic to a subnet is being routed through a network virtual appliance (NVA) and you need to ensure RDP traffic from 10.8.0.0/24 reaches the NVA, adding a route table entry for TCP 3389 with the next hop as the NVA would be correct.

D

In a scenario where default rules are blocking legitimate traffic that cannot be overridden by custom rules (e.g., a default deny rule with no higher priority), and the requirement is to permit all inbound traffic to the subnet, disabling default rules might be considered. However, this is rare and usually not recommended.

Why candidates pick the wrong answer

A

Candidates may confuse the priority numbering system, thinking that a higher number means higher priority, or they may assume that adding a rule with a higher number will override the existing rule without understanding that lower numbers take precedence.

C

Candidates may confuse routing (route tables) with security filtering (NSGs), thinking that a route entry can bypass NSG rules, or they may believe that adding a route for a specific port can allow traffic.

D

Candidates may think that disabling default rules is a quick way to remove restrictions, not realizing that NSG rules are evaluated by priority and that a specific allow rule with lower priority number is the proper method to override a deny rule.

Page 11

Page 12 of 14

Page 13