McAfee-Secured Website

Exam Bundle

Exam Code: AZ-104

Exam Name Microsoft Azure Administrator

Certification Provider: Microsoft

Corresponding Certification: Microsoft Certified: Azure Administrator Associate

Microsoft AZ-104 Bundle $44.99

100% Microsoft AZ-104 Guaranteed Success With Testking Training Materials

Get Real AZ-104 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    AZ-104 Questions & Answers

    606 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual AZ-104 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • AZ-104 Video Course

    AZ-104 Video Course

    132 Video Lectures

    AZ-104 Video Course is developed by Microsoft Professionals to help you pass the AZ-104 exam.

    Description

    This course will improve your knowledge and skills required to pass Microsoft Azure Administrator exam.
  • Study Guide

    AZ-104 Study Guide

    458 PDF Pages

    Developed by industry experts, this 458-page guide spells out in painstaking detail all of the information you need to ace AZ-104 exam.

Microsoft Azure Administrator (AZ-104) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • Questions & Answers

    Questions & Answers

    606 Questions

    $124.99
  • AZ-104 Video Course

    Video Course

    132 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    458 PDF Pages

    $29.99

Microsoft AZ-104 Practice Test 12

Question 110

A Bicep template uses an existing resource declaration for a Key Vault in subscription A but the deployment runs in subscription B. Deployment cannot resolve the vault because the scope is assumed incorrectly. What must change?

  1. Grant the pipeline Reader at the target subscription while leaving the cross-subscription Key Vault existing-resource scope unchanged.
  2. Declare the Key Vault at the default deployment subscription scope and Bicep will search all other subscriptions automatically.
  3. Use an account-level name variable for the Key Vault but leave the existing-resource scope tied to the deployment subscription.
  4. Specify the correct supported resource scope and identity for the existing Key Vault reference.

Explanation

Correct Answer

D:

Existing-resource references resolve resources at their declared scope. Cross-scope references must explicitly target the correct subscription/resource group where supported.

Incorrect Answers

A:

RBAC may permit reads but does not direct Bicep to the correct subscription and resource-group scope for the referenced vault.

B:

An existing-resource declaration resolves according to an explicit or default scope. Cross-subscription resources require the correct scope.

C:

Changing the resource name input does not change which Azure subscription contains the referenced Key Vault.

Question 111

Two legacy Azure VMs run the same tier in a region and cannot be distributed across availability zones. Administrators want platform maintenance to avoid restarting both at once. What placement construct can help?

  1. Put the two VMs in one proximity placement group and a shared locality target guarantees separate update domains.
  2. Put both VMs in the same proximity placement group without an availability set, and proximity alone provides platform update-domain separation.
  3. Place both VMs in one availability zone and schedule different guest operating system update windows, and these are Azure platform update domains.
  4. Place VMs in an availability set with appropriate fault and update domain distribution.

Explanation

Correct Answer

D:

Availability sets organize VMs across fault and update domains to reduce simultaneous underlying hardware and planned maintenance impact. They are not equivalent to multi-zone distribution.

Incorrect Answers

A:

Proximity placement groups optimize physical colocation rather than providing the availability-set planned-maintenance domain separation.

B:

Proximity placement can improve latency and locality but is not an availability set with distinct managed update domains.

C:

Guest maintenance schedules are not platform update domains. An Azure availability set distributes supported VMs across update and fault domains.

Question 112

A VM operator attempts to resize an Azure VM but the selected size is unavailable in its region or availability zone. The VM is already deallocated. What should the operator do next?

  1. Select the same unavailable VM size in another resource group in the same zone and resource-group boundaries will change SKU availability.
  2. Stop and restart the VM repeatedly in the same zone without checking whether the target VM size is available there.
  3. Increase the VM disk performance tier and retry the original unavailable compute SKU without changing the placement.
  4. Select a supported available VM size for that placement or plan a controlled placement migration if the exact SKU is essential.

Explanation

Correct Answer

D:

Deallocation alone cannot create capacity or SKU availability. VM size choices depend on regional and zonal support and quotas.

Incorrect Answers

A:

Resource-group names do not create zonal SKU capacity. Check size availability in the specific placement or plan a supported migration.

B:

Restarting is not a substitute for verifying zone-specific VM SKU support and capacity; the exact requested size may be unavailable.

