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

Question 910

Networking staff are connecting private DNS records to Azure workloads. The deployment owner requests a capability to send queries for a particular namespace to a designated authoritative or recursive resolver. What satisfies the requirement?

  1. IP flow verify
  2. Private DNS VNet link
  3. DNS conditional forwarding
  4. Auto-registration VNet link

Explanation

Correct Answer

C:

The requested operation is to send queries for a particular namespace to a designated authoritative or recursive resolver; DNS conditional forwarding provides this functionality: Conditional forwarding directs queries to chosen DNS servers, supporting hybrid name resolution without turning the private zone into a public zone.

Incorrect Answers

A:

IP flow verify would be used to test whether Azure NSG rules would allow or deny a specified five-tuple for a VM; IP flow verify reports the matching security rule decision for the supplied direction and connection values, but the question asks how to send queries for a particular namespace to a designated authoritative or recursive resolver.

B:

Private DNS VNet link serves to make a private DNS zone resolvable from a selected virtual network, whereas this case requires the action to send queries for a particular namespace to a designated authoritative or recursive resolver; A VNet link enables DNS zone visibility for that network; links alone do not create service private endpoints.

D:

Auto-registration VNet link is designed to register eligible Azure VM records automatically in a linked private DNS zone, not to send queries for a particular namespace to a designated authoritative or recursive resolver in this case; Auto-registration can populate VM DNS records for a supported linked VNet; it is not used to publish public internet zones.

Question 911

An administrator is planning temporary access that may need emergency withdrawal. Change A concerns the need to limit the maximum exposure period of a narrowly scoped token; change B concerns the separate need to invalidate outstanding user-delegation SAS tokens for eligible Blob Storage access. Select the correct mapping from A and B to Azure features.

  1. Task A → Revoke user delegation keys; task B → Short SAS expiry.
  2. Task A → Delete stored access policy; task B → Short SAS expiry.
  3. Task A → Short SAS expiry; task B → Rotate signing account key.
  4. Task A → Rotate signing account key; task B → Revoke user delegation keys.
  5. Task A → Short SAS expiry; task B → Revoke user delegation keys.

Explanation

Correct Answer

E:

The A choice, Short SAS expiry, fits the configured outcome; An expiry bounds token validity without requiring a stored policy, although a leaked token remains usable until its expiry unless further action revokes it; for B, the selected Revoke user delegation keys achieves the stated result to invalidate outstanding user-delegation SAS tokens for eligible Blob Storage access; Revoking user delegation keys ends authorization derived from those keys; this is a distinct mechanism from deleting stored service-SAS policies.

Incorrect Answers

A:

At A, Revoke user delegation keys is mismatched; Revoking user delegation keys ends authorization derived from those keys; this is a distinct mechanism from deleting stored service-SAS policies; the requested need is to limit the maximum exposure period of a narrowly scoped token; b calls for a different mechanism to invalidate outstanding user-delegation SAS tokens for eligible Blob Storage access; Short SAS expiry instead supports the action to limit the maximum exposure period of a narrowly scoped token; An expiry bounds token validity without requiring a stored policy, although a leaked token remains usable until its expiry unless further action revokes it.

B:

The A selection is incorrect for the need to limit the maximum exposure period of a narrowly scoped token: Delete stored access policy serves to revoke service SAS tokens that depend on that stored policy where supported; Deleting or changing the associated stored policy invalidates its dependent service SAS authorization without rotating every account key; for B, the proposed Short SAS expiry handles limit the maximum exposure period of a narrowly scoped token, which is not the requested invalidate outstanding user-delegation SAS tokens for eligible Blob Storage access outcome; An expiry bounds token validity without requiring a stored policy, although a leaked token remains usable until its expiry unless further action revokes it.

C:

A is correctly mapped to Short SAS expiry; An expiry bounds token validity without requiring a stored policy, although a leaked token remains usable until its expiry unless further action revokes it; for B, the proposed Rotate signing account key handles invalidate SAS tokens signed by a particular compromised shared account key, which is not the requested invalidate outstanding user-delegation SAS tokens for eligible Blob Storage access outcome; Key rotation changes the signing secret and can disrupt clients using that key; it is broader than revoking one policy-bound SAS.

D:

For A, the proposed Rotate signing account key handles invalidate SAS tokens signed by a particular compromised shared account key, which is not the requested limit the maximum exposure period of a narrowly scoped token outcome; Key rotation changes the signing secret and can disrupt clients using that key; it is broader than revoking one policy-bound SAS; for B, the selected Revoke user delegation keys achieves the stated result to invalidate outstanding user-delegation SAS tokens for eligible Blob Storage access; Revoking user delegation keys ends authorization derived from those keys; this is a distinct mechanism from deleting stored service-SAS policies.

