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

Question 290

A media application exposes selected objects to different callers. An operations ticket requires a solution to authorize Microsoft Entra principals to read private blobs using Azure RBAC. Select the relevant feature.

  1. Shared access signature (SAS)
  2. Storage Blob Data Reader role
  3. AzCopy
  4. Container-level public access

Explanation

Correct Answer

B:

The requested operation is to authorize Microsoft Entra principals to read private blobs using Azure RBAC; Storage Blob Data Reader role provides this functionality: This role applies data actions for blob reading to a principal at an eligible scope and differs from anonymous container visibility.

Incorrect Answers

A:

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 authorize Microsoft Entra principals to read private blobs using Azure RBAC; A SAS expresses limited operations, resources and validity in a signed token; holders can use it until expiry or other revocation conditions.

C:

AzCopy is designed to script high-throughput transfers of blobs or files from command-line jobs, not to authorize Microsoft Entra principals to read private blobs using Azure RBAC in this case; AzCopy uses efficient data transfer operations and can authenticate with SAS or supported Entra identities; it suits repeatable bulk-copy scripts.

D:

For the target required to authorize Microsoft Entra principals to read private blobs using Azure RBAC, Container-level public access is the wrong control: it is used to allow anonymous clients to read blobs in a designated container when account settings permit; Container public-access level can expose blob and container listing data; account-level restrictions can prevent anonymous access.

Question 291

A VM remains unreachable after a firewall change and the team must isolate layers. The team has documented a specific need: verify that a destination packet is not sent to a wrong gateway or blackhole. Which Azure setting addresses it?

  1. Peering gateway transit
  2. Check NSG effective rules
  3. Inspect effective routes
  4. Test backend health probe

Explanation

Correct Answer

C:

The stated need is to verify that a destination packet is not sent to a wrong gateway or blackhole, so the applicable mechanism is Inspect effective routes: Effective routes combine system, custom and gateway learned routes; a network filter allow is not proof of a valid forwarding path.

Incorrect Answers

A:

Peering gateway transit is designed to make a hub gateway available to eligible peered spokes through the required peering configuration, not to verify that a destination packet is not sent to a wrong gateway or blackhole in this case; Gateway transit allows supported gateway sharing when the hub and spoke peering flags are aligned; peering links alone do not share it.

B:

For the target required to verify that a destination packet is not sent to a wrong gateway or blackhole, Check NSG effective rules is the wrong control: it is used 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.

D:

Test backend health probe would be used 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, but the question asks how to verify that a destination packet is not sent to a wrong gateway or blackhole.

Question 292

A web-tier fleet is adopting Azure VM scale-set management. Before closing the task, the administrator must report guest application health to improve supported scale-set repair or upgrade decisions. Which selection is appropriate?

  1. Uniform orchestration mode
  2. Azure Resource Mover
  3. Flexible orchestration mode
  4. Application Health extension

Explanation

Correct Answer

D:

The requested operation is to report guest application health to improve supported scale-set repair or upgrade decisions; Application Health extension provides this functionality: Application health reports whether an application endpoint or signal is healthy, unlike a mere VM power state check.

Incorrect Answers

A:

The proposed Uniform orchestration mode addresses the separate function to deploy a largely identical fleet of VM instances under a scale-set model; Uniform mode manages closely aligned instance configurations using scale-set model semantics and supported automatic upgrades, which does not meet the stated need to report guest application health to improve supported scale-set repair or upgrade decisions.

B:

Azure Resource Mover would be 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, but the question asks how to report guest application health to improve supported scale-set repair or upgrade decisions.

C:

Flexible orchestration mode serves to manage a scale set with a flexible mix of VM instances and availability placement capabilities, whereas this case requires the action to report guest application health to improve supported scale-set repair or upgrade decisions; Flexible orchestration supports VM-oriented operational control and deployment patterns different from uniform scale sets.

Question 293

An Azure administrator is tightening access to a PaaS resource over Private Link. The architect wants a minimal set of mechanisms for distinct targets: (1) reject service access through its public endpoint where supported; (2) authorize the connecting identity to read or write the protected PaaS data. Select TWO matching controls.

  1. Resolve private link hostname
  2. Approve private endpoint connection
  3. Disable public network access
  4. Grant data-plane RBAC

Explanation

