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

Question 40

A containerized API is using Azure Container Apps features. A rollout covers two separately managed targets: the first must release a new immutable application revision for traffic shifting or rollback, and the second must expose an application endpoint internally or externally over supported protocols. Which ordered configuration is suitable?

  1. On resource A use Container App revision; on resource B use Container Apps environment.
  2. On resource A use Container App revision; on resource B use Container Apps ingress.
  3. On resource A use Container Apps ingress; on resource B use Container App revision.
  4. On resource A use Container Apps scale rule; on resource B use Container Apps ingress.

Explanation

Correct Answer

B:

The A choice, Container App revision, fits the configured outcome; Revisions capture eligible configuration and image changes, allowing controlled rollout patterns in supported revision modes; at B, Container Apps ingress is appropriate; Ingress controls how traffic reaches the Container App; it does not itself define how many replicas should run.

Incorrect Answers

A:

For A, the selected Container App revision achieves the stated result to release a new immutable application revision for traffic shifting or rollback; Revisions capture eligible configuration and image changes, allowing controlled rollout patterns in supported revision modes; b: Container Apps environment is meant to provide the shared networking and operational boundary for one or more Container Apps, not to expose an application endpoint internally or externally over supported protocols; An environment hosts connected Container Apps and shared infrastructure settings; it is not a single revision of an individual app.

C:

A: Container Apps ingress is meant to expose an application endpoint internally or externally over supported protocols, not to release a new immutable application revision for traffic shifting or rollback; Ingress controls how traffic reaches the Container App; it does not itself define how many replicas should run; at B, Container App revision is mismatched; Revisions capture eligible configuration and image changes, allowing controlled rollout patterns in supported revision modes; the requested need is to expose an application endpoint internally or externally over supported protocols.

D:

At A, Container Apps scale rule is mismatched; Scale rules translate signals into desired replica counts within configured limits, including scale-to-zero for supported workloads; the requested need is to release a new immutable application revision for traffic shifting or rollback; at B, Container Apps ingress is appropriate; Ingress controls how traffic reaches the Container App; it does not itself define how many replicas should run.

Question 41

A subscription team must separate resource administration from authorization delegation. The team is configuring two independent resources. Resource A needs to view Azure resource configuration without altering management-plane settings; resource B needs to manage Azure RBAC role assignments without receiving general resource modification rights. Which assignment of capabilities meets both goals?

  1. On resource A use Reader; on resource B use Role Based Access Control Administrator.
  2. On resource A use Role Based Access Control Administrator; on resource B use Reader.
  3. On resource A use Reader; on resource B use Owner.
  4. On resource A use Contributor; on resource B use Role Based Access Control Administrator.

Explanation

Correct Answer

A:

A: Reader meets the requirement to view Azure resource configuration without altering management-plane settings; Reader grants read actions on Azure management resources but not write or delete operations; it does not imply every data-plane permission; the B setting is right: Role Based Access Control Administrator supplies the ability to manage Azure RBAC role assignments without receiving general resource modification rights; The RBAC Administrator role focuses on role-assignment management and can be constrained by conditions; it is not equivalent to full resource Owner access.

Incorrect Answers

B:

At A, Role Based Access Control Administrator is mismatched; The RBAC Administrator role focuses on role-assignment management and can be constrained by conditions; it is not equivalent to full resource Owner access; the requested need is to view Azure resource configuration without altering management-plane settings; b calls for a different mechanism to manage Azure RBAC role assignments without receiving general resource modification rights; Reader instead supports the action to view Azure resource configuration without altering management-plane settings; Reader grants read actions on Azure management resources but not write or delete operations; it does not imply every data-plane permission.

C:

The A setting is right: Reader supplies the ability to view Azure resource configuration without altering management-plane settings; Reader grants read actions on Azure management resources but not write or delete operations; it does not imply every data-plane permission; b calls for a different mechanism to manage Azure RBAC role assignments without receiving general resource modification rights; Owner instead supports the action to manage resources and grant other principals Azure RBAC permissions at the assigned scope; Owner combines broad resource control with authorization management at its assignment scope; least-privilege practice limits where it is granted.

