cert
cert-1
cert-2

Pass Microsoft AZ-104 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
AZ-104 Exam - Verified By Experts
AZ-104 Premium Bundle
$29.98

AZ-104 Premium Bundle

$79.99
$109.97
  • Premium File 606 Questions & Answers. Last update: Oct 30, 2026
  • Training Course 132 Video Lectures
  • Study Guide 458 Pages
 
$109.97
$79.99
accept 453 downloads in last 7 days
block-screenshots
Purchase Microsoft AZ-104 Exam Training Products Individually
Microsoft AZ-104 Premium File
Premium File 606 Q&A
$76.99$69.99
Microsoft AZ-104 Video Training Course
Training Course 132 Lectures
$21.99 $19.99
Microsoft AZ-104 PDF Study Guide
Study Guide 458 Pages
$21.99 $19.99
Microsoft AZ-104 Practice Test 35

Question 340

The portal shows a deleted file share but restore is disabled because its soft-delete retention expired. Why?

  1. Share soft-delete recovery applies only inside the configured retention window.
  2. Enable a supported Azure Files identity-based authentication method and share-level authorization.
  3. Increase Blob Storage soft-delete retention after the Azure Files share recovery window has already expired.
  4. List soft-deleted containers and restore the eligible container by name and version when applicable.

Explanation

Correct Answer

A:

A deleted share that exceeds the retention period is not ordinarily recoverable through that feature. An independent backup may be necessary. This matters here because the portal shows a deleted file share but restore is disabled because its soft-delete retention expired. Why.

Incorrect Answers

B:

Azure Files can use supported identity integration such as AD DS or Microsoft Entra Kerberos, depending on account and client requirements. This matters here because the portal shows a deleted file share but restore is disabled because its soft-delete retention expired. Why.

C:

Azure Files share soft-delete uses its own retention and restore behavior. After its recovery window expires, enabling Blob soft delete cannot recover the deleted file share.

D:

Deleted containers are separate from active containers during soft-delete retention. Normal listing may hide recoverable entries. This matters here because the portal shows a deleted file share but restore is disabled because its soft-delete retention expired. Why.

Question 341

A large dataset must be transferred efficiently into Blob Storage from on-premises Linux servers. What Microsoft command-line utility should be used?

  1. Add an explicitly scoped lifecycle deletion rule for expired blobs where authorized.
  2. Enable blob versioning and lifecycle policy rules for eligible previous versions.
  3. Use AzCopy to transfer the data with authenticated source and destination.
  4. Grant a scoped SAS or appropriate data role constrained to the destination container.

Explanation

Correct Answer

C:

AzCopy supports efficient repeatable transfers and suitable parallelism for Azure Storage. It avoids writing a custom high-volume copy client.

Incorrect Answers

A:

Archive movement does not delete an object. Retention expiry needs a separate supported delete policy.

B:

Versioning provides history, while lifecycle cleanup bounds retained versions under policy. A versioning switch alone can grow storage indefinitely. This matters here because a large dataset must be transferred efficiently into Blob Storage from on-premises Linux servers. What Microsoft….

D:

Container-scoped permissions limit an external workflow's access surface. Storage account keys would expose broader authorization.

Question 342

A scheduled AzCopy job copies only part of the intended folder hierarchy. What switch or filter should be checked?

  1. Inspect file-system ACLs on the target folder as well as the share-level role.
  2. Inspect recursive copy and include/exclude options for the AzCopy command.
  3. Create Blob Storage lifecycle management rules with supported age-based tier actions.
  4. Increase the Azure Files quota even though the destination has space, and leave the AzCopy recursion and include/exclude switches unchanged.

Explanation

Correct Answer

B:

AzCopy behavior depends on source paths and recursion or filters. A successful command can still transfer only a subset of intended content.

Incorrect Answers

A:

Share-level authorization and folder ACLs are cumulative controls. Access to the share does not automatically grant access to every directory. This matters here because a scheduled AzCopy job copies only part of the intended folder hierarchy. What switch or filter should be checked.

C:

Lifecycle management can transition eligible blobs to access tiers and delete objects based on configured rules. Manual browsing is not required.

D:

Capacity is not the stated explanation for omitted subfolders. AzCopy copy options determine whether nested paths are traversed and which files match filters; verify the command and logs.

Question 343