Correct Answers

C:

For the target that must reject service access through its public endpoint where supported, Disable public network access is a direct match because Turning off public network access reduces public exposure but does not create the private endpoint or private DNS records clients need, not a different configuration.

D:

Grant data-plane RBAC is needed for the specified objective to authorize the connecting identity to read or write the protected PaaS data; Private network reachability and identity authorization are separate; an approved endpoint does not itself grant payload permissions, making it one of the requested controls.

Incorrect Answers

A:

The purpose of Resolve private link hostname is to ensure clients use a service hostname that resolves to the private endpoint IP; Correct private DNS resolution directs the connection to the intended private IP, avoiding accidental attempts to use a public path, but no target in this question asks for that capability.

B:

Approve private endpoint connection is intended to authorize a pending private connection request to a supported target service; A private endpoint may require explicit connection approval before data can traverse it; NIC creation alone need not mean approval, so it would not implement any of these separate requested outcomes.

Question 294

Operations staff are standardizing control attachment across Azure subnets. During acceptance testing, the operator must apply an NSG policy to every eligible NIC traffic flow in a subnet. Identify the appropriate Azure mechanism.

  1. Connection troubleshoot
  2. Associate NAT Gateway to subnet
  3. Associate NSG to subnet
  4. Associate route table to subnet

Explanation

Correct Answer

C:

Associate NSG to subnet addresses the request to apply an NSG policy to every eligible NIC traffic flow in a subnet: Subnet NSGs evaluate traffic entering or leaving the associated subnet and can coexist with NIC NSGs.

Incorrect Answers

A:

The proposed Connection troubleshoot addresses the separate function to test end-to-end reachability, latency or failure details between supported endpoints; Connection troubleshoot assesses a source and destination network path rather than only displaying a configured route table, which does not meet the stated need to apply an NSG policy to every eligible NIC traffic flow in a subnet.

B:

Associate NAT Gateway to subnet would be used to provide shared outbound SNAT from instances using a designated subnet; NAT Gateway supplies outbound translation to configured public addresses; it does not act as inbound load balancer, but the question asks how to apply an NSG policy to every eligible NIC traffic flow in a subnet.

D:

The request to apply an NSG policy to every eligible NIC traffic flow in a subnet is not fulfilled by Associate route table to subnet; its intended role is to apply custom routes to all applicable resources in a subnet: Route tables select next hops for a subnet; they do not create explicit port-specific filtering rules.

Question 295

An organization is establishing guardrails for its Microsoft Entra tenant. Before closing the task, the administrator must restrict which internal principals may send invitations to outside users. Which selection is appropriate?

  1. External collaboration invitation policy
  2. Cost analysis tag grouping
  3. Company branding
  4. Group creation settings

Explanation

Correct Answer

A:

The stated need is to restrict which internal principals may send invitations to outside users, so the applicable mechanism is External collaboration invitation policy: The external-collaboration invitation setting limits guest onboarding behavior rather than authorizing a guest to edit Azure infrastructure.

Incorrect Answers

B:

Cost analysis tag grouping would be used to inspect tagged spending by category in Cost Management views; Cost analysis uses supported tag dimensions to group or filter charges; tagging alone does not stop consumption, but the question asks how to restrict which internal principals may send invitations to outside users.

C:

Company branding serves to customize supported organization logos and sign-in-page appearance, whereas this case requires the action to restrict which internal principals may send invitations to outside users; Company branding changes visual elements of eligible Microsoft Entra sign-in experiences; it does not grant credentials or enforce access rules.

D:

The request to restrict which internal principals may send invitations to outside users is not fulfilled by Group creation settings; its intended role is to control whether ordinary users may create Microsoft 365 groups in the directory: Directory group-creation controls govern collaboration-group provisioning and are distinct from Azure RBAC or resource policies.

Question 296

A legal team is distinguishing retention, rollback and access restrictions for blobs. To satisfy the following independently tested conditions, the operator needs (1) return supported block blobs to an earlier timestamp inside a configured restoration interval; (2) recover a blob container removed during its configured soft-delete retention interval. Which selections are needed? Choose TWO.

  1. Block blob point-in-time restore
  2. Legal hold on blobs
  3. Container soft delete
  4. Immutable blob storage policy

Explanation

Correct Answers

A:

Block blob point-in-time restore is needed for the specified objective to return supported block blobs to an earlier timestamp inside a configured restoration interval; Point-in-time restore needs blob versioning, change feed, and blob soft delete to be enabled; the restore interval is constrained by the supporting retention periods, making it one of the requested controls.

C:

For the target that must recover a blob container removed during its configured soft-delete retention interval, Container soft delete is a direct match because Container soft delete retains eligible deleted containers for recovery within a set window; unlike blob soft delete, it protects against deletion of the container itself, not a different configuration.

Incorrect Answers

B:

Legal hold on blobs would instead protect selected blob data from deletion while an active legal requirement applies; A legal hold is a WORM-style protection not tied to a fixed expiry date in the way time-based retention is, which is unrelated to the listed objectives for this item.

D:

The requirements do not call for Immutable blob storage policy, which is used to make protected blob data nonmodifiable or nondeletable during a configured retention period; Immutability policies enforce WORM retention for supported blobs; ordinary lifecycle deletion cannot override a locked retention requirement, and no listed target requires that distinct use.

Question 297

Architects are comparing how traffic is distributed among application endpoints. Two design notes describe different behaviors: A should distribute TCP or UDP flows across healthy regional backends at layer four; B should provide global HTTP or HTTPS entry, routing and acceleration through distributed edge locations. Which matched combination supports both behaviors?

  1. First target: Azure Load Balancer; second target: Application Gateway.
  2. First target: Azure Load Balancer; second target: Azure Front Door.
  3. First target: Azure Front Door; second target: Azure Load Balancer.
  4. First target: Application Gateway; second target: Azure Front Door.

Explanation

Correct Answer

B:

The A setting is right: Azure Load Balancer supplies the ability 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; the B choice, Azure Front Door, fits the configured outcome; Front Door operates at a global application layer and can apply web traffic policy; it is not an internal private L4 VIP.

Incorrect Answers

A:

At A, Azure Load Balancer is appropriate; Azure Load Balancer works at the transport layer with rules and probes; it does not make URL-path routing decisions; the B mapping to Application Gateway misses the required goal to provide global HTTP or HTTPS entry, routing and acceleration through distributed edge locations; Application Gateway supports layer-seven routing and optional WAF, unlike a generic L4 load balancer; it addresses route HTTP or HTTPS requests based on web-layer properties within a regional gateway instead.

C:

A calls for a different mechanism to distribute TCP or UDP flows across healthy regional backends at layer four; Azure Front Door instead supports the action 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; the B mapping to Azure Load Balancer misses the required goal to provide global HTTP or HTTPS entry, routing and acceleration through distributed edge locations; Azure Load Balancer works at the transport layer with rules and probes; it does not make URL-path routing decisions; it addresses distribute TCP or UDP flows across healthy regional backends at layer four instead.

D:

For A, the proposed Application Gateway handles route HTTP or HTTPS requests based on web-layer properties within a regional gateway, which is not the requested distribute TCP or UDP flows across healthy regional backends at layer four outcome; Application Gateway supports layer-seven routing and optional WAF, unlike a generic L4 load balancer; b: Azure Front Door meets the requirement 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.

Question 298

An operations organization is adopting repeatable Azure infrastructure deployments. An administrator needs a feature for each of these individual outcomes: (1) define Azure resources declaratively in native Azure Resource Manager JSON; (2) author declarative ARM deployments in a concise language with modules and symbolic names. What belongs in the design? Choose TWO.

  1. Bicep file
  2. ARM JSON template
  3. Export template
  4. ARM deployment what-if

Explanation

Correct Answers

A:

For the target that must author declarative ARM deployments in a concise language with modules and symbolic names, Bicep file is a direct match because Bicep compiles to ARM JSON and provides resource-oriented syntax and modules; deployment still uses Azure Resource Manager, not a different configuration.

B:

ARM JSON template is included because it can define Azure resources declaratively in native Azure Resource Manager JSON; ARM templates describe resource declarations, parameters and dependencies in JSON; they can be deployed through ARM without an imperative resource-by-resource script, which fits one of the stated operational goals.

Incorrect Answers

C:

Export template is intended to obtain an ARM template representation of an existing supported resource group or deployment; Template export produces a starting representation of deployed resources, which often needs cleanup before serving as reusable infrastructure as code, so it would not implement any of these separate requested outcomes.