Question 912

A template reviewer wants to understand which construct controls a deployment behavior. Two operations are being approved together but applied separately. For task A the team must calculate or store an intermediate value within the template; for task B it must specify an Azure resource type, API version, properties and deployment scope. Which configuration pair passes the review?

  1. Implement Template output on the first target and Resource declaration on the second.
  2. Implement Template variable on the first target and Resource declaration on the second.
  3. Implement Template variable on the first target and Template parameter on the second.
  4. Implement Resource declaration on the first target and Template variable on the second.
  5. Implement Template parameter on the first target and Template variable on the second.

Explanation

Correct Answer

B:

At A, Template variable is appropriate; Variables simplify expressions derived inside the deployment and are not values that operators must pass at deployment time; for B, the selected Resource declaration achieves the stated result 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.

Incorrect Answers

A:

A: Template output is meant to return a computed value or resource identifier when the deployment completes, not to calculate or store an intermediate value within the template; Outputs expose selected deployment results to automation and other steps; they do not provision resources by themselves; for B, the selected Resource declaration achieves the stated result 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.

C:

The A setting is right: Template variable supplies the ability to calculate or store an intermediate value within the template; Variables simplify expressions derived inside the deployment and are not values that operators must pass at deployment time; for B, the proposed Template parameter handles accept a value supplied by the deployment caller at execution time, which is not the requested specify an Azure resource type, API version, properties and deployment scope outcome; Parameters externalize deployment-specific inputs such as location or naming, allowing one template to serve several environments.

D:

A calls for a different mechanism to calculate or store an intermediate value within the template; Resource declaration instead supports the action 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; the B mapping to Template variable misses the required goal to specify an Azure resource type, API version, properties and deployment scope; Variables simplify expressions derived inside the deployment and are not values that operators must pass at deployment time; it addresses calculate or store an intermediate value within the template instead.

E:

For A, the proposed Template parameter handles accept a value supplied by the deployment caller at execution time, which is not the requested calculate or store an intermediate value within the template outcome; Parameters externalize deployment-specific inputs such as location or naming, allowing one template to serve several environments; the B mapping to Template variable misses the required goal to specify an Azure resource type, API version, properties and deployment scope; Variables simplify expressions derived inside the deployment and are not values that operators must pass at deployment time; it addresses calculate or store an intermediate value within the template instead.

Question 913

A production web application needs different rollback and restore options. The team is configuring two independent resources. Resource A needs to restore an earlier deployment by swapping slots back when the previous version is retained; resource B needs to restore a supported point-in-time app snapshot when the platform provides it. Which assignment of capabilities meets both goals?

  1. On resource A use Snapshot restore for App Service; on resource B use Deployment-slot rollback.
  2. On resource A use Deployment-slot rollback; on resource B use Snapshot restore for App Service.
  3. On resource A use Deployment-slot rollback; on resource B use Azure Site Recovery for VMs.
  4. On resource A use Azure Site Recovery for VMs; on resource B use Snapshot restore for App Service.

Explanation

Correct Answer

B:

At A, Deployment-slot rollback is appropriate; A rollback swap can return tested code quickly but does not constitute a historical backup of all application data; for B, the selected Snapshot restore for App Service achieves the stated result to restore a supported point-in-time app snapshot when the platform provides it; App Service snapshots can recover eligible app content from supported plans; they are separate from a user-configured backup policy.

Incorrect Answers

A:

A: Snapshot restore for App Service is meant to restore a supported point-in-time app snapshot when the platform provides it, not to restore an earlier deployment by swapping slots back when the previous version is retained; App Service snapshots can recover eligible app content from supported plans; they are separate from a user-configured backup policy; for B, the proposed Deployment-slot rollback handles restore an earlier deployment by swapping slots back when the previous version is retained, which is not the requested restore a supported point-in-time app snapshot when the platform provides it outcome; A rollback swap can return tested code quickly but does not constitute a historical backup of all application data.

C:

The A setting is right: Deployment-slot rollback supplies the ability to restore an earlier deployment by swapping slots back when the previous version is retained; A rollback swap can return tested code quickly but does not constitute a historical backup of all application data; for B, the proposed Azure Site Recovery for VMs handles replicate virtual machines for disaster recovery instead of backing up an App Service PaaS app, which is not the requested restore a supported point-in-time app snapshot when the platform provides it outcome; Site Recovery protects supported machine workloads and does not serve as the built-in App Service application backup feature.

