Pass Your Microsoft AZ-104 Exam Easy!

Microsoft AZ-104 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

AZ-104 Premium Bundle

$79.99

Microsoft AZ-104 Premium Bundle

AZ-104 Premium File: 606 Questions & Answers

Last Update: Sep 24, 2026

AZ-104 Training Course: 132 Video Lectures

AZ-104 PDF Study Guide: 458 Pages

AZ-104 Bundle gives you unlimited access to "AZ-104" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
Microsoft AZ-104 Premium Bundle
Microsoft AZ-104 Premium Bundle

AZ-104 Premium File: 606 Questions & Answers

Last Update: Sep 24, 2026

AZ-104 Training Course: 132 Video Lectures

AZ-104 PDF Study Guide: 458 Pages

$79.99

AZ-104 Bundle gives you unlimited access to "AZ-104" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

Microsoft AZ-104 Practice Test 25

Question 240

At VM creation, an application must be placed on the approved private VNet subnet and must not expose a public management IP. Which configuration directly establishes the VM's subnet attachment and inbound filtering?

  1. Attach a NIC on the approved VNet/subnet, omit direct public IP exposure and apply the appropriate subnet or NIC NSG rules
  2. Review boot diagnostics before the VM is deployed as a replacement for configuring its network interface
  3. Grant the guest a managed identity and Azure API roles, assuming this sets its NIC subnet and network packet filters
  4. Configure Azure Bastion for administrators but leave the VM NIC's subnet and NSG associations unconfigured

Explanation

Correct Answer

A:

The VM's NIC attaches the guest to a specific virtual network and subnet, which is the networking requirement in this case. Omitting a directly attached public IP avoids unnecessary inbound internet exposure, while NSG rules at the subnet and/or NIC enforce supported traffic filtering. Review effective rules from both layers and permitted application ports rather than treating any single rule as automatic security. Azure Bastion could separately provide administrator access, but it neither attaches the VM's application NIC to the requested subnet nor sets the packet-filtering rules for the application. Deploy, verify NIC IP configuration, test allowed traffic and confirm public management ingress is absent.

Incorrect Answers

B:

Boot diagnostics can help analyze guest startup failures after a VM is created, including serial output and screenshots where supported. They cannot assign a NIC to the approved subnet or enforce ingress restrictions. This deployment has not reached the troubleshooting stage and no boot failure is described. Network placement must be declared in the VM NIC's VNet/subnet IP configuration, and traffic must be controlled through the applicable NSG rules and public-IP design. A diagnostic feature is observational, not a substitute for the actual network attachment and security configuration.

C:

A managed identity gives software on a VM an identity for access to authorized Azure APIs without keeping a human password. It does not attach the VM to the application's subnet, set an IP address, prevent a public IP assignment, or configure NSG traffic controls. Azure RBAC applies to resource or data authorization rather than governing the flow of every TCP packet through the NIC. The specific requirement is private network placement plus inbound network filtering. A managed identity may be added for a separate application service need, but it does not fulfill either stated network deployment requirement.

D:

Azure Bastion can broker secure RDP or SSH access to private VMs and may be useful after network placement is completed. However, it does not determine which subnet the application VM NIC joins and does not replace the NIC/subnet NSG associations that govern packet flow. Deploying Bastion alone while leaving the VM's own network attachment and rules unconfigured leaves the two explicit design requirements unsatisfied. For this item, first configure the private NIC and NSG rules; decide separately whether an administrative bastion is required. Do not confuse management-access infrastructure with the VM's required application network configuration.

Question 241

An AZ-104 lab attempts a VM size not offered in its chosen zone and repeatedly fails deployment. What must change?

  1. Availability sets distribute fault/update domains within a datacenter context
  2. Select an Azure region meeting residency, service availability and latency requirements
  3. Check subscription feature registration and VM size/SKU compatibility
  4. Select a supported size/zone or region after checking current SKU availability

Explanation

Correct Answer

D:

'Select a supported size/zone or region after checking current SKU availability' fits the case in which an AZ-104 lab attempts a VM size not offered in its chosen zone and repeatedly fails deployment because VM families and individual sizes have regional and zonal availability constraints. By contrast, 'Availability sets distribute fault/update domains within a datacenter context' addresses a different condition: availability sets are not equivalent to multi-zone or multi-region redundancy; it would not establish the outcome needed for this particular Azure resource. For 'Select a supported size/zone or region after checking current SKU availability', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

When a team assumes an availability set protects against loss of an entire region or zone, the action 'Availability sets distribute fault/update domains within a datacenter context' can be relevant: availability sets are not equivalent to multi-zone or multi-region redundancy. For the different problem of an AZ-104 lab attempts a VM size not offered in its chosen zone and repeatedly fails deployment, 'Availability sets distribute fault/update domains within a datacenter context' misses the mechanism that VM families and individual sizes have regional and zonal availability constraints. Choosing 'Availability sets distribute fault/update domains within a datacenter context' would address that other need, whereas 'Select a supported size/zone or region after checking current SKU availability' is intended to solve the stated condition.

B:

'Select an Azure region meeting residency, service availability and latency requirements' applies to a different feature boundary because choosing a familiar region without verifying regulatory and SKU constraints may violate the request. In the stated scenario where an AZ-104 lab attempts a VM size not offered in its chosen zone and repeatedly fails deployment, 'Select an Azure region meeting residency, service availability and latency requirements' does not satisfy the mechanism that VM families and individual sizes have regional and zonal availability constraints. The necessary action is 'Select a supported size/zone or region after checking current SKU availability', which should be checked against this Azure resource's actual permissions and state.

C:

The nearby action 'Check subscription feature registration and VM size/SKU compatibility' is associated with this separate need: an engineer enables encryption at host for a new VM size without checking support. That is because encryption at host has prerequisites and not every VM configuration supports it. Here an AZ-104 lab attempts a VM size not offered in its chosen zone and repeatedly fails deployment, so 'Check subscription feature registration and VM size/SKU compatibility' misses the fact that VM families and individual sizes have regional and zonal availability constraints. 'Select a supported size/zone or region after checking current SKU availability' is the more defensible action; confirm its behavior in the target service before calling the task complete.

Question 242

A VM needs to call Azure APIs nightly and currently stores an administrator password in startup scripts. What identity is better?

  1. Choose a supported Azure Marketplace or approved custom image for OS and security requirements
  2. Enable a system-assigned managed identity and grant required resource roles
  3. Create a NIC on the approved VNet/subnet with restricted NSG exposure
  4. Read the VM boot diagnostics and serial or screenshot information

Explanation

Correct Answer

B:

'Enable a system-assigned managed identity and grant required resource roles' fits the case in which a VM needs to call Azure APIs nightly and currently stores an administrator password in startup scripts because managed identity avoids static user credentials; permissions must still be explicitly scoped. By contrast, 'Choose a supported Azure Marketplace or approved custom image for OS and security requirements' addresses a different condition: image version, licensing, architecture and security features must match the target VM configuration; it would not establish the outcome needed for this particular Azure resource. For 'Enable a system-assigned managed identity and grant required resource roles', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Choose a supported Azure Marketplace or approved custom image for OS and security requirements' applies to a different feature boundary because image version, licensing, architecture and security features must match the target VM configuration. In the stated scenario where a VM needs to call Azure APIs nightly and currently stores an administrator password in startup scripts, 'Choose a supported Azure Marketplace or approved custom image for OS and security requirements' does not satisfy the mechanism that managed identity avoids static user credentials; permissions must still be explicitly scoped. The necessary action is 'Enable a system-assigned managed identity and grant required resource roles', which should be checked against this Azure resource's actual permissions and state.

C:

'Create a NIC on the approved VNet/subnet with restricted NSG exposure' solves another task because a VM network interface determines its subnet reachability and can be protected without direct public IP. For the situation where a VM needs to call Azure APIs nightly and currently stores an administrator password in startup scripts, this distractor misses the requirement that managed identity avoids static user credentials; permissions must still be explicitly scoped. Unlike 'Create a NIC on the approved VNet/subnet with restricted NSG exposure', 'Enable a system-assigned managed identity and grant required resource roles' directly targets that requirement; its success must be confirmed at the authorized resource scope.

