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

Question 900

A front-end app must connect privately to backend resources while controlling inbound access. The team has documented a specific need: reach supported TCP endpoints in another network through Azure Relay without direct VNet integration. Which Azure setting addresses it?

  1. Hybrid Connections
  2. Regional VNet integration
  3. App Service private endpoint
  4. Scale up App Service plan

Explanation

Correct Answer

A:

For the work item that must reach supported TCP endpoints in another network through Azure Relay without direct VNet integration, Hybrid Connections is appropriate: Hybrid Connections can connect an App Service app to specific host-and-port destinations; it is not general-purpose full-network routing.

Incorrect Answers

B:

For the target required to reach supported TCP endpoints in another network through Azure Relay without direct VNet integration, Regional VNet integration is the wrong control: it is used to let an App Service application send outbound traffic into an integrated virtual network; VNet integration enables outbound private network connectivity; it does not make the web app's inbound endpoint private.

C:

The proposed App Service private endpoint addresses the separate function to allow inbound client connections to the web app over an approved private IP; Private Endpoint provides private inbound reachability, normally paired with suitable private DNS name resolution, which does not meet the stated need to reach supported TCP endpoints in another network through Azure Relay without direct VNet integration.

D:

Scale up App Service plan would be used 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, but the question asks how to reach supported TCP endpoints in another network through Azure Relay without direct VNet integration.

Question 901

A regulated workload has explicit requirements for VM disk protection. One target has an acceptance criterion to perform supported guest-level volume encryption using BitLocker or DM-Crypt. A different target has a criterion to use a supported confidential VM configuration for stronger protection of VM-specific disk keys. Which two choices meet these criteria in sequence?

  1. A uses Confidential VM disk encryption, whereas B uses Azure Disk Encryption.
  2. A uses Azure Disk Encryption, whereas B uses Server-side encryption with platform keys.
  3. A uses Azure Disk Encryption, whereas B uses Confidential VM disk encryption.
  4. A uses Server-side encryption with platform keys, whereas B uses Confidential VM disk encryption.
  5. A uses Server-side encryption with platform keys, whereas B uses Disk Encryption Set with CMK.
  6. A uses Disk Encryption Set with CMK, whereas B uses Server-side encryption with platform keys.

Explanation

Correct Answer

C:

The A choice, Azure Disk Encryption, fits the configured outcome; Azure Disk Encryption integrates guest encryption technology and Key Vault; it is separate from automatic managed-disk server-side encryption; b: Confidential VM disk encryption meets the requirement to use a supported confidential VM configuration for stronger protection of VM-specific disk keys; Confidential VM security options may protect disk-encryption keys in hardware-backed boundaries and require supported VM sizes and images.

Incorrect Answers

A:

A calls for a different mechanism to perform supported guest-level volume encryption using BitLocker or DM-Crypt; Confidential VM disk encryption instead supports the action to use a supported confidential VM configuration for stronger protection of VM-specific disk keys; Confidential VM security options may protect disk-encryption keys in hardware-backed boundaries and require supported VM sizes and images; the B mapping to Azure Disk Encryption misses the required goal to use a supported confidential VM configuration for stronger protection of VM-specific disk keys; Azure Disk Encryption integrates guest encryption technology and Key Vault; it is separate from automatic managed-disk server-side encryption; it addresses perform supported guest-level volume encryption using BitLocker or DM-Crypt instead.

B:

For A, the selected Azure Disk Encryption achieves the stated result to perform supported guest-level volume encryption using BitLocker or DM-Crypt; Azure Disk Encryption integrates guest encryption technology and Key Vault; it is separate from automatic managed-disk server-side encryption; b: Server-side encryption with platform keys is meant to rely on Azure managed-disk encryption at rest without guest encryption configuration, not 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.

D:

A: Server-side encryption with platform keys is meant to rely on Azure managed-disk encryption at rest without guest encryption configuration, not to perform supported guest-level volume encryption using BitLocker or DM-Crypt; Managed disks are encrypted at rest by platform-managed keys by default; this happens below the guest operating system; b: Confidential VM disk encryption meets the requirement to use a supported confidential VM configuration for stronger protection of VM-specific disk keys; Confidential VM security options may protect disk-encryption keys in hardware-backed boundaries and require supported VM sizes and images.

E:

At A, Server-side encryption with platform keys is mismatched; Managed disks are encrypted at rest by platform-managed keys by default; this happens below the guest operating system; the requested need is to perform supported guest-level volume encryption using BitLocker or DM-Crypt; b: Disk Encryption Set with CMK is meant 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; A Disk Encryption Set connects supported disks to a Key Vault or HSM key so the customer controls the server-side key lifecycle.

F:

The A selection is incorrect for the need to perform supported guest-level volume encryption using BitLocker or DM-Crypt: Disk Encryption Set with CMK serves to use a customer-managed key for Azure managed-disk server-side encryption; A Disk Encryption Set connects supported disks to a Key Vault or HSM key so the customer controls the server-side key lifecycle; b: Server-side encryption with platform keys is meant to rely on Azure managed-disk encryption at rest without guest encryption configuration, not 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.

Question 902

The licensing team must administer subscription products for tenant users. An operations ticket requires a solution to grant a specific Microsoft cloud product license to one identified user. Select the relevant feature.

  1. License assignment error review
  2. Direct license assignment
  3. Disable a licensed service plan
  4. Storage Blob Data Reader

Explanation

Correct Answer

B:

The requested operation is to grant a specific Microsoft cloud product license to one identified user; Direct license assignment provides this functionality: Direct assignment targets the chosen user and selected service plans; it does not propagate to every member of a group.

Incorrect Answers

A:

License assignment error review serves to identify users whose automatic license application failed due to an assignment problem, whereas this case requires the action to grant a specific Microsoft cloud product license to one identified user; License status and processing errors expose conflicts or insufficient license capacity rather than silently repairing the source configuration.

C:

Disable a licensed service plan is designed to keep a product assigned while withholding a particular included service, not to grant a specific Microsoft cloud product license to one identified user in this case; A license can have individual service plans disabled where supported; removing the entire product is a broader change to the user's entitlements.

D:

For the target required to grant a specific Microsoft cloud product license to one identified user, Storage Blob Data Reader is the wrong control: it is used to allow read access to blob payloads using Microsoft Entra authorization; The Blob Data Reader role grants blob data-plane read permissions; Azure resource Reader alone does not provide the same payload access.

Question 903

A workspace contains infrastructure log records and an analyst needs a query transformation. The operational requirement is to aggregate rows into counts, averages or other measures by group. What is the most direct configuration?

  1. KQL where operator
  2. KQL project operator
  3. Recovery Services vault
  4. KQL summarize operator

Explanation

Correct Answer

D:

The stated need is to aggregate rows into counts, averages or other measures by group, so the applicable mechanism is KQL summarize operator: Summarize groups records and computes aggregate expressions, unlike a simple row-by-row filter.

Incorrect Answers

A:

The request to aggregate rows into counts, averages or other measures by group is not fulfilled by KQL where operator; its intended role is to filter rows so only records matching a specified predicate remain: Where filters the input result set by a Boolean expression before later aggregation or projection.

B:

KQL project operator is designed to keep or calculate a selected set of output columns from the queried data, not to aggregate rows into counts, averages or other measures by group in this case; Project shapes the columns returned by a query without computing group-level aggregate statistics by itself.

C:

For the target required to aggregate rows into counts, averages or other measures by group, Recovery Services vault is the wrong control: it is used to organize Azure VM backups and applicable disaster recovery protection workflows; A Recovery Services vault stores backup metadata and coordinates supported workload protection, with security and region constraints.

Question 904

The service desk is automating operating-system configuration after Azure VM deployment. Change A concerns the need to download and execute an initialization script through a supported Azure VM extension; change B concerns the separate need to execute a diagnostic or remediation command inside an Azure VM through Azure control-plane tooling. Select the correct mapping from A and B to Azure features.

  1. Task A → Custom Script Extension; task B → Run Command.
  2. Task A → Run Command; task B → Custom Script Extension.
  3. Task A → Custom Script Extension; task B → VM extension management.
  4. Task A → VM extension management; task B → Run Command.
  5. Task A → Azure Automation runbook; task B → VM extension management.

Explanation

Correct Answer

A:

At A, Custom Script Extension is appropriate; Custom Script Extension runs a specified command or script under the guest extension framework and can apply configuration postdeployment; b is correctly mapped to Run Command; Run Command can run supported scripts without a direct inbound SSH or RDP connection, subject to guest agent and permissions.

Incorrect Answers

B:

The A selection is incorrect for the need to download and execute an initialization script through a supported Azure VM extension: Run Command serves to execute a diagnostic or remediation command inside an Azure VM through Azure control-plane tooling; Run Command can run supported scripts without a direct inbound SSH or RDP connection, subject to guest agent and permissions; b calls for a different mechanism to execute a diagnostic or remediation command inside an Azure VM through Azure control-plane tooling; Custom Script Extension instead supports the action to download and execute an initialization script through a supported Azure VM extension; Custom Script Extension runs a specified command or script under the guest extension framework and can apply configuration postdeployment.

C:

A is correctly mapped to Custom Script Extension; Custom Script Extension runs a specified command or script under the guest extension framework and can apply configuration postdeployment; b calls for a different mechanism to execute a diagnostic or remediation command inside an Azure VM through Azure control-plane tooling; VM extension management instead supports the action to install and update Azure VM agents or extension handlers for management tasks; Extensions add guest management functionality such as monitoring or configuration; they are not a full infrastructure declaration language.

