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

Question 470

A central IT team administers multiple subscriptions through an organizational hierarchy. A change request specifies the outcome to organize subscriptions into parent and child management groups. What should be used?

  1. Policy assignment managed identity
  2. RBAC at management-group scope
  3. Create management-group hierarchy
  4. Policy at management-group scope

Explanation

Correct Answer

C:

To accomplish the specified task to organize subscriptions into parent and child management groups, use Create management-group hierarchy; A management-group tree provides governance scopes above subscriptions and supports inherited policy and RBAC assignments.

Incorrect Answers

A:

For the target required to organize subscriptions into parent and child management groups, Policy assignment managed identity is the wrong control: it is used to authorize a modifying policy assignment to create or update required resources; Managed identity permissions let deployIfNotExists or modify remediation perform writes; a compliance view alone supplies no authorization.

B:

The proposed RBAC at management-group scope addresses the separate function to delegate Azure permissions over resources in all descendant subscriptions; Management-group role assignments flow into child subscriptions; they do not grant Microsoft Entra directory admin roles, which does not meet the stated need to organize subscriptions into parent and child management groups.

D:

Policy at management-group scope serves to enforce a compliance rule across descendant subscriptions from one assignment, whereas this case requires the action to organize subscriptions into parent and child management groups; Assignments at management-group scope inherit downward, allowing a shared governance baseline across the contained subscriptions.

Question 471

An Azure admin needs to control how a subnet chooses its next hop. After reviewing the current state, the team must override selected subnet traffic with a custom prefix and next-hop target. Which capability meets that need?

  1. User-defined route
  2. BGP-propagated route
  3. Effective routes view
  4. NSG diagnostic tool

Explanation

Correct Answer

A:

For the work item that must override selected subnet traffic with a custom prefix and next-hop target, User-defined route is appropriate: A UDR belongs to an associated route table and can steer matching packets to a virtual appliance, gateway or other permitted next hop.

Incorrect Answers

B:

For the target required to override selected subnet traffic with a custom prefix and next-hop target, BGP-propagated route is the wrong control: it is 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.

C:

The proposed Effective routes view addresses the separate function to inspect the combined routes Azure applied to a particular NIC; Effective routes include applicable system, user and propagated entries for troubleshooting; viewing them does not change routing behavior, which does not meet the stated need to override selected subnet traffic with a custom prefix and next-hop target.

D:

NSG diagnostic tool would be 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, but the question asks how to override selected subnet traffic with a custom prefix and next-hop target.

Question 472

A template reviewer wants to understand which construct controls a deployment behavior. The team has documented a specific need: accept a value supplied by the deployment caller at execution time. Which Azure setting addresses it?

  1. Template output
  2. Template variable
  3. Template parameter
  4. Server-side encryption with platform keys

Explanation

Correct Answer

C:

The stated need is to accept a value supplied by the deployment caller at execution time, so the applicable mechanism is Template parameter: Parameters externalize deployment-specific inputs such as location or naming, allowing one template to serve several environments.

Incorrect Answers

A:

Template output is designed to return a computed value or resource identifier when the deployment completes, not to accept a value supplied by the deployment caller at execution time in this case; Outputs expose selected deployment results to automation and other steps; they do not provision resources by themselves.

B:

For the target required to accept a value supplied by the deployment caller at execution time, Template variable is the wrong control: it is used 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.

D:

Server-side encryption with platform keys would be used to rely on Azure managed-disk encryption at rest without guest encryption configuration; Managed disks are encrypted at rest by platform-managed keys by default; this happens below the guest operating system, but the question asks how to accept a value supplied by the deployment caller at execution time.

Question 473

An administrator is planning temporary access that may need emergency withdrawal. An operations ticket requires a solution to limit the maximum exposure period of a narrowly scoped token. Select the relevant feature.

  1. Short SAS expiry
  2. Rotate signing account key
  3. Premium FileStorage account
  4. Revoke user delegation keys

Explanation

Correct Answer

A:

Short SAS expiry addresses the request 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.

Incorrect Answers

B:

The request to limit the maximum exposure period of a narrowly scoped token is not fulfilled by Rotate signing account key; its intended role is to invalidate SAS tokens signed by a particular compromised shared account key: Key rotation changes the signing secret and can disrupt clients using that key; it is broader than revoking one policy-bound SAS.

C:

Premium FileStorage account is designed to host Azure Files premium shares with predictable provisioned file-share performance, not to limit the maximum exposure period of a narrowly scoped token in this case; FileStorage is designed for premium Azure file shares; it is not the same account kind as premium block blob storage.

D:

For the target required to limit the maximum exposure period of a narrowly scoped token, Revoke user delegation keys is the wrong control: it is used 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 474

