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

Question 970

An enterprise wants predictable membership decisions for Microsoft Entra groups. One target has an acceptance criterion to automatically enroll users according to properties such as department. A different target has a criterion to collect devices automatically using their directory device attributes. Which two choices meet these criteria in sequence?

  1. First target: Dynamic user membership rule; second target: Dynamic device membership rule.
  2. First target: Dynamic device membership rule; second target: Dynamic user membership rule.
  3. First target: Dynamic user membership rule; second target: Assigned group membership.
  4. First target: Group-based license assignment; second target: Dynamic device membership rule.

Explanation

Correct Answer

A:

At A, Dynamic user membership rule is appropriate; 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: Dynamic device membership rule meets the requirement 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:

The A selection is incorrect for the need to automatically enroll users according to properties such as department: Dynamic device membership rule serves 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; b: Dynamic user membership rule is meant to automatically enroll users according to properties such as department, not to collect devices automatically using their directory device attributes; A dynamic user rule evaluates user attributes and updates eligible group membership when the attributes match; the rule applies to users rather than devices.

C:

A is correctly mapped to Dynamic user membership rule; 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: Assigned group membership is meant to have administrators explicitly add and remove selected group members, not to collect devices automatically using their directory device attributes; Assigned membership follows deliberate membership operations and does not automatically evaluate user attributes to change membership.

D:

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 automatically enroll users according to properties such as department outcome; Group licensing maps license products and service plans to members; availability depends on sufficient licenses and eligible directory configuration; b: Dynamic device membership rule meets the requirement 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.

Question 971

An automation principal has Role Based Access Control Administrator on RG-Data only. A teammate asks it to assign Reader to a storage account inside RG-Data and to create a new virtual machine there. Which statement is accurate?

  1. It cannot assign Reader because the role is only at resource-group scope
  2. It can assign the Reader role but cannot create the VM with this role alone
  3. It can both assign Reader and create the VM
  4. It can create the VM but cannot assign Reader

Explanation

Correct Answer

B:

The access-administration role permits managing RBAC role assignments at the resource-group scope and inherited resources. It does not include general Microsoft.Compute virtual machine creation permissions.

Incorrect Answers

A:

An assignment to a resource group applies to eligible child resources, including a storage account inside the group. A resource-only scope would be narrower, but that is not the assignment described.

C:

RBAC Administrator is not equivalent to Owner. VM resource writes require an additional role such as Contributor at the relevant scope, even though role-assignment actions are allowed.

D:

This reverses the permission split. The assigned role specializes in managing Azure RBAC rather than VM provisioning operations.

Question 972

A virtualization team is clarifying where guest data should be stored. To satisfy the following independently tested conditions, the operator needs (1) hold the guest operating system and its boot volume for an Azure VM; (2) persist workload data on an attached Azure managed disk independent of the OS disk; (3) capture a point-in-time copy of a managed disk for recovery or cloning. Which selections are needed? Choose THREE.

  1. Temporary disk
  2. Managed data disk
  3. Managed disk snapshot
  4. Managed OS disk

Explanation

Correct Answers

B:

Managed data disk is included because it can persist workload data on an attached Azure managed disk independent of the OS disk; Data disks are persistent block devices attached to VMs and should be chosen for application databases or files that must survive restarts, which fits one of the stated operational goals.

C:

The stated condition to capture a point-in-time copy of a managed disk for recovery or cloning calls for Managed disk snapshot; Snapshots preserve disk data at capture time and can be used to create disks; they are not automatic continuous application backups, directly addressing that individual target.

D:

The stated condition to hold the guest operating system and its boot volume for an Azure VM calls for Managed OS disk; The OS disk contains the bootable system image and is managed separately from optional data disks and ephemeral temporary storage, directly addressing that individual target.

Incorrect Answers

A:

Temporary disk is intended 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, so it would not implement any of these separate requested outcomes.

Question 973

A network engineer is drafting an Azure address-space and subnet plan. After reviewing the current state, the team must expand the permitted address space to include a new nonoverlapping range. Which capability meets that need?

  1. Virtual network address space
  2. NIC private IP configuration
  3. Point-to-site VPN
  4. Additional VNet address prefix

Explanation

Correct Answer

D:

To accomplish the specified task to expand the permitted address space to include a new nonoverlapping range, use Additional VNet address prefix; Adding a VNet address prefix can permit additional subnet allocations, subject to peering and connected-network overlap constraints.

Incorrect Answers

A:

Virtual network address space is designed to declare the CIDR ranges available for subnets inside one VNet, not to expand the permitted address space to include a new nonoverlapping range in this case; A VNet address space defines the private IP ranges from which subnets are carved; it does not by itself assign a VM's address.

B:

For the target required to expand the permitted address space to include a new nonoverlapping range, NIC private IP configuration is the wrong control: it is used to assign a specific private IP within an attached Azure subnet to a VM NIC; Private IP configuration belongs to the network interface and its subnet association; it is distinct from a resource's public IP.

C:

The proposed Point-to-site VPN addresses the separate function to connect an individual remote administrator computer into an Azure virtual network; P2S establishes a client VPN tunnel to Azure and can enable private-address management paths; it differs from site-to-site gateways, which does not meet the stated need to expand the permitted address space to include a new nonoverlapping range.

Question 974

A platform team is separating workload identities from employee credentials. A migration preflight documents two outcomes on different targets: give exactly one Azure resource a platform-managed identity tied to its lifetime; and reuse the same managed workload identity across several supported Azure resources. Which plan implements these in order?

  1. A uses System-assigned managed identity, whereas B uses User-assigned managed identity.
  2. A uses App registration, whereas B uses System-assigned managed identity.
  3. A uses User-assigned managed identity, whereas B uses System-assigned managed identity.
  4. A uses App registration, whereas B uses Federated identity credential.
  5. A uses System-assigned managed identity, whereas B uses Federated identity credential.
  6. A uses App registration, whereas B uses User-assigned managed identity.

Explanation

Correct Answer

A:

At A, System-assigned managed identity is appropriate; Azure creates a service principal for the resource and removes that identity when the parent resource is deleted; no client secret is stored by the workload; the B setting is right: User-assigned managed identity supplies the ability to reuse the same managed workload identity across several supported Azure resources; A standalone managed identity can be attached to multiple compatible resources and survives deletion of any individual resource that uses it.

Incorrect Answers

B:

The A selection is incorrect for the need to give exactly one Azure resource a platform-managed identity tied to its lifetime: App registration serves to define the application object, permissions and authentication configuration in Microsoft Entra; An app registration describes the application and its identity settings; an enterprise application represents the service principal in a tenant; the B selection is incorrect for the need to reuse the same managed workload identity across several supported Azure resources: System-assigned managed identity serves to give exactly one Azure resource a platform-managed identity tied to its lifetime; Azure creates a service principal for the resource and removes that identity when the parent resource is deleted; no client secret is stored by the workload.

C:

A calls for a different mechanism to give exactly one Azure resource a platform-managed identity tied to its lifetime; User-assigned managed identity instead supports the action to reuse the same managed workload identity across several supported Azure resources; A standalone managed identity can be attached to multiple compatible resources and survives deletion of any individual resource that uses it; the B selection is incorrect for the need to reuse the same managed workload identity across several supported Azure resources: System-assigned managed identity serves to give exactly one Azure resource a platform-managed identity tied to its lifetime; Azure creates a service principal for the resource and removes that identity when the parent resource is deleted; no client secret is stored by the workload.

D:

For A, the proposed App registration handles define the application object, permissions and authentication configuration in Microsoft Entra, which is not the requested give exactly one Azure resource a platform-managed identity tied to its lifetime outcome; An app registration describes the application and its identity settings; an enterprise application represents the service principal in a tenant; the B selection is incorrect for the need to reuse the same managed workload identity across several supported Azure resources: Federated identity credential serves to allow a trusted external workload token to obtain Entra tokens without a client secret; Workload identity federation validates an external issuer, subject and audience; this exchanges an eligible external token rather than requiring a shared secret.

E:

The A choice, System-assigned managed identity, fits the configured outcome; Azure creates a service principal for the resource and removes that identity when the parent resource is deleted; no client secret is stored by the workload; the B selection is incorrect for the need to reuse the same managed workload identity across several supported Azure resources: Federated identity credential serves to allow a trusted external workload token to obtain Entra tokens without a client secret; Workload identity federation validates an external issuer, subject and audience; this exchanges an eligible external token rather than requiring a shared secret.

F:

A: App registration is meant to define the application object, permissions and authentication configuration in Microsoft Entra, not to give exactly one Azure resource a platform-managed identity tied to its lifetime; An app registration describes the application and its identity settings; an enterprise application represents the service principal in a tenant; the B setting is right: User-assigned managed identity supplies the ability to reuse the same managed workload identity across several supported Azure resources; A standalone managed identity can be attached to multiple compatible resources and survives deletion of any individual resource that uses it.

Question 975

An incident response team is selecting a corrective VM action with a specific scope. After reviewing the current state, the team must change the Azure compute size to increase or decrease available vCPU and memory. Which capability meets that need?

  1. Reapply VM state
  2. Restart VM
  3. VMSS autoscale rule
  4. Resize VM

Explanation

Correct Answer

D:

To accomplish the specified task to change the Azure compute size to increase or decrease available vCPU and memory, use Resize VM; Resizing changes the VM SKU and may require deallocation or availability of capacity; it does not expand guest partitions automatically.