D:

For A, the proposed VM extension management handles install and update Azure VM agents or extension handlers for management tasks, which is not the requested download and execute an initialization script through a supported Azure VM extension outcome; Extensions add guest management functionality such as monitoring or configuration; they are not a full infrastructure declaration language; b is correctly mapped to Run Command; Run Command can run supported scripts without a direct inbound SSH or RDP connection, subject to guest agent and permissions.

E:

The A mapping to Azure Automation runbook misses the required goal to download and execute an initialization script through a supported Azure VM extension; Automation runbooks execute process logic using configured identity and modules, beyond an individual VM's extension invocation; it addresses coordinate a repeatable scheduled or triggered operational script across Azure resources instead; b calls for a different mechanism to execute a diagnostic or remediation command inside an Azure VM through Azure control-plane tooling; VM extension management instead supports the action to install and update Azure VM agents or extension handlers for management tasks; Extensions add guest management functionality such as monitoring or configuration; they are not a full infrastructure declaration language.

Question 905

A storage administrator is distinguishing recovery mechanisms after data changes. After reviewing the current state, the team must recover a blob that was deleted within the configured retention window. Which capability meets that need?

  1. Blob soft delete
  2. List storage account access keys
  3. Lifecycle management rule
  4. Blob versioning

Explanation

Correct Answer

A:

For the work item that must recover a blob that was deleted within the configured retention window, Blob soft delete is appropriate: Soft delete preserves recoverable deleted blob states for a period; it is not the same as an independent version for every overwrite.

Incorrect Answers

B:

For the target required to recover a blob that was deleted within the configured retention window, List storage account access keys is the wrong control: it is used to retrieve an account key for a client that explicitly requires key authentication; Listing keys is a management-plane permission; possession of the key can authorize broad storage data operations.

C:

The proposed Lifecycle management rule addresses the separate function to automatically tier or delete blobs after conditions such as age or last modification; Lifecycle rules evaluate matching blobs and perform configured transitions or deletion; they are not a user-initiated restore operation, which does not meet the stated need to recover a blob that was deleted within the configured retention window.

D:

Blob versioning would be used to retain prior blob versions when a current blob is overwritten or deleted; Versioning creates historical versions for eligible block blobs, supporting point-in-time object recovery after modifications, but the question asks how to recover a blob that was deleted within the configured retention window.

Question 906

An application team needs a storage-account type matched to workload behavior. An audit tests whether each operational objective has the correct control. Objective A is to support standard general storage services and access tiers in one broadly compatible account; objective B is to host Azure Files premium shares with predictable provisioned file-share performance. Which allocation will pass?

  1. Task A → Premium block blob account; task B → Premium FileStorage account.
  2. Task A → Premium FileStorage account; task B → General-purpose v2 account.
  3. Task A → General-purpose v2 account; task B → Premium FileStorage account.
  4. Task A → Premium FileStorage account; task B → Premium page blob account.
  5. Task A → General-purpose v2 account; task B → Premium page blob account.

Explanation

Correct Answer

C:

A is correctly mapped to General-purpose v2 account; Standard GPv2 supports blobs, files, queues and tables with applicable redundancy and tier options; it is the general default for many workloads; the B 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.

Incorrect Answers

A:

At A, Premium block blob account is mismatched; BlockBlobStorage is a premium account kind focused on block blob workloads, not general queues or SMB file shares; the requested need is to support standard general storage services and access tiers in one broadly compatible account; the B 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.

B:

The A selection is incorrect for the need to support standard general storage services and access tiers in one broadly compatible account: Premium FileStorage account serves 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; the B selection is incorrect for the need to host Azure Files premium shares with predictable provisioned file-share performance: General-purpose v2 account serves to support standard general storage services and access tiers in one broadly compatible account; Standard GPv2 supports blobs, files, queues and tables with applicable redundancy and tier options; it is the general default for many workloads.

D:

For A, the proposed Premium FileStorage account handles host Azure Files premium shares with predictable provisioned file-share performance, which is not the requested support standard general storage services and access tiers in one broadly compatible account outcome; FileStorage is designed for premium Azure file shares; it is not the same account kind as premium block blob storage; the B selection is incorrect for the need to host Azure Files premium shares with predictable provisioned file-share performance: Premium page blob account serves 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.

E:

The A choice, General-purpose v2 account, fits the configured outcome; Standard GPv2 supports blobs, files, queues and tables with applicable redundancy and tier options; it is the general default for many workloads; the B selection is incorrect for the need to host Azure Files premium shares with predictable provisioned file-share performance: Premium page blob account serves 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.

