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

Question 520

A virtualization team is clarifying where guest data should be stored. At the same review, one workload is required to store disposable scratch data that does not need to survive host maintenance or redeployment; another must capture a point-in-time copy of a managed disk for recovery or cloning. Which feature allocation is correct?

  1. A uses Managed disk snapshot, whereas B uses Temporary disk.
  2. A uses Temporary disk, whereas B uses Managed disk snapshot.
  3. A uses Managed OS disk, whereas B uses Temporary disk.
  4. A uses Managed disk snapshot, whereas B uses Managed data disk.
  5. A uses Managed data disk, whereas B uses Managed disk snapshot.
  6. A uses Temporary disk, whereas B uses Managed OS disk.

Explanation

Correct Answer

B:

For A, the selected Temporary disk achieves the stated result to store disposable scratch data that does not need to survive host maintenance or redeployment; Temporary storage may be lost on VM movement, redeploy or hardware events and must not contain the only copy of durable application data; for B, the selected Managed disk snapshot achieves the stated result 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:

A calls for a different mechanism to store disposable scratch data that does not need to survive host maintenance or redeployment; 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; for B, the proposed Temporary disk handles store disposable scratch data that does not need to survive host maintenance or redeployment, which is not the requested capture a point-in-time copy of a managed disk for recovery or cloning outcome; Temporary storage may be lost on VM movement, redeploy or hardware events and must not contain the only copy of durable application data.

C:

The A mapping to Managed OS disk misses the required goal to store disposable scratch data that does not need to survive host maintenance or redeployment; The OS disk contains the bootable system image and is managed separately from optional data disks and ephemeral temporary storage; it addresses hold the guest operating system and its boot volume for an Azure VM instead; for B, the proposed Temporary disk handles store disposable scratch data that does not need to survive host maintenance or redeployment, which is not the requested capture a point-in-time copy of a managed disk for recovery or cloning outcome; Temporary storage may be lost on VM movement, redeploy or hardware events and must not contain the only copy of durable application data.

D:

A: Managed disk snapshot is meant to capture a point-in-time copy of a managed disk for recovery or cloning, not to store disposable scratch data that does not need to survive host maintenance or redeployment; Snapshots preserve disk data at capture time and can be used to create disks; they are not automatic continuous application backups; for B, the proposed Managed data disk handles persist workload data on an attached Azure managed disk independent of the OS disk, which is not the requested capture a point-in-time copy of a managed disk for recovery or cloning outcome; Data disks are persistent block devices attached to VMs and should be chosen for application databases or files that must survive restarts.

E:

At A, Managed data disk is mismatched; Data disks are persistent block devices attached to VMs and should be chosen for application databases or files that must survive restarts; the requested need is to store disposable scratch data that does not need to survive host maintenance or redeployment; for B, the selected Managed disk snapshot achieves the stated result 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.

F:

The A setting is right: Temporary disk supplies the ability to store disposable scratch data that does not need to survive host maintenance or redeployment; Temporary storage may be lost on VM movement, redeploy or hardware events and must not contain the only copy of durable application data; for B, the proposed Managed OS disk handles hold the guest operating system and its boot volume for an Azure VM, which is not the requested capture a point-in-time copy of a managed disk for recovery or cloning outcome; The OS disk contains the bootable system image and is managed separately from optional data disks and ephemeral temporary storage.

Question 521

A workspace contains infrastructure log records and an analyst needs a query transformation. The runbook has two entries. Entry A says to filter rows so only records matching a specified predicate remain. Entry B says to keep or calculate a selected set of output columns from the queried data. Which proposed pair addresses both entries?

  1. On resource A use KQL summarize operator; on resource B use KQL project operator.
  2. On resource A use KQL where operator; on resource B use KQL join operator.
  3. On resource A use KQL where operator; on resource B use KQL project operator.
  4. On resource A use KQL project operator; on resource B use KQL where operator.

Explanation

Correct Answer

C:

For A, the selected KQL where operator achieves the stated result to filter rows so only records matching a specified predicate remain; Where filters the input result set by a Boolean expression before later aggregation or projection; the B choice, KQL project operator, fits the configured outcome; Project shapes the columns returned by a query without computing group-level aggregate statistics by itself.

Incorrect Answers

A:

The A selection is incorrect for the need to filter rows so only records matching a specified predicate remain: KQL summarize operator serves to aggregate rows into counts, averages or other measures by group; Summarize groups records and computes aggregate expressions, unlike a simple row-by-row filter; for B, the selected KQL project operator achieves the stated result to keep or calculate a selected set of output columns from the queried data; Project shapes the columns returned by a query without computing group-level aggregate statistics by itself.

B:

A is correctly mapped to KQL where operator; Where filters the input result set by a Boolean expression before later aggregation or projection; the B mapping to KQL join operator misses the required goal to keep or calculate a selected set of output columns from the queried data; Join correlates rows from two tables or result sets using a specified join kind and condition; it addresses combine related records from two KQL tabular inputs based on matching keys instead.

D:

The A mapping to KQL project operator misses the required goal to filter rows so only records matching a specified predicate remain; Project shapes the columns returned by a query without computing group-level aggregate statistics by itself; it addresses keep or calculate a selected set of output columns from the queried data instead; the B mapping to KQL where operator misses the required goal to keep or calculate a selected set of output columns from the queried data; Where filters the input result set by a Boolean expression before later aggregation or projection; it addresses filter rows so only records matching a specified predicate remain instead.

Question 522

A systems administrator is designing virtual machine availability across failures. The operational requirement is to manage multiple related VM instances with coordinated provisioning and optional autoscale. What is the most direct configuration?

  1. Custom Script Extension
  2. Availability zone placement
  3. Availability set placement
  4. Virtual Machine Scale Set

Explanation

Correct Answer

D:

The stated need is to manage multiple related VM instances with coordinated provisioning and optional autoscale, so the applicable mechanism is Virtual Machine Scale Set: Scale sets simplify homogeneous or flexible instance fleet operations; they are not a substitute for backup of application data.

Incorrect Answers

A:

The request to manage multiple related VM instances with coordinated provisioning and optional autoscale is not fulfilled by Custom Script Extension; its intended role is to download and execute an initialization script through a supported Azure VM extension: Custom Script Extension runs a specified command or script under the guest extension framework and can apply configuration postdeployment.

B:

Availability zone placement is designed to spread supported VMs across physically separate zones in one region, not to manage multiple related VM instances with coordinated provisioning and optional autoscale in this case; Availability zones isolate datacenter failure domains and can protect distributed workloads from a single zone failure.

C:

For the target required to manage multiple related VM instances with coordinated provisioning and optional autoscale, Availability set placement is the wrong control: it is used to place VMs across fault and update domains within a datacenter-level availability arrangement; Availability sets separate fault and planned maintenance domains but do not distribute machines across geographic regions.

Question 523

A template reviewer wants to understand which construct controls a deployment behavior. A change board is assessing two scopes of work. On the first, engineers will return a computed value or resource identifier when the deployment completes. On the second, they will specify an Azure resource type, API version, properties and deployment scope. Which selection is valid?

  1. On resource A use Template parameter; on resource B use Resource declaration.
  2. On resource A use Resource declaration; on resource B use Template output.
  3. On resource A use Template output; on resource B use Resource declaration.
  4. On resource A use Template output; on resource B use Template variable.

Explanation

Correct Answer

C:

A: Template output meets the requirement to return a computed value or resource identifier when the deployment completes; Outputs expose selected deployment results to automation and other steps; they do not provision resources by themselves; at B, Resource declaration is appropriate; The resources section describes what ARM should create or update; outputs and variables alone cannot instantiate the resource.

Incorrect Answers

A:

For A, the proposed Template parameter handles accept a value supplied by the deployment caller at execution time, which is not the requested return a computed value or resource identifier when the deployment completes outcome; Parameters externalize deployment-specific inputs such as location or naming, allowing one template to serve several environments; b: Resource declaration meets the requirement to specify an Azure resource type, API version, properties and deployment scope; The resources section describes what ARM should create or update; outputs and variables alone cannot instantiate the resource.