D:

ARM deployment what-if would instead preview proposed resource changes before deploying a template; What-if compares the desired declaration with existing resource state and reports predicted changes without applying the deployment, which is unrelated to the listed objectives for this item.

Question 299

A platform observer is choosing an Azure Monitor signal for a specific question. One target has an acceptance criterion to plot numeric resource performance samples at supported time grains. A different target has a criterion to audit control-plane operations and subscription-level service events. Which two choices meet these criteria in sequence?

  1. First target: Platform metric; second target: Resource log.
  2. First target: Azure Activity log; second target: Platform metric.
  3. First target: Platform metric; second target: Log Analytics query.
  4. First target: Platform metric; second target: Azure Activity log.

Explanation

Correct Answer

D:

For A, the selected Platform metric achieves the stated result 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; b is correctly mapped to Azure Activity log; The Activity log records Azure Resource Manager events such as resource writes and policy outcomes, not every guest application event.

Incorrect Answers

A:

At A, Platform metric is appropriate; 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 calls for a different mechanism to audit control-plane operations and subscription-level service events; Resource log instead supports the action to capture detailed service-emitted operational records in an eligible destination; Resource logs contain supported service events or requests and usually need diagnostic settings to route data into a chosen sink.

B:

The A selection is incorrect for the need to plot numeric resource performance samples at supported time grains: Azure Activity log serves to audit control-plane operations and subscription-level service events; The Activity log records Azure Resource Manager events such as resource writes and policy outcomes, not every guest application event; b calls for a different mechanism to audit control-plane operations and subscription-level service events; Platform metric instead supports the action 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.

C:

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 calls for a different mechanism to audit control-plane operations and subscription-level service events; Log Analytics query instead supports the action 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.

Question 300

An application team needs a storage-account type matched to workload behavior. The architect has defined distinct requirements for systems A and B. A needs to host Azure Files premium shares with predictable provisioned file-share performance; B needs to support workloads that require premium page blob characteristics. Which proposed pairing is technically aligned?

  1. First target: General-purpose v2 account; second target: Premium page blob account.
  2. First target: Premium page blob account; second target: Premium FileStorage account.
  3. First target: Premium FileStorage account; second target: Premium page blob account.
  4. First target: Premium FileStorage account; second target: General-purpose v2 account.

Explanation

Correct Answer

C:

At A, Premium FileStorage account is appropriate; FileStorage is designed for premium Azure file shares; it is not the same account kind as premium block blob storage; for B, the selected Premium page blob account achieves the stated result to support workloads that require premium page blob characteristics; Premium page blob storage is tailored to page blob performance behavior, distinct from general-purpose blob access tiers.

Incorrect Answers

A:

The A mapping to General-purpose v2 account misses the required goal to host Azure Files premium shares with predictable provisioned file-share performance; Standard GPv2 supports blobs, files, queues and tables with applicable redundancy and tier options; it is the general default for many workloads; it addresses support standard general storage services and access tiers in one broadly compatible account instead; for B, the selected Premium page blob account achieves the stated result to support workloads that require premium page blob characteristics; Premium page blob storage is tailored to page blob performance behavior, distinct from general-purpose blob access tiers.

B:

A: Premium page blob account is meant to support workloads that require premium page blob characteristics, not to host Azure Files premium shares with predictable provisioned file-share performance; Premium page blob storage is tailored to page blob performance behavior, distinct from general-purpose blob access tiers; for B, the proposed Premium FileStorage account handles host Azure Files premium shares with predictable provisioned file-share performance, which is not the requested support workloads that require premium page blob characteristics outcome; FileStorage is designed for premium Azure file shares; it is not the same account kind as premium block blob storage.

D:

The A setting is right: Premium FileStorage account supplies the ability to host Azure Files premium shares with predictable provisioned file-share performance; FileStorage is designed for premium Azure file shares; it is not the same account kind as premium block blob storage; for B, the proposed General-purpose v2 account handles support standard general storage services and access tiers in one broadly compatible account, which is not the requested support workloads that require premium page blob characteristics outcome; Standard GPv2 supports blobs, files, queues and tables with applicable redundancy and tier options; it is the general default for many workloads.

Microsoft Azure Administrator (AZ-104) Practice Tests