Question 907

A multi-tier environment needs stable private and public endpoints. A production change must retain a consistent public IP address for a supported resource across normal lifecycle changes. What is the appropriate control or resource?

  1. Static public IP
  2. IP flow verify
  3. Internal load balancer frontend
  4. Dynamic private IP

Explanation

Correct Answer

A:

Selecting Static public IP meets the requirement to retain a consistent public IP address for a supported resource across normal lifecycle changes; Static allocation reserves the public address while the public IP resource exists, unlike a dynamically allocated address.

Incorrect Answers

B:

The proposed IP flow verify addresses the separate function 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, which does not meet the stated need to retain a consistent public IP address for a supported resource across normal lifecycle changes.

C:

Internal load balancer frontend would be used to expose a load-balanced service using a private IP within an Azure virtual network; An internal frontend routes traffic inside connected private networks; it does not expose a public internet VIP, but the question asks how to retain a consistent public IP address for a supported resource across normal lifecycle changes.

D:

Dynamic private IP serves to let Azure allocate an available private IP within a chosen subnet for a NIC, whereas this case requires the action to retain a consistent public IP address for a supported resource across normal lifecycle changes; Dynamic private IP allocation is managed within the subnet and may change after certain lifecycle actions; it is not an internet address.

Question 908

Architects are deciding how widely inherited Azure permissions should extend. One target has an acceptance criterion to grant a role across subscriptions that belong to a management-group branch. A different target has a criterion to grant access to every resource in one named resource group and its future children. Which two choices meet these criteria in sequence?

  1. First target: Resource group scope; second target: Management group scope.
  2. First target: Management group scope; second target: Individual resource scope.
  3. First target: Management group scope; second target: Resource group scope.
  4. First target: Management group scope; second target: Subscription scope.

Explanation

Correct Answer

C:

A is correctly mapped to Management group scope; A management-group role assignment is inherited by descendant subscriptions and their resources, extending farther than a single subscription assignment; b is correctly mapped to Resource group scope; Resource group assignments are inherited by resources in that group; they do not cover a different group in the same subscription.

Incorrect Answers

A:

At A, Resource group scope is mismatched; Resource group assignments are inherited by resources in that group; they do not cover a different group in the same subscription; the requested need is to grant a role across subscriptions that belong to a management-group branch; b calls for a different mechanism to grant access to every resource in one named resource group and its future children; Management group scope instead supports the action to grant a role across subscriptions that belong to a management-group branch; A management-group role assignment is inherited by descendant subscriptions and their resources, extending farther than a single subscription assignment.

B:

The A setting is right: Management group scope supplies the ability to grant a role across subscriptions that belong to a management-group branch; A management-group role assignment is inherited by descendant subscriptions and their resources, extending farther than a single subscription assignment; b calls for a different mechanism to grant access to every resource in one named resource group and its future children; Individual resource scope instead supports the action to restrict a role assignment to one specific Azure resource; A resource-level assignment is the narrowest of these scopes and avoids granting permissions over its sibling resources.

D:

For A, the selected Management group scope achieves the stated result to grant a role across subscriptions that belong to a management-group branch; A management-group role assignment is inherited by descendant subscriptions and their resources, extending farther than a single subscription assignment; b calls for a different mechanism to grant access to every resource in one named resource group and its future children; Subscription scope instead supports the action to apply a role across all resource groups and resources inside one subscription; Subscription-scope Azure RBAC flows downward through that subscription but does not automatically extend to unrelated subscriptions.

Question 909

A storage-connected application must choose a suitable path to a managed Azure service. The team has documented a specific need: enable supported subnet NSG or user-defined-route filtering for private endpoint traffic. Which Azure setting addresses it?

  1. Private endpoint subnet network policies
  2. Traffic Manager
  3. Private endpoint target subresource
  4. Service endpoint

Explanation

Correct Answer

A:

For the work item that must enable supported subnet NSG or user-defined-route filtering for private endpoint traffic, Private endpoint subnet network policies is appropriate: Private endpoint subnet network policies govern whether NSG or UDR evaluation can apply to private endpoints; the setting does not itself add rules or routes.

Incorrect Answers

B:

For the target required to enable supported subnet NSG or user-defined-route filtering for private endpoint traffic, Traffic Manager is the wrong control: it is used 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.

C:

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 enable supported subnet NSG or user-defined-route filtering for private endpoint traffic.

D:

Service endpoint would be used to secure a supported PaaS public endpoint to specific virtual-network subnets; Service endpoints extend subnet identity to a service and retain the service's public endpoint, unlike Private Link private IP access, but the question asks how to enable supported subnet NSG or user-defined-route filtering for private endpoint traffic.

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.

Microsoft Azure Administrator (AZ-104) Practice Tests