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

Question 930

A platform team is separating workload identities from employee credentials. The release team has a multi-resource checklist: (1) reuse the same managed workload identity across several supported Azure resources; (2) define the application object, permissions and authentication configuration in Microsoft Entra; (3) allow a trusted external workload token to obtain Entra tokens without a client secret. Identify the Azure features that satisfy it. Choose THREE.

  1. User-assigned managed identity
  2. Federated identity credential
  3. System-assigned managed identity
  4. App registration

Explanation

Correct Answers

A:

User-assigned managed identity is included because it can reuse the same managed workload identity across several supported Azure resources; A standalone managed identity can be attached to multiple compatible resources and survives deletion of any individual resource that uses it, which fits one of the stated operational goals.

B:

The stated condition to allow a trusted external workload token to obtain Entra tokens without a client secret calls for Federated identity credential; Workload identity federation validates an external issuer, subject and audience; this exchanges an eligible external token rather than requiring a shared secret, directly addressing that individual target.

D:

For the target that must define the application object, permissions and authentication configuration in Microsoft Entra, App registration is a direct match because An app registration describes the application and its identity settings; an enterprise application represents the service principal in a tenant, not a different configuration.

Incorrect Answers

C:

The purpose of System-assigned managed identity is to give exactly one Azure resource a platform-managed identity tied to its lifetime; Azure creates a service principal for the resource and removes that identity when the parent resource is deleted; no client secret is stored by the workload, but no target in this question asks for that capability.

Question 931

An infrastructure deployment must avoid accidental changes to production state. In a scheduled configuration update, the first service must add or update declared resources without deleting unrelated resources absent from the template, while a different service must manage a collection of ARM resources with explicit options for handling resources removed from the stack template. Select the appropriate two-part plan.

  1. For A, configure Incremental deployment mode; for B, configure Deployment stack.
  2. For A, configure Incremental deployment mode; for B, configure What-if preview.
  3. For A, configure Deployment stack; for B, configure Incremental deployment mode.
  4. For A, configure Complete deployment mode; for B, configure Deployment stack.

Explanation

Correct Answer

A:

For A, the selected Incremental deployment mode achieves the stated result to add or update declared resources without deleting unrelated resources absent from the template; Incremental mode leaves resources outside the declaration intact in the target scope, although declared resources may be updated; b is correctly mapped to Deployment stack; Deployment stacks track managed resources and can control deletion or detachment behavior when the desired configuration changes.

Incorrect Answers

B:

The A choice, Incremental deployment mode, fits the configured outcome; Incremental mode leaves resources outside the declaration intact in the target scope, although declared resources may be updated; b calls for a different mechanism to manage a collection of ARM resources with explicit options for handling resources removed from the stack template; What-if preview instead supports the action to inspect the projected additions, modifications and deletions before executing the deployment; What-if provides a change forecast without submitting the final resource changes, reducing surprise in reviewed infrastructure operations.

C:

A: Deployment stack is meant to manage a collection of ARM resources with explicit options for handling resources removed from the stack template, not to add or update declared resources without deleting unrelated resources absent from the template; Deployment stacks track managed resources and can control deletion or detachment behavior when the desired configuration changes; b calls for a different mechanism to manage a collection of ARM resources with explicit options for handling resources removed from the stack template; Incremental deployment mode instead supports the action to add or update declared resources without deleting unrelated resources absent from the template; Incremental mode leaves resources outside the declaration intact in the target scope, although declared resources may be updated.

D:

At A, Complete deployment mode is mismatched; Complete mode can delete resources omitted from the template and requires extreme caution; modern deployment stacks provide another managed deletion pattern; the requested need is to add or update declared resources without deleting unrelated resources absent from the template; b is correctly mapped to Deployment stack; Deployment stacks track managed resources and can control deletion or detachment behavior when the desired configuration changes.

Question 932