D:

When a VM was created but fails to reach login; the portal shows boot diagnostics errors, the action 'Read the VM boot diagnostics and serial or screenshot information' can be relevant: boot diagnostics helps identify guest startup faults rather than guessing an NSG cause. For the different problem of a VM needs to call Azure APIs nightly and currently stores an administrator password in startup scripts, 'Read the VM boot diagnostics and serial or screenshot information' misses the mechanism that managed identity avoids static user credentials; permissions must still be explicitly scoped. Choosing 'Read the VM boot diagnostics and serial or screenshot information' would address that other need, whereas 'Enable a system-assigned managed identity and grant required resource roles' is intended to solve the stated condition.

Question 243

Administrators must interactively manage private Azure VMs, while policy requires an explicit denial of public internet-origin RDP/SSH even if a VM later receives a public IP. Select TWO complementary actions that provide access and enforce the exposure restriction.

  1. Grant subscription Owner to administrators without providing a management network path
  2. Assign a public IP to every VM and allow internet RDP or SSH from Any
  3. Use Azure Bastion or an approved private-IP management broker for authorized sessions
  4. Disable all VM network security groups to avoid administrative connection failures
  5. Enforce an effective NSG or equivalent policy denying direct public RDP/SSH while permitting the approved broker path
  6. Rely only on a VM boot diagnostics screenshot for interactive management

Explanation

Correct Answers

C:

Azure Bastion brokers interactive SSH or RDP sessions to Azure VMs over their private IP addresses while administrators connect to the managed service over TLS, commonly through the Azure portal. The VMs do not require individual public IP addresses, making Bastion a supported choice for the private management transport required by the question. Bastion itself needs a valid deployment and network configuration, and users need appropriate resource-read and guest sign-in rights. Because the company also demands explicit prevention of direct public RDP/SSH, pair this access path with the security-group restriction in option E.

E:

An explicit NSG rule or an equivalent verified effective policy that denies internet-origin RDP/SSH while allowing the properly scoped Azure Bastion-to-VM traffic establishes the required inbound attack-surface boundary. Azure's default deny rules often help, but the team must inspect effective rules at both the VM NIC and subnet rather than assume a historical custom allow cannot override the default. This network protection complements, but does not replace, Bastion as an actual administrative transport. Both selected steps together meet the stated requirement: interactive private access without public direct management ports.

Incorrect Answers

A:

The subscription Owner role gives extensive Azure Resource Manager control but does not, by itself, supply network-layer RDP/SSH transport or valid guest OS authentication. A VM without public management exposure still needs a permitted path to its private IP, and an administrator must also have the appropriate VM session credentials. Granting Owner merely to solve connectivity violates least privilege and may leave the application unreachable. It is not one of the two required measures: establish a brokered path and restrict the public management surface rather than escalating unrelated Azure management permissions.

B:

Public IP addresses and inbound NSG allows for TCP 3389 or 22 from any internet origin would make the VMs remotely reachable, but directly contradict the organization's explicit no-public-management policy. Even if credentials and multifactor authentication are configured, broad internet-facing administrative ports materially expand the attack surface. The requested solution is to keep those ports unavailable from untrusted internet sources and provide managed access over the VM's private address. Public exposure is not a prerequisite for Azure Bastion, so opening the ports would defeat rather than implement the security design.

D:

Removing NSG controls is the opposite of establishing controlled administrative access. Without effective network security-group restrictions, a VM that later receives a public IP or a permissive route might expose sensitive ports unexpectedly. Disabling NSGs also does not create a secure portal-to-private-IP RDP/SSH session or authorize the human administrator inside the VM. Keep effective NSG rules and monitor them; use the supported brokered connection instead of removing packet-level guardrails as a workaround for the absence of a public path.

F:

Boot diagnostics displays screenshots and serial-console-related information that can help diagnose startup failures, but a screenshot is not an interactive authenticated RDP or SSH management channel. It does not give the operator a network session to the private VM or prove that direct public ports are blocked. The organization requires administrators to perform ordinary management actions while retaining private-only exposure. A usable Bastion session plus effective network restrictions solves that concrete need; viewing a boot image is a different operational observation, not a substitute for either selected action.

Question 244

A VM was created but fails to reach login; the portal shows boot diagnostics errors. What evidence should be inspected?

  1. Choose a supported Azure Marketplace or approved custom image for OS and security requirements
  2. Create a NIC on the approved VNet/subnet with restricted NSG exposure
  3. Check OS, architecture, generation and disk/SKU compatibility for the target VM size
  4. Read the VM boot diagnostics and serial or screenshot information

Explanation

Correct Answer

D:

'Read the VM boot diagnostics and serial or screenshot information' fits the case in which a VM was created but fails to reach login; the portal shows boot diagnostics errors because boot diagnostics helps identify guest startup faults rather than guessing an NSG cause. By contrast, 'Choose a supported Azure Marketplace or approved custom image for OS and security requirements' addresses a different condition: image version, licensing, architecture and security features must match the target VM configuration; it would not establish the outcome needed for this particular Azure resource. For 'Read the VM boot diagnostics and serial or screenshot information', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Choose a supported Azure Marketplace or approved custom image for OS and security requirements' solves another task because image version, licensing, architecture and security features must match the target VM configuration. For the situation where a VM was created but fails to reach login; the portal shows boot diagnostics errors, this distractor misses the requirement that boot diagnostics helps identify guest startup faults rather than guessing an NSG cause. Unlike 'Choose a supported Azure Marketplace or approved custom image for OS and security requirements', 'Read the VM boot diagnostics and serial or screenshot information' directly targets that requirement; its success must be confirmed at the authorized resource scope.

B:

When a new VM needs application access to a particular subnet and no uncontrolled public ingress, the action 'Create a NIC on the approved VNet/subnet with restricted NSG exposure' can be relevant: a VM network interface determines its subnet reachability and can be protected without direct public IP. For the different problem of a VM was created but fails to reach login; the portal shows boot diagnostics errors, 'Create a NIC on the approved VNet/subnet with restricted NSG exposure' misses the mechanism that boot diagnostics helps identify guest startup faults rather than guessing an NSG cause. Choosing 'Create a NIC on the approved VNet/subnet with restricted NSG exposure' would address that other need, whereas 'Read the VM boot diagnostics and serial or screenshot information' is intended to solve the stated condition.

C:

'Check OS, architecture, generation and disk/SKU compatibility for the target VM size' applies to a different feature boundary because an available SKU is not automatically compatible with the VM's image and boot requirements. In the stated scenario where a VM was created but fails to reach login; the portal shows boot diagnostics errors, 'Check OS, architecture, generation and disk/SKU compatibility for the target VM size' does not satisfy the mechanism that boot diagnostics helps identify guest startup faults rather than guessing an NSG cause. The necessary action is 'Read the VM boot diagnostics and serial or screenshot information', which should be checked against this Azure resource's actual permissions and state.

Question 245

A customer specifies EU data residency and regional latency bounds. What is the first deployment choice?

  1. Plan region migration via an appropriate supported replication, redeploy or image method
  2. Select an Azure region meeting residency, service availability and latency requirements
  3. Separate maintenance availability design from regional disaster recovery planning
  4. Select a supported size/zone or region after checking current SKU availability

Explanation

Correct Answer

B:

'Select an Azure region meeting residency, service availability and latency requirements' fits the case in which a customer specifies EU data residency and regional latency bounds because choosing a familiar region without verifying regulatory and SKU constraints may violate the request. By contrast, 'Plan region migration via an appropriate supported replication, redeploy or image method' addresses a different condition: moving resource-group membership does not itself change a VM's region; it would not establish the outcome needed for this particular Azure resource. For 'Select an Azure region meeting residency, service availability and latency requirements', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

