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

Question 240

An analytics division manages blob datasets with sharply different access profiles. An administrator must distinguish two functions during deployment. Function A must store frequently read online blobs with lower access charges and higher storage charges; function B must retain online blobs read infrequently while accepting cooler-tier retrieval economics. Choose their correct respective features.

  1. First target: Cool access tier; second target: Hot access tier.
  2. First target: Hot access tier; second target: Cold access tier.
  3. First target: Hot access tier; second target: Cool access tier.
  4. First target: Cold access tier; second target: Cool access tier.

Explanation

Correct Answer

C:

The A choice, Hot access tier, fits the configured outcome; Hot is designed for active online blob data; it generally trades higher capacity cost for lower access cost than cooler tiers; for B, the selected Cool access tier achieves the stated result to retain online blobs read infrequently while accepting cooler-tier retrieval economics; Cool stays online but has lower capacity pricing and access and minimum-retention considerations compared with Hot.

Incorrect Answers

A:

A calls for a different mechanism to store frequently read online blobs with lower access charges and higher storage charges; Cool access tier instead supports the action to retain online blobs read infrequently while accepting cooler-tier retrieval economics; Cool stays online but has lower capacity pricing and access and minimum-retention considerations compared with Hot; for B, the proposed Hot access tier handles store frequently read online blobs with lower access charges and higher storage charges, which is not the requested retain online blobs read infrequently while accepting cooler-tier retrieval economics outcome; Hot is designed for active online blob data; it generally trades higher capacity cost for lower access cost than cooler tiers.

B:

For A, the selected Hot access tier achieves the stated result to store frequently read online blobs with lower access charges and higher storage charges; Hot is designed for active online blob data; it generally trades higher capacity cost for lower access cost than cooler tiers; for B, the proposed Cold access tier handles keep rarely accessed online blobs without the offline rehydration requirement of Archive, which is not the requested retain online blobs read infrequently while accepting cooler-tier retrieval economics outcome; Cold is an online tier for very infrequent access with higher retrieval and minimum-retention considerations than hotter tiers.

D:

A: Cold access tier is meant to keep rarely accessed online blobs without the offline rehydration requirement of Archive, not to store frequently read online blobs with lower access charges and higher storage charges; Cold is an online tier for very infrequent access with higher retrieval and minimum-retention considerations than hotter tiers; for B, the selected Cool access tier achieves the stated result to retain online blobs read infrequently while accepting cooler-tier retrieval economics; Cool stays online but has lower capacity pricing and access and minimum-retention considerations compared with Hot.

Question 241

A web team must respond to memory pressure and traffic spikes. After reviewing the current state, the team must increase the instance size and available resources per App Service worker. Which capability meets that need?

  1. Managed identity registry pull
  2. Move app to separate App Service plan
  3. Scale out App Service plan
  4. Scale up App Service plan

Explanation

Correct Answer

D:

To accomplish the specified task to increase the instance size and available resources per App Service worker, use Scale up App Service plan; Scale up changes the service-plan tier or SKU and worker capacity, not the number of identical workers.

Incorrect Answers

A:

Managed identity registry pull is designed to let a supported Azure workload pull a private image without a stored registry password, not to increase the instance size and available resources per App Service worker in this case; A managed identity with appropriate ACR permissions authenticates image pulls, reducing the need for embedded long-lived credentials.

B:

For the target required to increase the instance size and available resources per App Service worker, Move app to separate App Service plan is the wrong control: it is used to isolate one application's compute capacity from noisy neighboring apps; Moving a supported app to another compatible plan separates worker resources; changing the app's deployment slot would not isolate compute.

C:

The proposed Scale out App Service plan addresses the separate function to increase the number of workers serving applications in the plan; Scale out adds instances within plan limits and spreads load; all apps in that plan share the scaled capacity, which does not meet the stated need to increase the instance size and available resources per App Service worker.

Question 242

An enterprise wants predictable membership decisions for Microsoft Entra groups. An administrator must distinguish two functions during deployment. Function A must have administrators explicitly add and remove selected group members; function B must collect devices automatically using their directory device attributes. Choose their correct respective features.

  1. A uses Assigned group membership, whereas B uses Dynamic device membership rule.
  2. A uses Assigned group membership, whereas B uses Group-based license assignment.
  3. A uses Dynamic device membership rule, whereas B uses Assigned group membership.
  4. A uses Dynamic user membership rule, whereas B uses Assigned group membership.
  5. A uses Dynamic user membership rule, whereas B uses Group-based license assignment.
  6. A uses Group-based license assignment, whereas B uses Dynamic device membership rule.