An incident has damaged application data on an Azure virtual machine. The runbook has two entries. Entry A says to recover protected disks to support inspection or creation of a replacement VM. Entry B says to retrieve selected guest files without restoring the entire VM. Which proposed pair addresses both entries?

  1. Implement File recovery from VM backup on the first target and Restore VM disks on the second.
  2. Implement Cross-region restore on the first target and File recovery from VM backup on the second.
  3. Implement File recovery from VM backup on the first target and Full VM restore on the second.
  4. Implement Restore VM disks on the first target and Full VM restore on the second.
  5. Implement Restore VM disks on the first target and File recovery from VM backup on the second.

Explanation

Correct Answer

E:

For A, the selected Restore VM disks achieves the stated result to recover protected disks to support inspection or creation of a replacement VM; Disk restore produces recoverable managed disk artifacts from a backup point; it does not automatically choose production cutover steps; the B choice, File recovery from VM backup, fits the configured outcome; File recovery mounts or exposes a backup recovery point through supported workflows, reducing unnecessary full-machine restoration.

Incorrect Answers

A:

A: File recovery from VM backup is meant to retrieve selected guest files without restoring the entire VM, not to recover protected disks to support inspection or creation of a replacement VM; File recovery mounts or exposes a backup recovery point through supported workflows, reducing unnecessary full-machine restoration; for B, the proposed Restore VM disks handles recover protected disks to support inspection or creation of a replacement VM, which is not the requested retrieve selected guest files without restoring the entire VM outcome; Disk restore produces recoverable managed disk artifacts from a backup point; it does not automatically choose production cutover steps.

B:

At A, Cross-region restore is mismatched; Cross-region restore depends on geo-redundant vault data and supported workload settings; GRS alone does not guarantee every restore option; the requested need is to recover protected disks to support inspection or creation of a replacement VM; for B, the selected File recovery from VM backup achieves the stated result to retrieve selected guest files without restoring the entire VM; File recovery mounts or exposes a backup recovery point through supported workflows, reducing unnecessary full-machine restoration.

C:

The A selection is incorrect for the need to recover protected disks to support inspection or creation of a replacement VM: File recovery from VM backup serves to retrieve selected guest files without restoring the entire VM; File recovery mounts or exposes a backup recovery point through supported workflows, reducing unnecessary full-machine restoration; for B, the proposed Full VM restore handles recover an eligible protected virtual machine as a VM rather than only exported disks, which is not the requested retrieve selected guest files without restoring the entire VM outcome; VM restore reconstructs a VM with associated disks and configuration as supported by the recovery workflow.

D:

A is correctly mapped to Restore VM 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 retrieve selected guest files without restoring the entire VM; 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.

Question 933

Architects are comparing how traffic is distributed among application endpoints. A rollout covers two separately managed targets: the first must route HTTP or HTTPS requests based on web-layer properties within a regional gateway, and the second must provide global HTTP or HTTPS entry, routing and acceleration through distributed edge locations. Which ordered configuration is suitable?

  1. On resource A use Traffic Manager; on resource B use Azure Front Door.
  2. On resource A use Application Gateway; on resource B use Azure Front Door.
  3. On resource A use Application Gateway; on resource B use Traffic Manager.
  4. On resource A use Azure Front Door; on resource B use Application Gateway.

Explanation

Correct Answer

B:

The A choice, Application Gateway, fits the configured outcome; Application Gateway supports layer-seven routing and optional WAF, unlike a generic L4 load balancer; the B choice, Azure Front Door, fits the configured outcome; Front Door operates at a global application layer and can apply web traffic policy; it is not an internal private L4 VIP.

Incorrect Answers

A:

For A, the proposed Traffic Manager handles choose among application endpoints using DNS-based routing policies, which is not the requested route HTTP or HTTPS requests based on web-layer properties within a regional gateway outcome; Traffic Manager returns DNS endpoint answers and does not proxy every incoming HTTP request through an edge service; the B choice, Azure Front Door, fits the configured outcome; Front Door operates at a global application layer and can apply web traffic policy; it is not an internal private L4 VIP.

C:

A: Application Gateway meets the requirement to route HTTP or HTTPS requests based on web-layer properties within a regional gateway; Application Gateway supports layer-seven routing and optional WAF, unlike a generic L4 load balancer; the B mapping to Traffic Manager misses the required goal to provide global HTTP or HTTPS entry, routing and acceleration through distributed edge locations; Traffic Manager returns DNS endpoint answers and does not proxy every incoming HTTP request through an edge service; it addresses choose among application endpoints using DNS-based routing policies instead.