C:

Disk performance tier does not determine regional or zonal VM compute SKU availability. A supported size or placement plan is needed.

Question 113

A service writes critical database data to the Azure VM temporary disk. After host maintenance the files disappear. What disk design change is needed?

  1. Store persistent application data on a suitable managed data disk or service designed for durable storage, not the VM temporary disk.
  2. Enable Azure Disk Encryption on the VM OS volume and keep writing data to the temporary disk.
  3. Increase the VM temporary disk size and persistence is guaranteed.
  4. Take a snapshot of only the VM OS disk before each maintenance window while leaving the database files on the temporary disk.

Explanation

Correct Answer

A:

Azure temporary disks can be lost during host or lifecycle events. Persistent managed disks are intended for data that must survive ordinary host movement.

Incorrect Answers

B:

Encrypting an OS volume does not make the separate host temporary disk durable. Confidentiality and persistence are different requirements.

C:

More temporary capacity does not change the transient storage contract. Critical data still needs durable storage.

D:

An OS disk snapshot does not capture the data stored on a separate temporary disk. It would not recover the affected database files.

Question 114

An administrator uses the Azure portal Move action to transfer a supported VM to a different resource group in the same region. A colleague says the same operation automatically moves the VM to another Azure region. Which statement is correct?

  1. Resource-group/subscription resource moves and geographic region relocation are separate operations with different requirements.
  2. Change the resource group location metadata to the desired target region and the VM is relocated.
  3. Any resource-group move always changes the VM physical location to the target group’s preferred region.
  4. Change the VM availability zone within its current region and treat this as a move to a second Azure region.

Explanation

Correct Answer

A:

A supported resource move can change management scope without relocating the running workload between regions. Cross-region moves require a dedicated migration process and compatibility checks.

Incorrect Answers

B:

The resource group location describes its management metadata, not the location of existing VM compute and managed disks.

C:

Resource groups do not cause a supported resource to change geographic region merely by changing its group. The VM retains its resource location.

D:

Availability zones isolate datacenters within a region; switching zones is not a migration to another Azure region.

Question 115

An operator takes an OS managed-disk snapshot of a multi-disk transactional VM and claims it guarantees a consistent complete application restore. What is the key limitation?

  1. A snapshot always includes every VM disk and the application database transaction log, regardless of scope.
  2. Enable boot diagnostics and treat its serial-console log and screenshot as a backup of every attached data volume.
  3. Creating the OS disk snapshot also establishes VM-to-region replication and an application-consistent recovery plan.
  4. A single OS disk snapshot does not necessarily capture data disks or application-consistent transactional state; a suitable full backup process is needed.

Explanation

Correct Answer

D:

A point-in-time disk copy is narrower than an application-aware backup across all required volumes. Recovery requirements should dictate the protection method.

Incorrect Answers

A:

Managed disk snapshots are taken per disk. Capturing the OS disk alone cannot guarantee whole-application recoverability.

B:

Boot diagnostics can aid startup troubleshooting, but it does not provide restorable database data or transactionally consistent copies of the VM disks.

C:

A standalone disk snapshot does not configure Site Recovery replication, recover every attached disk, or coordinate application-consistent recovery.

Question 116

A containerized report generator must run once, exit successfully and stay stopped until the next explicit schedule. If the process crashes, it should retry. Which Azure Container Instances restart behavior is a good fit?

  1. Use the Never policy as a guaranteed retry-on-failure mechanism while preserving run-to-completion semantics.
  2. Set the restart policy to Always and the container will stay stopped when the report completes normally.
  3. Choose OnFailure but force the report process to exit with a nonzero code even after writing a completed report.
  4. Use the supported OnFailure restart policy so failed executions retry while successful completion can remain stopped.

Explanation

Correct Answer

D:

ACI restart policies distinguish successful completion from abnormal exit. Batch reliability still requires monitoring retry limits and external scheduling.

Incorrect Answers

A:

Never stops retries after a successful zero exit but is not a promised retry-on-failure policy: Microsoft notes a nonzero exit can still be restarted by the platform. OnFailure explicitly expresses the requested retry behavior.

B:

Always restarts the container after success as well as failure, which can repeat the one-shot batch job instead of leaving it complete.

C:

OnFailure responds to a nonzero exit by restarting the container. Incorrectly reporting success as failure can repeat completed work; the application should return zero after a successful run.

