Microsoft AZ-104 (Microsoft Azure Administrator) Practice Test 50

Question 490

A compliance team wants an operational configuration to persist across VM instances. Separate resources require the following outcomes: (1) initialize supported Linux VMs at provisioning time using user data; (2) schedule recurring guest operating-system update installation for eligible Azure VMs. Which capabilities should the administrator select? Choose TWO.

  1. Azure VM Image Builder
  2. Cloud-init
  3. Update Manager maintenance configuration
  4. Azure Machine Configuration

Explanation

Correct Answers

B:

For the target that must initialize supported Linux VMs at provisioning time using user data, Cloud-init is a direct match because Cloud-init runs early boot configuration on supported Linux images and is not a reusable Azure Policy definition, not a different configuration.

C:

Update Manager maintenance configuration is needed for the specified objective to schedule recurring guest operating-system update installation for eligible Azure VMs; Azure Update Manager uses maintenance configurations for scheduled guest patching; Azure VMs require appropriate customer-managed patch orchestration settings and a supported maintenance window, making it one of the requested controls.

Incorrect Answers

A:

Azure VM Image Builder would instead bake approved software and configuration into a reusable managed virtual-machine image before deployment; VM Image Builder customizes a source image through a managed build, then distributes an image artifact; it is distinct from configuring a running VM through an extension, which is unrelated to the listed objectives for this item.

D:

The requirements do not call for Azure Machine Configuration, which is used to audit or apply supported guest operating-system configuration controls via Azure governance; Machine Configuration integrates guest compliance policies with supported extension/agent requirements rather than delivering an app image, and no listed target requires that distinct use.

Question 491

Two application teams are connecting Azure networks with tightly specified routing. After reviewing the current state, the team must permit supported transit traffic forwarded through a peered virtual network. Which capability meets that need?

  1. Global VNet peering
  2. Gateway transit and remote gateway
  3. Allow forwarded traffic
  4. Azure DNS public zone

Explanation

Correct Answer

C:

The stated need is to permit supported transit traffic forwarded through a peered virtual network, so the applicable mechanism is Allow forwarded traffic: The forwarded-traffic peering setting allows eligible traffic that did not originate in the immediate peer; it does not create routes through an appliance automatically.

Incorrect Answers

A:

Global VNet peering is designed to connect supported VNets deployed in different Azure regions, not to permit supported transit traffic forwarded through a peered virtual network in this case; Global peering extends private VNet connectivity across regions; ordinary same-region placement is not a requirement.

B:

For the target required to permit supported transit traffic forwarded through a peered virtual network, Gateway transit and remote gateway is the wrong control: it is used to allow one peered VNet to use a configured virtual network gateway in another VNet; Gateway transit requires matching peering-side settings and supported topology; peering alone does not share a remote VPN gateway.

D:

Azure DNS public zone would be used to host authoritative DNS records for an internet domain delegated to Azure DNS; A public zone answers external DNS queries through delegated name servers; it does not privately link to a VNet for internal-only resolution, but the question asks how to permit supported transit traffic forwarded through a peered virtual network.

Question 492

A migration project has online and offline data transfer requirements. Before closing the task, the administrator must script high-throughput transfers of blobs or files from command-line jobs. Which selection is appropriate?

  1. AzCopy
  2. Azure Import/Export service
  3. Azure Storage Explorer
  4. Double encryption at infrastructure level

Explanation

Correct Answer

A:

The stated need is to script high-throughput transfers of blobs or files from command-line jobs, so the applicable mechanism is AzCopy: AzCopy uses efficient data transfer operations and can authenticate with SAS or supported Entra identities; it suits repeatable bulk-copy scripts.

Incorrect Answers

B:

Azure Import/Export service would be used to use customer-provided supported disks for an offline Azure data import or export job; Import/Export handles physical disks and processing jobs rather than online object copies through an API, but the question asks how to script high-throughput transfers of blobs or files from command-line jobs.

C:

Azure Storage Explorer serves to browse and manage storage resources through a cross-platform graphical client, whereas this case requires the action to script high-throughput transfers of blobs or files from command-line jobs; Storage Explorer offers interactive object navigation and operations rather than a dedicated unattended command-line transfer pipeline.

D:

The request to script high-throughput transfers of blobs or files from command-line jobs is not fulfilled by Double encryption at infrastructure level; its intended role is to apply an additional infrastructure encryption layer for supported storage accounts: Infrastructure encryption adds a distinct layer below service encryption; it is not simply changing a blob's access tier.

Question 493

The licensing team must administer subscription products for tenant users. The acceptance criteria across separate services are (1) grant a specific Microsoft cloud product license to one identified user; (2) identify users whose automatic license application failed due to an assignment problem; (3) keep a product assigned while withholding a particular included service. Choose THREE Azure capabilities that implement them.

  1. Direct license assignment
  2. Group-based licensing
  3. License assignment error review
  4. Disable a licensed service plan