D:

At A, Azure Front Door is mismatched; Front Door operates at a global application layer and can apply web traffic policy; it is not an internal private L4 VIP; the requested need is to route HTTP or HTTPS requests based on web-layer properties within a regional gateway; the B mapping to Application Gateway misses the required goal to provide global HTTP or HTTPS entry, routing and acceleration through distributed edge locations; Application Gateway supports layer-seven routing and optional WAF, unlike a generic L4 load balancer; it addresses route HTTP or HTTPS requests based on web-layer properties within a regional gateway instead.

Question 934

Networking staff are connecting private DNS records to Azure workloads. Before closing the task, the administrator must associate a private endpoint with relevant private DNS zones for supported record management. Which selection is appropriate?

  1. Azure Bastion
  2. DNS conditional forwarding
  3. Private DNS VNet link
  4. Private endpoint DNS zone group

Explanation

Correct Answer

D:

The requested operation is to associate a private endpoint with relevant private DNS zones for supported record management; Private endpoint DNS zone group provides this functionality: DNS zone groups help maintain private endpoint DNS records as the endpoint changes; they complement endpoint connectivity.

Incorrect Answers

A:

The proposed Azure Bastion addresses the separate function to connect to a VM over RDP or SSH using a managed service without a public IP on the VM; Bastion provides browser or supported client-based connectivity through its dedicated deployment; it reduces direct VM internet exposure, which does not meet the stated need to associate a private endpoint with relevant private DNS zones for supported record management.

B:

DNS conditional forwarding would be used to send queries for a particular namespace to a designated authoritative or recursive resolver; Conditional forwarding directs queries to chosen DNS servers, supporting hybrid name resolution without turning the private zone into a public zone, but the question asks how to associate a private endpoint with relevant private DNS zones for supported record management.

C:

Private DNS VNet link serves to make a private DNS zone resolvable from a selected virtual network, whereas this case requires the action to associate a private endpoint with relevant private DNS zones for supported record management; A VNet link enables DNS zone visibility for that network; links alone do not create service private endpoints.

Question 935

A compliance team wants an operational configuration to persist across VM instances. The deployment checklist assigns one action to resource A and another to resource B: audit or apply supported guest operating-system configuration controls via Azure governance; initialize supported Linux VMs at provisioning time using user data. Which mapping should be used?

  1. Implement Cloud-init on the first target and Azure Machine Configuration on the second.
  2. Implement Azure Machine Configuration on the first target and Update Manager maintenance configuration on the second.
  3. Implement Cloud-init on the first target and Azure VM Image Builder on the second.
  4. Implement Azure Machine Configuration on the first target and Cloud-init on the second.
  5. Implement Azure Machine Configuration on the first target and Azure VM Image Builder on the second.

Explanation

Correct Answer

D:

The A choice, Azure Machine Configuration, fits the configured outcome; Machine Configuration integrates guest compliance policies with supported extension/agent requirements rather than delivering an app image; for B, the selected Cloud-init achieves the stated result to initialize supported Linux VMs at provisioning time using user data; Cloud-init runs early boot configuration on supported Linux images and is not a reusable Azure Policy definition.

Incorrect Answers

A:

The A selection is incorrect for the need to audit or apply supported guest operating-system configuration controls via Azure governance: Cloud-init serves to initialize supported Linux VMs at provisioning time using user data; Cloud-init runs early boot configuration on supported Linux images and is not a reusable Azure Policy definition; for B, the proposed Azure Machine Configuration handles audit or apply supported guest operating-system configuration controls via Azure governance, which is not the requested initialize supported Linux VMs at provisioning time using user data outcome; Machine Configuration integrates guest compliance policies with supported extension/agent requirements rather than delivering an app image.

B:

A is correctly mapped to Azure Machine Configuration; Machine Configuration integrates guest compliance policies with supported extension/agent requirements rather than delivering an app image; for B, the proposed Update Manager maintenance configuration handles schedule recurring guest operating-system update installation for eligible Azure VMs, which is not the requested initialize supported Linux VMs at provisioning time using user data outcome; Azure Update Manager uses maintenance configurations for scheduled guest patching; Azure VMs require appropriate customer-managed patch orchestration settings and a supported maintenance window.