A platform team is separating workload identities from employee credentials. During acceptance testing, the operator must allow a trusted external workload token to obtain Entra tokens without a client secret. Identify the appropriate Azure mechanism.

  1. System-assigned managed identity
  2. SSPR scope selection
  3. App registration
  4. Federated identity credential

Explanation

Correct Answer

D:

The requested operation is to allow a trusted external workload token to obtain Entra tokens without a client secret; Federated identity credential provides this functionality: Workload identity federation validates an external issuer, subject and audience; this exchanges an eligible external token rather than requiring a shared secret.

Incorrect Answers

A:

The proposed System-assigned managed identity addresses the separate function 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, which does not meet the stated need to allow a trusted external workload token to obtain Entra tokens without a client secret.

B:

SSPR scope selection would be used to enable self-service password reset for a pilot group instead of every user; SSPR can be enabled for a selected group so only the intended identities receive the recovery capability during rollout, but the question asks how to allow a trusted external workload token to obtain Entra tokens without a client secret.

C:

App registration serves to define the application object, permissions and authentication configuration in Microsoft Entra, whereas this case requires the action to allow a trusted external workload token to obtain Entra tokens without a client secret; An app registration describes the application and its identity settings; an enterprise application represents the service principal in a tenant.

Question 475

An Azure administrator is planning point-in-time recovery for critical data. A deployment engineer receives two requests that must not be conflated: to decide how long backup recovery points are preserved under supported rules, and separately to recover protected data or disks from a selected earlier backup instance. Which feature pair is correct?

  1. On resource A use Retention policy; on resource B use Recovery-point restore.
  2. On resource A use Retention policy; on resource B use Backup schedule.
  3. On resource A use On-demand backup; on resource B use Recovery-point restore.
  4. On resource A use Recovery-point restore; on resource B use Retention policy.

Explanation

Correct Answer

A:

A: Retention policy meets the requirement to decide how long backup recovery points are preserved under supported rules; Retention controls expiry of stored recovery points; it does not determine the live VM's compute SKU; b: Recovery-point restore meets the requirement to recover protected data or disks from a selected earlier backup instance; Restoring selects an existing recovery point and target configuration; it is not equivalent to merely increasing retention.

Incorrect Answers

B:

At A, Retention policy is appropriate; Retention controls expiry of stored recovery points; it does not determine the live VM's compute SKU; b: Backup schedule is meant to specify when supported backup jobs capture restore points, not to recover protected data or disks from a selected earlier backup instance; The schedule controls backup frequency for a protected workload and influences recovery-point objectives.

C:

The A selection is incorrect for the need to decide how long backup recovery points are preserved under supported rules: On-demand backup serves 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; b: Recovery-point restore meets the requirement to recover protected data or disks from a selected earlier backup instance; Restoring selects an existing recovery point and target configuration; it is not equivalent to merely increasing retention.

D:

A calls for a different mechanism to decide how long backup recovery points are preserved under supported rules; Recovery-point restore instead supports the action to recover protected data or disks from a selected earlier backup instance; Restoring selects an existing recovery point and target configuration; it is not equivalent to merely increasing retention; b: Retention policy is meant to decide how long backup recovery points are preserved under supported rules, not to recover protected data or disks from a selected earlier backup instance; Retention controls expiry of stored recovery points; it does not determine the live VM's compute SKU.

Question 476

Networking staff are connecting private DNS records to Azure workloads. The architect has defined distinct requirements for systems A and B. A needs to make a private DNS zone resolvable from a selected virtual network; B needs to associate a private endpoint with relevant private DNS zones for supported record management. Which proposed pairing is technically aligned?

  1. Task A → Private DNS VNet link; task B → Private endpoint DNS zone group.
  2. Task A → Private endpoint DNS zone group; task B → Private DNS VNet link.
  3. Task A → Private DNS VNet link; task B → DNS conditional forwarding.
  4. Task A → Private endpoint DNS zone group; task B → DNS conditional forwarding.
  5. Task A → DNS conditional forwarding; task B → Private endpoint DNS zone group.

Explanation

Correct Answer

A:

A is correctly mapped to Private DNS VNet link; A VNet link enables DNS zone visibility for that network; links alone do not create service private endpoints; at B, Private endpoint DNS zone group is appropriate; DNS zone groups help maintain private endpoint DNS records as the endpoint changes; they complement endpoint connectivity.

Incorrect Answers

B:

For A, the proposed Private endpoint DNS zone group handles associate a private endpoint with relevant private DNS zones for supported record management, which is not the requested make a private DNS zone resolvable from a selected virtual network outcome; DNS zone groups help maintain private endpoint DNS records as the endpoint changes; they complement endpoint connectivity; at B, Private DNS VNet link is mismatched; A VNet link enables DNS zone visibility for that network; links alone do not create service private endpoints; the requested need is to associate a private endpoint with relevant private DNS zones for supported record management.