Question 117

A microservice hosted in Azure Container Apps must be callable by other apps in its own Container Apps environment but not directly from the public internet or from private VNet clients outside that environment. Which ingress choice should be evaluated?

  1. Enable external ingress with public access and rely exclusively on obscuring the URL.
  2. Disable ingress entirely and other environment applications will continue calling the microservice over HTTP ingress.
  3. Use an Azure Container Registry private endpoint but leave external ingress enabled on the running Container App.
  4. Configure internal ingress and appropriate environment/network access restrictions.

Explanation

Correct Answer

D:

Internal ingress on Azure Container Apps limits HTTP ingress to other apps in the same Container Apps environment. VNet clients outside that environment require a different supported ingress/network design.

Incorrect Answers

A:

An external endpoint contradicts the private-only requirement. Hidden hostnames are not a network security boundary.

B:

With application ingress disabled, the expected HTTP endpoint is not exposed to callers. Internal ingress is the setting that enables an internal-only endpoint.

C:

Private registry connectivity governs image retrieval, not the running app’s HTTP exposure. External app ingress could still expose the service.

Question 118

A Container App calls a database using a password that must not be embedded in the image or a publicly committed manifest. Which hosting configuration is appropriate?

  1. Set a plain-text environment variable in a committed Container Apps deployment template with the password as its literal value.
  2. Store the password as an ordinary unprotected Azure App Configuration key and publish that key in the deployment manifest.
  3. Use a supported Container Apps secret or Key Vault integration and reference it from the app configuration with proper access control.
  4. Obfuscate the password before embedding it in the container image, together with the code that reverses the obfuscation.

Explanation

Correct Answer

C:

Secrets should be supplied through protected runtime configuration, not source or image layers. Rotation and managed identity access need an explicit design.

Incorrect Answers

A:

A regular environment variable whose secret value is committed to the template remains exposed in the deployment artifact; use a protected secret reference instead.

B:

Ordinary configuration values and a published template are not appropriate secret boundaries. Use a protected app secret or Key Vault with limited workload access.

D:

Reversible obfuscation embedded with its decoder does not protect a password from someone who can retrieve or inspect the container image.

Question 119

A CI pipeline builds an OCI image and must publish a new tag to one private Azure Container Registry. It should not manage resource-group roles. Which registry permission is appropriate for the publisher?

  1. Grant only AcrPull because downloading images automatically implies permission to publish new tags.
  2. Use a suitably scoped ACR repository or registry push permission for the pipeline identity.
  3. Assign Container Registry Repository Reader for an ABAC-enabled registry, without any image-write permission.
  4. Assign the registry-scoped Azure Reader role to the CI identity and resource visibility includes publishing new image tags.

Explanation

Correct Answer

B:

Image publishing requires push rights to the target repository, not Azure subscription ownership. Scoped role assignment and managed identity are preferred.

Incorrect Answers

A:

Pull rights authorize retrieval and do not generally permit pushing layers or manifests. The pipeline needs explicit publish permission.

C:

Repository Reader supports read and pull but does not authorize pushing new image layers or manifests. A publisher needs an appropriate write role.

D:

Reader grants control-plane visibility without repository write permissions. The pipeline must receive the registry’s relevant image-push permission.

Question 120

A Container App has an older known-good revision and a new revision with a faulty code version. The team wants a fast rollback without overwriting the old configuration. What is the appropriate action?

  1. Switch to single-revision mode and delete the old healthy revision before attempting to direct traffic to it.
  2. Overwrite the same image tag in the registry and all historical revision snapshots automatically change.
  3. Reactivate or route traffic to the known-good revision when its revision mode and retention permit it.
  4. Set the failed revision’s minimum replica count to zero and traffic automatically selects the previous inactive revision.

Explanation

Correct Answer

C:

Revisions represent versions of the app configuration and image. Routing or activating the stable revision supports rollback without rebuilding it.

Incorrect Answers

A:

Deleting the healthy revision removes the rollback target. A controlled traffic switch requires retaining an eligible known-good revision.

B:

A registry tag mutation is not a controlled revision switch and may undermine reproducibility. Stable revision identity should be used.

D:

Replica minimum controls scaling, not automatic rollback to a previous revision. Explicit revision activation or routing is required.