An ARM JSON template needs to create four nearly identical public IP resources using a number parameter. Which syntax supports this?

  1. Add an if condition to the relevant resource or module declaration.
  2. Use a for expression to generate resources with index-based unique names.
  3. Decompile the ARM template to Bicep and inspect the generated source.
  4. Use a resource copy loop with the required count and unique name expression.

Explanation

Correct Answer

D:

ARM copy loops generate repeated resource definitions at deployment time. Manually duplicating blocks creates drift.

Incorrect Answers

A:

Bicep conditional deployment lets a template include optional resources based on a parameter. Manually deleting source lines is not reusable.

B:

Bicep loops create repeated resource instances with parameter-driven counts. Each instance needs a legitimate unique name.

C:

Bicep decompilation provides a translation starting point. Generated output can require manual cleanup and validation.

Question 344

A copy loop deploys multiple resources with the same name and fails. What should be fixed?

  1. Index the relevant array or use each loop item to derive the intended subnet reference.
  2. Include the copy index or another unique value in the generated resource name.
  3. Use a for expression to generate resources with index-based unique names.
  4. Review and parameterize environment references and remove invalid generated properties.

Explanation

Correct Answer

B:

Repeated resource instances must have distinct resource identities in their scope. The loop count alone does not generate unique names.

Incorrect Answers

A:

Loop inputs can vary by iteration. An unindexed constant can incorrectly attach every NIC to the same subnet. This matters here because a copy loop deploys multiple resources with the same name and fails.

C:

Bicep loops create repeated resource instances with parameter-driven counts. Each instance needs a valid unique name. This matters here because a copy loop deploys multiple resources with the same name and fails.

D:

Exported templates often contain source-environment identifiers and properties that cannot be redeployed unchanged. Editing and validation are necessary.

Question 345

A team has a legacy ARM JSON template and wants a more maintainable Bicep starting point. Which tool action helps?

  1. Deploy the existing ARM JSON repeatedly and expect the Azure CLI to convert it into maintainable Bicep source automatically.
  2. Export the resource group's template and review the generated representation.
  3. Review and parameterize environment references and remove invalid generated properties.
  4. Decompile the ARM template to Bicep and inspect the generated source.

Explanation

Correct Answer

D:

Bicep decompilation provides a translation starting point. Generated output can require manual cleanup and validation. This matters here because a team has a legacy ARM JSON template and wants a more maintainable Bicep starting point. Which tool action helps.

Incorrect Answers

A:

Deployment applies the ARM template but does not refactor its authoring format. Use an appropriate Bicep decompile workflow, then manually inspect and repair the generated source.

B:

Template export can capture many existing resource definitions for adaptation. Exports are not guaranteed complete reusable production source.

C:

Exported templates often contain source-environment identifiers and properties that cannot be redeployed unchanged. Editing and validation are necessary. This matters here because a team has a legacy ARM JSON template and wants a more maintainable Bicep starting point. Which tool action helps.

Question 346

The decompiler output contains warnings and awkward expressions but compiles. What is the recommended next step?

  1. Change a normal resource declaration to a correctly scoped existing resource declaration where appropriate.
  2. Treat a clean what-if preview as proof that decompiled Bicep contains no warnings or maintainability defects.
  3. Review resource semantics and run Bicep lint or what-if before production deployment.
  4. Add new symbolic-resource dependencies solely to silence decompiler warnings without reviewing the generated Bicep semantics.

Explanation

Correct Answer

C:

A conversion pass does not prove that generated resources preserve operational intent. Validation and human review remain important.

Incorrect Answers

A:

A normal declaration describes desired deployment state. An existing declaration is the Bicep mechanism for referencing resources not created by this file.

B:

Even when an infrastructure diff is acceptable, decompiled expressions and unsupported properties may need review. Run linting and semantic inspection rather than relying only on predicted changes.

D:

Declaring dependencies cannot prove that a decompiled resource definition retains the intended API properties or deployment behavior. Inspect decompiler warnings and validate with Bicep lint and what-if.

Question 347

A Bicep module must refer to a storage account already provisioned by another team without redeploying it. Which resource declaration applies?

  1. Run what-if and redeclare the existing storage account as a new resource in the same Bicep file.
  2. Declare the storage account with the existing keyword and correct scope.
  3. Add an if condition to the relevant resource or module declaration.
  4. Declare a location parameter and reference it in resource properties.

Explanation

