mcAfee Secure Website
23

Microsoft AZ-104 Bundle

Exam Code: AZ-104

Exam Name Microsoft Azure Administrator

Certification Provider: Microsoft

Corresponding Certification: Microsoft Certified: Azure Administrator Associate

AZ-104 Training Materials $44.99

Reliable & Actual Study Materials for AZ-104 Exam Success

The Latest AZ-104 Exam Questions as Experienced in the Actual Test!

  • 24
    Questions & Answers

    AZ-104 Questions & Answers

    606 Questions & Answers

    Includes questions types found on actual exam such as drag and drop, simulation, type in, and fill in the blank.

  • 25
    AZ-104 Video Course

    AZ-104 Training Course

    132 Video Lectures

    Based on Real Life Scenarios which you will encounter in exam and learn by working with real equipment.

  • exam =30
    Study Guide

    AZ-104 Study Guide

    458 PDF Pages

    Study Guide developed by industry experts who have written exams in the past. They are technology-specific IT certification researchers with at least a decade of experience at Fortune 500 companies.

exam =32

Microsoft Azure Administrator (AZ-104) Practice Tests

Guarantee

Satisfaction Guaranteed

Pass4sure has a remarkable Microsoft Candidate Success record. We're confident of our products and provide no hassle product exchange. That's how confident we are!

99.3% Pass Rate
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • exam =34
    Questions & Answers

    Questions & Answers

    606 Questions

    $124.99
    exam =35
  • exam =37
    AZ-104 Video Course

    Training Course

    132 Video Lectures

    $39.99
  • exam =36
    Study Guide

    Study Guide

    458 PDF Pages

    $29.99

Microsoft AZ-104 Practice Test 45

Question 440

A generated Bicep file contains verbose nested JSON expressions. Which administrative action most directly meets the requirement?

  1. Modernize resource API versions carefully after decompile and regression testing.
  2. Refactor modules/parameters only after confirming equivalent output resource IDs and dependencies.
  3. Use `az bicep decompile` then inspect warnings and generated semantics manually.
  4. Export a supported deployment/resource template and review it for completeness before reuse.

Explanation

Correct Answer

B:

Generated Bicep and decompiled JSON expressions can contain redundant nested constructs and implicit dependencies. Refactor into modules and parameters only after preserving resource IDs, conditions, outputs and dependency order; use compile and what-if checks before replacing working infrastructure.

Incorrect Answers

A:

Changing API versions is a compatibility maintenance task; it does not replace needed conversion, parameter or source control workflow.

C:

Decompilation has already happened if the generated Bicep contains verbose nested JSON expressions. Running the same conversion again is not a substitute for reviewing and refactoring the generated source. Simplify expressions/modules after checking that resource IDs, parameter behavior, outputs and dependencies remain equivalent.

D:

Exporting an existing deployment may supply a baseline but it does not improve the verbose, generated Bicep already in hand. The refactor should preserve output resource IDs and dependencies while introducing maintainable modules or parameters.

Question 441

An admin wants to convert Bicep back into deployable ARM JSON. Which Azure configuration or procedure is the best fit?

  1. Use `az bicep decompile` then inspect warnings and generated semantics manually.
  2. Use the Bicep build/compiler rather than manually rename the .bicep extension.
  3. Parameterize/remove environment-specific values before source control or redeploy.
  4. Rebuild and test declarative Bicep source instead of relying on one portal-generated export.

Explanation

Correct Answer

B:

The Bicep compiler's `build` operation emits ARM JSON from `.bicep` declarations, preserving the translated resource types, expressions and dependencies. Renaming the extension would leave Bicep syntax in a file that the ARM JSON engine cannot parse.

Incorrect Answers

A:

Bicep decompile is an imperfect conversion of ARM JSON into Bicep; it does not deploy the converted source or prove semantic equivalence.

C:

Removing environment-specific constants makes a template reusable, but the existing `.bicep` source must be compiled to ARM JSON with `bicep build` or an equivalent build operation. Parameter edits alone do not produce the requested ARM deployment artifact.

D:

Rebuilding tested declarative code supports maintainable deployments but is not a substitute for diagnosing an existing parameter, conversion or exported-template defect.

Question 442

A payroll team needs a new Windows Server VM in West Europe. The approved Marketplace image offer/SKU, a D2s_v5 size with quota, an existing subnet and an administrator credential are all ready; no guest extensions or Trusted Launch customization is required. Which deployment choice creates a bootable VM using those inputs?

  1. Run an Azure VM Run Command guest-agent diagnostic before the VM resource or OS disk exists.
  2. Create the Azure VM with the approved Windows image reference, available size, managed OS disk, subnet NIC and administrator sign-in settings.
  3. Enable only the Trusted Launch security type without choosing the OS image or a network interface.
  4. Create an SSH public-key credential for a Linux login and omit the Windows image and managed disk.

Explanation

Correct Answer

B:

The deployment must combine a compatible image reference and size with a network interface, managed OS disk and Windows administrator authentication. Those are the inputs needed to provision the stated Windows VM.

Incorrect Answers

A:

Run Command acts on an already provisioned VM through its agent; it cannot create the missing VM, OS disk and NIC specified in this new-deployment request.

C:

Trusted Launch is a security configuration for eligible image/size combinations. Turning it on alone does not supply the required Windows OS image, NIC or disk and therefore cannot create this VM.

D:

SSH keys are appropriate for supported Linux VM sign-in, not a replacement for the specified Windows image, disk and network provisioning requirements.

Question 443

A Linux host must use key-based login with no password authentication. Which change addresses the stated situation most precisely?

  1. Deploy VM definitions through tested Bicep/ARM with per-environment parameters.
  2. Attach its NIC to the approved subnet and omit direct public IP.
  3. Create a VM with correct OS image, network interface, managed disks and administrator authentication.
  4. Configure supported SSH public key authentication when provisioning.

Explanation

Correct Answer

D:

Supplying the intended SSH public key during Linux VM provisioning establishes key-based remote authentication without placing a reusable password in the deployment. Confirm that the guest SSH configuration disables password logins when that is a strict security requirement.

Incorrect Answers

A:

ARM/Bicep automates provisioning after a correct resource definition exists; merely choosing a template does not satisfy a distinct VM launch prerequisite.

B:

Private subnet attachment controls VM network placement but does not set guest OS image, access method or trusted-launch compatibility.

C:

A generic VM creation operation can deploy compute, NIC and managed disks, but merely selecting an image and administrator account doesn't guarantee Linux passwordless access. The specific security requirement is enforced by selecting SSH public-key authentication at deployment and supplying the authorized public key rather than a password-based sign-in method.

Question 444

A Windows VM must join subnet `backend` in the same Azure region and be reachable only through an existing private management network. No direct public IP on its NIC is permitted. Which VM networking configuration fits?

  1. Assign a public IP to the NIC to permit RDP from the internet.
  2. Provision the VM NIC in a random VNet with the same subnet name and assume cross-VNet connectivity.
  3. Attach a supported NIC IP configuration to the approved backend subnet and omit a direct public IP, retaining the private management path.
  4. Replace the VM NIC with an Azure Storage Blob endpoint.

Explanation

Correct Answer

C:

The VM NIC must belong to the authorized subnet; keeping the public-IP property empty ensures the network design uses the validated private management path.

Incorrect Answers

A:

A direct public address would violate the requirement to keep the VM NIC private.

B:

Matching subnet names do not create network connectivity; the VM must use the intended VNet and subnet in its supported regional placement.

D:

Blob Storage endpoints are data-service resources and cannot serve as the VM network interface.

Question 445