C:

The A choice, Private DNS VNet link, fits the configured outcome; A VNet link enables DNS zone visibility for that network; links alone do not create service private endpoints; at B, DNS conditional forwarding is mismatched; Conditional forwarding directs queries to chosen DNS servers, supporting hybrid name resolution without turning the private zone into a public zone; the requested need is to associate a private endpoint with relevant private DNS zones for supported record management.

D:

A: Private endpoint DNS zone group is meant to associate a private endpoint with relevant private DNS zones for supported record management, not to make a private DNS zone resolvable from a selected virtual network; DNS zone groups help maintain private endpoint DNS records as the endpoint changes; they complement endpoint connectivity; the B selection is incorrect for the need to associate a private endpoint with relevant private DNS zones for supported record management: DNS conditional forwarding serves to send queries for a particular namespace to a designated authoritative or recursive resolver; Conditional forwarding directs queries to chosen DNS servers, supporting hybrid name resolution without turning the private zone into a public zone.

E:

At A, DNS conditional forwarding is mismatched; Conditional forwarding directs queries to chosen DNS servers, supporting hybrid name resolution without turning the private zone into a public zone; the requested need is to make a private DNS zone resolvable from a selected virtual network; the B setting is right: Private endpoint DNS zone group supplies the ability to associate a private endpoint with relevant private DNS zones for supported record management; DNS zone groups help maintain private endpoint DNS records as the endpoint changes; they complement endpoint connectivity.

Question 477

An application owner is connecting a branded hostname to an Azure web app. During acceptance testing, the operator must map a subdomain hostname to an App Service default hostname where appropriate. Identify the appropriate Azure mechanism.

  1. A DNS record
  2. CNAME DNS record
  3. TXT domain verification record
  4. Scale up App Service plan

Explanation

Correct Answer

B:

To accomplish the specified task to map a subdomain hostname to an App Service default hostname where appropriate, use CNAME DNS record; A CNAME creates DNS alias resolution for a subdomain; it is not the public IP address record used at a DNS zone apex.

Incorrect Answers

A:

The proposed A DNS record addresses the separate function to point an eligible apex or custom hostname directly to a web app's supported IP address; An A record resolves the hostname to an IPv4 address and may need additional verification records for App Service ownership validation, which does not meet the stated need to map a subdomain hostname to an App Service default hostname where appropriate.

C:

TXT domain verification record serves to prove control of a custom domain to App Service before binding it, whereas this case requires the action to map a subdomain hostname to an App Service default hostname where appropriate; The verification TXT record helps prevent domain takeover by proving ownership; it does not route HTTP requests itself.

D:

The request to map a subdomain hostname to an App Service default hostname where appropriate is not fulfilled by Scale up App Service plan; its intended role is to increase the instance size and available resources per App Service worker: Scale up changes the service-plan tier or SKU and worker capacity, not the number of identical workers.

Question 478

A subnet of private VMs needs predictable internet access behavior. A deployment engineer receives two requests that must not be conflated: to give one VM a directly associated public internet egress and ingress address, and separately to route private workload traffic through centralized network policy and outbound NAT. Which feature pair is correct?

  1. On resource A use Load Balancer outbound rule; on resource B use Azure Firewall egress.
  2. On resource A use Azure Firewall egress; on resource B use Instance-level public IP.
  3. On resource A use Instance-level public IP; on resource B use Azure Firewall egress.
  4. On resource A use NAT Gateway; on resource B use Azure Firewall egress.

Explanation

Correct Answer

C:

The A setting is right: Instance-level public IP supplies the ability to give one VM a directly associated public internet egress and ingress address; A public IP on the NIC can supply direct connectivity subject to routing and security settings, unlike shared subnet NAT; for B, the selected Azure Firewall egress achieves the stated result to route private workload traffic through centralized network policy and outbound NAT; Azure Firewall can inspect and allow selected outbound flows when routing directs traffic to it; simply deploying it does not redirect all traffic.

Incorrect Answers

A:

A: Load Balancer outbound rule is meant to configure outbound SNAT for eligible backend instances through a public load balancer, not to give one VM a directly associated public internet egress and ingress address; An outbound rule governs outbound connectivity for the backend pool, separate from inbound load-balancing rules; for B, the selected Azure Firewall egress achieves the stated result to route private workload traffic through centralized network policy and outbound NAT; Azure Firewall can inspect and allow selected outbound flows when routing directs traffic to it; simply deploying it does not redirect all traffic.

B:

At A, Azure Firewall egress is mismatched; Azure Firewall can inspect and allow selected outbound flows when routing directs traffic to it; simply deploying it does not redirect all traffic; the requested need is to give one VM a directly associated public internet egress and ingress address; for B, the proposed Instance-level public IP handles give one VM a directly associated public internet egress and ingress address, which is not the requested route private workload traffic through centralized network policy and outbound NAT outcome; A public IP on the NIC can supply direct connectivity subject to routing and security settings, unlike shared subnet NAT.