D:

A calls for a different mechanism to view Azure resource configuration without altering management-plane settings; Contributor instead supports the action to deploy and modify Azure resources without granting role-assignment authority; Contributor manages most resources at the assigned scope but excludes Microsoft.Authorization role-assignment privileges needed for delegating access; b is correctly mapped to Role Based Access Control Administrator; The RBAC Administrator role focuses on role-assignment management and can be constrained by conditions; it is not equivalent to full resource Owner access.

Question 42

An application team needs a storage-account type matched to workload behavior. One target has an acceptance criterion to optimize low-latency block blob workloads on premium storage hardware. A different target has a criterion to support workloads that require premium page blob characteristics. Which two choices meet these criteria in sequence?

  1. A uses General-purpose v2 account, whereas B uses Premium FileStorage account.
  2. A uses Premium block blob account, whereas B uses Premium page blob account.
  3. A uses Premium block blob account, whereas B uses Premium FileStorage account.
  4. A uses General-purpose v2 account, whereas B uses Premium page blob account.
  5. A uses Premium FileStorage account, whereas B uses General-purpose v2 account.
  6. A uses Premium page blob account, whereas B uses Premium block blob account.

Explanation

Correct Answer

B:

For A, the selected Premium block blob account achieves the stated result to optimize low-latency block blob workloads on premium storage hardware; BlockBlobStorage is a premium account kind focused on block blob workloads, not general queues or SMB file shares; b: Premium page blob account meets the requirement 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:

A calls for a different mechanism to optimize low-latency block blob workloads on premium storage hardware; General-purpose v2 account instead supports the action 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; b: Premium FileStorage account is meant to host Azure Files premium shares with predictable provisioned file-share performance, not to support workloads that require premium page blob characteristics; FileStorage is designed for premium Azure file shares; it is not the same account kind as premium block blob storage.

C:

The A choice, Premium block blob account, fits the configured outcome; BlockBlobStorage is a premium account kind focused on block blob workloads, not general queues or SMB file shares; at B, Premium FileStorage account is mismatched; FileStorage is designed for premium Azure file shares; it is not the same account kind as premium block blob storage; the requested need is to support workloads that require premium page blob characteristics.

D:

A: General-purpose v2 account is meant to support standard general storage services and access tiers in one broadly compatible account, not to optimize low-latency block blob workloads on premium storage hardware; Standard GPv2 supports blobs, files, queues and tables with applicable redundancy and tier options; it is the general default for many workloads; at B, Premium page blob account is appropriate; Premium page blob storage is tailored to page blob performance behavior, distinct from general-purpose blob access tiers.

E:

At A, Premium FileStorage account is mismatched; FileStorage is designed for premium Azure file shares; it is not the same account kind as premium block blob storage; the requested need is to optimize low-latency block blob workloads on premium storage hardware; at B, General-purpose v2 account is mismatched; Standard GPv2 supports blobs, files, queues and tables with applicable redundancy and tier options; it is the general default for many workloads; the requested need is to support workloads that require premium page blob characteristics.

F:

The A selection is incorrect for the need to optimize low-latency block blob workloads on premium storage hardware: 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; at B, 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 workloads that require premium page blob characteristics.

Question 43

An application experiences changing traffic and resource pressure. The deployment owner requests a capability to adjust instance count when monitored measurements cross configured thresholds. What satisfies the requirement?

  1. Metric-based autoscale profile
  2. Vertical VM resize
  3. Subscription move
  4. Scheduled autoscale profile

Explanation

Correct Answer

A:

To accomplish the specified task to adjust instance count when monitored measurements cross configured thresholds, use Metric-based autoscale profile; Metric-based autoscale reacts to telemetry and cooldown windows, unlike fixed instance-count schedules.

Incorrect Answers

B:

Vertical VM resize serves to increase per-instance CPU and memory by selecting a larger VM SKU, whereas this case requires the action to adjust instance count when monitored measurements cross configured thresholds; Scaling up changes each instance's capacity and can require maintenance; it does not automatically create redundancy.