A deployment of a D-series VM fails with `OperationNotAllowed` because the subscription has reached its regional vCPU quota in the target Azure region. The size and image are supported and available. Which action should the administrator take?

  1. Check regional subscription compute quota and request allowed increase or reduce size.
  2. Choose compatible trusted launch options and VM size/image prerequisites.
  3. Use an Azure Compute Gallery image definition/version that meets region and replication criteria.
  4. Use Azure Bastion/VPN or privileged private path rather than open public RDP.

Explanation

Correct Answer

A:

Azure Compute enforces total regional vCPU and VM-family quotas separately per subscription and region. Inspect the current consumption and applicable limits in Azure Quotas; request an approved increase for the constrained quota or choose a smaller/less-consuming deployment. This addresses the explicit quota-exceeded error.

Incorrect Answers

B:

Trusted Launch and its image/VM-size compatibility govern security and boot capabilities. Because the selected VM image and size are already supported, changing those settings cannot raise the regional subscription vCPU quota that blocked the request.

C:

Azure Compute Gallery distributes VM images and their versions to selected regions, but the scenario already has an available supported image. Replicating an image version does not grant more VM-family or regional vCPU entitlement.

D:

Bastion or private administration paths replace open RDP/SSH access after a VM exists. The failure happens before creation because of regional compute quota, so a different management connection cannot allow the resource allocation.

Question 446

A VM must join an existing VNet that resides in the same region. Which Azure configuration or procedure is the best fit?

  1. Diagnose guest agent/extensions and VM network connectivity separately from VM creation.
  2. Use a compatible NIC/subnet and supported network restrictions.
  3. Attach the NIC directly to the VNet without choosing a subnet and assume Azure assigns the missing subnet automatically.
  4. Use an Azure Compute Gallery image definition/version that meets region and replication criteria.

Explanation

Correct Answer

B:

The VM network interface attaches to an appropriate subnet of the existing regional VNet, subject to NIC and resource compatibility. Selecting that NIC/subnet at deployment provides the requested private network attachment; DNS records do not attach a VM to a VNet.

Incorrect Answers

A:

The guest agent and VM extension path are post-provisioning troubleshooting concerns; they do not define the base VM image or network deployment configuration.

C:

A network interface must belong to a subnet; Azure does not attach a NIC to an abstract VNet without selecting a subnet. This action also ignores the required VM/subnet regional constraints. Select a compatible NIC/subnet and apply the intended network restrictions explicitly.

D:

Azure Compute Gallery distributes supported image versions; it does not independently choose a suitable network, SSH method or VM security setting.

Question 447

A VM's guest-agent extension installation fails after deployment. What should the administrator do to resolve this specific case?

  1. Create a VM with correct OS image, network interface, managed disks and administrator authentication.
  2. Choose compatible trusted launch options and VM size/image prerequisites.
  3. Use a compatible NIC/subnet and supported network restrictions.
  4. Diagnose guest agent/extensions and VM network connectivity separately from VM creation.

Explanation

Correct Answer

D:

An extension can fail after the VM itself has been provisioned because of guest-agent health, extension handler errors or required network endpoints. Inspect VM extension and guest-agent status/logs and the extension's connectivity rather than treating the failure as a missing VM creation step.

Incorrect Answers

A:

An OS image, NIC, disks and sign-in settings define the ordinary VM; this does not ensure a separate security type or shared-image replication requirement.

B:

Trusted Launch and UEFI Secure Boot compatibility relate to VM security-capable images and SKUs, not the ordinary deployment or runtime state of an extension. For a failed agent/extension install, inspect extension status, VM Agent health, OS support and required connectivity before changing unrelated boot features.

C:

Matching NIC and subnet network constraints prevents attachment errors; it does not select a compatible image or validate an SSH authentication mechanism.

Question 448