Explanation

Correct Answers

A:

For the target that must grant a specific Microsoft cloud product license to one identified user, Direct license assignment is a direct match because Direct assignment targets the chosen user and selected service plans; it does not propagate to every member of a group, not a different configuration.

C:

For the target that must identify users whose automatic license application failed due to an assignment problem, License assignment error review is a direct match because License status and processing errors expose conflicts or insufficient license capacity rather than silently repairing the source configuration, not a different configuration.

D:

For the target that must keep a product assigned while withholding a particular included service, Disable a licensed service plan is a direct match because A license can have individual service plans disabled where supported; removing the entire product is a broader change to the user's entitlements, not a different configuration.

Incorrect Answers

B:

Group-based licensing is intended to make licenses follow a group as employees join or leave it; Group-based licensing applies configured licenses to current and future eligible group members; processing and license availability affect assignment status, so it would not implement any of these separate requested outcomes.

Question 494

An incident has damaged application data on an Azure virtual machine. The operations review lists separate service outcomes, with A required to recover an eligible protected virtual machine as a VM rather than only exported disks and B required to recover eligible backed-up data into a secondary region when supported and configured. Which proposed approach meets both?

  1. Task A → Full VM restore; task B → File recovery from VM backup.
  2. Task A → Full VM restore; task B → Cross-region restore.
  3. Task A → Cross-region restore; task B → Full VM restore.
  4. Task A → Restore VM disks; task B → Full VM restore.
  5. Task A → Full VM restore; task B → Restore VM disks.

Explanation

Correct Answer

B:

For A, the selected Full VM restore achieves the stated result to recover an eligible protected virtual machine as a VM rather than only exported disks; VM restore reconstructs a VM with associated disks and configuration as supported by the recovery workflow; the B choice, Cross-region restore, fits the configured outcome; Cross-region restore depends on geo-redundant vault data and supported workload settings; GRS alone does not guarantee every restore option.

Incorrect Answers

A:

A is correctly mapped to Full VM restore; VM restore reconstructs a VM with associated disks and configuration as supported by the recovery workflow; the B mapping to File recovery from VM backup misses the required goal to recover eligible backed-up data into a secondary region when supported and configured; File recovery mounts or exposes a backup recovery point through supported workflows, reducing unnecessary full-machine restoration; it addresses retrieve selected guest files without restoring the entire VM instead.

C:

The A mapping to Cross-region restore misses the required goal to recover an eligible protected virtual machine as a VM rather than only exported disks; Cross-region restore depends on geo-redundant vault data and supported workload settings; GRS alone does not guarantee every restore option; it addresses recover eligible backed-up data into a secondary region when supported and configured instead; the B mapping to Full VM restore misses the required goal to recover eligible backed-up data into a secondary region when supported and configured; VM restore reconstructs a VM with associated disks and configuration as supported by the recovery workflow; it addresses recover an eligible protected virtual machine as a VM rather than only exported disks instead.

D:

A: Restore VM disks is meant to recover protected disks to support inspection or creation of a replacement VM, not to recover an eligible protected virtual machine as a VM rather than only exported disks; Disk restore produces recoverable managed disk artifacts from a backup point; it does not automatically choose production cutover steps; the B mapping to Full VM restore misses the required goal to recover eligible backed-up data into a secondary region when supported and configured; VM restore reconstructs a VM with associated disks and configuration as supported by the recovery workflow; it addresses recover an eligible protected virtual machine as a VM rather than only exported disks instead.

E:

At A, Full VM restore is appropriate; VM restore reconstructs a VM with associated disks and configuration as supported by the recovery workflow; the B mapping to Restore VM disks misses the required goal to recover eligible backed-up data into a secondary region when supported and configured; Disk restore produces recoverable managed disk artifacts from a backup point; it does not automatically choose production cutover steps; it addresses recover protected disks to support inspection or creation of a replacement VM instead.

Question 495

An operations organization is adopting repeatable Azure infrastructure deployments. The team has documented a specific need: author declarative ARM deployments in a concise language with modules and symbolic names. Which Azure setting addresses it?

  1. Server-side encryption with platform keys
  2. ARM JSON template
  3. Bicep file
  4. ARM deployment what-if

Explanation

Correct Answer

C:

The stated need is to author declarative ARM deployments in a concise language with modules and symbolic names, so the applicable mechanism is Bicep file: Bicep compiles to ARM JSON and provides resource-oriented syntax and modules; deployment still uses Azure Resource Manager.

Incorrect Answers

A:

Server-side encryption with platform keys is designed to rely on Azure managed-disk encryption at rest without guest encryption configuration, not to author declarative ARM deployments in a concise language with modules and symbolic names in this case; Managed disks are encrypted at rest by platform-managed keys by default; this happens below the guest operating system.