C:

For A, the proposed Cloud-init handles initialize supported Linux VMs at provisioning time using user data, which is not the requested audit or apply supported guest operating-system configuration controls via Azure governance outcome; Cloud-init runs early boot configuration on supported Linux images and is not a reusable Azure Policy definition; for B, the proposed Azure VM Image Builder handles bake approved software and configuration into a reusable managed virtual-machine image before deployment, which is not the requested initialize supported Linux VMs at provisioning time using user data outcome; 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.

E:

A: Azure Machine Configuration meets the requirement 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; for B, the proposed Azure VM Image Builder handles bake approved software and configuration into a reusable managed virtual-machine image before deployment, which is not the requested initialize supported Linux VMs at provisioning time using user data outcome; 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.

Question 936

A platform department is reorganizing ownership of deployed Azure environments. A deployment engineer receives two requests that must not be conflated: to transfer supported resources to another resource group without changing the region, and separately to place a subscription under a different governance parent without moving its resources. Which feature pair is correct?

  1. On resource A use Resource move between subscriptions; on resource B use Subscription management-group change.
  2. On resource A use Resource move between resource groups; on resource B use Resource move between subscriptions.
  3. On resource A use Resource move between resource groups; on resource B use Subscription management-group change.
  4. On resource A use Subscription management-group change; on resource B use Resource move between resource groups.

Explanation

Correct Answer

C:

The A setting is right: Resource move between resource groups supplies the ability to transfer supported resources to another resource group without changing the region; A resource-group move changes the management container while preserving location; move validation identifies unsupported dependencies; b: Subscription management-group change meets the requirement to place a subscription under a different governance parent without moving its resources; Changing the management-group parent changes inherited governance but leaves the subscription and its contained resource IDs in place.

Incorrect Answers

A:

A: Resource move between subscriptions is meant to transfer selected supported resources and dependencies into a destination resource group in another subscription, not to transfer supported resources to another resource group without changing the region; Azure Resource Manager moves eligible resources between subscriptions in the same tenant, but does not move the resource-group object itself; the region stays the same; b: Subscription management-group change meets the requirement to place a subscription under a different governance parent without moving its resources; Changing the management-group parent changes inherited governance but leaves the subscription and its contained resource IDs in place.

B:

At A, Resource move between resource groups is appropriate; A resource-group move changes the management container while preserving location; move validation identifies unsupported dependencies; b: Resource move between subscriptions is meant to transfer selected supported resources and dependencies into a destination resource group in another subscription, not to place a subscription under a different governance parent without moving its resources; Azure Resource Manager moves eligible resources between subscriptions in the same tenant, but does not move the resource-group object itself; the region stays the same.

D:

A calls for a different mechanism to transfer supported resources to another resource group without changing the region; Subscription management-group change instead supports the action to place a subscription under a different governance parent without moving its resources; Changing the management-group parent changes inherited governance but leaves the subscription and its contained resource IDs in place; b: Resource move between resource groups is meant to transfer supported resources to another resource group without changing the region, not to place a subscription under a different governance parent without moving its resources; A resource-group move changes the management container while preserving location; move validation identifies unsupported dependencies.

Question 937

Azure resources already exist and governance needs a controlled corrective process. A migration preflight documents two outcomes on different targets: bring eligible existing resources into compliance with a modify or deployment policy; and inspect which evaluated resources satisfy the assigned rule. Which plan implements these in order?

  1. First target: Remediation task; second target: Policy compliance state.
  2. First target: Policy compliance state; second target: Remediation task.
  3. First target: Remediation task; second target: Policy assignment managed identity.
  4. First target: Policy evaluation scan; second target: Policy compliance state.

Explanation

Correct Answer

A:

The A choice, Remediation task, fits the configured outcome; A remediation task triggers corrective operations for applicable policy effects; a new assignment alone may not alter all previously deployed resources; for B, the selected Policy compliance state achieves the stated result to inspect which evaluated resources satisfy the assigned rule; The compliance state reports evaluated results and reasons; it is observational and does not itself implement missing configurations.

