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

Question 110

An application team needs a storage-account type matched to workload behavior. The architect wants a minimal set of mechanisms for distinct targets: (1) optimize low-latency block blob workloads on premium storage hardware; (2) host Azure Files premium shares with predictable provisioned file-share performance. Select TWO matching controls.

  1. Premium page blob account
  2. General-purpose v2 account
  3. Premium block blob account
  4. Premium FileStorage account

Explanation

Correct Answers

C:

Premium block blob account is included because it can optimize low-latency block blob workloads on premium storage hardware; BlockBlobStorage is a premium account kind focused on block blob workloads, not general queues or SMB file shares, which fits one of the stated operational goals.

D:

Premium FileStorage account is included because it can host Azure Files premium shares with predictable provisioned file-share performance; FileStorage is designed for premium Azure file shares; it is not the same account kind as premium block blob storage, which fits one of the stated operational goals.

Incorrect Answers

A:

Premium page blob account would instead support workloads that require premium page blob characteristics; Premium page blob storage is tailored to page blob performance behavior, distinct from general-purpose blob access tiers, which is unrelated to the listed objectives for this item.

B:

General-purpose v2 account would instead support standard general storage services and access tiers in one broadly compatible account; Standard GPv2 supports blobs, files, queues and tables with applicable redundancy and tier options; it is the general default for many workloads, which is unrelated to the listed objectives for this item.

Question 111

A maintenance team is running isolated containers through the Azure portal. The operational requirement is to choose whether a container group restarts after its process exits. What is the most direct configuration?

  1. ACI restart policy
  2. Traffic routing to a slot
  3. ACI container group
  4. ACI environment variable

Explanation

Correct Answer

A:

The requested operation is to choose whether a container group restarts after its process exits; ACI restart policy provides this functionality: Restart policies such as Always, OnFailure and Never control job lifecycle, not image repository authorization.

Incorrect Answers

B:

Traffic routing to a slot is designed to send a selected fraction of production traffic to a nonproduction deployment slot, not to choose whether a container group restarts after its process exits in this case; Routing percentages enable controlled validation of a candidate release without a full production swap.

C:

For the target required to choose whether a container group restarts after its process exits, ACI container group is the wrong control: it is used to deploy one or more containers that share lifecycle and network resources; A container group is the top-level ACI scheduling unit; containers in it can share an IP address and mounted volumes.

D:

The proposed ACI environment variable addresses the separate function to pass supported nonsecret configuration values into a container process at start; Environment variables configure application behavior at runtime; secret values require appropriate secure handling, which does not meet the stated need to choose whether a container group restarts after its process exits.

Question 112

An Owner attempts to update a critical storage account but receives an authorization-related error. A ReadOnly resource lock is inherited from its resource group. Which change is required before an ordinary management-plane update can proceed?

  1. Have an appropriately authorized administrator remove the ReadOnly lock
  2. Add a Reader role assignment at subscription scope
  3. Change the storage account's blob access tier
  4. Grant the user Contributor on the storage account

Explanation

Correct Answer

A:

A ReadOnly lock blocks management-plane write and delete operations independently of RBAC grants. Someone with the necessary lock-management privilege must change or remove that lock before performing the update.

Incorrect Answers

B:

Reader adds viewing rights and does not alter the inherited ReadOnly lock. It cannot turn a blocked management write into an allowed operation.

C:

Blob tiering changes the storage behavior of eligible objects and does not remove a resource-group ReadOnly lock. It also may itself require a blocked management operation depending on the workflow.

D:

Owner already includes Contributor-like resource actions. Adding Contributor cannot override a lock, because RBAC grants and management locks are evaluated as different controls.

Question 113

An enterprise is documenting where a route sends matching network packets. The architect has defined distinct requirements for systems A and B. A needs to direct matching public-destination traffic toward the Azure internet egress path; B needs to drop traffic matching a route prefix intentionally. Which proposed pairing is technically aligned?

  1. Task A → Virtual appliance next hop; task B → Internet next hop.
  2. Task A → Virtual appliance next hop; task B → None next hop.
  3. Task A → Virtual network gateway next hop; task B → None next hop.
  4. Task A → None next hop; task B → Internet next hop.
  5. Task A → Internet next hop; task B → None next hop.

Explanation

Correct Answer

E:

At A, Internet next hop is appropriate; 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 choice, None next hop, fits the configured outcome; The None next hop prevents delivery of matching packets; it is useful for blackholing and is not a firewall allow rule.

Incorrect Answers

A:

A calls for a different mechanism to direct matching public-destination traffic toward the Azure internet egress path; Virtual appliance next hop instead supports the action to send matching traffic to an NVA IP for inspection or forwarding; A virtual-appliance UDR directs packets to a specified IP; that appliance must itself be configured to forward and permit traffic; the B mapping to Internet next hop misses the required goal to drop traffic matching a route prefix intentionally; The Internet next hop is for external destinations, subject to NAT and security controls; it is not a path to a private endpoint; it addresses direct matching public-destination traffic toward the Azure internet egress path instead.

B:

For A, the proposed Virtual appliance next hop handles send matching traffic to an NVA IP for inspection or forwarding, which is not the requested direct matching public-destination traffic toward the Azure internet egress path outcome; A virtual-appliance UDR directs packets to a specified IP; that appliance must itself be configured to forward and permit traffic; the B choice, None next hop, fits the configured outcome; The None next hop prevents delivery of matching packets; it is useful for blackholing and is not a firewall allow rule.

C:

The A 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; the B choice, None next hop, fits the configured outcome; The None next hop prevents delivery of matching packets; it is useful for blackholing and is not a firewall allow rule.

D:

A: None next hop is meant to drop traffic matching a route prefix intentionally, not 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; the B mapping to Internet next hop misses the required goal to drop traffic matching a route prefix intentionally; The Internet next hop is for external destinations, subject to NAT and security controls; it is not a path to a private endpoint; it addresses direct matching public-destination traffic toward the Azure internet egress path instead.

Question 114

A virtualization team is clarifying where guest data should be stored. The runbook has two entries. Entry A says to hold the guest operating system and its boot volume for an Azure VM. Entry B says to capture a point-in-time copy of a managed disk for recovery or cloning. Which proposed pair addresses both entries?

  1. On resource A use Managed data disk; on resource B use Managed disk snapshot.
  2. On resource A use Managed disk snapshot; on resource B use Managed OS disk.
  3. On resource A use Temporary disk; on resource B use Managed disk snapshot.
  4. On resource A use Managed OS disk; on resource B use Managed disk snapshot.

Explanation

Correct Answer

D:

The A choice, Managed OS disk, fits the configured outcome; The OS disk contains the bootable system image and is managed separately from optional data disks and ephemeral temporary storage; the B setting is right: Managed disk snapshot supplies the ability to capture a point-in-time copy of a managed disk for recovery or cloning; Snapshots preserve disk data at capture time and can be used to create disks; they are not automatic continuous application backups.

Incorrect Answers

A:

The A selection is incorrect for the need to hold the guest operating system and its boot volume for an Azure VM: Managed data disk serves to persist workload data on an attached Azure managed disk independent of the OS disk; Data disks are persistent block devices attached to VMs and should be chosen for application databases or files that must survive restarts; the B setting is right: Managed disk snapshot supplies the ability to capture a point-in-time copy of a managed disk for recovery or cloning; Snapshots preserve disk data at capture time and can be used to create disks; they are not automatic continuous application backups.

B:

A calls for a different mechanism to hold the guest operating system and its boot volume for an Azure VM; Managed disk snapshot instead supports the action to capture a point-in-time copy of a managed disk for recovery or cloning; Snapshots preserve disk data at capture time and can be used to create disks; they are not automatic continuous application backups; the B selection is incorrect for the need to capture a point-in-time copy of a managed disk for recovery or cloning: Managed OS disk serves to hold the guest operating system and its boot volume for an Azure VM; The OS disk contains the bootable system image and is managed separately from optional data disks and ephemeral temporary storage.

C:

For A, the proposed Temporary disk handles store disposable scratch data that does not need to survive host maintenance or redeployment, which is not the requested hold the guest operating system and its boot volume for an Azure VM outcome; Temporary storage may be lost on VM movement, redeploy or hardware events and must not contain the only copy of durable application data; the B setting is right: Managed disk snapshot supplies the ability to capture a point-in-time copy of a managed disk for recovery or cloning; Snapshots preserve disk data at capture time and can be used to create disks; they are not automatic continuous application backups.