B:

For the target required to author declarative ARM deployments in a concise language with modules and symbolic names, ARM JSON template is the wrong control: it is used to define Azure resources declaratively in native Azure Resource Manager JSON; ARM templates describe resource declarations, parameters and dependencies in JSON; they can be deployed through ARM without an imperative resource-by-resource script.

D:

ARM deployment what-if would be used to preview proposed resource changes before deploying a template; What-if compares the desired declaration with existing resource state and reports predicted changes without applying the deployment, but the question asks how to author declarative ARM deployments in a concise language with modules and symbolic names.

Question 496

A storage administrator is distinguishing recovery mechanisms after data changes. A change request specifies the outcome to retain prior blob versions when a current blob is overwritten or deleted. What should be used?

  1. Read-access geo-zone-redundant storage (RA-GZRS)
  2. Blob snapshot
  3. Lifecycle management rule
  4. Blob versioning

Explanation

Correct Answer

D:

Blob versioning addresses the request to retain prior blob versions when a current blob is overwritten or deleted: Versioning creates historical versions for eligible block blobs, supporting point-in-time object recovery after modifications.

Incorrect Answers

A:

For the target required to retain prior blob versions when a current blob is overwritten or deleted, Read-access geo-zone-redundant storage (RA-GZRS) is the wrong control: it is used to permit secondary reads while protecting primary data across availability zones; RA-GZRS adds secondary read access to GZRS; secondary data may lag because cross-region replication is asynchronous.

B:

The proposed Blob snapshot addresses the separate function to capture a point-in-time read-only representation of a selected blob; A snapshot preserves a particular blob state when explicitly taken; it is not a schedule that automatically versions every change, which does not meet the stated need to retain prior blob versions when a current blob is overwritten or deleted.

C:

Lifecycle management rule would be used to automatically tier or delete blobs after conditions such as age or last modification; Lifecycle rules evaluate matching blobs and perform configured transitions or deletion; they are not a user-initiated restore operation, but the question asks how to retain prior blob versions when a current blob is overwritten or deleted.

Question 497

An enterprise is documenting where a route sends matching network packets. During acceptance testing, the operator must direct matching public-destination traffic toward the Azure internet egress path. Identify the appropriate Azure mechanism.

  1. None next hop
  2. Dynamic private IP
  3. Virtual appliance next hop
  4. Internet next hop

Explanation

Correct Answer

D:

The requested operation is to direct matching public-destination traffic toward the Azure internet egress path; Internet next hop provides this functionality: The Internet next hop is for external destinations, subject to NAT and security controls; it is not a path to a private endpoint.

Incorrect Answers

A:

The proposed None next hop addresses the separate function to drop traffic matching a route prefix intentionally; The None next hop prevents delivery of matching packets; it is useful for blackholing and is not a firewall allow rule, which does not meet the stated need to direct matching public-destination traffic toward the Azure internet egress path.

B:

Dynamic private IP would be used to let Azure allocate an available private IP within a chosen subnet for a NIC; Dynamic private IP allocation is managed within the subnet and may change after certain lifecycle actions; it is not an internet address, but the question asks how to direct matching public-destination traffic toward the Azure internet egress path.

C:

Virtual appliance next hop serves to send matching traffic to an NVA IP for inspection or forwarding, whereas this case requires the action to direct matching public-destination traffic toward the Azure internet egress path; A virtual-appliance UDR directs packets to a specified IP; that appliance must itself be configured to forward and permit traffic.

Question 498

An enterprise is documenting where a route sends matching network packets. Which of the listed choices would allow the operator to drop traffic matching a route prefix intentionally?

  1. Virtual network gateway next hop
  2. None next hop
  3. NSG diagnostic tool
  4. Virtual appliance next hop

Explanation

Correct Answer

B:

None next hop addresses the request to drop traffic matching a route prefix intentionally: The None next hop prevents delivery of matching packets; it is useful for blackholing and is not a firewall allow rule.

Incorrect Answers

A:

Virtual network gateway next hop would be used to route matching on-premises prefixes through a configured virtual network gateway; The gateway next hop carries eligible traffic toward connected private networks; the route alone does not establish a VPN or ExpressRoute session, but the question asks how to drop traffic matching a route prefix intentionally.

C:

The request to drop traffic matching a route prefix intentionally is not fulfilled by NSG diagnostic tool; its intended role is to identify whether an NSG rule is causing a blocked connection in a supported diagnostic workflow: NSG diagnostics analyze the rules and traffic properties to identify filtering effects; they are not a packet-routing configuration.

D:

Virtual appliance next hop is designed to send matching traffic to an NVA IP for inspection or forwarding, not to drop traffic matching a route prefix intentionally in this case; A virtual-appliance UDR directs packets to a specified IP; that appliance must itself be configured to forward and permit traffic.

