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

Question 410

Two application teams are connecting Azure networks with tightly specified routing. Change A concerns the need to permit supported transit traffic forwarded through a peered virtual network; change B concerns the separate need to allow one peered VNet to use a configured virtual network gateway in another VNet. Select the correct mapping from A and B to Azure features.

  1. Task A → Allow forwarded traffic; task B → Global VNet peering.
  2. Task A → Gateway transit and remote gateway; task B → VNet peering.
  3. Task A → Gateway transit and remote gateway; task B → Allow forwarded traffic.
  4. Task A → Allow forwarded traffic; task B → Gateway transit and remote gateway.
  5. Task A → Allow forwarded traffic; task B → VNet peering.

Explanation

Correct Answer

D:

For A, the selected Allow forwarded traffic achieves the stated result to permit supported transit traffic forwarded through a peered virtual network; 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; the B choice, Gateway transit and remote gateway, fits the configured outcome; Gateway transit requires matching peering-side settings and supported topology; peering alone does not share a remote VPN gateway.

Incorrect Answers

A:

At A, Allow forwarded traffic is appropriate; 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; for B, the proposed Global VNet peering handles connect supported VNets deployed in different Azure regions, which is not the requested allow one peered VNet to use a configured virtual network gateway in another VNet outcome; Global peering extends private VNet connectivity across regions; ordinary same-region placement is not a requirement.

B:

The A selection is incorrect for the need to permit supported transit traffic forwarded through a peered virtual network: Gateway transit and remote gateway serves 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; for B, the proposed VNet peering handles provide private connectivity between nonoverlapping Azure VNets over Microsoft backbone networking, which is not the requested allow one peered VNet to use a configured virtual network gateway in another VNet outcome; Peering enables VNet-to-VNet communication when configuration and routes permit it; it does not merge the two VNets into one address space.

C:

A calls for a different mechanism to permit supported transit traffic forwarded through a peered virtual network; Gateway transit and remote gateway instead supports the action 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; the B mapping to Allow forwarded traffic misses the required goal to allow one peered VNet to use a configured virtual network gateway in another VNet; 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; it addresses permit supported transit traffic forwarded through a peered virtual network instead.

E:

The A choice, Allow forwarded traffic, fits the configured outcome; 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; the B mapping to VNet peering misses the required goal to allow one peered VNet to use a configured virtual network gateway in another VNet; Peering enables VNet-to-VNet communication when configuration and routes permit it; it does not merge the two VNets into one address space; it addresses provide private connectivity between nonoverlapping Azure VNets over Microsoft backbone networking instead.

Question 411

A monitoring team must reduce noise and automate responses. The assigned administrator needs to send alert notifications to identified email recipients. Which Azure feature should be selected?

  1. Action group email receiver
  2. Automation runbook receiver
  3. Application Insights Application Map
  4. Azure Monitor workbook

Explanation

Correct Answer

A:

Action group email receiver addresses the request to send alert notifications to identified email recipients: Email receivers deliver notifications when referenced by an alert action, rather than evaluating the originating metric condition.

Incorrect Answers

B:

The request to send alert notifications to identified email recipients is not fulfilled by Automation runbook receiver; its intended role is to invoke an automated remediation runbook in response to an eligible alert: Runbook integrations execute remedial automation after an alert triggers and need identity, permissions and error handling.

C:

Application Insights Application Map is designed to visualize the dependencies between instrumented application components and their external calls, not to send alert notifications to identified email recipients in this case; Application Map uses available Application Insights dependency telemetry to show relationships and failure or performance hotspots; it is an application observability view, not a VNet topology graph.

D:

For the target required to send alert notifications to identified email recipients, Azure Monitor workbook is the wrong control: it is used to build an interactive visual investigation of metrics and logs for operators; Workbooks present visual analysis over telemetry; they are not themselves the engine that suppresses alert notifications.

Question 412

An enterprise is documenting where a route sends matching network packets. Two operations are being approved together but applied separately. For task A the team must route matching on-premises prefixes through a configured virtual network gateway; for task B it must direct matching public-destination traffic toward the Azure internet egress path. Which configuration pair passes the review?

  1. Implement Virtual appliance next hop on the first target and Internet next hop on the second.
  2. Implement None next hop on the first target and Virtual appliance next hop on the second.
  3. Implement Virtual network gateway next hop on the first target and None next hop on the second.
  4. Implement Internet next hop on the first target and Virtual network gateway next hop on the second.
  5. Implement Virtual network gateway next hop on the first target and Internet next hop on the second.

Explanation

Correct Answer

E:

For A, the selected Virtual network gateway next hop achieves the stated result 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; b: Internet next hop meets the requirement to direct matching public-destination traffic toward the Azure internet egress path; 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:

A: Virtual appliance next hop is meant to send matching traffic to an NVA IP for inspection or forwarding, not to route matching on-premises prefixes through a configured virtual network gateway; A virtual-appliance UDR directs packets to a specified IP; that appliance must itself be configured to forward and permit traffic; the B choice, Internet next hop, fits the configured outcome; The Internet next hop is for external destinations, subject to NAT and security controls; it is not a path to a private endpoint.

B:

At A, None next hop is mismatched; The None next hop prevents delivery of matching packets; it is useful for blackholing and is not a firewall allow rule; the requested need is to route matching on-premises prefixes through a configured virtual network gateway; the B mapping to Virtual appliance next hop misses the required goal 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; it addresses send matching traffic to an NVA IP for inspection or forwarding instead.

C:

The A setting is right: Virtual network gateway next hop supplies the ability 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; the B mapping to None next hop misses the required goal to direct matching public-destination traffic toward the Azure internet egress path; The None next hop prevents delivery of matching packets; it is useful for blackholing and is not a firewall allow rule; it addresses drop traffic matching a route prefix intentionally instead.

D:

A calls for a different mechanism to route matching on-premises prefixes through a configured virtual network gateway; Internet next hop instead supports the action to direct matching public-destination traffic toward the Azure internet egress path; The Internet next hop is for external destinations, subject to NAT and security controls; it is not a path to a private endpoint; the B mapping to Virtual network gateway next hop misses the required goal to direct matching public-destination traffic toward the Azure internet egress path; The gateway next hop carries eligible traffic toward connected private networks; the route alone does not establish a VPN or ExpressRoute session; it addresses route matching on-premises prefixes through a configured virtual network gateway instead.

Question 413

A migration project has online and offline data transfer requirements. During requirements review, the targets are expected to (1) ship a physical appliance for large data transfers when network bandwidth is impractical; (2) use customer-provided supported disks for an offline Azure data import or export job. Which listed mechanisms map to those targets? Choose TWO.

  1. Azure Storage Explorer
  2. Azure Import/Export service
  3. Azure Data Box
  4. AzCopy

Explanation

Correct Answers

B:

Azure Import/Export service is included because it can 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, which fits one of the stated operational goals.

C:

For the target that must ship a physical appliance for large data transfers when network bandwidth is impractical, Azure Data Box is a direct match because Data Box supports offline data ingestion or export workflows; it requires a physical shipping and service process, not a different configuration.

Incorrect Answers

A:

The requirements do not call for Azure Storage Explorer, which is used to browse and manage storage resources through a cross-platform graphical client; Storage Explorer offers interactive object navigation and operations rather than a dedicated unattended command-line transfer pipeline, and no listed target requires that distinct use.

D:

The requirements do not call for AzCopy, which is used to script high-throughput transfers of blobs or files from command-line jobs; AzCopy uses efficient data transfer operations and can authenticate with SAS or supported Entra identities; it suits repeatable bulk-copy scripts, and no listed target requires that distinct use.

Question 414

Cloud governance staff want distinct responses to noncompliant deployments. Two design notes describe different behaviors: A should block a resource creation or update that violates a specified rule; B should deploy a related resource or configuration when an evaluated prerequisite is missing. Which matched combination supports both behaviors?

  1. Task A → Audit policy effect; task B → Deny policy effect.
  2. Task A → Deny policy effect; task B → DeployIfNotExists effect.
  3. Task A → Deny policy effect; task B → Audit policy effect.
  4. Task A → DeployIfNotExists effect; task B → Deny policy effect.
  5. Task A → Deny policy effect; task B → Modify policy effect.

Explanation

Correct Answer

B:

A: Deny policy effect meets the requirement 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 setting is right: DeployIfNotExists effect supplies the ability 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.

Incorrect Answers

A:

The A mapping to Audit policy effect misses the required goal to block a resource creation or update that violates a specified rule; Audit marks matching resources noncompliant without blocking creation; remediation must be handled separately if configuration is to change; it addresses record noncompliance while still permitting the resource operation instead; at B, Deny policy effect is mismatched; Deny evaluates the applicable request and rejects noncompliant changes; it is preventive rather than a merely informational compliance record; the requested need is to deploy a related resource or configuration when an evaluated prerequisite is missing.

C:

At A, Deny policy effect is appropriate; 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 deploy a related resource or configuration when an evaluated prerequisite is missing: 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 selection is incorrect for the need to block a resource creation or update that violates a specified 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; the B selection is incorrect for the need to deploy a related resource or configuration when an evaluated prerequisite is missing: 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.