C:

The request to adjust instance count when monitored measurements cross configured thresholds is not fulfilled by Subscription move; its intended role is to transfer an eligible VM and dependent resources to another subscription with proper preparation: Cross-subscription resource moves depend on supported providers, constraints and permissions and do not themselves relocate geography.

D:

Scheduled autoscale profile is designed to change scale-set instance count based on a predictable recurring usage schedule, not to adjust instance count when monitored measurements cross configured thresholds in this case; Scheduled profiles use defined time windows and capacity settings; they are appropriate when demand has known peaks.

Question 44

An operations team is responding to shared-key credential exposure. A production change must retrieve an account key for a client that explicitly requires key authentication. What is the appropriate control or resource?

  1. Azure Import/Export service
  2. Store a credential in Key Vault
  3. List storage account access keys
  4. Disable Shared Key authorization

Explanation

Correct Answer

C:

To accomplish the specified task to retrieve an account key for a client that explicitly requires key authentication, use List storage account access keys; Listing keys is a management-plane permission; possession of the key can authorize broad storage data operations.

Incorrect Answers

A:

For the target required to retrieve an account key for a client that explicitly requires key authentication, Azure Import/Export service is the wrong control: it is used to use customer-provided supported disks for an offline Azure data import or export job; Import/Export handles physical disks and processing jobs rather than online object copies through an API.

B:

The proposed Store a credential in Key Vault addresses the separate function to centralize controlled retrieval of a storage credential used by an application; Key Vault provides secret storage, access control and auditing; storing a key there does not narrow the permissions of the key itself, which does not meet the stated need to retrieve an account key for a client that explicitly requires key authentication.

D:

Disable Shared Key authorization serves to require supported requests to use Microsoft Entra authorization instead of account keys, whereas this case requires the action to retrieve an account key for a client that explicitly requires key authentication; Disabling Shared Key authorization blocks requests authorized with account keys and affected key-signed SAS, subject to service-specific constraints.

Question 45

A hybrid file services team needs shared file access with different constraints. A change board is assessing two scopes of work. On the first, engineers will provide a managed network file share accessed over the SMB protocol. On the second, they will cache and synchronize an Azure file share through Windows Server endpoints. Which selection is valid?

  1. On resource A use Azure Files NFS share; on resource B use Azure File Sync.
  2. On resource A use Azure Files SMB share; on resource B use Azure File Sync.
  3. On resource A use Azure File Sync; on resource B use Azure Files SMB share.
  4. On resource A use Azure Files SMB share; on resource B use Azure Files share snapshot.

Explanation

Correct Answer

B:

The A choice, Azure Files SMB share, fits the configured outcome; SMB Azure file shares offer familiar file-system access; identity-based authorization and network prerequisites depend on the chosen configuration; at B, Azure File Sync is appropriate; File Sync lets servers maintain a local namespace and optional cloud tiering while Azure Files remains the cloud endpoint.

Incorrect Answers

A:

For A, the proposed Azure Files NFS share handles mount a supported premium Azure file share through the NFS protocol, which is not the requested provide a managed network file share accessed over the SMB protocol outcome; NFS is appropriate for compatible Unix-style clients and has separate security and networking characteristics from SMB identity authentication; at B, Azure File Sync is appropriate; File Sync lets servers maintain a local namespace and optional cloud tiering while Azure Files remains the cloud endpoint.

C:

A: Azure File Sync is meant to cache and synchronize an Azure file share through Windows Server endpoints, not to provide a managed network file share accessed over the SMB protocol; File Sync lets servers maintain a local namespace and optional cloud tiering while Azure Files remains the cloud endpoint; the B selection is incorrect for the need to cache and synchronize an Azure file share through Windows Server endpoints: Azure Files SMB share serves to provide a managed network file share accessed over the SMB protocol; SMB Azure file shares offer familiar file-system access; identity-based authorization and network prerequisites depend on the chosen configuration.

D:

At A, Azure Files SMB share is appropriate; SMB Azure file shares offer familiar file-system access; identity-based authorization and network prerequisites depend on the chosen configuration; the B selection is incorrect for the need to cache and synchronize an Azure file share through Windows Server endpoints: Azure Files share snapshot serves to capture a point-in-time read-only state of an Azure file share; Share snapshots help recover earlier file contents and names; they do not replace all long-term backup or regional continuity planning.

Question 46

An administrator needs specific Azure virtual machine operational visibility. One target has an acceptance criterion to access supported VM text console diagnostics when network logon is unavailable. A different target has a criterion to identify Azure platform availability problems affecting an individual VM while separating them from guest failures. Which two choices meet these criteria in sequence?

  1. First target: Serial Console; second target: VM Resource Health.
  2. First target: VM Resource Health; second target: Serial Console.
  3. First target: Boot diagnostics; second target: VM Resource Health.
  4. First target: Serial Console; second target: VM Insights.

Explanation

Correct Answer

A:

At A, Serial Console is appropriate; Serial Console provides a console-level troubleshooting channel for eligible VMs without relying on inbound SSH or RDP; for B, the selected VM Resource Health achieves the stated result to identify Azure platform availability problems affecting an individual VM while separating them from guest failures; Resource Health reports current and historical platform availability for supported VMs; it complements rather than replaces guest OS diagnostics.

Incorrect Answers

B:

The A selection is incorrect for the need to access supported VM text console diagnostics when network logon is unavailable: VM Resource Health serves to identify Azure platform availability problems affecting an individual VM while separating them from guest failures; Resource Health reports current and historical platform availability for supported VMs; it complements rather than replaces guest OS diagnostics; for B, the proposed Serial Console handles access supported VM text console diagnostics when network logon is unavailable, which is not the requested identify Azure platform availability problems affecting an individual VM while separating them from guest failures outcome; Serial Console provides a console-level troubleshooting channel for eligible VMs without relying on inbound SSH or RDP.

C:

A calls for a different mechanism to access supported VM text console diagnostics when network logon is unavailable; Boot diagnostics instead supports the action to capture VM console screenshots and serial output during boot failures; Boot diagnostics can reveal startup issues when ordinary guest connectivity is not working; it does not change guest firewall rules; the B choice, VM Resource Health, fits the configured outcome; Resource Health reports current and historical platform availability for supported VMs; it complements rather than replaces guest OS diagnostics.

D:

For A, the selected Serial Console achieves the stated result to access supported VM text console diagnostics when network logon is unavailable; Serial Console provides a console-level troubleshooting channel for eligible VMs without relying on inbound SSH or RDP; the B mapping to VM Insights misses the required goal to identify Azure platform availability problems affecting an individual VM while separating them from guest failures; VM Insights aggregates guest and infrastructure monitoring after required agent/data collection setup; it does not automatically resize a VM; it addresses inspect VM performance, processes and dependency telemetry through Azure Monitor instead.

Question 47

A workspace contains infrastructure log records and an analyst needs a query transformation. A change request specifies the outcome to combine related records from two KQL tabular inputs based on matching keys. What should be used?

  1. KQL where operator
  2. KQL summarize operator
  3. Log search alert
  4. KQL join operator

Explanation

Correct Answer

D:

KQL join operator addresses the request to combine related records from two KQL tabular inputs based on matching keys: Join correlates rows from two tables or result sets using a specified join kind and condition.

Incorrect Answers

A:

For the target required to combine related records from two KQL tabular inputs based on matching keys, KQL where operator is the wrong control: it is used 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:

The proposed KQL summarize operator addresses the separate function to aggregate rows into counts, averages or other measures by group; Summarize groups records and computes aggregate expressions, unlike a simple row-by-row filter, which does not meet the stated need to combine related records from two KQL tabular inputs based on matching keys.

C:

Log search alert would be used to evaluate a KQL query on ingested records at a configured frequency; Scheduled query alert rules analyze workspace data and trigger from matching query results or measurements, but the question asks how to combine related records from two KQL tabular inputs based on matching keys.

Question 48