Question 499

A production web application needs different rollback and restore options. Before closing the task, the administrator must replicate virtual machines for disaster recovery instead of backing up an App Service PaaS app. Which selection is appropriate?

  1. Azure Site Recovery for VMs
  2. Deployment-slot rollback
  3. Snapshot restore for App Service
  4. Move app to separate App Service plan

Explanation

Correct Answer

A:

The stated need is to replicate virtual machines for disaster recovery instead of backing up an App Service PaaS app, so the applicable mechanism is Azure Site Recovery for VMs: Site Recovery protects supported machine workloads and does not serve as the built-in App Service application backup feature.

Incorrect Answers

B:

Deployment-slot rollback would be used to restore an earlier deployment by swapping slots back when the previous version is retained; A rollback swap can return tested code quickly but does not constitute a historical backup of all application data, but the question asks how to replicate virtual machines for disaster recovery instead of backing up an App Service PaaS app.

C:

Snapshot restore for App Service serves to restore a supported point-in-time app snapshot when the platform provides it, whereas this case requires the action to replicate virtual machines for disaster recovery instead of backing up an App Service PaaS app; App Service snapshots can recover eligible app content from supported plans; they are separate from a user-configured backup policy.

D:

The request to replicate virtual machines for disaster recovery instead of backing up an App Service PaaS app is not fulfilled by Move app to separate App Service plan; its intended role is to isolate one application's compute capacity from noisy neighboring apps: Moving a supported app to another compatible plan separates worker resources; changing the app's deployment slot would not isolate compute.

Question 500

Cloud governance staff want distinct responses to noncompliant deployments. The deployment checklist assigns one action to resource A and another to resource B: record noncompliance while still permitting the resource operation; change supported resource properties such as tags to meet a policy rule. Which mapping should be used?

  1. Implement Deny policy effect on the first target and DeployIfNotExists effect on the second.
  2. Implement Modify policy effect on the first target and Audit policy effect on the second.
  3. Implement Audit policy effect on the first target and Modify policy effect on the second.
  4. Implement Deny policy effect on the first target and Modify policy effect on the second.
  5. Implement Audit policy effect on the first target and DeployIfNotExists effect on the second.

Explanation

Correct Answer

C:

For A, the selected Audit policy effect achieves the stated result to record noncompliance while still permitting the resource operation; Audit marks matching resources noncompliant without blocking creation; remediation must be handled separately if configuration is to change; the B setting is right: Modify policy effect supplies the ability to change supported resource properties such as tags to meet a policy rule; Modify can add or alter supported properties during requests and remediate eligible resources when identities and remediation prerequisites are configured.

Incorrect Answers

A:

The A selection is incorrect for the need to record noncompliance while still permitting the resource operation: Deny policy effect serves to block a resource creation or update that violates a specified rule; Deny evaluates the applicable request and rejects noncompliant changes; it is preventive rather than a merely informational compliance record; the B selection is incorrect for the need to change supported resource properties such as tags to meet a policy rule: DeployIfNotExists effect serves to deploy a related resource or configuration when an evaluated prerequisite is missing; DeployIfNotExists evaluates a related resource and can trigger a deployment; it requires a properly authorized managed identity for remediation.

B:

A calls for a different mechanism to record noncompliance while still permitting the resource operation; Modify policy effect instead supports the action to change supported resource properties such as tags to meet a policy rule; Modify can add or alter supported properties during requests and remediate eligible resources when identities and remediation prerequisites are configured; the B selection is incorrect for the need to change supported resource properties such as tags to meet a policy rule: Audit policy effect serves to record noncompliance while still permitting the resource operation; Audit marks matching resources noncompliant without blocking creation; remediation must be handled separately if configuration is to change.

D:

The A mapping to Deny policy effect misses the required goal to record noncompliance while still permitting the resource operation; Deny evaluates the applicable request and rejects noncompliant changes; it is preventive rather than a merely informational compliance record; it addresses block a resource creation or update that violates a specified rule instead; the B setting is right: Modify policy effect supplies the ability to change supported resource properties such as tags to meet a policy rule; Modify can add or alter supported properties during requests and remediate eligible resources when identities and remediation prerequisites are configured.

E:

A: Audit policy effect meets the requirement to record noncompliance while still permitting the resource operation; Audit marks matching resources noncompliant without blocking creation; remediation must be handled separately if configuration is to change; the B selection is incorrect for the need to change supported resource properties such as tags to meet a policy rule: DeployIfNotExists effect serves to deploy a related resource or configuration when an evaluated prerequisite is missing; DeployIfNotExists evaluates a related resource and can trigger a deployment; it requires a properly authorized managed identity for remediation.

Microsoft Azure Administrator (AZ-104) Practice Tests