E:

A is correctly mapped to Deny policy effect; 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 deploy a related resource or configuration when an evaluated prerequisite is missing: Modify policy effect serves 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.

Question 415

A containerized API is using Azure Container Apps features. The architect wants a minimal set of mechanisms for distinct targets: (1) scale running replicas in response to HTTP, event or other supported KEDA signals; (2) provide the shared networking and operational boundary for one or more Container Apps. Select TWO matching controls.

  1. Container Apps ingress
  2. Container Apps scale rule
  3. Container Apps environment
  4. Container App revision

Explanation

Correct Answers

B:

For the target that must scale running replicas in response to HTTP, event or other supported KEDA signals, Container Apps scale rule is a direct match because Scale rules translate signals into desired replica counts within configured limits, including scale-to-zero for supported workloads, not a different configuration.

C:

For the target that must provide the shared networking and operational boundary for one or more Container Apps, Container Apps environment is a direct match because An environment hosts connected Container Apps and shared infrastructure settings; it is not a single revision of an individual app, not a different configuration.

Incorrect Answers

A:

Container Apps ingress is intended to expose an application endpoint internally or externally over supported protocols; Ingress controls how traffic reaches the Container App; it does not itself define how many replicas should run, so it would not implement any of these separate requested outcomes.

D:

Container App revision is intended to release a new immutable application revision for traffic shifting or rollback; Revisions capture eligible configuration and image changes, allowing controlled rollout patterns in supported revision modes, so it would not implement any of these separate requested outcomes.

Question 416

A networking operations group needs different kinds of connection evidence. A change request specifies the outcome to aggregate virtual network flow-log data into traffic trends, top talkers and security insights. What should be used?

  1. Connection Monitor
  2. Event Hubs destination
  3. Traffic Analytics
  4. Virtual network flow logs

Explanation

Correct Answer

C:

To accomplish the specified task to aggregate virtual network flow-log data into traffic trends, top talkers and security insights, use Traffic Analytics; Traffic Analytics processes eligible flow logs into summarized network traffic and security views in a Log Analytics workspace; it is not a single-packet NSG decision test.

Incorrect Answers

A:

For the target required to aggregate virtual network flow-log data into traffic trends, top talkers and security insights, Connection Monitor is the wrong control: it is used to continuously test and record connectivity from configured sources to target endpoints; Connection Monitor schedules probes and tracks reachability and latency across supported endpoints, unlike a single manual test.

B:

The proposed Event Hubs destination addresses the separate function to stream diagnostic records toward external event processing or SIEM consumers; Event Hubs supplies an event-streaming endpoint for receivers and does not provide a historical KQL workspace by itself, which does not meet the stated need to aggregate virtual network flow-log data into traffic trends, top talkers and security insights.

D:

Virtual network flow logs serves to capture supported IP flow metadata across a virtual network for subsequent analysis, whereas this case requires the action to aggregate virtual network flow-log data into traffic trends, top talkers and security insights; Virtual network flow logs provide per-flow data at VNet scope and are the recommended replacement for retired-from-new-creation NSG flow logs; traffic analytics can analyze these collected logs.

Question 417

The tenant security team separates Entra directory administration from Azure resources. The architect has defined distinct requirements for systems A and B. A needs to delegate administration of product licenses for users and groups; B needs to perform the broadest tenant directory configuration and role-management duties. Which proposed pairing is technically aligned?

  1. First target: User Administrator directory role; second target: Global Administrator directory role.
  2. First target: Global Administrator directory role; second target: License Administrator directory role.
  3. First target: License Administrator directory role; second target: Global Administrator directory role.
  4. First target: License Administrator directory role; second target: User Administrator directory role.

Explanation

Correct Answer

C:

At A, License Administrator directory role is appropriate; License Administrator handles assignment and licensing operations while avoiding global administration of every tenant setting; b is correctly mapped to Global Administrator directory role; Global Administrator provides highly privileged Microsoft Entra administration; Azure resource permissions are a separate authorization system.

Incorrect Answers

A:

The A mapping to User Administrator directory role misses the required goal to delegate administration of product licenses for users and groups; This Microsoft Entra role manages directory identity objects; it does not grant Contributor rights to Azure virtual machines; it addresses delegate creation and management of ordinary Entra user and group accounts instead; the B setting is right: Global Administrator directory role supplies the ability to perform the broadest tenant directory configuration and role-management duties; Global Administrator provides highly privileged Microsoft Entra administration; Azure resource permissions are a separate authorization system.

B:

A: Global Administrator directory role is meant to perform the broadest tenant directory configuration and role-management duties, not to delegate administration of product licenses for users and groups; Global Administrator provides highly privileged Microsoft Entra administration; Azure resource permissions are a separate authorization system; the B selection is incorrect for the need to perform the broadest tenant directory configuration and role-management duties: License Administrator directory role serves to delegate administration of product licenses for users and groups; License Administrator handles assignment and licensing operations while avoiding global administration of every tenant setting.

D:

The A setting is right: License Administrator directory role supplies the ability to delegate administration of product licenses for users and groups; License Administrator handles assignment and licensing operations while avoiding global administration of every tenant setting; b calls for a different mechanism to perform the broadest tenant directory configuration and role-management duties; User Administrator directory role instead supports the action to delegate creation and management of ordinary Entra user and group accounts; This Microsoft Entra role manages directory identity objects; it does not grant Contributor rights to Azure virtual machines.

Question 418

A VM is in RG-Prod in subscription Sub-One. DevOps has Reader on Sub-One and Contributor on RG-Test, but not on RG-Prod. The administrator plans a VM resize in RG-Prod. What additional assignment best matches least privilege?

  1. Owner on RG-Prod
  2. Reader on RG-Prod
  3. Contributor on Sub-One
  4. Contributor on the target VM resource

Explanation

Correct Answer

D:

A Contributor assignment on the specific VM enables supported VM management writes without adding broader access to other RG-Prod resources. Its scope is the narrowest listed that meets the requirement.

Incorrect Answers

A:

Owner is broader than needed and adds role-assignment powers at resource-group scope. The scenario does not require delegating permissions or managing sibling resources.

B:

Reader allows viewing VM configuration but cannot perform a size-changing resource write. The existing subscription Reader already provides comparable observation rights.

C:

Subscription Contributor would also authorize the resize but grant writes across many unrelated resource groups. It violates the stated least-privilege preference.

Question 419

A build team needs repeatable operating-system image and deployment processes. Before closing the task, the administrator must capture a reusable VM image in Azure for deploying compatible new VMs. Which selection is appropriate?

  1. Azure Compute Gallery
  2. Azure Marketplace image
  3. TXT domain verification record
  4. Managed image

Explanation

Correct Answer

D:

The requested operation is to capture a reusable VM image in Azure for deploying compatible new VMs; Managed image provides this functionality: A managed image records an image artifact used for provisioning; unlike a disk snapshot it captures supported VM image semantics.

Incorrect Answers

A:

The proposed Azure Compute Gallery addresses the separate function to share and version managed VM images across supported regions and subscriptions; Compute Gallery organizes image definitions and versions for repeatable deployment and replication; it is not a VMSS autoscale policy, which does not meet the stated need to capture a reusable VM image in Azure for deploying compatible new VMs.

B:

Azure Marketplace image would be used to deploy a maintained publisher-provided operating-system image rather than a custom corporate image; Marketplace images provide published OS or appliance images with version and licensing considerations; they are not organization-built image galleries, but the question asks how to capture a reusable VM image in Azure for deploying compatible new VMs.

C:

TXT domain verification record serves to prove control of a custom domain to App Service before binding it, whereas this case requires the action to capture a reusable VM image in Azure for deploying compatible new VMs; The verification TXT record helps prevent domain takeover by proving ownership; it does not route HTTP requests itself.

Question 420

A large tenant has a nonstandard least-privilege permission requirement. A production change must grant a narrowly defined set of read-only management-plane operations. What is the appropriate control or resource?

  1. Tag-specific resource inventory
  2. Built-in Reader role
  3. Role assignment at resource scope
  4. Azure custom role definition

Explanation

Correct Answer

B:

The stated need is to grant a narrowly defined set of read-only management-plane operations, so the applicable mechanism is Built-in Reader role: Reader is a predefined Azure RBAC role; no custom definition is necessary for straightforward resource viewing.

Incorrect Answers

A:

For the target required to grant a narrowly defined set of read-only management-plane operations, Tag-specific resource inventory is the wrong control: it is used to query which deployed resources carry a particular classification value; Azure Resource Graph and supported resource queries can filter on tags, helping inventory without modifying the resources.

C:

Role assignment at resource scope would be used to keep an otherwise valid role from affecting sibling resources in the same resource group; Limiting assignment scope narrows where granted actions apply; changing scope does not modify the underlying role definition, but the question asks how to grant a narrowly defined set of read-only management-plane operations.

D:

Azure custom role definition serves to create an Azure management role with a deliberately chosen set of permitted actions, whereas this case requires the action to grant a narrowly defined set of read-only management-plane operations; Custom role definitions specify actions and assignable scopes; they still need assignments to principals before granting permissions.

Microsoft Azure Administrator (AZ-104) Practice Tests