Incorrect Answers

A:

Reapply VM state is designed to reissue the VM's configuration and extensions to the underlying Azure host, not to change the Azure compute size to increase or decrease available vCPU and memory in this case; Reapply asks Azure to apply the stored VM model again and can help with provisioning-state problems without a deliberate size change.

B:

For the target required to change the Azure compute size to increase or decrease available vCPU and memory, Restart VM is the wrong control: it is used to reboot the guest environment without intentionally changing compute SKU; Restart initiates a power cycle of the current VM and does not address a persistent host placement or resource sizing mismatch.

C:

The proposed VMSS autoscale rule addresses the separate function to change the number of VM instances in response to monitored load metrics; Autoscale policies adjust instance count against defined bounds and cooldown behavior; they do not expand an individual VM disk, which does not meet the stated need to change the Azure compute size to increase or decrease available vCPU and memory.

Question 976

An incident response team is selecting a corrective VM action with a specific scope. Separate resources require the following outcomes: (1) change the Azure compute size to increase or decrease available vCPU and memory; (2) reissue the VM's configuration and extensions to the underlying Azure host. Which capabilities should the administrator select? Choose TWO.

  1. Redeploy VM
  2. Reapply VM state
  3. Resize VM
  4. Restart VM

Explanation

Correct Answers

B:

Reapply VM state is included because it can reissue the VM's configuration and extensions to the underlying Azure host; Reapply asks Azure to apply the stored VM model again and can help with provisioning-state problems without a deliberate size change, which fits one of the stated operational goals.

C:

Resize VM is included because it can 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, which fits one of the stated operational goals.

Incorrect Answers

A:

The requirements do not call for Redeploy VM, which is used to move a VM to a different Azure host when host-specific issues are suspected; Redeploy recreates host placement while preserving managed OS and data disks; temporary disk contents are not durable, and no listed target requires that distinct use.

D:

The purpose of Restart VM is to reboot the guest environment without intentionally changing compute SKU; Restart initiates a power cycle of the current VM and does not address a persistent host placement or resource sizing mismatch, but no target in this question asks for that capability.

Question 977

A storage-connected application must choose a suitable path to a managed Azure service. A reviewer will approve only a method that can secure a supported PaaS public endpoint to specific virtual-network subnets. Which choice qualifies?

  1. Internet next hop
  2. Service endpoint
  3. PaaS firewall rule
  4. Private endpoint target subresource

Explanation

Correct Answer

B:

For the work item that must secure a supported PaaS public endpoint to specific virtual-network subnets, Service endpoint is appropriate: Service endpoints extend subnet identity to a service and retain the service's public endpoint, unlike Private Link private IP access.

Incorrect Answers

A:

The request to secure a supported PaaS public endpoint to specific virtual-network subnets is not fulfilled by Internet next hop; its intended role is to direct matching public-destination traffic toward the Azure internet egress path: The Internet next hop is for external destinations, subject to NAT and security controls; it is not a path to a private endpoint.

C:

For the target required to secure a supported PaaS public endpoint to specific virtual-network subnets, PaaS firewall rule is the wrong control: it is used to allow specified networks or IP ranges to reach a service's authorized endpoint; Service firewall rules limit connection sources to configured paths but do not provide client identity or private endpoint creation.

D:

The proposed Private endpoint target subresource addresses the separate function 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, which does not meet the stated need to secure a supported PaaS public endpoint to specific virtual-network subnets.

Question 978

A VM remains unreachable after a firewall change and the team must isolate layers. The team is configuring two independent resources. Resource A needs to verify that a destination packet is not sent to a wrong gateway or blackhole; resource B needs to determine whether a load balancer has excluded the VM because a service probe failed. Which assignment of capabilities meets both goals?

  1. On resource A use Inspect effective routes; on resource B use Validate private DNS result.
  2. On resource A use Inspect effective routes; on resource B use Test backend health probe.
  3. On resource A use Test backend health probe; on resource B use Inspect effective routes.
  4. On resource A use Check NSG effective rules; on resource B use Test backend health probe.

Explanation

Correct Answer

B:

At A, Inspect effective routes is appropriate; Effective routes combine system, custom and gateway learned routes; a network filter allow is not proof of a valid forwarding path; b is correctly mapped to Test backend health probe; Probe status affects backend eligibility even when network security permits the service port and the VM is running.

Incorrect Answers

A:

A: Inspect effective routes meets the requirement 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 determine whether a load balancer has excluded the VM because a service probe failed: Validate private DNS result serves to confirm a PaaS hostname resolves to the intended private endpoint address; DNS checks distinguish a name that selects the wrong public endpoint from a network-policy failure on the private IP.

C:

The A 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; b calls for a different mechanism to determine whether a load balancer has excluded the VM because a service probe failed; 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.