A running Azure VM executes an invoicing service that must read the value of one secret from a Key Vault configured for Azure RBAC. The VM can already reach the vault over its approved private network path, but the service has no service-principal secret or managed identity. Security forbids stored credentials and secret modification. What should the administrator configure?

  1. Assign Virtual Machine Contributor to the VM operator; it automatically authorizes Key Vault secret-value reads.
  2. Grant the VM network interface Reader on the vault; viewing vault metadata provides the secret value to the guest.
  3. Enable a system-assigned managed identity on the VM and assign that principal Key Vault Secrets User at the vault’s appropriate scope.
  4. Recreate the VM from an Azure Compute Gallery image to obtain a Key Vault access token without assigning any data-plane role.

Explanation

Correct Answer

C:

A system-assigned managed identity lets the VM process request Entra tokens without storing a password. Key Vault Secrets User permits reading secret contents under the vault’s Azure RBAC model, matching the read-only requirement.

Incorrect Answers

A:

Virtual Machine Contributor is an Azure compute management role; it does not by itself provide a workload identity with Key Vault secret-value read permission.

B:

Network and resource Reader permissions may expose management metadata but not Key Vault secret contents. The guest process needs an authenticated principal and an eligible secret data role.

D:

A curated VM image is an OS deployment artifact, not an identity authorization grant. Reimaging would neither create the correct RBAC permission nor satisfy the requirement to avoid stored credentials.

Question 449

A VM must support an image with UEFI Secure Boot features. What is the most appropriate next administrative decision?

  1. Use a compatible NIC/subnet and supported network restrictions.
  2. Create a VM with correct OS image, network interface, managed disks and administrator authentication.
  3. Choose compatible trusted launch options and VM size/image prerequisites.
  4. Deploy VM definitions through tested Bicep/ARM with per-environment parameters.

Explanation

Correct Answer

C:

Azure Trusted Launch relies on a compatible Generation 2 VM image and supported VM size/security type. When UEFI Secure Boot is required, select a suitable image and VM SKU and configure Trusted Launch/Secure Boot accordingly. Ordinary VM creation or public networking changes cannot substitute for those boot-chain prerequisites.

Incorrect Answers

A:

Attaching a compatible NIC to a subnet governs VM connectivity, not its guest boot security mode. The Secure Boot image/Trusted Launch prerequisites must be selected separately.

B:

Choosing ordinary image, NIC, disk and admin credentials is necessary for many VMs, but this case specifically requires an image generation and VM security configuration that supports UEFI Secure Boot. Default VM creation alone cannot guarantee it.

D:

Bicep or ARM can automate provisioning after the VM definition is valid. Merely choosing a deployment tool will not change the image, VM generation and size compatibility needed for UEFI Secure Boot/Trusted Launch in this case.

Question 450

An infrastructure team must deploy the same four-VM application topology into dev, test and production subscriptions. VM names must incorporate the environment; all VMs need standardized `CostCenter` and `Owner` tags, with only subnet IDs and size differing by environment. Reviewers require a reproducible declared configuration. Which approach best meets the requirement?

  1. Individually create every VM in the portal and later apply tags through a one-time interactive script.
  2. Define VM resources, names and tags in a version-controlled Bicep module and supply validated environment-specific parameters for sizes and subnet IDs.
  3. Store a single VM image in Azure Compute Gallery and assume image replication also distributes tags, subnet assignments and deployment naming.
  4. Assign the Reader role to the deployment principal and specify all environments in one VM display name.

Explanation

Correct Answer

B:

Bicep defines resource type, name and tags declaratively while separate parameter inputs vary subnet and size by deployment environment. This creates reviewable, repeatable topology rather than relying on hand-built VMs.

Incorrect Answers

A:

Manual portal creation and post-hoc tagging produces mutable configuration with avoidable drift and does not deliver the requested declarative topology across subscriptions.

C:

Compute Gallery distributes image versions; it does not express each environment’s VM resource names, Azure resource tags, NIC attachments or infrastructure deployment parameters.

D:

Reader cannot create VMs, and one display name cannot model distinct per-environment resource instances or their required tags and network attachments.