D:

A calls for a different mechanism to give one VM a directly associated public internet egress and ingress address; NAT Gateway instead supports the action 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, Azure Firewall egress, fits the configured outcome; Azure Firewall can inspect and allow selected outbound flows when routing directs traffic to it; simply deploying it does not redirect all traffic.

Question 479

Architects are comparing how traffic is distributed among application endpoints. An administrator needs a feature for each of these individual outcomes: (1) route HTTP or HTTPS requests based on web-layer properties within a regional gateway; (2) choose among application endpoints using DNS-based routing policies. What belongs in the design? Choose TWO.

  1. Traffic Manager
  2. Application Gateway
  3. Azure Load Balancer
  4. Azure Front Door

Explanation

Correct Answers

A:

Traffic Manager is needed for the specified objective to choose among application endpoints using DNS-based routing policies; Traffic Manager returns DNS endpoint answers and does not proxy every incoming HTTP request through an edge service, making it one of the requested controls.

B:

The stated condition to route HTTP or HTTPS requests based on web-layer properties within a regional gateway calls for Application Gateway; Application Gateway supports layer-seven routing and optional WAF, unlike a generic L4 load balancer, directly addressing that individual target.

Incorrect Answers

C:

The requirements do not call for Azure Load Balancer, which is used to distribute TCP or UDP flows across healthy regional backends at layer four; Azure Load Balancer works at the transport layer with rules and probes; it does not make URL-path routing decisions, and no listed target requires that distinct use.

D:

The purpose of Azure Front Door is to provide global HTTP or HTTPS entry, routing and acceleration through distributed edge locations; Front Door operates at a global application layer and can apply web traffic policy; it is not an internal private L4 VIP, but no target in this question asks for that capability.

Question 480

An automation VM needs controlled network and Azure API access. An audit tests whether each operational objective has the correct control. Objective A is to obtain Azure tokens for the VM application without embedding a password in code; objective B is to attach existing traffic-filtering rules to the correct VM subnet or network interface. Which allocation will pass?

  1. First target: NSG association to subnet or NIC; second target: VM system-assigned managed identity.
  2. First target: VM network interface; second target: NSG association to subnet or NIC.
  3. First target: VM system-assigned managed identity; second target: NSG association to subnet or NIC.
  4. First target: VM system-assigned managed identity; second target: VM network interface.

Explanation

Correct Answer

C:

The A choice, VM system-assigned managed identity, fits the configured outcome; A system-assigned identity is associated with the VM lifecycle and still needs separate Azure RBAC role grants for target resources; for B, the selected NSG association to subnet or NIC achieves the stated result to attach existing traffic-filtering rules to the correct VM subnet or network interface; Associating a network security group with a subnet or NIC causes its defined security rules to be evaluated for eligible traffic; creating an unattached NSG does not enforce those rules on a VM.

Incorrect Answers

A:

A calls for a different mechanism to obtain Azure tokens for the VM application without embedding a password in code; NSG association to subnet or NIC instead supports the action to attach existing traffic-filtering rules to the correct VM subnet or network interface; Associating a network security group with a subnet or NIC causes its defined security rules to be evaluated for eligible traffic; creating an unattached NSG does not enforce those rules on a VM; for B, the proposed VM system-assigned managed identity handles obtain Azure tokens for the VM application without embedding a password in code, which is not the requested attach existing traffic-filtering rules to the correct VM subnet or network interface outcome; A system-assigned identity is associated with the VM lifecycle and still needs separate Azure RBAC role grants for target resources.

B:

For A, the proposed VM network interface handles connect an Azure VM to subnets and private IP configuration, which is not the requested obtain Azure tokens for the VM application without embedding a password in code outcome; The NIC carries IP configuration and NSG associations; a managed identity instead authenticates the software running in the VM; for B, the selected NSG association to subnet or NIC achieves the stated result to attach existing traffic-filtering rules to the correct VM subnet or network interface; Associating a network security group with a subnet or NIC causes its defined security rules to be evaluated for eligible traffic; creating an unattached NSG does not enforce those rules on a VM.

D:

A: VM system-assigned managed identity meets the requirement to obtain Azure tokens for the VM application without embedding a password in code; A system-assigned identity is associated with the VM lifecycle and still needs separate Azure RBAC role grants for target resources; for B, the proposed VM network interface handles connect an Azure VM to subnets and private IP configuration, which is not the requested attach existing traffic-filtering rules to the correct VM subnet or network interface outcome; The NIC carries IP configuration and NSG associations; a managed identity instead authenticates the software running in the VM.

Microsoft Azure Administrator (AZ-104) Practice Tests