Question 115

A build pipeline manages confidential images and deployment credentials. The deployment checklist assigns one action to resource A and another to resource B: let a supported Azure workload pull a private image without a stored registry password; identify a named version or variant of a repository image for deployment. Which mapping should be used?

  1. Implement Managed identity registry pull on the first target and ACR Tasks on the second.
  2. Implement Managed identity registry pull on the first target and Image tag on the second.
  3. Implement Azure Container Registry on the first target and Managed identity registry pull on the second.
  4. Implement ACR Tasks on the first target and Image tag on the second.
  5. Implement Image tag on the first target and Managed identity registry pull on the second.

Explanation

Correct Answer

B:

A is correctly mapped to Managed identity registry pull; A managed identity with appropriate ACR permissions authenticates image pulls, reducing the need for embedded long-lived credentials; the B choice, Image tag, fits the configured outcome; Tags point to image manifests and may be mutable; use immutable digests where strict artifact identity is required.

Incorrect Answers

A:

The A setting is right: Managed identity registry pull supplies the ability to let a supported Azure workload pull a private image without a stored registry password; A managed identity with appropriate ACR permissions authenticates image pulls, reducing the need for embedded long-lived credentials; for B, the proposed ACR Tasks handles build or update container images in managed registry workflows, which is not the requested identify a named version or variant of a repository image for deployment outcome; ACR Tasks can run image builds and supported triggers; registering an image is distinct from deploying a runtime instance.

C:

For A, the proposed Azure Container Registry handles host private OCI and Docker-compatible container images for Azure deployments, which is not the requested let a supported Azure workload pull a private image without a stored registry password outcome; ACR supplies a managed image repository with authentication and access control; it does not run the image as a compute workload; the B mapping to Managed identity registry pull misses the required goal to identify a named version or variant of a repository image for deployment; A managed identity with appropriate ACR permissions authenticates image pulls, reducing the need for embedded long-lived credentials; it addresses let a supported Azure workload pull a private image without a stored registry password instead.

D:

The A mapping to ACR Tasks misses the required goal to let a supported Azure workload pull a private image without a stored registry password; ACR Tasks can run image builds and supported triggers; registering an image is distinct from deploying a runtime instance; it addresses build or update container images in managed registry workflows instead; the B choice, Image tag, fits the configured outcome; Tags point to image manifests and may be mutable; use immutable digests where strict artifact identity is required.

E:

A: Image tag is meant to identify a named version or variant of a repository image for deployment, not to let a supported Azure workload pull a private image without a stored registry password; Tags point to image manifests and may be mutable; use immutable digests where strict artifact identity is required; the B mapping to Managed identity registry pull misses the required goal to identify a named version or variant of a repository image for deployment; A managed identity with appropriate ACR permissions authenticates image pulls, reducing the need for embedded long-lived credentials; it addresses let a supported Azure workload pull a private image without a stored registry password instead.

Question 116

Finance wants consistent classification of Azure resource expenditure. During requirements review, the targets are expected to (1) add or align tags on resources from a chosen parent scope through governance rules; (2) inspect tagged spending by category in Cost Management views; (3) query which deployed resources carry a particular classification value. Which listed mechanisms map to those targets? Choose THREE.

  1. Tag-specific resource inventory
  2. Cost analysis tag grouping
  3. Apply resource tags
  4. Policy-based tag inheritance

Explanation

Correct Answers

A:

The stated condition to query which deployed resources carry a particular classification value calls for Tag-specific resource inventory; Azure Resource Graph and supported resource queries can filter on tags, helping inventory without modifying the resources, directly addressing that individual target.

B:

Cost analysis tag grouping is needed for the specified objective to inspect tagged spending by category in Cost Management views; Cost analysis uses supported tag dimensions to group or filter charges; tagging alone does not stop consumption, making it one of the requested controls.

D:

Policy-based tag inheritance is included because it can add or align tags on resources from a chosen parent scope through governance rules; Azure Policy modify or append patterns can enforce tag conventions; ordinary resource groups do not automatically copy all tags to children, which fits one of the stated operational goals.

Incorrect Answers

C:

Apply resource tags would instead attach environment and cost-center metadata to an individual resource; Resource tags are key-value metadata for organization and cost reporting; adding tags does not change the resource's access controls, which is unrelated to the listed objectives for this item.