B:

The A mapping to Resource declaration misses the required goal to return a computed value or resource identifier when the deployment completes; The resources section describes what ARM should create or update; outputs and variables alone cannot instantiate the resource; it addresses specify an Azure resource type, API version, properties and deployment scope instead; at B, Template output is mismatched; Outputs expose selected deployment results to automation and other steps; they do not provision resources by themselves; the requested need is to specify an Azure resource type, API version, properties and deployment scope.

D:

At A, Template output is appropriate; Outputs expose selected deployment results to automation and other steps; they do not provision resources by themselves; at B, Template variable is mismatched; Variables simplify expressions derived inside the deployment and are not values that operators must pass at deployment time; the requested need is to specify an Azure resource type, API version, properties and deployment scope.

Question 524

A storage-connected application must choose a suitable path to a managed Azure service. An operations ticket requires a solution to select the correct service subresource, such as blob or file, when creating a private link connection. Select the relevant feature.

  1. PaaS firewall rule
  2. Private endpoint subnet network policies
  3. NSG security rule priority
  4. Private endpoint target subresource

Explanation

Correct Answer

D:

Selecting Private endpoint target subresource meets the requirement to select the correct service subresource, such as blob or file, when creating a private link connection; The target subresource determines which part of a Private Link service the endpoint reaches; a blob subresource connection does not by itself cover a separate file endpoint.

Incorrect Answers

A:

PaaS firewall rule serves to allow specified networks or IP ranges to reach a service's authorized endpoint, whereas this case requires the action to select the correct service subresource, such as blob or file, when creating a private link connection; Service firewall rules limit connection sources to configured paths but do not provide client identity or private endpoint creation.

B:

The request to select the correct service subresource, such as blob or file, when creating a private link connection is not fulfilled by Private endpoint subnet network policies; its intended role is to enable supported subnet NSG or user-defined-route filtering for private endpoint traffic: Private endpoint subnet network policies govern whether NSG or UDR evaluation can apply to private endpoints; the setting does not itself add rules or routes.

C:

NSG security rule priority is designed to ensure an intended matching allow or deny rule is evaluated ahead of competing rules, not to select the correct service subresource, such as blob or file, when creating a private link connection in this case; NSGs evaluate lower numeric priorities first within a direction; the first matching rule governs the flow decision.

Question 525

A regional disaster recovery plan needs careful replication and failover testing. The team has documented a specific need: perform a coordinated cutover when the source environment can still participate. Which Azure setting addresses it?

  1. Planned failover
  2. Test failover
  3. Backup schedule
  4. Commit failover

Explanation

Correct Answer

A:

For the work item that must perform a coordinated cutover when the source environment can still participate, Planned failover is appropriate: Planned failover aims to synchronize and transition deliberately with source availability, unlike an unplanned disaster response.

Incorrect Answers

B:

For the target required to perform a coordinated cutover when the source environment can still participate, Test failover is the wrong control: it is used to validate a recovery plan without committing the production workload's actual failover; A test failover starts isolated recovery resources where configured so teams can validate without a normal production cutover.

C:

The proposed Backup schedule addresses the separate function to specify when supported backup jobs capture restore points; The schedule controls backup frequency for a protected workload and influences recovery-point objectives, which does not meet the stated need to perform a coordinated cutover when the source environment can still participate.

D:

Commit failover would be used to finalize the chosen recovery point after verifying a completed failover; Committing confirms the recovery point and removes the option to change to a different point in that failover sequence, but the question asks how to perform a coordinated cutover when the source environment can still participate.

Question 526

An Azure admin needs to control how a subnet chooses its next hop. During acceptance testing, the operator must inspect the combined routes Azure applied to a particular NIC. Identify the appropriate Azure mechanism.

  1. User-defined route
  2. BGP-propagated route
  3. Virtual network address space
  4. Effective routes view