Correct Answer

B:

The existing modifier references a pre-existing resource and can expose its properties without provisioning a replacement.

Incorrect Answers

A:

What-if can flag unexpected creation but does not turn a resource into a reference. A correctly scoped existing declaration is needed to avoid managing another team's account.

C:

Bicep conditional deployment lets a template include optional resources based on a parameter. Manually deleting source lines is not reusable. This matters here because a Bicep module must refer to a storage account already provisioned by another team without redeploying it. Which….

D:

Parameters separate deployment-time choices from reusable resource definitions. Hard-coded locations require editing source for each environment. This matters here because a Bicep module must refer to a storage account already provisioned by another team without redeploying it. Which….

Question 348

A VM uses two managed data disks, but throughput does not improve after upgrading their individual tiers. What additional cap matters?

  1. Disable password authentication under approved access policy and limit SSH ingress through NSG or Bastion.
  2. Check the VM size's aggregate disk IOPS and throughput limits.
  3. Upgrade only the managed disks again without checking the aggregate storage caps on the VM size.
  4. Expand both guest filesystems and assume that removes the VM size's aggregate uncached disk throughput cap.

Explanation

Correct Answer

B:

Disk performance can be capped by both individual disk SKUs and total VM throughput. Faster disks cannot exceed the host capability. This matters here because a VM uses two managed data disks, but throughput does not improve after upgrading their individual tiers. What….

Incorrect Answers

A:

Key authentication alone does not prohibit password guessing if the daemon still accepts passwords. Network exposure should also be narrowed. This matters here because a VM uses two managed data disks, but throughput does not improve after upgrading their individual tiers. What….

C:

A larger disk tier cannot overcome the attached VM size’s aggregate IOPS and throughput limits. Compare those VM-level ceilings before spending on another disk upgrade.

D:

Guest filesystem expansion changes capacity available to the OS, not the VM SKU's aggregate IOPS or throughput ceiling. Compare both disk-tier limits and VM-level storage performance before upgrading again.

Question 349

The average disk throughput is below the disk SKU rating while VM uncached IOPS is saturated. Where is the bottleneck?

  1. Inspect VM-level storage performance limits rather than assuming the disk tier is undersized.
  2. Keep increasing the disks’ advertised IOPS ratings without examining the VM’s uncached throughput limits.
  3. Upgrade only the managed disk tier while retaining the VM size already capped at its uncached IOPS limit.
  4. Add an HTTP health probe to the VM and assume it increases the VM size’s aggregate uncached disk IOPS ceiling.

Explanation

Correct Answer

A:

The VM host's aggregate caps can limit total performance independently of an individual disk's maximum particularations.

Incorrect Answers

B:

Disk SKU ratings alone cannot overcome the VM size’s own uncached disk throughput limit. The reported saturation points to the VM-level performance ceiling.

C:

Increasing a disk's advertised IOPS cannot bypass the host VM's uncached I/O ceiling. Compare VM-level IOPS and throughput caps with disk counters, then resize the VM if the host—not the disk—is saturated.

D:

Health probes judge endpoint availability, not disk-subsystem throughput. A VM can saturate its own aggregate storage IOPS limit even when individual managed disks have unused capacity.

Question 350

An administrator needs to increase a managed data disk's capacity without replacing a VM. What operations are required?

  1. Plan a region migration using Azure Resource Mover or appropriate replication and recovery tooling.
  2. Resize the VM first and assume the existing data disk will automatically grow without changing its provisioned size.
  3. Attach an appropriately sized persistent Azure managed data disk and mount it in the guest.
  4. Increase the managed disk size and expand the guest partition or filesystem appropriately.

Explanation

Correct Answer

D:

Azure disk size changes allocate block capacity, but the guest OS may need a partition/filesystem extension to use it.

Incorrect Answers

A:

Cross-region VM relocation involves data transfer and dependencies; it is not a simple resource-group reassignment.

B:

Changing compute capacity does not enlarge an Azure managed disk. Increase the disk resource's provisioned capacity and then extend the partition and filesystem inside the guest using a supported procedure.

C:

Managed disks provide durable Azure storage tied to the VM, whereas temporary disks can lose data on deallocation or host events. This matters here because an administrator needs to increase a managed data disk's capacity without replacing a VM. What operations are required.

Microsoft Azure Administrator (AZ-104) Practice Tests