D:

A calls for a different mechanism to verify that a destination packet is not sent to a wrong gateway or blackhole; Check NSG effective rules instead supports the action 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 is correctly mapped to Test backend health probe; Probe status affects backend eligibility even when network security permits the service port and the VM is running.

Question 979

A cloud-finance analyst is distinguishing cost-control and planning tools. Which of the listed choices would allow the operator to track spending against an amount and trigger configured threshold notifications?

  1. Global Administrator directory role
  2. Cost Management budget
  3. Azure Pricing Calculator
  4. Azure Advisor cost recommendations

Explanation

Correct Answer

B:

Cost Management budget addresses the request to track spending against an amount and trigger configured threshold notifications: Budgets monitor incurred or forecast spend relative to limits; they generally alert rather than automatically stop or deallocate resources.

Incorrect Answers

A:

Global Administrator directory role would be used to perform the broadest tenant directory configuration and role-management duties; Global Administrator provides highly privileged Microsoft Entra administration; Azure resource permissions are a separate authorization system, but the question asks how to track spending against an amount and trigger configured threshold notifications.

C:

The request to track spending against an amount and trigger configured threshold notifications is not fulfilled by Azure Pricing Calculator; its intended role is to estimate the cost of a proposed deployment before provisioning it: The pricing calculator models service quantities and purchase assumptions, whereas actual billing depends on subsequent consumption.

D:

Azure Advisor cost recommendations is designed to identify optimization opportunities such as idle or underused infrastructure, not to track spending against an amount and trigger configured threshold notifications in this case; Advisor analyzes usage and configuration signals to propose improvements; it is not a monthly expenditure cap.

Question 980

A help desk is preparing distinct account-management procedures. To close separate operations tickets, the operator must first provision many new cloud user identities from a prepared file and, on another resource, set a fresh credential for a cloud user who cannot sign in. Which implementation plan satisfies both?

  1. Implement Bulk user creation on the first target and Block a user's sign-in on the second.
  2. Implement Revoke a user's sign-in sessions on the first target and Bulk user creation on the second.
  3. Implement Revoke a user's sign-in sessions on the first target and Reset a user's password on the second.
  4. Implement Bulk user creation on the first target and Reset a user's password on the second.
  5. Implement Reset a user's password on the first target and Bulk user creation on the second.

Explanation

Correct Answer

D:

At A, Bulk user creation is appropriate; Bulk user creation imports multiple user records through the Microsoft Entra user-management workflow rather than requiring one interactive creation per account; the B choice, Reset a user's password, fits the configured outcome; An authorized password-reset operation changes the account credential; it does not remove access assignments or necessarily invalidate every already-issued token.

Incorrect Answers

A:

For A, the selected Bulk user creation achieves the stated result to provision many new cloud user identities from a prepared file; Bulk user creation imports multiple user records through the Microsoft Entra user-management workflow rather than requiring one interactive creation per account; the B mapping to Block a user's sign-in misses the required goal to set a fresh credential for a cloud user who cannot sign in; Disabling sign-in blocks subsequent authentication for that directory account, while existing sessions may need separate revocation or expiry handling; it addresses prevent a departed employee from starting new interactive sign-ins instead.

B:

The A mapping to Revoke a user's sign-in sessions misses the required goal to provision many new cloud user identities from a prepared file; Session revocation affects the user's authentication sessions; it is distinct from changing an RBAC assignment on an Azure resource; it addresses invalidate refresh tokens and require reauthentication after an incident instead; the B mapping to Bulk user creation misses the required goal to set a fresh credential for a cloud user who cannot sign in; Bulk user creation imports multiple user records through the Microsoft Entra user-management workflow rather than requiring one interactive creation per account; it addresses provision many new cloud user identities from a prepared file instead.

C:

A: Revoke a user's sign-in sessions is meant to invalidate refresh tokens and require reauthentication after an incident, not to provision many new cloud user identities from a prepared file; Session revocation affects the user's authentication sessions; it is distinct from changing an RBAC assignment on an Azure resource; the B choice, Reset a user's password, fits the configured outcome; An authorized password-reset operation changes the account credential; it does not remove access assignments or necessarily invalidate every already-issued token.

E:

The A selection is incorrect for the need to provision many new cloud user identities from a prepared file: Reset a user's password serves to set a fresh credential for a cloud user who cannot sign in; An authorized password-reset operation changes the account credential; it does not remove access assignments or necessarily invalidate every already-issued token; the B mapping to Bulk user creation misses the required goal to set a fresh credential for a cloud user who cannot sign in; Bulk user creation imports multiple user records through the Microsoft Entra user-management workflow rather than requiring one interactive creation per account; it addresses provision many new cloud user identities from a prepared file instead.

Microsoft Azure Administrator (AZ-104) Practice Tests