Explanation

Correct Answer

D:

The requested operation is to inspect the combined routes Azure applied to a particular NIC; Effective routes view provides this functionality: Effective routes include applicable system, user and propagated entries for troubleshooting; viewing them does not change routing behavior.

Incorrect Answers

A:

The proposed User-defined route addresses the separate function to override selected subnet traffic with a custom prefix and next-hop target; A UDR belongs to an associated route table and can steer matching packets to a virtual appliance, gateway or other permitted next hop, which does not meet the stated need to inspect the combined routes Azure applied to a particular NIC.

B:

BGP-propagated route would be used to learn prefixes advertised from a connected gateway via BGP; BGP propagation supplies dynamic routes from network gateways; it differs from administrator-entered UDR entries, but the question asks how to inspect the combined routes Azure applied to a particular NIC.

C:

Virtual network address space serves to declare the CIDR ranges available for subnets inside one VNet, whereas this case requires the action to inspect the combined routes Azure applied to a particular NIC; 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 527

Finance wants consistent classification of Azure resource expenditure. Two operations are being approved together but applied separately. For task A the team must inspect tagged spending by category in Cost Management views; for task B it must query which deployed resources carry a particular classification value. Which configuration pair passes the review?

  1. Implement Tag-specific resource inventory on the first target and Policy-based tag inheritance on the second.
  2. Implement Cost analysis tag grouping on the first target and Apply resource tags on the second.
  3. Implement Tag-specific resource inventory on the first target and Cost analysis tag grouping on the second.
  4. Implement Cost analysis tag grouping on the first target and Tag-specific resource inventory on the second.
  5. Implement Policy-based tag inheritance on the first target and Tag-specific resource inventory on the second.

Explanation

Correct Answer

D:

A is correctly mapped to Cost analysis tag grouping; Cost analysis uses supported tag dimensions to group or filter charges; tagging alone does not stop consumption; for B, the selected Tag-specific resource inventory achieves the stated result 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.

Incorrect Answers

A:

A: Tag-specific resource inventory is meant to query which deployed resources carry a particular classification value, not to inspect tagged spending by category in Cost Management views; Azure Resource Graph and supported resource queries can filter on tags, helping inventory without modifying the resources; b calls for a different mechanism to query which deployed resources carry a particular classification value; Policy-based tag inheritance instead supports the action to 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.

B:

At A, Cost analysis tag grouping is appropriate; Cost analysis uses supported tag dimensions to group or filter charges; tagging alone does not stop consumption; b calls for a different mechanism to query which deployed resources carry a particular classification value; Apply resource tags instead supports the action to 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.

C:

The A selection is incorrect for the need to inspect tagged spending by category in Cost Management views: Tag-specific resource inventory serves 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; for B, the proposed Cost analysis tag grouping handles inspect tagged spending by category in Cost Management views, which is not the requested query which deployed resources carry a particular classification value outcome; Cost analysis uses supported tag dimensions to group or filter charges; tagging alone does not stop consumption.

E:

For A, the proposed Policy-based tag inheritance handles add or align tags on resources from a chosen parent scope through governance rules, which is not the requested inspect tagged spending by category in Cost Management views outcome; Azure Policy modify or append patterns can enforce tag conventions; ordinary resource groups do not automatically copy all tags to children; for B, the selected Tag-specific resource inventory achieves the stated result 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.

Question 528

A VM remains unreachable after a firewall change and the team must isolate layers. An administrator must distinguish two functions during deployment. Function A must find the first matching subnet or NIC allow/deny policy affecting a VM flow; function B must verify that a destination packet is not sent to a wrong gateway or blackhole. Choose their correct respective features.

  1. First target: Inspect effective routes; second target: Check NSG effective rules.
  2. First target: Validate private DNS result; second target: Inspect effective routes.
  3. First target: Check NSG effective rules; second target: Test backend health probe.
  4. First target: Check NSG effective rules; second target: Inspect effective routes.

Explanation

Correct Answer

D:

A: Check NSG effective rules meets the requirement to find the first matching subnet or NIC allow/deny policy affecting a VM flow; Effective NSG evaluation reveals whether an Azure security rule blocks a five-tuple, independently of guest OS firewall settings; the B setting is right: Inspect effective routes supplies the ability to verify that a destination packet is not sent to a wrong gateway or blackhole; Effective routes combine system, custom and gateway learned routes; a network filter allow is not proof of a valid forwarding path.

Incorrect Answers

A:

A calls for a different mechanism to find the first matching subnet or NIC allow/deny policy affecting a VM flow; Inspect effective routes instead supports the action to verify that a destination packet is not sent to a wrong gateway or blackhole; Effective routes combine system, custom and gateway learned routes; a network filter allow is not proof of a valid forwarding path; the B selection is incorrect for the need to verify that a destination packet is not sent to a wrong gateway or blackhole: Check NSG effective rules serves to find the first matching subnet or NIC allow/deny policy affecting a VM flow; Effective NSG evaluation reveals whether an Azure security rule blocks a five-tuple, independently of guest OS firewall settings.

B:

For A, the proposed Validate private DNS result handles confirm a PaaS hostname resolves to the intended private endpoint address, which is not the requested find the first matching subnet or NIC allow/deny policy affecting a VM flow outcome; DNS checks distinguish a name that selects the wrong public endpoint from a network-policy failure on the private IP; the B setting is right: Inspect effective routes supplies the ability to verify that a destination packet is not sent to a wrong gateway or blackhole; Effective routes combine system, custom and gateway learned routes; a network filter allow is not proof of a valid forwarding path.

C:

The A choice, Check NSG effective rules, fits the configured outcome; Effective NSG evaluation reveals whether an Azure security rule blocks a five-tuple, independently of guest OS firewall settings; the B selection is incorrect for the need to verify that a destination packet is not sent to a wrong gateway or blackhole: Test backend health probe serves to determine whether a load balancer has excluded the VM because a service probe failed; Probe status affects backend eligibility even when network security permits the service port and the VM is running.

Question 529

An operations team is responding to shared-key credential exposure. A change board is assessing two scopes of work. On the first, engineers will rotate one compromised account key after clients have switched to the alternate key. On the second, they will retrieve an account key for a client that explicitly requires key authentication. Which selection is valid?

  1. Implement Regenerate a storage access key on the first target and Disable Shared Key authorization on the second.
  2. Implement Regenerate a storage access key on the first target and List storage account access keys on the second.
  3. Implement Store a credential in Key Vault on the first target and List storage account access keys on the second.
  4. Implement List storage account access keys on the first target and Regenerate a storage access key on the second.
  5. Implement Store a credential in Key Vault on the first target and Disable Shared Key authorization on the second.

Explanation

Correct Answer

B:

A is correctly mapped to Regenerate a storage access key; Regenerating a key invalidates signatures using the old value; coordinated client changes prevent avoidable outages; the B choice, List storage account access keys, fits the configured outcome; Listing keys is a management-plane permission; possession of the key can authorize broad storage data operations.

Incorrect Answers

A:

The A setting is right: Regenerate a storage access key supplies the ability to rotate one compromised account key after clients have switched to the alternate key; Regenerating a key invalidates signatures using the old value; coordinated client changes prevent avoidable outages; for B, the proposed Disable Shared Key authorization handles require supported requests to use Microsoft Entra authorization instead of account keys, which is not the requested retrieve an account key for a client that explicitly requires key authentication outcome; Disabling Shared Key authorization blocks requests authorized with account keys and affected key-signed SAS, subject to service-specific constraints.

C:

For A, the proposed Store a credential in Key Vault handles centralize controlled retrieval of a storage credential used by an application, which is not the requested rotate one compromised account key after clients have switched to the alternate key outcome; Key Vault provides secret storage, access control and auditing; storing a key there does not narrow the permissions of the key itself; the B choice, List storage account access keys, fits the configured outcome; Listing keys is a management-plane permission; possession of the key can authorize broad storage data operations.

D:

The A mapping to List storage account access keys misses the required goal to rotate one compromised account key after clients have switched to the alternate key; Listing keys is a management-plane permission; possession of the key can authorize broad storage data operations; it addresses retrieve an account key for a client that explicitly requires key authentication instead; the B mapping to Regenerate a storage access key misses the required goal to retrieve an account key for a client that explicitly requires key authentication; Regenerating a key invalidates signatures using the old value; coordinated client changes prevent avoidable outages; it addresses rotate one compromised account key after clients have switched to the alternate key instead.

E:

A: Store a credential in Key Vault is meant to centralize controlled retrieval of a storage credential used by an application, not to rotate one compromised account key after clients have switched to the alternate key; Key Vault provides secret storage, access control and auditing; storing a key there does not narrow the permissions of the key itself; the B mapping to Disable Shared Key authorization misses the required goal to retrieve an account key for a client that explicitly requires key authentication; Disabling Shared Key authorization blocks requests authorized with account keys and affected key-signed SAS, subject to service-specific constraints; it addresses require supported requests to use Microsoft Entra authorization instead of account keys instead.

Question 530

A multi-tier environment needs stable private and public endpoints. An audit tests whether each operational objective has the correct control. Objective A is to retain a consistent public IP address for a supported resource across normal lifecycle changes; objective B is to expose a load-balanced service using a private IP within an Azure virtual network. Which allocation will pass?

  1. Task A → Static public IP; task B → Dynamic private IP.
  2. Task A → Dynamic private IP; task B → Internal load balancer frontend.
  3. Task A → Internal load balancer frontend; task B → Public load balancer frontend.
  4. Task A → Static public IP; task B → Internal load balancer frontend.
  5. Task A → Internal load balancer frontend; task B → Static public IP.

Explanation

Correct Answer

D:

For A, the selected Static public IP achieves the stated result to retain a consistent public IP address for a supported resource across normal lifecycle changes; Static allocation reserves the public address while the public IP resource exists, unlike a dynamically allocated address; the B setting is right: Internal load balancer frontend supplies the ability to expose a load-balanced service using a private IP within an Azure virtual network; An internal frontend routes traffic inside connected private networks; it does not expose a public internet VIP.

Incorrect Answers

A:

At A, Static public IP is appropriate; Static allocation reserves the public address while the public IP resource exists, unlike a dynamically allocated address; the B selection is incorrect for the need to expose a load-balanced service using a private IP within an Azure virtual network: Dynamic private IP serves 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.

B:

The A selection is incorrect for the need to retain a consistent public IP address for a supported resource across normal lifecycle changes: Dynamic private IP serves 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; the B setting is right: Internal load balancer frontend supplies the ability to expose a load-balanced service using a private IP within an Azure virtual network; An internal frontend routes traffic inside connected private networks; it does not expose a public internet VIP.

C:

A calls for a different mechanism to retain a consistent public IP address for a supported resource across normal lifecycle changes; Internal load balancer frontend instead supports the action to expose a load-balanced service using a private IP within an Azure virtual network; An internal frontend routes traffic inside connected private networks; it does not expose a public internet VIP; the B selection is incorrect for the need to expose a load-balanced service using a private IP within an Azure virtual network: Public load balancer frontend serves to expose a load-balanced backend through a public IP resource; A public frontend accepts eligible internet-bound traffic subject to rules and NSGs, unlike a private internal frontend.

E:

The A mapping to Internal load balancer frontend misses the required goal to retain a consistent public IP address for a supported resource across normal lifecycle changes; An internal frontend routes traffic inside connected private networks; it does not expose a public internet VIP; it addresses expose a load-balanced service using a private IP within an Azure virtual network instead; the B selection is incorrect for the need to expose a load-balanced service using a private IP within an Azure virtual network: Static public IP serves to retain a consistent public IP address for a supported resource across normal lifecycle changes; Static allocation reserves the public address while the public IP resource exists, unlike a dynamically allocated address.

Microsoft Azure Administrator (AZ-104) Practice Tests