Incorrect Answers

B:

A: Policy compliance state is meant to inspect which evaluated resources satisfy the assigned rule, not to bring eligible existing resources into compliance with a modify or deployment policy; The compliance state reports evaluated results and reasons; it is observational and does not itself implement missing configurations; for B, the proposed Remediation task handles bring eligible existing resources into compliance with a modify or deployment policy, which is not the requested inspect which evaluated resources satisfy the assigned rule outcome; A remediation task triggers corrective operations for applicable policy effects; a new assignment alone may not alter all previously deployed resources.

C:

At A, Remediation task is appropriate; A remediation task triggers corrective operations for applicable policy effects; a new assignment alone may not alter all previously deployed resources; for B, the proposed Policy assignment managed identity handles authorize a modifying policy assignment to create or update required resources, which is not the requested inspect which evaluated resources satisfy the assigned rule outcome; Managed identity permissions let deployIfNotExists or modify remediation perform writes; a compliance view alone supplies no authorization.

D:

The A selection is incorrect for the need to bring eligible existing resources into compliance with a modify or deployment policy: Policy evaluation scan serves to request reevaluation of existing Azure resources after changing governance rules; A compliance scan refreshes evaluation results; remediation of configurable properties remains a separate action; for B, the selected Policy compliance state achieves the stated result to inspect which evaluated resources satisfy the assigned rule; The compliance state reports evaluated results and reasons; it is observational and does not itself implement missing configurations.

Question 938

A web-tier fleet is adopting Azure VM scale-set management. The team has documented a specific need: deploy a largely identical fleet of VM instances under a scale-set model. Which Azure setting addresses it?

  1. Uniform orchestration mode
  2. Flexible orchestration mode
  3. VMSS autoscale rule
  4. Azure Container Registry

Explanation

Correct Answer

A:

For the work item that must deploy a largely identical fleet of VM instances under a scale-set model, Uniform orchestration mode is appropriate: Uniform mode manages closely aligned instance configurations using scale-set model semantics and supported automatic upgrades.

Incorrect Answers

B:

For the target required to deploy a largely identical fleet of VM instances under a scale-set model, Flexible orchestration mode is the wrong control: it is used to manage a scale set with a flexible mix of VM instances and availability placement capabilities; Flexible orchestration supports VM-oriented operational control and deployment patterns different from uniform scale sets.

C:

The proposed VMSS autoscale rule addresses the separate function to change the number of VM instances in response to monitored load metrics; Autoscale policies adjust instance count against defined bounds and cooldown behavior; they do not expand an individual VM disk, which does not meet the stated need to deploy a largely identical fleet of VM instances under a scale-set model.

D:

Azure Container Registry would be used to host private OCI and Docker-compatible container images for Azure deployments; ACR supplies a managed image repository with authentication and access control; it does not run the image as a compute workload, but the question asks how to deploy a largely identical fleet of VM instances under a scale-set model.

Question 939

A front-end app must connect privately to backend resources while controlling inbound access. A deployment engineer receives two requests that must not be conflated: to let an App Service application send outbound traffic into an integrated virtual network, and separately to allow inbound client connections to the web app over an approved private IP. Which feature pair is correct?

  1. For A, configure Regional VNet integration; for B, configure App Service private endpoint.
  2. For A, configure App Service private endpoint; for B, configure Regional VNet integration.
  3. For A, configure App Service access restrictions; for B, configure App Service private endpoint.
  4. For A, configure Hybrid Connections; for B, configure App Service private endpoint.

Explanation

Correct Answer

A:

The A setting is right: Regional VNet integration supplies the ability to let an App Service application send outbound traffic into an integrated virtual network; VNet integration enables outbound private network connectivity; it does not make the web app's inbound endpoint private; the B choice, App Service private endpoint, fits the configured outcome; Private Endpoint provides private inbound reachability, normally paired with suitable private DNS name resolution.

Incorrect Answers

B:

A calls for a different mechanism to let an App Service application send outbound traffic into an integrated virtual network; App Service private endpoint instead supports the action to allow inbound client connections to the web app over an approved private IP; Private Endpoint provides private inbound reachability, normally paired with suitable private DNS name resolution; the B mapping to Regional VNet integration misses the required goal to allow inbound client connections to the web app over an approved private IP; VNet integration enables outbound private network connectivity; it does not make the web app's inbound endpoint private; it addresses let an App Service application send outbound traffic into an integrated virtual network instead.

C:

For A, the proposed App Service access restrictions handles filter inbound application requests by configured source rules, which is not the requested let an App Service application send outbound traffic into an integrated virtual network outcome; Access restrictions permit or reject incoming traffic based on supported conditions; they do not provide outbound VNet connectivity; b: App Service private endpoint meets the requirement to allow inbound client connections to the web app over an approved private IP; Private Endpoint provides private inbound reachability, normally paired with suitable private DNS name resolution.

D:

The A mapping to Hybrid Connections misses the required goal to let an App Service application send outbound traffic into an integrated virtual network; Hybrid Connections can connect an App Service app to specific host-and-port destinations; it is not general-purpose full-network routing; it addresses reach supported TCP endpoints in another network through Azure Relay without direct VNet integration instead; b: App Service private endpoint meets the requirement to allow inbound client connections to the web app over an approved private IP; Private Endpoint provides private inbound reachability, normally paired with suitable private DNS name resolution.

Question 940

A services team is matching storage durability to its failure tolerance. A deployment engineer receives two requests that must not be conflated: to synchronously withstand the loss of an availability zone within the primary region, and separately to combine primary-region zone resilience with asynchronous secondary-region replication. Which feature pair is correct?

  1. For A, configure Geo-redundant storage (GRS); for B, configure Geo-zone-redundant storage (GZRS).
  2. For A, configure Geo-zone-redundant storage (GZRS); for B, configure Zone-redundant storage (ZRS).
  3. For A, configure Zone-redundant storage (ZRS); for B, configure Geo-zone-redundant storage (GZRS).
  4. For A, configure Zone-redundant storage (ZRS); for B, configure Geo-redundant storage (GRS).

Explanation

Correct Answer

C:

For A, the selected Zone-redundant storage (ZRS) achieves the stated result to synchronously withstand the loss of an availability zone within the primary region; ZRS synchronously replicates across availability zones in supported regions without maintaining a geographic secondary region copy; b: Geo-zone-redundant storage (GZRS) meets the requirement to combine primary-region zone resilience with asynchronous secondary-region replication; GZRS provides primary-region ZRS and secondary-region geo replication; it combines protection from zone and regional disruption.

Incorrect Answers

A:

The A selection is incorrect for the need to synchronously withstand the loss of an availability zone within the primary region: Geo-redundant storage (GRS) serves to replicate data to a paired secondary region for geographic disaster recovery; GRS adds asynchronous replication to a secondary region beyond LRS primary-region copies; normal reads use the primary endpoint; the B choice, Geo-zone-redundant storage (GZRS), fits the configured outcome; GZRS provides primary-region ZRS and secondary-region geo replication; it combines protection from zone and regional disruption.

B:

A calls for a different mechanism to synchronously withstand the loss of an availability zone within the primary region; Geo-zone-redundant storage (GZRS) instead supports the action to combine primary-region zone resilience with asynchronous secondary-region replication; GZRS provides primary-region ZRS and secondary-region geo replication; it combines protection from zone and regional disruption; the B mapping to Zone-redundant storage (ZRS) misses the required goal to combine primary-region zone resilience with asynchronous secondary-region replication; ZRS synchronously replicates across availability zones in supported regions without maintaining a geographic secondary region copy; it addresses synchronously withstand the loss of an availability zone within the primary region instead.

D:

The A choice, Zone-redundant storage (ZRS), fits the configured outcome; ZRS synchronously replicates across availability zones in supported regions without maintaining a geographic secondary region copy; b: Geo-redundant storage (GRS) is meant to replicate data to a paired secondary region for geographic disaster recovery, not to combine primary-region zone resilience with asynchronous secondary-region replication; GRS adds asynchronous replication to a secondary region beyond LRS primary-region copies; normal reads use the primary endpoint.

Microsoft Azure Administrator (AZ-104) Practice Tests