A systems administrator is designing virtual machine availability across failures. A cloud governance checklist specifies (1) manage multiple related VM instances with coordinated provisioning and optional autoscale; (2) place latency-sensitive Azure compute resources physically near each other when feasible. Select TWO items that belong in the configuration.

  1. Proximity placement group
  2. Availability set placement
  3. Virtual Machine Scale Set
  4. Availability zone placement

Explanation

Correct Answers

A:

Proximity placement group is included because it can place latency-sensitive Azure compute resources physically near each other when feasible; Proximity placement prioritizes low network latency between resources, not maximum separation against site-level failures, which fits one of the stated operational goals.

C:

The stated condition to manage multiple related VM instances with coordinated provisioning and optional autoscale calls for Virtual Machine Scale Set; Scale sets simplify homogeneous or flexible instance fleet operations; they are not a substitute for backup of application data, directly addressing that individual target.

Incorrect Answers

B:

The purpose of Availability set placement is to place VMs across fault and update domains within a datacenter-level availability arrangement; Availability sets separate fault and planned maintenance domains but do not distribute machines across geographic regions, but no target in this question asks for that capability.

D:

Availability zone placement is intended to spread supported VMs across physically separate zones in one region; Availability zones isolate datacenter failure domains and can protect distributed workloads from a single zone failure, so it would not implement any of these separate requested outcomes.

Question 49

A help desk is preparing distinct account-management procedures. Which of the listed choices would allow the operator to prevent a departed employee from starting new interactive sign-ins?

  1. Reset a user's password
  2. Revoke a user's sign-in sessions
  3. Direct license assignment
  4. Block a user's sign-in

Explanation

Correct Answer

D:

For the work item that must prevent a departed employee from starting new interactive sign-ins, Block a user's sign-in is appropriate: Disabling sign-in blocks subsequent authentication for that directory account, while existing sessions may need separate revocation or expiry handling.

Incorrect Answers

A:

Reset a user's password would be used 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, but the question asks how to prevent a departed employee from starting new interactive sign-ins.

B:

Revoke a user's sign-in sessions serves to invalidate refresh tokens and require reauthentication after an incident, whereas this case requires the action to prevent a departed employee from starting new interactive sign-ins; Session revocation affects the user's authentication sessions; it is distinct from changing an RBAC assignment on an Azure resource.

C:

The request to prevent a departed employee from starting new interactive sign-ins is not fulfilled by Direct license assignment; its intended role is to grant a specific Microsoft cloud product license to one identified user: Direct assignment targets the chosen user and selected service plans; it does not propagate to every member of a group.

Question 50

An administrator needs specific Azure virtual machine operational visibility. The deployment owner requests a capability to identify Azure platform availability problems affecting an individual VM while separating them from guest failures. What satisfies the requirement?

  1. Boot diagnostics
  2. ACI restart policy
  3. VM Resource Health
  4. Serial Console

Explanation

Correct Answer

C:

The requested operation is to identify Azure platform availability problems affecting an individual VM while separating them from guest failures; VM Resource Health provides this functionality: Resource Health reports current and historical platform availability for supported VMs; it complements rather than replaces guest OS diagnostics.

Incorrect Answers

A:

Boot diagnostics would be used to capture VM console screenshots and serial output during boot failures; Boot diagnostics can reveal startup issues when ordinary guest connectivity is not working; it does not change guest firewall rules, but the question asks how to identify Azure platform availability problems affecting an individual VM while separating them from guest failures.

B:

ACI restart policy serves to choose whether a container group restarts after its process exits, whereas this case requires the action to identify Azure platform availability problems affecting an individual VM while separating them from guest failures; Restart policies such as Always, OnFailure and Never control job lifecycle, not image repository authorization.

D:

Serial Console is designed to access supported VM text console diagnostics when network logon is unavailable, not to identify Azure platform availability problems affecting an individual VM while separating them from guest failures in this case; Serial Console provides a console-level troubleshooting channel for eligible VMs without relying on inbound SSH or RDP.

Microsoft Azure Administrator (AZ-104) Practice Tests