Question 117

An automation VM needs controlled network and Azure API access. An operations ticket requires a solution to attach existing traffic-filtering rules to the correct VM subnet or network interface. Select the relevant feature.

  1. VM system-assigned managed identity
  2. Restart VM
  3. NSG association to subnet or NIC
  4. Public IP resource

Explanation

Correct Answer

C:

For the work item that must attach existing traffic-filtering rules to the correct VM subnet or network interface, NSG association to subnet or NIC is appropriate: Associating a network security group with a subnet or NIC causes its defined security rules to be evaluated for eligible traffic; creating an unattached NSG does not enforce those rules on a VM.

Incorrect Answers

A:

VM system-assigned managed identity serves to obtain Azure tokens for the VM application without embedding a password in code, whereas this case requires the action to attach existing traffic-filtering rules to the correct VM subnet or network interface; A system-assigned identity is associated with the VM lifecycle and still needs separate Azure RBAC role grants for target resources.

B:

The request to attach existing traffic-filtering rules to the correct VM subnet or network interface is not fulfilled by Restart VM; its intended role is to reboot the guest environment without intentionally changing compute SKU: Restart initiates a power cycle of the current VM and does not address a persistent host placement or resource sizing mismatch.

D:

For the target required to attach existing traffic-filtering rules to the correct VM subnet or network interface, Public IP resource is the wrong control: it is used to offer a direct internet-routable address to a VM network interface where allowed; A public IP makes an externally addressable path possible; it does not replace NSG allow rules or secure administration methods.

Question 118

An administrator needs specific Azure virtual machine operational visibility. A change board is assessing two scopes of work. On the first, engineers will inspect VM performance, processes and dependency telemetry through Azure Monitor. On the second, they will identify Azure platform availability problems affecting an individual VM while separating them from guest failures. Which selection is valid?

  1. On resource A use VM Insights; on resource B use Boot diagnostics.
  2. On resource A use VM Insights; on resource B use VM Resource Health.
  3. On resource A use VM Insights; on resource B use Serial Console.
  4. On resource A use VM Resource Health; on resource B use VM Insights.

Explanation

Correct Answer

B:

The A choice, VM Insights, fits the configured outcome; VM Insights aggregates guest and infrastructure monitoring after required agent/data collection setup; it does not automatically resize a VM; the B choice, VM Resource Health, fits the configured outcome; Resource Health reports current and historical platform availability for supported VMs; it complements rather than replaces guest OS diagnostics.

Incorrect Answers

A:

For A, the selected VM Insights achieves the stated result to inspect VM performance, processes and dependency telemetry through Azure Monitor; VM Insights aggregates guest and infrastructure monitoring after required agent/data collection setup; it does not automatically resize a VM; the B mapping to Boot diagnostics misses the required goal to identify Azure platform availability problems affecting an individual VM while separating them from guest failures; Boot diagnostics can reveal startup issues when ordinary guest connectivity is not working; it does not change guest firewall rules; it addresses capture VM console screenshots and serial output during boot failures instead.

C:

A: VM Insights meets the requirement to inspect VM performance, processes and dependency telemetry through Azure Monitor; VM Insights aggregates guest and infrastructure monitoring after required agent/data collection setup; it does not automatically resize a VM; the B mapping to Serial Console misses the required goal to identify Azure platform availability problems affecting an individual VM while separating them from guest failures; Serial Console provides a console-level troubleshooting channel for eligible VMs without relying on inbound SSH or RDP; it addresses access supported VM text console diagnostics when network logon is unavailable instead.

D:

At A, VM Resource Health is mismatched; Resource Health reports current and historical platform availability for supported VMs; it complements rather than replaces guest OS diagnostics; the requested need is to inspect VM performance, processes and dependency telemetry through Azure Monitor; the B mapping to VM Insights misses the required goal to identify Azure platform availability problems affecting an individual VM while separating them from guest failures; VM Insights aggregates guest and infrastructure monitoring after required agent/data collection setup; it does not automatically resize a VM; it addresses inspect VM performance, processes and dependency telemetry through Azure Monitor instead.

Question 119

