100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 440
A VM administrator created a snapshot just before a database upgrade and now wants a writable copy for a recovery test without altering the original disk. What should be created from the snapshot?
- Attach the snapshot directly to the test VM and assume snapshots expose writable LUNs
- Attach the snapshot URI directly as a writable data partition
- Create a new managed disk from the snapshot and attach it to a test VM
- Expand the original live managed disk and perform the test there
Explanation
Correct Answer
C:A new managed disk materializes snapshot data as a writable disk, preserving the snapshot as immutable recovery source. The test VM can perform writes without changing the original disk.
Incorrect Answers
A:A snapshot is a read-only recovery artifact rather than a standard writable managed disk. It cannot be used as a normal writable VM data disk without creating a disk.
B:A snapshot represents a read-only point-in-time disk state. A writable VM disk must be created from the snapshot to be attached for normal modification.
D:Changing the original disk would risk modifying production data and does not exercise the isolated pre-upgrade snapshot. A separate disk derived from the snapshot is safer.
Question 441
A database team has attached a new empty managed data disk to a running Linux VM through the Azure portal. The device appears in lsblk but the application cannot write files because no filesystem or mount point exists. What operational step remains?
- Change the VM disk caching setting to ReadWrite to create the filesystem
- Change the managed disk's host-caching policy to ReadWrite, then expect the unformatted Linux block device to mount itself
- Partition or format the new disk as appropriate and mount its filesystem in the guest
- Increase the managed disk's provisioned size and expect the new device to mount automatically
Explanation
Correct Answer
C:Azure attachment exposes the block device to the operating system; it does not automatically create a filesystem and persist the mount. The operator must initialize it safely for application use.
Incorrect Answers
A:Caching affects IO behavior; it does not initialize partition tables, file systems or mount points inside Linux.
B:Host caching affects the disk's IO caching, not guest filesystem creation. The attached disk can be visible through lsblk but still needs an appropriate partition/filesystem and mount in the Linux guest before an application writes files.
D:More capacity changes the block device specification, but the guest still needs the filesystem prepared and mounted before it can hold application files.
Question 442
An administrator wants to detach a running VM’s operating system disk and attach it as a secondary data disk elsewhere, while keeping the original VM running unchanged. Which dependency makes that plan invalid?
- Stop the source VM and assume its operating-system disk can then be hot-detached while the same VM continues running
- The OS disk is the boot volume and cannot be detached from the VM as if it were an ordinary data disk
- All Azure managed disks can be hot-detached without changing their owning VM
- Switch the OS disk caching mode to None, then detach that boot volume as though its role changed to a data disk
Explanation
Correct Answer
B:Data disks are separable attachments, but a VM requires its OS disk to boot. To inspect or migrate the OS volume, use supported copy, snapshot, replacement or VM recreation procedures.
Incorrect Answers
A:Stopping the VM contradicts the requirement that it remain running, and a VM's boot OS disk cannot be detached as a normal data disk while preserving that running system.
C:OS and data disk lifecycles differ. Assuming every attached disk can be removed live would make the original VM unbootable.
D:Disk caching affects I/O behavior but does not change the disk's role as the VM boot volume. Changing cache mode does not make the OS disk hot-detachable as a data disk.
Question 443
A systems engineer selects a Premium SSD v2 managed disk for a new VM’s operating-system disk because they want independently provisioned throughput. Deployment validation rejects the disk type. What capability boundary should be checked?
- Enable a VM size that supports Ultra Disk data disks and retry Premium SSD v2 as the OS disk
- Change the VM boot generation to Gen2 and retry the same Premium SSD v2 OS disk SKU
- Premium SSD v2 is designed for supported data disks, not use as a VM OS disk
- Every managed disk type supports both OS and data disk use identically
Explanation
Correct Answer
C:Premium SSD v2 provides flexible performance for data workloads but has deployment restrictions, including OS-disk support. Use a supported OS disk SKU and attach v2 as a data disk if appropriate.
Incorrect Answers
A:VM size support for an advanced data disk cannot override Premium SSD v2’s separate OS-disk prohibition. Select a supported boot disk type and, if compatible, attach Premium SSD v2 as a data disk.
B:Gen2 boot and managed disk SKU eligibility are distinct constraints. Premium SSD v2 is not supported as an operating-system disk even on a Gen2 VM; changing firmware generation cannot make that disk type bootable.
D:Managed disk offerings have different supported scenarios. Treating an advanced data-disk SKU as universally bootable causes the validation failure.
Question 444
A database VM uses a Premium SSD v2 data disk. The engineer tries to enable host ReadOnly caching for that disk to improve reads, but Azure rejects the setting. Which disk-specific limitation explains this?
- Host caching always works on every Azure managed disk SKU
- The disk must become the OS disk before ReadOnly caching is supported
- Change the Premium SSD v2 attachment from ReadOnly host caching to ReadWrite host caching
- Premium SSD v2 does not support host caching
Explanation
Correct Answer
D:This disk SKU provides its own low-latency performance characteristics but does not implement the VM host cache modes available on some other managed-disk types.
Incorrect Answers
A:Caching capabilities differ by disk offering. Treating all disk tiers as equivalent creates invalid configuration attempts.
B:Premium SSD v2 cannot be an OS disk and does not gain host caching by changing its attachment role.
C:Premium SSD v2 does not support Azure VM host caching in either ReadOnly or ReadWrite mode. Selecting another caching mode cannot overcome an unsupported disk-SKU capability; the database architecture must use supported Premium SSD v2 performance characteristics or a different disk type.
Question 445
A database VM takes frequent large managed-disk snapshots. Full snapshots repeatedly transfer unchanged blocks and create substantial incremental storage use. Which Azure managed-disk snapshot type captures changes since the prior snapshot?
- Increase the disk's provisioned IOPS to change the snapshot type
- Use incremental snapshots for the supported managed disk and recovery workflow
- Use a new full snapshot every hour and assume Azure stores only recent changes
- Store the full managed-disk snapshots in a zone-redundant snapshot SKU and assume zonal replication converts full snapshots into incremental deltas
Explanation
Correct Answer
B:Incremental snapshots track data changes after prior snapshots and can reduce repeated snapshot storage for suitable workloads. Recovery procedures still need to account for the chain/managed snapshot abstraction.
Incorrect Answers
A:IOPS affects disk performance, not whether a snapshot is full or incremental. It cannot replace an incremental snapshot configuration.
C:A full snapshot represents the disk's entire point-in-time contents; it is not equivalent to the incremental snapshot feature. Repeating it can waste recovery storage.
D:Snapshot redundancy controls placement and resilience of snapshot data, not whether the snapshot captures all blocks or changed blocks. The incremental snapshot type must be selected for change-based disk snapshots.
Question 446
An Azure administrator has expanded the capacity of a managed data disk from 512 GiB to 1 TiB. A team asks whether they can subsequently shrink the same managed disk resource to 256 GiB to reduce cost. What disk-resize limitation must be considered?
- Change the disk caching mode to None and assume billing capacity automatically falls to used bytes
- Shrink the guest operating system’s partition to 256 GiB and assume the Azure managed disk resource automatically reduces its provisioned capacity and charges
- Plan a supported data migration or replacement disk sized appropriately instead of trying to shrink the managed disk in place
- Reduce the disk size property to 256 GiB and assume unused guest filesystem blocks are automatically truncated
Explanation
Correct Answer
C:Azure managed disks can be increased in size within supported constraints, but reducing the provisioned capacity of that same disk is not generally supported as an in-place resize. Moving validated data to a new disk provides a controlled downsizing path.
Incorrect Answers
A:Caching affects data-path performance and consistency; it does not set the provisioned capacity used for managed-disk billing. No disk shrink would occur.
B:Resizing a filesystem partition changes guest-level allocation but does not reduce the Azure managed disk’s provisioned disk resource. Azure does not support shrinking that managed disk in place. A smaller replacement disk and a validated migration are required to lower provisioned disk capacity safely.
D:The Azure disk resource does not support shrinking simply because guest free space exists. Truncating the managed disk could also risk data loss, so the operation is not equivalent to a safe storage migration.
Question 447
A regulated Azure VM workload needs encryption of temporary disks and data flowing between the VM host and storage service, in addition to existing managed disk encryption at rest. Which Azure VM configuration directly addresses these host-level requirements?
- Enable encryption at host on supported virtual machines
- Rely only on managed-disk encryption at rest while leaving host-based encryption disabled
- Enable guest operating-system disk encryption but assume it covers every host temporary data path
- Enable TLS 1.2 on application network connections without configuring storage-path encryption
Explanation
Correct Answer
A:Encryption at host extends host-side encryption to the supported VM disk data paths and temporary disks. It complements Azure Storage encryption at rest and depends on supported VM sizes and region availability.
Incorrect Answers
B:At-rest encryption protects persistent managed-disk data, but the scenario specifically adds temporary disks and the host data path. Those require the supported encryption-at-host feature.
C:Guest disk encryption can protect guest volumes but does not guarantee protection for all temporary host paths identified in the requirement. Host encryption is the targeted control.
D:TLS protects application network transport, not the VM temporary disks or host-to-storage disk path. Those are separate data-protection layers.
Question 448
A VM security baseline calls for double encryption at rest on its managed data disks, with two independent cryptographic layers. The current data disk is Premium SSD v2. An administrator attempts to enable double encryption on this SKU and finds that Azure doesn't support the requested setting. Which design correction addresses this compatibility limitation?
- Enable encryption at host on the Premium SSD v2 VM and assume that host-path encryption supplies double server-side disk encryption
- Select an eligible managed-disk SKU that supports double encryption at rest instead of relying on Premium SSD v2 for this feature
- Enable only Azure Disk Storage default server-side encryption and mark the requirement for two independent layers as fulfilled
- Move the disk to a different resource group, because all managed disk SKUs support double encryption once outside the VM's group
Explanation
Correct Answer
B:Azure's managed-disk double encryption at rest is not supported for Premium SSD v2 or Ultra Disks. If the workload specifically requires that independent infrastructure encryption layer, choose a supported alternative disk type and verify its performance requirements before migration. The required cryptographic property is a disk-service feature, not an NSG setting.
Incorrect Answers
A:Encryption at host protects host-side caches, temporary disks and eligible storage paths, but enabling it does not make an unsupported Premium SSD v2 managed disk eligible for double encryption at rest. The requirement is for two independent managed-disk storage encryption layers. Choose a supported disk SKU and compatible encryption set rather than relabeling host encryption as the unsupported feature.
C:Default server-side encryption provides encryption at rest for Azure managed disks, but the requirement expressly calls for an additional independent infrastructure layer. Relabeling ordinary SSE as double encryption would misstate the implemented protection. The operator must use a disk SKU supporting the extra layer.
D:A resource-group move changes management scope, not the underlying Azure managed-disk SKU feature matrix. Premium SSD v2 remains unsupported for double encryption regardless of group naming or location metadata. The fix needs a supported disk design, not an ARM organizational change.
Question 449
A regulated VM managed data disk must use Azure Disk Storage SERVER-SIDE encryption at rest with an organization-controlled Key Vault key instead of only the platform-managed key. Guest OS BitLocker or dm-crypt encryption alone does not satisfy this particular server-side CMK requirement. Since Storage account CMK settings do not apply to Azure managed disks, which Azure resource mediates the disk's server-side customer-managed key?
- Configure encryption at host alone and retain platform-managed keys on the managed disk
- A Disk Encryption Set associated with the managed disk and its accessible Key Vault key
- Use guest-level Azure Disk Encryption with Key Vault-backed keys and assume it configures the disk's server-side CMK setting
- Give the VM's managed identity access to unwrap a Key Vault key but leave the managed disk without a Disk Encryption Set
Explanation
Correct Answer
B:A Disk Encryption Set establishes the customer-managed key configuration used by supported managed disks, with regional and managed-identity access prerequisites.
Incorrect Answers
A:Encryption at host adds protection for temporary paths and cache, but by itself does not select an organization-controlled customer key for managed disk SSE.
C:Azure Disk Encryption encrypts inside the guest using BitLocker or dm-crypt, with keys stored or protected via Key Vault. It does not configure Azure Disk Storage server-side encryption with customer-managed keys on the managed disk resource. The stated compliance boundary specifically requires server-side disk encryption, which is bound through a Disk Encryption Set rather than guest-based ADE.
D:Granting a VM identity permission to use a Key Vault key does not associate that key with Azure Disk Storage server-side encryption. The managed disk must reference an appropriate Disk Encryption Set whose managed identity can access the selected key. Key Vault permission alone is insufficient to change managed-disk server-side encryption from platform-managed to customer-managed keys.
Question 450
A VM currently uses Azure Disk Encryption in the guest. Operations proposes switching on Azure encryption at host to protect temporary disk caches without rebuilding the VM. What compatibility limitation must be considered?
- Both options are automatically combined without restrictions on every VM size
- Remove only the Azure Disk Encryption VM extension, leave the guest volumes encrypted, and immediately enable encryption at host
- Move the existing ADE-encrypted VM to a newer VM size and assume the historical ADE restriction disappears
- Encryption at host cannot be enabled on a VM that currently or previously used Azure Disk Encryption
Explanation
Correct Answer
D:Microsoft documents a hard incompatibility: VMs that now use or have used ADE cannot enable encryption at host in place. A supported alternative VM or migration path needs separate planning.
Incorrect Answers
A:The two mechanisms are not universally composable. Ignoring their documented restriction can cause the requested configuration to be rejected.
B:Removing an extension without undoing the guest ADE configuration does not overcome the Azure encryption-at-host compatibility restriction for VMs that have used ADE.
C:Supported VM size is a separate prerequisite; it does not undo the documented incompatibility for a VM currently or previously configured with Azure Disk Encryption.
Microsoft Azure Administrator (AZ-104) Practice Tests