Explanation

Correct Answer

A:

The A choice, Assigned group membership, fits the configured outcome; Assigned membership follows deliberate membership operations and does not automatically evaluate user attributes to change membership; the B setting is right: Dynamic device membership rule supplies the ability to collect devices automatically using their directory device attributes; A dynamic device group evaluates device records and their properties, not human user profile attributes; the membership result can be used for device-focused controls.

Incorrect Answers

B:

A: Assigned group membership meets the requirement to have administrators explicitly add and remove selected group members; Assigned membership follows deliberate membership operations and does not automatically evaluate user attributes to change membership; the B selection is incorrect for the need to collect devices automatically using their directory device attributes: Group-based license assignment serves to apply a product license to eligible users through an existing group; Group licensing maps license products and service plans to members; availability depends on sufficient licenses and eligible directory configuration.

C:

At A, Dynamic device membership rule is mismatched; A dynamic device group evaluates device records and their properties, not human user profile attributes; the membership result can be used for device-focused controls; the requested need is to have administrators explicitly add and remove selected group members; b calls for a different mechanism to collect devices automatically using their directory device attributes; Assigned group membership instead supports the action to have administrators explicitly add and remove selected group members; Assigned membership follows deliberate membership operations and does not automatically evaluate user attributes to change membership.

D:

The A selection is incorrect for the need to have administrators explicitly add and remove selected group members: Dynamic user membership rule serves to automatically enroll users according to properties such as department; A dynamic user rule evaluates user attributes and updates eligible group membership when the attributes match; the rule applies to users rather than devices; b calls for a different mechanism to collect devices automatically using their directory device attributes; Assigned group membership instead supports the action to have administrators explicitly add and remove selected group members; Assigned membership follows deliberate membership operations and does not automatically evaluate user attributes to change membership.

E:

A calls for a different mechanism to have administrators explicitly add and remove selected group members; Dynamic user membership rule instead supports the action to automatically enroll users according to properties such as department; A dynamic user rule evaluates user attributes and updates eligible group membership when the attributes match; the rule applies to users rather than devices; b calls for a different mechanism to collect devices automatically using their directory device attributes; Group-based license assignment instead supports the action to apply a product license to eligible users through an existing group; Group licensing maps license products and service plans to members; availability depends on sufficient licenses and eligible directory configuration.

F:

For A, the proposed Group-based license assignment handles apply a product license to eligible users through an existing group, which is not the requested have administrators explicitly add and remove selected group members outcome; Group licensing maps license products and service plans to members; availability depends on sufficient licenses and eligible directory configuration; b is correctly mapped to Dynamic device membership rule; A dynamic device group evaluates device records and their properties, not human user profile attributes; the membership result can be used for device-focused controls.

Question 243

A security engineer is isolating a traffic-flow failure in an Azure subnet. An operations ticket requires a solution to ensure an intended matching allow or deny rule is evaluated ahead of competing rules. Select the relevant feature.

  1. BGP-propagated route
  2. Effective security rules
  3. NSG security rule priority
  4. NSG diagnostic tool

Explanation

Correct Answer

C:

For the work item that must ensure an intended matching allow or deny rule is evaluated ahead of competing rules, NSG security rule priority is appropriate: NSGs evaluate lower numeric priorities first within a direction; the first matching rule governs the flow decision.

Incorrect Answers

A:

BGP-propagated route serves to learn prefixes advertised from a connected gateway via BGP, whereas this case requires the action to ensure an intended matching allow or deny rule is evaluated ahead of competing rules; BGP propagation supplies dynamic routes from network gateways; it differs from administrator-entered UDR entries.

B:

The request to ensure an intended matching allow or deny rule is evaluated ahead of competing rules is not fulfilled by Effective security rules; its intended role is to view aggregated NSG rules affecting a selected network interface: Effective security rules combine subnet- and NIC-level NSG behavior to show what can govern a VM traffic path.

D:

For the target required to ensure an intended matching allow or deny rule is evaluated ahead of competing rules, NSG diagnostic tool is the wrong control: it is used to identify whether an NSG rule is causing a blocked connection in a supported diagnostic workflow; NSG diagnostics analyze the rules and traffic properties to identify filtering effects; they are not a packet-routing configuration.

Question 244

An incident response team is selecting a corrective VM action with a specific scope. A change request specifies the outcome to move a VM to a different Azure host when host-specific issues are suspected. What should be used?

  1. Resize VM
  2. Redeploy VM
  3. Availability set placement
  4. Restart VM

Explanation

Correct Answer

B:

The stated need is to move a VM to a different Azure host when host-specific issues are suspected, so the applicable mechanism is Redeploy VM: Redeploy recreates host placement while preserving managed OS and data disks; temporary disk contents are not durable.

Incorrect Answers

A:

For the target required to move a VM to a different Azure host when host-specific issues are suspected, Resize VM is the wrong control: it is used to change the Azure compute size to increase or decrease available vCPU and memory; Resizing changes the VM SKU and may require deallocation or availability of capacity; it does not expand guest partitions automatically.

C:

Availability set placement would be 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, but the question asks how to move a VM to a different Azure host when host-specific issues are suspected.

D:

Restart VM serves to reboot the guest environment without intentionally changing compute SKU, whereas this case requires the action to move a VM to a different Azure host when host-specific issues are suspected; Restart initiates a power cycle of the current VM and does not address a persistent host placement or resource sizing mismatch.

Question 245

A platform observer is choosing an Azure Monitor signal for a specific question. The architect has defined distinct requirements for systems A and B. A needs to plot numeric resource performance samples at supported time grains; B needs to analyze structured records collected in a workspace using KQL. Which proposed pairing is technically aligned?

  1. Task A → Platform metric; task B → Log Analytics query.
  2. Task A → Resource log; task B → Log Analytics query.
  3. Task A → Log Analytics query; task B → Platform metric.
  4. Task A → Platform metric; task B → Azure Activity log.
  5. Task A → Log Analytics query; task B → Azure Activity log.

Explanation

Correct Answer

A:

A is correctly mapped to Platform metric; Azure Monitor metrics hold time-series measurements suitable for thresholds and near-real-time analysis; they are not the same as detailed event logs; b: Log Analytics query meets the requirement to analyze structured records collected in a workspace using KQL; Log Analytics supports queries and aggregation across log tables; it requires the relevant records to be ingested first.

Incorrect Answers

B:

For A, the proposed Resource log handles capture detailed service-emitted operational records in an eligible destination, which is not the requested plot numeric resource performance samples at supported time grains outcome; Resource logs contain supported service events or requests and usually need diagnostic settings to route data into a chosen sink; b: Log Analytics query meets the requirement to analyze structured records collected in a workspace using KQL; Log Analytics supports queries and aggregation across log tables; it requires the relevant records to be ingested first.

C:

The A mapping to Log Analytics query misses the required goal to plot numeric resource performance samples at supported time grains; Log Analytics supports queries and aggregation across log tables; it requires the relevant records to be ingested first; it addresses analyze structured records collected in a workspace using KQL instead; at B, Platform metric is mismatched; Azure Monitor metrics hold time-series measurements suitable for thresholds and near-real-time analysis; they are not the same as detailed event logs; the requested need is to analyze structured records collected in a workspace using KQL.

D:

A: Platform metric meets the requirement to plot numeric resource performance samples at supported time grains; Azure Monitor metrics hold time-series measurements suitable for thresholds and near-real-time analysis; they are not the same as detailed event logs; at B, Azure Activity log is mismatched; The Activity log records Azure Resource Manager events such as resource writes and policy outcomes, not every guest application event; the requested need is to analyze structured records collected in a workspace using KQL.

E:

At A, Log Analytics query is mismatched; Log Analytics supports queries and aggregation across log tables; it requires the relevant records to be ingested first; the requested need is to plot numeric resource performance samples at supported time grains; at B, Azure Activity log is mismatched; The Activity log records Azure Resource Manager events such as resource writes and policy outcomes, not every guest application event; the requested need is to analyze structured records collected in a workspace using KQL.

Question 246

A security engineer is isolating a traffic-flow failure in an Azure subnet. Which of the listed choices would allow the operator to test whether Azure NSG rules would allow or deny a specified five-tuple for a VM?

  1. IP flow verify
  2. Effective security rules
  3. NSG security rule priority
  4. NAT Gateway