A network engineer is drafting an Azure address-space and subnet plan. The operations review lists separate service outcomes, with A required to allocate a nonoverlapping range of VNet IPs to one subnet and B required to expand the permitted address space to include a new nonoverlapping range. Which proposed approach meets both?

  1. Task A → Subnet address prefix; task B → NIC private IP configuration.
  2. Task A → Virtual network address space; task B → NIC private IP configuration.
  3. Task A → Additional VNet address prefix; task B → Subnet address prefix.
  4. Task A → Subnet address prefix; task B → Virtual network address space.
  5. Task A → Subnet address prefix; task B → Additional VNet address prefix.

Explanation

Correct Answer

E:

At A, Subnet address prefix is appropriate; A subnet prefix must fit within the VNet's address space and not overlap sibling subnets; Azure reserves addresses in each subnet; for B, the selected Additional VNet address prefix achieves the stated result to expand the permitted address space to include a new nonoverlapping range; Adding a VNet address prefix can permit additional subnet allocations, subject to peering and connected-network overlap constraints.

Incorrect Answers

A:

A is correctly mapped to Subnet address prefix; A subnet prefix must fit within the VNet's address space and not overlap sibling subnets; Azure reserves addresses in each subnet; for B, the proposed NIC private IP configuration handles assign a specific private IP within an attached Azure subnet to a VM NIC, which is not the requested expand the permitted address space to include a new nonoverlapping range outcome; Private IP configuration belongs to the network interface and its subnet association; it is distinct from a resource's public IP.

B:

For A, the proposed Virtual network address space handles declare the CIDR ranges available for subnets inside one VNet, which is not the requested allocate a nonoverlapping range of VNet IPs to one subnet outcome; A VNet address space defines the private IP ranges from which subnets are carved; it does not by itself assign a VM's address; for B, the proposed NIC private IP configuration handles assign a specific private IP within an attached Azure subnet to a VM NIC, which is not the requested expand the permitted address space to include a new nonoverlapping range outcome; Private IP configuration belongs to the network interface and its subnet association; it is distinct from a resource's public IP.

C:

The A mapping to Additional VNet address prefix misses the required goal to allocate a nonoverlapping range of VNet IPs to one subnet; Adding a VNet address prefix can permit additional subnet allocations, subject to peering and connected-network overlap constraints; it addresses expand the permitted address space to include a new nonoverlapping range instead; for B, the proposed Subnet address prefix handles allocate a nonoverlapping range of VNet IPs to one subnet, which is not the requested expand the permitted address space to include a new nonoverlapping range outcome; A subnet prefix must fit within the VNet's address space and not overlap sibling subnets; Azure reserves addresses in each subnet.

D:

A: Subnet address prefix meets the requirement to allocate a nonoverlapping range of VNet IPs to one subnet; A subnet prefix must fit within the VNet's address space and not overlap sibling subnets; Azure reserves addresses in each subnet; for B, the proposed Virtual network address space handles declare the CIDR ranges available for subnets inside one VNet, which is not the requested expand the permitted address space to include a new nonoverlapping range outcome; A VNet address space defines the private IP ranges from which subnets are carved; it does not by itself assign a VM's address.

Question 120

Finance wants consistent classification of Azure resource expenditure. During acceptance testing, the operator must inspect tagged spending by category in Cost Management views. Identify the appropriate Azure mechanism.

  1. Tag-specific resource inventory
  2. Storage Blob Data Reader
  3. Apply resource tags
  4. Cost analysis tag grouping

Explanation

Correct Answer

D:

The requested operation is to inspect tagged spending by category in Cost Management views; Cost analysis tag grouping provides this functionality: Cost analysis uses supported tag dimensions to group or filter charges; tagging alone does not stop consumption.

Incorrect Answers

A:

The proposed Tag-specific resource inventory addresses the separate function 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, which does not meet the stated need to inspect tagged spending by category in Cost Management views.

B:

Storage Blob Data Reader would be used to allow read access to blob payloads using Microsoft Entra authorization; The Blob Data Reader role grants blob data-plane read permissions; Azure resource Reader alone does not provide the same payload access, but the question asks how to inspect tagged spending by category in Cost Management views.

C:

Apply resource tags serves to attach environment and cost-center metadata to an individual resource, whereas this case requires the action to inspect tagged spending by category in Cost Management views; Resource tags are key-value metadata for organization and cost reporting; adding tags does not change the resource's access controls.

Microsoft Azure Administrator (AZ-104) Practice Tests