D:

A calls for a different mechanism to restore an earlier deployment by swapping slots back when the previous version is retained; Azure Site Recovery for VMs instead supports the action to replicate virtual machines for disaster recovery instead of backing up an App Service PaaS app; Site Recovery protects supported machine workloads and does not serve as the built-in App Service application backup feature; the B choice, Snapshot restore for App Service, fits the configured outcome; App Service snapshots can recover eligible app content from supported plans; they are separate from a user-configured backup policy.

Question 914

A subnet of private VMs needs predictable internet access behavior. An audit tests whether each operational objective has the correct control. Objective A is to provide managed outbound source NAT for subnet resources without assigning each VM a public IP; objective B is to configure outbound SNAT for eligible backend instances through a public load balancer. Which allocation will pass?

  1. First target: Load Balancer outbound rule; second target: NAT Gateway.
  2. First target: NAT Gateway; second target: Azure Firewall egress.
  3. First target: Instance-level public IP; second target: Load Balancer outbound rule.
  4. First target: NAT Gateway; second target: Load Balancer outbound rule.

Explanation

Correct Answer

D:

A: NAT Gateway meets the requirement to provide managed outbound source NAT for subnet resources without assigning each VM a public IP; NAT Gateway associates with subnets and supplies outbound public IPs; it does not enable unsolicited inbound internet connections; the B choice, Load Balancer outbound rule, fits the configured outcome; An outbound rule governs outbound connectivity for the backend pool, separate from inbound load-balancing rules.

Incorrect Answers

A:

A calls for a different mechanism to provide managed outbound source NAT for subnet resources without assigning each VM a public IP; Load Balancer outbound rule instead supports the action to configure outbound SNAT for eligible backend instances through a public load balancer; An outbound rule governs outbound connectivity for the backend pool, separate from inbound load-balancing rules; the B mapping to NAT Gateway misses the required goal to configure outbound SNAT for eligible backend instances through a public load balancer; NAT Gateway associates with subnets and supplies outbound public IPs; it does not enable unsolicited inbound internet connections; it addresses provide managed outbound source NAT for subnet resources without assigning each VM a public IP instead.

B:

For A, the selected NAT Gateway achieves the stated result to provide managed outbound source NAT for subnet resources without assigning each VM a public IP; NAT Gateway associates with subnets and supplies outbound public IPs; it does not enable unsolicited inbound internet connections; the B mapping to Azure Firewall egress misses the required goal to configure outbound SNAT for eligible backend instances through a public load balancer; Azure Firewall can inspect and allow selected outbound flows when routing directs traffic to it; simply deploying it does not redirect all traffic; it addresses route private workload traffic through centralized network policy and outbound NAT instead.

C:

The A mapping to Instance-level public IP misses the required goal to provide managed outbound source NAT for subnet resources without assigning each VM a public IP; A public IP on the NIC can supply direct connectivity subject to routing and security settings, unlike shared subnet NAT; it addresses give one VM a directly associated public internet egress and ingress address instead; the B choice, Load Balancer outbound rule, fits the configured outcome; An outbound rule governs outbound connectivity for the backend pool, separate from inbound load-balancing rules.

Question 915

An infrastructure team is deciding which Azure management object performs a control. The runbook has two entries. Entry A says to label separate resources with environment or ownership metadata. Entry B says to grant an identity permissions to operate on resources at a specified scope. Which proposed pair addresses both entries?

  1. On resource A use Azure resource tag; on resource B use Resource group.
  2. On resource A use Azure resource tag; on resource B use Azure RBAC role assignment.
  3. On resource A use Azure RBAC role assignment; on resource B use Azure resource tag.
  4. On resource A use Azure Policy assignment; on resource B use Azure RBAC role assignment.

Explanation

Correct Answer

B:

A is correctly mapped to Azure resource tag; Tags provide cross-resource categorization without physically moving resources or creating a hierarchy; at B, Azure RBAC role assignment is appropriate; RBAC defines who can perform management or data actions; it does not enforce allowed resource SKUs across all identities.

Incorrect Answers

A:

The A setting is right: Azure resource tag supplies the ability to label separate resources with environment or ownership metadata; Tags provide cross-resource categorization without physically moving resources or creating a hierarchy; at B, Resource group is mismatched; A resource group logically organizes resources for deployments, RBAC and policies; it is not a network isolation boundary; the requested need is to grant an identity permissions to operate on resources at a specified scope.