When a VM must operate in a different Azure region after a data-center closure, the action 'Plan region migration via an appropriate supported replication, redeploy or image method' can be relevant: moving resource-group membership does not itself change a VM's region. For the different problem of a customer specifies EU data residency and regional latency bounds, 'Plan region migration via an appropriate supported replication, redeploy or image method' misses the mechanism that choosing a familiar region without verifying regulatory and SKU constraints may violate the request. Choosing 'Plan region migration via an appropriate supported replication, redeploy or image method' would address that other need, whereas 'Select an Azure region meeting residency, service availability and latency requirements' is intended to solve the stated condition.

C:

The nearby action 'Separate maintenance availability design from regional disaster recovery planning' is associated with this separate need: a service needs continuous operation during planned host maintenance and disaster recovery from a regional outage. That is because fault/update domains and availability zones do not automatically replace cross-region failover. Here a customer specifies EU data residency and regional latency bounds, so 'Separate maintenance availability design from regional disaster recovery planning' misses the fact that choosing a familiar region without verifying regulatory and SKU constraints may violate the request. 'Select an Azure region meeting residency, service availability and latency requirements' is the more defensible action; confirm its behavior in the target service before calling the task complete.

D:

'Select a supported size/zone or region after checking current SKU availability' solves another task because VM families and individual sizes have regional and zonal availability constraints. For the situation where a customer specifies EU data residency and regional latency bounds, this distractor misses the requirement that choosing a familiar region without verifying regulatory and SKU constraints may violate the request. Unlike 'Select a supported size/zone or region after checking current SKU availability', 'Select an Azure region meeting residency, service availability and latency requirements' directly targets that requirement; its success must be confirmed at the authorized resource scope.

Question 246

A newly deployed eligible Azure VM has no Azure Disk Encryption (ADE) history. Security must encrypt its temporary disk and OS/data disk caches at rest; Azure Storage server-side encryption already covers managed disks. Which VM feature supplies the additional host-side protection?

  1. Enable Azure VM encryption at host after verifying its supported SKU and configuration
  2. Treat transport TLS and VM host/disk encryption as separate security controls
  3. Check supported VM size, required deallocation/state and feature prerequisites
  4. Inspect active disk/host encryption settings and compatibility before the VM change
  5. Check subscription feature registration and VM size/SKU compatibility

Explanation

Correct Answer

A:

Azure Disk Storage server-side encryption protects managed OS/data disks when stored in Azure storage clusters, but does not by itself encrypt the temporary disk and host caches of this new VM. Azure VM encryption at host covers those host-resident data paths and encrypts data before it moves to the Storage service. Check supported VM SKU and region, and verify the VM has no Azure Disk Encryption history because ADE and encryption at host are not compatible in the documented configuration. When enabled and verified, this additional host feature addresses the stated cache-and-temporary-disk gap without claiming TLS or disk SSE already solved it.

Incorrect Answers

B:

TLS secures data in transit across a network connection. It is useful for application protocols and management sessions, but it says nothing about whether temporary disk blocks or OS/data disk caches residing on the Azure compute host are encrypted at rest. Storage server-side encryption and TLS together also don't establish that cache encryption at the host is enabled. The scenario explicitly asks for the VM-side feature covering these local host paths. Use supported encryption at host and validate its effective configuration; TLS remains a separate control that should not be used as at-rest proof.

C:

Verifying VM size support, deallocation requirements for existing VMs, and feature prerequisites is essential before enabling encryption at host. On a VM with prior Azure Disk Encryption, the feature might be unavailable because the documented ADE/encryption-at-host coexistence restriction applies. However, this option lists readiness checks rather than the encryption feature that supplies protection. The question already fixes a new eligible VM without ADE history and asks which control encrypts temporary disks and disk caches. Those compatibility checks support deployment of encryption at host; they are not an alternative encryption control by themselves.

D:

Checking active encryption settings and compatibility is valuable when resizing or reconfiguring an existing VM; evidence should distinguish managed disk SSE from encryption at host. Yet merely inspecting an encryption state cannot turn on protection for previously unprotected temporary disks or host caches. The case explicitly gives a new supported VM and asks which VM feature adds that coverage. Enable encryption at host after validation, then examine the resulting configuration. If the VM had an existing ADE history, the design would need reevaluation rather than layering incompatible encryption modes onto it.

E:

Subscription feature registration and VM size availability sometimes govern whether an optional Azure VM capability can be deployed. Those checks prevent failed or unsupported encryption-at-host changes, but passing a SKU or registration probe is not an at-rest encryption mechanism. The distinguishing requirement is protection of host temporary disk and disk caches on top of normal managed disk SSE. Configure encryption at host for this eligible VM, respecting the documented exclusion with Azure Disk Encryption, and verify the actual encryption setting. Infrastructure readiness is a prerequisite, not the data protection policy itself.

Question 247

An engineer enables encryption at host for a new VM size without checking support. What must be verified?

  1. Assume every VM family and size supports encryption at host because Azure already encrypts managed disks at rest
  2. Install the guest Azure Disk Encryption extension and treat it as equivalent proof that encryption at host is supported on this VM family
  3. Evaluate Azure VM encryption at host on supported configurations
  4. Check subscription feature registration and VM size/SKU compatibility

Explanation

Correct Answer

D:

Encryption at host covers supported host-managed VM disk data, including temporary disks and caches, but availability depends on the selected virtual machine size, deployment generation and applicable subscription or regional feature requirements. Before enabling it on an unfamiliar size, inspect Microsoft's current SKU support and the VM's actual configuration rather than assuming all VM families offer the setting. Confirm the subscription prerequisites and whether a stop/deallocate and update sequence is required for the resource state involved. A managed disk reporting encryption at rest is not proof that encryption-at-host is enabled for the VM's caches and temporary storage.

Incorrect Answers

A:

Azure Storage encryption at rest for managed disks does not establish that Azure VM encryption at host is enabled or supported for every VM size. Host encryption protects temporary disk and host cache data using a different VM-level setting with configuration prerequisites. A supported region, subscription feature state where applicable and VM family/SKU must be checked before requesting it; otherwise the operation can fail. This assumption ignores the documented compatibility boundary and cannot confirm that the chosen VM size accepts encryptionAtHost. Review the specific VM SKU and feature prerequisites first.

B:

Guest Azure Disk Encryption and encryption at host are different controls. The latter is a VM security-profile setting that protects host cache and temporary-disk data and depends on supported sizes and platform prerequisites; it is not proven merely by adding an operating-system disk-encryption extension. The question specifically asks what to verify before enabling host encryption on a new VM size. Testing support and any required subscription configuration is necessary. Replacing that check with a guest extension risks an unsupported host-encryption deployment and does not meet the requested validation.

C:

When security requests protection for temporary disks and host caches, but the team proposes only guest-managed disk encryption, the action 'Evaluate Azure VM encryption at host on supported configurations' can be relevant: host encryption protects host-managed data paths; Azure Disk Encryption works through guest OS mechanisms. For the different problem of an engineer enables encryption at host for a new VM size without checking support, 'Evaluate Azure VM encryption at host on supported configurations' misses the mechanism that encryption at host has prerequisites and not every VM configuration supports it. Choosing 'Evaluate Azure VM encryption at host on supported configurations' would address that other need, whereas 'Check subscription feature registration and VM size/SKU compatibility' is intended to solve the stated condition.

Question 248

A VM is scheduled to be resized while encryption settings are changing. What preparation is appropriate?

  1. Use the selected VM size as proof that encryption at host is active, without inspecting the virtual machine securityProfile or disk state.
  2. Inspect active disk/host encryption settings and compatibility before the VM change
  3. Deallocate and resize the VM before verifying whether the target SKU supports the existing encryption-at-host and disk-encryption configuration.
  4. Enable Azure Disk Encryption on the managed disks and assume this automatically activates encryption at host for the temporary disk and host cache.

Explanation

Correct Answer

B:

The VM is being resized at the same time as disk and host-encryption settings may change, so checking the VM's *actual* securityProfile.encryptionAtHost and disk settings is necessary before choosing or applying a size. Encryption at host covers supported data in temporary disks and host cache through a distinct VM-level setting; it is not automatically enabled by a compatible SKU or by selecting another disk-encryption feature. Inspect the current configuration and target SKU/region support, then plan any required deallocation and validate the effective settings after the change. Resizing without first verifying these prerequisites can leave a security control disabled or produce an unsupported target deployment.

Incorrect Answers

A:

VM size compatibility describes what the platform could support; it does not prove a particular VM has encryption at host enabled. This resize is being planned while storage encryption controls are changing, so the operator must inspect actual disk encryption and the VM's securityProfile.encryptionAtHost setting, along with support for the target size and region. A compatible SKU alone can coexist with encryption at host disabled or with different disk-level encryption. Presuming the setting from the SKU could leave the cache and temporary storage protections unverified after resize.

C:

A VM resize can require deallocation, but sequencing that action before a compatibility assessment is not safe during a security-control transition. The target compute size must support the VM's actual encryption settings, and a failed compatibility check may prevent the instance from restarting as intended. The scenario asks for preparation while encryption is changing: inspect the existing host and disk settings, then validate target support and plan downtime. An unconditional deallocate-and-resize instruction skips precisely the security prerequisite that can invalidate the change.

D:

Disk encryption and encryption at host are distinct VM protection configurations with different prerequisites and implementation details. Merely selecting disk encryption does not establish that the VM securityProfile has enabled encryption at host or that the cache and temporary disk behavior matches the required control. Because the resize and encryption change are concurrent, the administrator needs to inspect the configured disk/host encryption states and validate support for the destination SKU before making the change. Conflating separate technologies can lead to an unverified and potentially unsupported target configuration.

Question 249

An existing Azure VM uses a size and region that support encryption at host; the subscription feature is registered, and the VM has never used Azure Disk Encryption. The administrator successfully sets securityProfile.encryptionAtHost to true, but the existing VM has remained allocated continuously since that update. Security requires host encryption to take effect for its temporary disk and OS/data caches. Which operating step must be completed for this existing VM?

  1. Enable Azure Disk Encryption inside the guest while keeping the VM allocated, because guest encryption activates host-cache protection automatically
  2. Deallocate and reallocate the existing VM during approved maintenance, then verify the host-encryption setting and restored service health
  3. Rotate only the managed-disk encryption key or disk encryption set while leaving the existing VM continuously allocated
  4. Restart only the guest operating system inside the still-allocated VM and assume it has been allocated to an encryption-enabled host

Explanation

Correct Answer

B:

Enabling the encryptionAtHost property does not retroactively establish the new protection on an existing VM that has remained allocated. Microsoft documents that existing VMs must be deallocated and reallocated so host-side encryption takes effect. Here size support, feature registration, and absence of Azure Disk Encryption are already verified, making repeated compatibility checks insufficient. Schedule an authorized deallocation and reallocation, allow the VM and applications to restart, confirm the property remains enabled, and validate service health after the planned interruption. This addresses the instance lifecycle rather than changing unrelated storage or guest encryption controls.

Incorrect Answers

A:

Azure Disk Encryption is a guest operating-system encryption mechanism, not the activation procedure for encryption at host. The problem explicitly says this existing VM has never used Azure Disk Encryption, and Microsoft documents that a VM with current or historical ADE usage cannot enable encryption at host. Enabling guest encryption now would introduce an incompatible state instead of applying the requested host-level protection. The action needed is an Azure deallocation followed by reallocation of the existing VM after the security profile setting has been enabled.

C:

A managed-disk encryption key or disk encryption set governs an at-rest key-management relationship. Rotating such a key does not deallocate a continuously running VM or activate the host encryption setting for its temporary disk and OS/data caches. The scenario explicitly confirms that the setting was accepted and the selected VM configuration supports it. Replacing keys without a business reason can add access or availability risks while leaving the actual host-allocation requirement unresolved. Use the supported deallocate-and-reallocate sequence, then validate that the workload remains healthy.