Explanation

Correct Answer

A:

To accomplish the specified task to test whether Azure NSG rules would allow or deny a specified five-tuple for a VM, use IP flow verify; IP flow verify reports the matching security rule decision for the supplied direction and connection values.

Incorrect Answers

B:

Effective security rules serves to view aggregated NSG rules affecting a selected network interface, whereas this case requires the action to test whether Azure NSG rules would allow or deny a specified five-tuple for a VM; Effective security rules combine subnet- and NIC-level NSG behavior to show what can govern a VM traffic path.

C:

The request to test whether Azure NSG rules would allow or deny a specified five-tuple for a VM is not fulfilled by NSG security rule priority; its intended role is to ensure an intended matching allow or deny rule is evaluated ahead of competing rules: NSGs evaluate lower numeric priorities first within a direction; the first matching rule governs the flow decision.

D:

NAT Gateway is designed to provide managed outbound source NAT for subnet resources without assigning each VM a public IP, not to test whether Azure NSG rules would allow or deny a specified five-tuple for a VM in this case; NAT Gateway associates with subnets and supplies outbound public IPs; it does not enable unsolicited inbound internet connections.

Question 247

A policy assignment uses the Audit effect for a prohibited resource SKU. An authorized user deploys a resource with that SKU and no other policies or locks block it. What outcome should the operator expect?

  1. The assignment grants the operator Owner permissions
  2. A remediation task automatically deletes the resource
  3. The request is rejected at deployment by Audit
  4. Deployment succeeds but the resource is reported noncompliant

Explanation

Correct Answer

D:

Audit evaluates the condition and records a noncompliant result while allowing the resource operation to proceed. It is appropriate for visibility before adopting a preventive Deny rule.

Incorrect Answers

A:

Policy determines allowed resource conditions; it does not issue Azure RBAC role assignments to the deploying user. Owner is a separate authorization decision.

B:

Audit alone does not delete or automatically repair a resource. Remediation requires supported policy effects and additional configuration, not merely an audit record.

C:

Blocking a noncompliant request is the behavior of Deny, not Audit. The stem excludes another control that might independently reject the request.

Question 248

A web application needs deployment safety without a long maintenance outage. To close separate operations tickets, the operator must first exchange configured source and target deployment slots to promote tested code and, on another resource, keep an environment-specific application setting with its slot during swap. Which implementation plan satisfies both?

  1. Implement Sticky slot setting on the first target and Slot swap on the second.
  2. Implement Slot swap on the first target and Sticky slot setting on the second.
  3. Implement Slot swap on the first target and Deployment slot on the second.
  4. Implement Slot swap on the first target and Traffic routing to a slot on the second.
  5. Implement Deployment slot on the first target and Traffic routing to a slot on the second.

Explanation

Correct Answer

B:

The A choice, Slot swap, fits the configured outcome; A swap exchanges applicable content and configuration while respecting designated slot-specific settings; at B, Sticky slot setting is appropriate; Deployment-slot settings are marked sticky so secrets or endpoint values remain associated with their intended slot.

Incorrect Answers

A:

For A, the proposed Sticky slot setting handles keep an environment-specific application setting with its slot during swap, which is not the requested exchange configured source and target deployment slots to promote tested code outcome; Deployment-slot settings are marked sticky so secrets or endpoint values remain associated with their intended slot; b: Slot swap is meant to exchange configured source and target deployment slots to promote tested code, not to keep an environment-specific application setting with its slot during swap; A swap exchanges applicable content and configuration while respecting designated slot-specific settings.

C:

A: Slot swap meets the requirement to exchange configured source and target deployment slots to promote tested code; A swap exchanges applicable content and configuration while respecting designated slot-specific settings; at B, Deployment slot is mismatched; Slots run in the same plan and let teams validate a version before swapping it into production, in eligible tiers; the requested need is to keep an environment-specific application setting with its slot during swap.

D:

At A, Slot swap is appropriate; A swap exchanges applicable content and configuration while respecting designated slot-specific settings; at B, Traffic routing to a slot is mismatched; Routing percentages enable controlled validation of a candidate release without a full production swap; the requested need is to keep an environment-specific application setting with its slot during swap.

E:

The A selection is incorrect for the need to exchange configured source and target deployment slots to promote tested code: Deployment slot serves to create an additional live App Service deployment endpoint for staging releases; Slots run in the same plan and let teams validate a version before swapping it into production, in eligible tiers; at B, Traffic routing to a slot is mismatched; Routing percentages enable controlled validation of a candidate release without a full production swap; the requested need is to keep an environment-specific application setting with its slot during swap.

Question 249

A monitoring team must reduce noise and automate responses. After reviewing the current state, the team must build an interactive visual investigation of metrics and logs for operators. Which capability meets that need?

  1. File recovery from VM backup
  2. Azure Monitor workbook
  3. Automation runbook receiver
  4. Alert processing rule

Explanation

Correct Answer

B:

Selecting Azure Monitor workbook meets the requirement 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.

Incorrect Answers

A:

File recovery from VM backup is designed to retrieve selected guest files without restoring the entire VM, not to build an interactive visual investigation of metrics and logs for operators in this case; File recovery mounts or exposes a backup recovery point through supported workflows, reducing unnecessary full-machine restoration.

C:

The proposed Automation runbook receiver addresses the separate function 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, which does not meet the stated need to build an interactive visual investigation of metrics and logs for operators.

D:

Alert processing rule would be used to suppress or augment alert notifications for selected alerts and schedules; Alert processing rules modify alert handling behavior and can mute actions without disabling the underlying alert rule, but the question asks how to build an interactive visual investigation of metrics and logs for operators.

Question 250

An Azure administrator is planning point-in-time recovery for critical data. Two design notes describe different behaviors: A should decide how long backup recovery points are preserved under supported rules; B should capture an additional supported restore point outside the routine backup schedule. Which matched combination supports both behaviors?

  1. Task A → Retention policy; task B → On-demand backup.
  2. Task A → On-demand backup; task B → Retention policy.
  3. Task A → Recovery-point restore; task B → On-demand backup.
  4. Task A → Backup schedule; task B → Retention policy.
  5. Task A → Backup schedule; task B → On-demand backup.

Explanation

Correct Answer

A:

The A choice, Retention policy, fits the configured outcome; Retention controls expiry of stored recovery points; it does not determine the live VM's compute SKU; for B, the selected On-demand backup achieves the stated result to capture an additional supported restore point outside the routine backup schedule; On-demand backup allows a deliberate extra recovery point, subject to policy and vault constraints, without replacing the usual schedule.

Incorrect Answers

B:

A: On-demand backup is meant to capture an additional supported restore point outside the routine backup schedule, not to decide how long backup recovery points are preserved under supported rules; On-demand backup allows a deliberate extra recovery point, subject to policy and vault constraints, without replacing the usual schedule; for B, the proposed Retention policy handles decide how long backup recovery points are preserved under supported rules, which is not the requested capture an additional supported restore point outside the routine backup schedule outcome; Retention controls expiry of stored recovery points; it does not determine the live VM's compute SKU.

C:

At A, Recovery-point restore is mismatched; Restoring selects an existing recovery point and target configuration; it is not equivalent to merely increasing retention; the requested need is to decide how long backup recovery points are preserved under supported rules; for B, the selected On-demand backup achieves the stated result to capture an additional supported restore point outside the routine backup schedule; On-demand backup allows a deliberate extra recovery point, subject to policy and vault constraints, without replacing the usual schedule.

D:

The A selection is incorrect for the need to decide how long backup recovery points are preserved under supported rules: Backup schedule serves to specify when supported backup jobs capture restore points; The schedule controls backup frequency for a protected workload and influences recovery-point objectives; for B, the proposed Retention policy handles decide how long backup recovery points are preserved under supported rules, which is not the requested capture an additional supported restore point outside the routine backup schedule outcome; Retention controls expiry of stored recovery points; it does not determine the live VM's compute SKU.

E:

A calls for a different mechanism to decide how long backup recovery points are preserved under supported rules; Backup schedule instead supports the action to specify when supported backup jobs capture restore points; The schedule controls backup frequency for a protected workload and influences recovery-point objectives; the B choice, On-demand backup, fits the configured outcome; On-demand backup allows a deliberate extra recovery point, subject to policy and vault constraints, without replacing the usual schedule.

Microsoft Azure Administrator (AZ-104) Practice Tests