C:

For A, the proposed Azure RBAC role assignment handles grant an identity permissions to operate on resources at a specified scope, which is not the requested label separate resources with environment or ownership metadata outcome; RBAC defines who can perform management or data actions; it does not enforce allowed resource SKUs across all identities; at B, Azure resource tag is mismatched; Tags provide cross-resource categorization without physically moving resources or creating a hierarchy; the requested need is to grant an identity permissions to operate on resources at a specified scope.

D:

The A mapping to Azure Policy assignment misses the required goal to label separate resources with environment or ownership metadata; Policy constrains resource state independently of who submits the operation; it is not a replacement for user authentication; it addresses restrict or assess properties of resource deployments at a governance scope instead; at B, Azure RBAC role assignment is appropriate; RBAC defines who can perform management or data actions; it does not enforce allowed resource SKUs across all identities.

Question 916

A regulated workload has explicit requirements for VM disk protection. An operations ticket requires a solution to use a supported confidential VM configuration for stronger protection of VM-specific disk keys. Select the relevant feature.

  1. Server-side encryption with platform keys
  2. Confidential VM disk encryption
  3. Disk Encryption Set with CMK
  4. Azure Resource Mover

Explanation

Correct Answer

B:

The requested operation is to use a supported confidential VM configuration for stronger protection of VM-specific disk keys; Confidential VM disk encryption provides this functionality: Confidential VM security options may protect disk-encryption keys in hardware-backed boundaries and require supported VM sizes and images.

Incorrect Answers

A:

Server-side encryption with platform keys serves to rely on Azure managed-disk encryption at rest without guest encryption configuration, whereas this case requires the action to use a supported confidential VM configuration for stronger protection of VM-specific disk keys; Managed disks are encrypted at rest by platform-managed keys by default; this happens below the guest operating system.

C:

Disk Encryption Set with CMK is designed to use a customer-managed key for Azure managed-disk server-side encryption, not to use a supported confidential VM configuration for stronger protection of VM-specific disk keys in this case; A Disk Encryption Set connects supported disks to a Key Vault or HSM key so the customer controls the server-side key lifecycle.

D:

For the target required to use a supported confidential VM configuration for stronger protection of VM-specific disk keys, Azure Resource Mover is the wrong control: it is used to coordinate supported Azure resource relocation between Azure regions; Resource Mover orchestrates supported cross-region moves and dependency validation rather than simply reparenting a resource group.

Question 917

Azure resources already exist and governance needs a controlled corrective process. After reviewing the current state, the team must inspect which evaluated resources satisfy the assigned rule. Which capability meets that need?

  1. Policy compliance state
  2. Remediation task
  3. Storage Account Contributor
  4. Policy evaluation scan

Explanation

Correct Answer

A:

For the work item that must inspect which evaluated resources satisfy the assigned rule, Policy compliance state is appropriate: The compliance state reports evaluated results and reasons; it is observational and does not itself implement missing configurations.

Incorrect Answers

B:

For the target required to inspect which evaluated resources satisfy the assigned rule, Remediation task is the wrong control: it is used to bring eligible existing resources into compliance with a modify or deployment policy; A remediation task triggers corrective operations for applicable policy effects; a new assignment alone may not alter all previously deployed resources.

C:

The proposed Storage Account Contributor addresses the separate function to change a storage account's management configuration without relying on its blob data-role grant; This role manages storage-account resources; using account keys obtained through permissions is different from direct Microsoft Entra blob data authorization, which does not meet the stated need to inspect which evaluated resources satisfy the assigned rule.

D:

Policy evaluation scan would be used to request reevaluation of existing Azure resources after changing governance rules; A compliance scan refreshes evaluation results; remediation of configurable properties remains a separate action, but the question asks how to inspect which evaluated resources satisfy the assigned rule.

Question 918

A media application exposes selected objects to different callers. During acceptance testing, the operator must allow anonymous clients to read blobs in a designated container when account settings permit. Identify the appropriate Azure mechanism.

  1. Container-level public access
  2. Read-access geo-redundant storage (RA-GRS)
  3. Shared access signature (SAS)
  4. Private blob container

Explanation

Correct Answer

A:

The stated need is to allow anonymous clients to read blobs in a designated container when account settings permit, so the applicable mechanism is Container-level public access: Container public-access level can expose blob and container listing data; account-level restrictions can prevent anonymous access.

Incorrect Answers

B:

Read-access geo-redundant storage (RA-GRS) would be used to permit reads against the secondary region while keeping LRS-based primary replication; RA-GRS exposes a secondary read endpoint in addition to geo replication; it does not make the asynchronous secondary writable, but the question asks how to allow anonymous clients to read blobs in a designated container when account settings permit.

C:

Shared access signature (SAS) serves to grant a time-bounded delegated URL permission to a client without exposing the account key directly, whereas this case requires the action to allow anonymous clients to read blobs in a designated container when account settings permit; A SAS expresses limited operations, resources and validity in a signed token; holders can use it until expiry or other revocation conditions.

D:

The request to allow anonymous clients to read blobs in a designated container when account settings permit is not fulfilled by Private blob container; its intended role is to require appropriate authentication for reads from a container by default: A private container does not anonymously expose its blobs, so clients need an authorized identity, key or SAS as applicable.

Question 919

The on-call team is identifying the right kind of Azure monitoring trigger. Before closing the task, the administrator must raise an alert when a measured numeric metric crosses a configured condition. Which selection is appropriate?

  1. Azure Site Recovery
  2. Action group
  3. Metric alert
  4. Log search alert

Explanation

Correct Answer

C:

Metric alert addresses the request to raise an alert when a measured numeric metric crosses a configured condition: Metric alert rules evaluate supported time-series metrics with threshold and aggregation settings; they do not require a KQL query.

Incorrect Answers

A:

The proposed Azure Site Recovery addresses the separate function to replicate and orchestrate failover of supported VMs or servers to a recovery location; Site Recovery is disaster recovery replication and orchestration; it is distinct from long-term scheduled backup retention, which does not meet the stated need to raise an alert when a measured numeric metric crosses a configured condition.

B:

Action group would be used to define recipients or automated responses used by triggered alert rules; Action groups package notification and action endpoints; an action group alone does not decide when an alert fires, but the question asks how to raise an alert when a measured numeric metric crosses a configured condition.

D:

The request to raise an alert when a measured numeric metric crosses a configured condition is not fulfilled by Log search alert; its intended role is to evaluate a KQL query on ingested records at a configured frequency: Scheduled query alert rules analyze workspace data and trigger from matching query results or measurements.

Question 920

An enterprise is reorganizing or migrating Azure virtual machines. Two design notes describe different behaviors: A should move a supported VM and dependencies to another resource group in the same subscription; B should transfer an eligible VM and dependent resources to another subscription with proper preparation. Which matched combination supports both behaviors?

  1. First target: Resource group move; second target: Subscription move.
  2. First target: Azure Resource Mover; second target: Subscription move.
  3. First target: Resource group move; second target: Azure Site Recovery replication.
  4. First target: Subscription move; second target: Resource group move.

Explanation

Correct Answer

A:

At A, Resource group move is appropriate; A resource group move changes the organizational container but not the VM's deployment region or running image; for B, the selected Subscription move achieves the stated result to transfer an eligible VM and dependent resources to another subscription with proper preparation; Cross-subscription resource moves depend on supported providers, constraints and permissions and do not themselves relocate geography.

Incorrect Answers

B:

The A selection is incorrect for the need to move a supported VM and dependencies to another resource group in the same subscription: Azure Resource Mover serves to coordinate supported Azure resource relocation between Azure regions; Resource Mover orchestrates supported cross-region moves and dependency validation rather than simply reparenting a resource group; for B, the selected Subscription move achieves the stated result to transfer an eligible VM and dependent resources to another subscription with proper preparation; Cross-subscription resource moves depend on supported providers, constraints and permissions and do not themselves relocate geography.

C:

A is correctly mapped to Resource group move; A resource group move changes the organizational container but not the VM's deployment region or running image; the B mapping to Azure Site Recovery replication misses the required goal to transfer an eligible VM and dependent resources to another subscription with proper preparation; Site Recovery manages disaster-recovery replication and recovery plans; replication is not identical to an ordinary administrative resource move; it addresses replicate Azure VM disks to prepare for a recovery failover in another region instead.

D:

For A, the proposed Subscription move handles transfer an eligible VM and dependent resources to another subscription with proper preparation, which is not the requested move a supported VM and dependencies to another resource group in the same subscription outcome; Cross-subscription resource moves depend on supported providers, constraints and permissions and do not themselves relocate geography; the B mapping to Resource group move misses the required goal to transfer an eligible VM and dependent resources to another subscription with proper preparation; A resource group move changes the organizational container but not the VM's deployment region or running image; it addresses move a supported VM and dependencies to another resource group in the same subscription instead.

Microsoft Azure Administrator (AZ-104) Practice Tests