D:

A restart requested inside the guest operating system is not the same control-plane operation as deallocating and reallocating Azure compute capacity. A guest reboot can restart services while the virtual machine remains allocated to its existing host, which does not satisfy the documented transition for encryption at host on existing VMs. The stated prerequisites and security-profile configuration are already valid. Perform an authorized Azure deallocation and reallocation, and verify that the host encryption setting is effective and the VM's dependent application has recovered after that operation.

Question 250

An auditor sees that an Azure VM managed disk is encrypted at rest but needs evidence that encryption at host is actually enabled for the running VM, including host caches and temporary disk data. Which deployed setting should be inspected?

  1. Inspect the VM securityProfile.encryptionAtHost setting and supported VM SKU rather than only the managed-disk encryption state
  2. Check supported VM size, required deallocation/state and feature prerequisites
  3. Inspect only the managed-disk at-rest encryption status and assume it proves host cache and temporary disk coverage
  4. Check subscription feature registration and VM size/SKU compatibility

Explanation

Correct Answer

A:

The Azure Compute VM security profile contains an encryptionAtHost property that controls whether host-side encryption is enabled for supported configurations. The default disk-at-rest encryption state by itself does not establish that host caches and the VM temporary/resource disk are encrypted using this feature. For this audit, inspect the actual VM's securityProfile.encryptionAtHost value and verify the SKU and deployment state support the feature, rather than relying only on a storage account or managed-disk status. If the setting is absent or disabled, record the gap and plan an authorized change with prerequisites before claiming coverage. Microsoft Compute documentation identifies this property and its scope explicitly.

Incorrect Answers

B:

The nearby action 'Check supported VM size, required deallocation/state and feature prerequisites' is associated with this separate need: a host encryption setting fails to enable on a running VM even though its disks are managed. That is because Storage encryption defaults do not guarantee the requested VM host-encryption setting is allowed. Here an auditor asks whether temporary disks and disk caches are protected under a proposed encryption configuration, so 'Check supported VM size, required deallocation/state and feature prerequisites' misses the fact that do not confuse managed disk encryption at rest with encryption of every host-level data path. 'Inspect the VM securityProfile.encryptionAtHost setting and supported VM SKU rather than only the managed-disk encryption state' is the more defensible action; confirm its behavior in the target service before calling the task complete.

C:

The managed disk's encryption-at-rest state establishes an important storage control but does not demonstrate that encryption at host was enabled on the virtual machine. Host-side coverage for temporary data and caches is represented separately by the VM securityProfile.encryptionAtHost setting when supported. Reporting the disk setting alone would overstate the protection the auditor asked to verify. Read the actual VM configuration and its compatibility requirements, and record missing evidence rather than infer an enabled host feature from a managed disk's default encryption behavior.

D:

When an engineer enables encryption at host for a new VM size without checking support, the action 'Check subscription feature registration and VM size/SKU compatibility' can be relevant: encryption at host has prerequisites and not every VM configuration supports it. For the different problem of an auditor asks whether temporary disks and disk caches are protected under a proposed encryption configuration, 'Check subscription feature registration and VM size/SKU compatibility' misses the mechanism that do not confuse managed disk encryption at rest with encryption of every host-level data path. Choosing 'Check subscription feature registration and VM size/SKU compatibility' would address that other need, whereas 'Inspect the VM securityProfile.encryptionAtHost setting and supported VM SKU rather than only the managed-disk encryption state' is intended to solve the stated condition.


Microsoft Azure Administrator (AZ-104) Practice Tests

Purchase Individually

AZ-104 Premium File

Premium File
AZ-104 Premium File
606 Q&A
$76.99$69.99

AZ-104 Training Video Course

Training Course
AZ-104 Training Video Course
132 Lectures
$27.49$24.99

AZ-104 Study Guide

Study Guide
AZ-104 Study Guide
458 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
Enter Your Email Address to Receive Your 10% Off Discount Code
A Confirmation Link will be sent to this email address to verify your login
We value your privacy. We will not rent or sell your email address

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.