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

Question 430

A backup administrator is preparing evidence and investigating failed protection jobs. Two operations are being approved together but applied separately. For task A the team must analyze longer-term backup usage, trends and compliance using supported report data; for task B it must notify responders of backup health or protection failures when supported alert conditions occur. Which configuration pair passes the review?

  1. For A, configure Backup job history; for B, configure Backup alerts.
  2. For A, configure Backup reports; for B, configure Backup alerts.
  3. For A, configure Backup reports; for B, configure Backup job history.
  4. For A, configure Backup alerts; for B, configure Backup reports.

Explanation

Correct Answer

B:

The A choice, Backup reports, fits the configured outcome; Backup reports summarize backup estate information and can require diagnostic data routed to an appropriate workspace; b is correctly mapped to Backup alerts; Alerts surface actionable backup issues; they do not automatically restore a damaged workload.

Incorrect Answers

A:

For A, the proposed Backup job history handles inspect backup or restore operation outcomes and errors for protected resources, which is not the requested analyze longer-term backup usage, trends and compliance using supported report data outcome; Job history exposes operational status and failure details for backup tasks, enabling targeted follow-up; b is correctly mapped to Backup alerts; Alerts surface actionable backup issues; they do not automatically restore a damaged workload.

C:

A: Backup reports meets the requirement to analyze longer-term backup usage, trends and compliance using supported report data; Backup reports summarize backup estate information and can require diagnostic data routed to an appropriate workspace; b calls for a different mechanism to notify responders of backup health or protection failures when supported alert conditions occur; Backup job history instead supports the action to inspect backup or restore operation outcomes and errors for protected resources; Job history exposes operational status and failure details for backup tasks, enabling targeted follow-up.

D:

At A, Backup alerts is mismatched; Alerts surface actionable backup issues; they do not automatically restore a damaged workload; the requested need is to analyze longer-term backup usage, trends and compliance using supported report data; b calls for a different mechanism to notify responders of backup health or protection failures when supported alert conditions occur; Backup reports instead supports the action to analyze longer-term backup usage, trends and compliance using supported report data; Backup reports summarize backup estate information and can require diagnostic data routed to an appropriate workspace.

Question 431

An operations center wants a ready-made resource-specific monitoring experience. During acceptance testing, the operator must review health and topology or monitoring information for supported Azure network resources. Identify the appropriate Azure mechanism.

  1. Storage Insights
  2. Network Insights
  3. Container Insights
  4. Log search alert

Explanation

Correct Answer

B:

To accomplish the specified task to review health and topology or monitoring information for supported Azure network resources, use Network Insights; Network Insights presents network resource visibility and diagnostics rather than updating a subnet address prefix.

Incorrect Answers

A:

The proposed Storage Insights addresses the separate function to compare capacity, transaction and availability trends across storage accounts; Storage Insights consolidates Azure Monitor storage metrics and related data; it does not configure blob lifecycle policies, which does not meet the stated need to review health and topology or monitoring information for supported Azure network resources.

C:

Container Insights serves to monitor supported Kubernetes/container platform performance and operational health, whereas this case requires the action to review health and topology or monitoring information for supported Azure network resources; Container Insights provides cluster and container telemetry where supported; it is not a generic VM boot screenshot tool.

D:

The request to review health and topology or monitoring information for supported Azure network resources is not fulfilled by Log search alert; its intended role is 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.

Question 432

The service desk is automating operating-system configuration after Azure VM deployment. The team is configuring two independent resources. Resource A needs to execute a diagnostic or remediation command inside an Azure VM through Azure control-plane tooling; resource B needs to install and update Azure VM agents or extension handlers for management tasks. Which assignment of capabilities meets both goals?

  1. Implement Run Command on the first target and Azure Automation runbook on the second.
  2. Implement VM extension management on the first target and Run Command on the second.
  3. Implement Custom Script Extension on the first target and VM extension management on the second.
  4. Implement VM extension management on the first target and Custom Script Extension on the second.
  5. Implement Run Command on the first target and VM extension management on the second.

Explanation

Correct Answer

E:

The A setting is right: Run Command supplies the ability 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 is correctly mapped to VM extension management; Extensions add guest management functionality such as monitoring or configuration; they are not a full infrastructure declaration language.

Incorrect Answers

A:

For A, the selected Run Command achieves the stated result 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; the B selection is incorrect for the need to install and update Azure VM agents or extension handlers for management tasks: Azure Automation runbook serves to coordinate a repeatable scheduled or triggered operational script across Azure resources; Automation runbooks execute process logic using configured identity and modules, beyond an individual VM's extension invocation.

B:

The A mapping to VM extension management misses the required goal to execute a diagnostic or remediation command inside an Azure VM through Azure control-plane tooling; Extensions add guest management functionality such as monitoring or configuration; they are not a full infrastructure declaration language; it addresses install and update Azure VM agents or extension handlers for management tasks instead; the B selection is incorrect for the need to install and update Azure VM agents or extension handlers for management tasks: 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.

C:

A: Custom Script Extension is meant to download and execute an initialization script through a supported Azure VM extension, not to execute a diagnostic or remediation command inside an Azure VM through Azure control-plane tooling; Custom Script Extension runs a specified command or script under the guest extension framework and can apply configuration postdeployment; the B setting is right: VM extension management supplies the ability 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:

At A, VM extension management is mismatched; Extensions add guest management functionality such as monitoring or configuration; they are not a full infrastructure declaration language; the requested need is to execute a diagnostic or remediation command inside an Azure VM through Azure control-plane tooling; b calls for a different mechanism to install and update Azure VM agents or extension handlers for management tasks; 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.

Question 433

A containerized API is using Azure Container Apps features. A deployment engineer receives two requests that must not be conflated: to expose an application endpoint internally or externally over supported protocols, and separately to scale running replicas in response to HTTP, event or other supported KEDA signals. Which feature pair is correct?

  1. For A, configure Container Apps scale rule; for B, configure Container Apps ingress.
  2. For A, configure Container Apps ingress; for B, configure Container App revision.
  3. For A, configure Container Apps environment; for B, configure Container Apps scale rule.
  4. For A, configure Container Apps ingress; for B, configure Container Apps scale rule.

Explanation

Correct Answer

D:

The A choice, Container Apps ingress, fits the configured outcome; Ingress controls how traffic reaches the Container App; it does not itself define how many replicas should run; b is correctly mapped to Container Apps scale rule; Scale rules translate signals into desired replica counts within configured limits, including scale-to-zero for supported workloads.

Incorrect Answers

A:

The A selection is incorrect for the need to expose an application endpoint internally or externally over supported protocols: Container Apps scale rule serves to scale running replicas in response to HTTP, event or other supported KEDA signals; Scale rules translate signals into desired replica counts within configured limits, including scale-to-zero for supported workloads; b calls for a different mechanism to scale running replicas in response to HTTP, event or other supported KEDA signals; Container Apps ingress instead supports the action to expose an application endpoint internally or externally over supported protocols; Ingress controls how traffic reaches the Container App; it does not itself define how many replicas should run.

B:

A is correctly mapped to Container Apps ingress; Ingress controls how traffic reaches the Container App; it does not itself define how many replicas should run; b calls for a different mechanism to scale running replicas in response to HTTP, event or other supported KEDA signals; Container App revision instead supports the action 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.

C:

For A, the proposed Container Apps environment handles provide the shared networking and operational boundary for one or more Container Apps, which is not the requested expose an application endpoint internally or externally over supported protocols outcome; An environment hosts connected Container Apps and shared infrastructure settings; it is not a single revision of an individual app; b is correctly mapped to Container Apps scale rule; Scale rules translate signals into desired replica counts within configured limits, including scale-to-zero for supported workloads.

Question 434

A data platform is limiting which network paths can reach its storage accounts. The team has documented a specific need: permit specifically supported Microsoft services despite otherwise restrictive storage network rules. Which Azure setting addresses it?

  1. Trusted Azure services exception
  2. Azure Files NFS share
  3. Virtual network service endpoint
  4. Private endpoint

Explanation

Correct Answer

A:

For the work item that must permit specifically supported Microsoft services despite otherwise restrictive storage network rules, Trusted Azure services exception is appropriate: The trusted-services bypass is a limited exception for documented services, not general permission for every Azure resource.

Incorrect Answers

B:

For the target required to permit specifically supported Microsoft services despite otherwise restrictive storage network rules, Azure Files NFS share is the wrong control: it is used to mount a supported premium Azure file share through the NFS protocol; NFS is appropriate for compatible Unix-style clients and has separate security and networking characteristics from SMB identity authentication.

C:

The proposed Virtual network service endpoint addresses the separate function to keep supported Azure service traffic on the Azure backbone while restricting access by subnet identity; A service endpoint extends VNet identity to a PaaS public service endpoint; it does not assign the service a private VNet IP, which does not meet the stated need to permit specifically supported Microsoft services despite otherwise restrictive storage network rules.

D:

Private endpoint would be used to give a storage service a private IP interface reachable from an authorized virtual network; Private Link maps an approved service subresource to a private endpoint NIC; private DNS is usually needed for ordinary name resolution, but the question asks how to permit specifically supported Microsoft services despite otherwise restrictive storage network rules.

Question 435

A web-tier fleet is adopting Azure VM scale-set management. A production change must change the number of VM instances in response to monitored load metrics. What is the appropriate control or resource?

  1. Application Health extension
  2. Container Apps environment
  3. VMSS autoscale rule
  4. Flexible orchestration mode

Explanation

Correct Answer

C:

To accomplish the specified task to change the number of VM instances in response to monitored load metrics, use VMSS autoscale rule; Autoscale policies adjust instance count against defined bounds and cooldown behavior; they do not expand an individual VM disk.

Incorrect Answers

A:

For the target required to change the number of VM instances in response to monitored load metrics, Application Health extension is the wrong control: it is used to report guest application health to improve supported scale-set repair or upgrade decisions; Application health reports whether an application endpoint or signal is healthy, unlike a mere VM power state check.

B:

The proposed Container Apps environment addresses the separate function to provide the shared networking and operational boundary for one or more Container Apps; An environment hosts connected Container Apps and shared infrastructure settings; it is not a single revision of an individual app, which does not meet the stated need to change the number of VM instances in response to monitored load metrics.

D:

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 change the number of VM instances in response to monitored load metrics; Flexible orchestration supports VM-oriented operational control and deployment patterns different from uniform scale sets.

Question 436

A web-tier fleet is adopting Azure VM scale-set management. A change board is assessing two scopes of work. On the first, engineers will deploy a largely identical fleet of VM instances under a scale-set model. On the second, they will change the number of VM instances in response to monitored load metrics. Which selection is valid?

  1. Implement Uniform orchestration mode on the first target and Application Health extension on the second.
  2. Implement VMSS autoscale rule on the first target and Uniform orchestration mode on the second.
  3. Implement Uniform orchestration mode on the first target and Flexible orchestration mode on the second.
  4. Implement Application Health extension on the first target and Flexible orchestration mode on the second.
  5. Implement Uniform orchestration mode on the first target and VMSS autoscale rule on the second.

Explanation

Correct Answer

E:

A: Uniform orchestration mode meets the requirement 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; b is correctly mapped to VMSS autoscale rule; Autoscale policies adjust instance count against defined bounds and cooldown behavior; they do not expand an individual VM disk.

Incorrect Answers

A:

The A setting is right: Uniform orchestration mode supplies the ability 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; b calls for a different mechanism to change the number of VM instances in response to monitored load metrics; Application Health extension instead supports the action to report guest application health to improve supported scale-set repair or upgrade decisions; Application health reports whether an application endpoint or signal is healthy, unlike a mere VM power state check.

B:

A calls for a different mechanism to deploy a largely identical fleet of VM instances under a scale-set model; VMSS autoscale rule instead supports the action to change the number of VM instances in response to monitored load metrics; Autoscale policies adjust instance count against defined bounds and cooldown behavior; they do not expand an individual VM disk; b calls for a different mechanism to change the number of VM instances in response to monitored load metrics; Uniform orchestration mode instead supports the action 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.

C:

For A, the selected Uniform orchestration mode achieves the stated result 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; b calls for a different mechanism to change the number of VM instances in response to monitored load metrics; Flexible orchestration mode instead supports the action to manage a scale set with a flexible mix of VM instances and availability placement capabilities; Flexible orchestration supports VM-oriented operational control and deployment patterns different from uniform scale sets.

D:

The A mapping to Application Health extension misses the required goal to deploy a largely identical fleet of VM instances under a scale-set model; Application health reports whether an application endpoint or signal is healthy, unlike a mere VM power state check; it addresses report guest application health to improve supported scale-set repair or upgrade decisions instead; b calls for a different mechanism to change the number of VM instances in response to monitored load metrics; Flexible orchestration mode instead supports the action to manage a scale set with a flexible mix of VM instances and availability placement capabilities; Flexible orchestration supports VM-oriented operational control and deployment patterns different from uniform scale sets.

Question 437

An application owner is connecting a branded hostname to an Azure web app. An audit tests whether each operational objective has the correct control. Objective A is to map a subdomain hostname to an App Service default hostname where appropriate; objective B is to prove control of a custom domain to App Service before binding it. Which allocation will pass?

  1. First target: A DNS record; second target: TXT domain verification record.
  2. First target: CNAME DNS record; second target: TXT domain verification record.
  3. First target: App Service managed certificate; second target: TXT domain verification record.
  4. First target: TXT domain verification record; second target: CNAME DNS record.

Explanation

Correct Answer

B:

For A, the selected CNAME DNS record achieves the stated result to map a subdomain hostname to an App Service default hostname where appropriate; A CNAME creates DNS alias resolution for a subdomain; it is not the public IP address record used at a DNS zone apex; b is correctly mapped to TXT domain verification record; The verification TXT record helps prevent domain takeover by proving ownership; it does not route HTTP requests itself.

Incorrect Answers

A:

A calls for a different mechanism to map a subdomain hostname to an App Service default hostname where appropriate; A DNS record instead supports the action 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; b is correctly mapped to TXT domain verification record; The verification TXT record helps prevent domain takeover by proving ownership; it does not route HTTP requests itself.

C:

The A mapping to App Service managed certificate misses the required goal to map a subdomain hostname to an App Service default hostname where appropriate; Managed certificates can provide TLS for supported App Service custom domains with relevant restrictions; DNS mapping must also be correct; it addresses secure an eligible supported custom hostname using a platform-managed TLS certificate instead; b is correctly mapped to TXT domain verification record; The verification TXT record helps prevent domain takeover by proving ownership; it does not route HTTP requests itself.

D:

A: TXT domain verification record is meant to prove control of a custom domain to App Service before binding it, not 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; b calls for a different mechanism to prove control of a custom domain to App Service before binding it; CNAME DNS record instead supports the action to map a subdomain hostname to an App Service default hostname where appropriate; A CNAME creates DNS alias resolution for a subdomain; it is not the public IP address record used at a DNS zone apex.

Question 438

A governance program manages policies across several Azure subscriptions. The operational requirement is to apply an existing definition or initiative to a chosen Azure scope. What is the most direct configuration?

  1. Policy definition
  2. Policy initiative
  3. Policy assignment
  4. Storage Account Contributor

Explanation

Correct Answer

C:

Selecting Policy assignment meets the requirement to apply an existing definition or initiative to a chosen Azure scope; The assignment binds policy logic and parameter values to a management group, subscription or other supported scope.

Incorrect Answers

A:

The request to apply an existing definition or initiative to a chosen Azure scope is not fulfilled by Policy definition; its intended role is to describe the rule, effect and parameters that govern a resource condition: A definition contains the reusable logical rule but does not enforce anything until assigned to an applicable scope.

B:

Policy initiative is designed to group related policy definitions into one compliance and assignment unit, not to apply an existing definition or initiative to a chosen Azure scope in this case; An initiative combines multiple policies and shared parameters so governance teams can manage the bundle consistently.

D:

The proposed Storage Account Contributor addresses the separate function to change a storage account's management configuration without relying on its blob data-role grant; This role manages storage-account resources; using account keys obtained through permissions is different from direct Microsoft Entra blob data authorization, which does not meet the stated need to apply an existing definition or initiative to a chosen Azure scope.

Question 439

A central IT team administers multiple subscriptions through an organizational hierarchy. The remediation plan contains these distinct tasks: (1) organize subscriptions into parent and child management groups; (2) enforce a compliance rule across descendant subscriptions from one assignment; (3) delegate Azure permissions over resources in all descendant subscriptions. Which controls must be included? Choose THREE.

  1. Policy at management-group scope
  2. RBAC at management-group scope
  3. Assign subscription to management group
  4. Create management-group hierarchy

Explanation

Correct Answers

A:

Policy at management-group scope is needed for the specified objective to enforce a compliance rule across descendant subscriptions from one assignment; Assignments at management-group scope inherit downward, allowing a shared governance baseline across the contained subscriptions, making it one of the requested controls.

B:

RBAC at management-group scope is needed for the specified objective 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, making it one of the requested controls.

D:

For the target that must organize subscriptions into parent and child management groups, Create management-group hierarchy is a direct match because A management-group tree provides governance scopes above subscriptions and supports inherited policy and RBAC assignments, not a different configuration.

Incorrect Answers

C:

Assign subscription to management group would instead change which governance branch contains an existing subscription; Placing a subscription under a management group changes inheritance from that branch; it does not migrate resources between subscriptions, which is unrelated to the listed objectives for this item.

Question 440

A large tenant has a nonstandard least-privilege permission requirement. A change board is assessing two scopes of work. On the first, engineers will create an Azure management role with a deliberately chosen set of permitted actions. On the second, they will limit eligible role assignment behavior with supported Azure ABAC conditions. Which selection is valid?

  1. On resource A use Role assignment condition; on resource B use Azure custom role definition.
  2. On resource A use Built-in Reader role; on resource B use Role assignment condition.
  3. On resource A use Azure custom role definition; on resource B use Built-in Reader role.
  4. On resource A use Azure custom role definition; on resource B use Role assignment condition.

Explanation

Correct Answer

D:

At A, Azure custom role definition is appropriate; Custom role definitions specify actions and assignable scopes; they still need assignments to principals before granting permissions; b is correctly mapped to Role assignment condition; Azure role assignment conditions can add constraints for supported data actions or role-assignment delegation scenarios; they are not a universal substitute for custom roles.

Incorrect Answers

A:

For A, the proposed Role assignment condition handles limit eligible role assignment behavior with supported Azure ABAC conditions, which is not the requested create an Azure management role with a deliberately chosen set of permitted actions outcome; Azure role assignment conditions can add constraints for supported data actions or role-assignment delegation scenarios; they are not a universal substitute for custom roles; the B selection is incorrect for the need to limit eligible role assignment behavior with supported Azure ABAC conditions: Azure custom role definition serves to create an Azure management role with a deliberately chosen set of permitted actions; Custom role definitions specify actions and assignable scopes; they still need assignments to principals before granting permissions.

B:

The A mapping to Built-in Reader role misses the required goal to create an Azure management role with a deliberately chosen set of permitted actions; Reader is a predefined Azure RBAC role; no custom definition is necessary for straightforward resource viewing; it addresses grant a narrowly defined set of read-only management-plane operations instead; the B setting is right: Role assignment condition supplies the ability to limit eligible role assignment behavior with supported Azure ABAC conditions; Azure role assignment conditions can add constraints for supported data actions or role-assignment delegation scenarios; they are not a universal substitute for custom roles.

C:

A: Azure custom role definition meets the requirement to create an Azure management role with a deliberately chosen set of permitted actions; Custom role definitions specify actions and assignable scopes; they still need assignments to principals before granting permissions; the B selection is incorrect for the need to limit eligible role assignment behavior with supported Azure ABAC conditions: Built-in Reader role serves to grant a narrowly defined set of read-only management-plane operations; Reader is a predefined Azure RBAC role; no custom definition is necessary for straightforward resource viewing.

Microsoft Azure Administrator (AZ-104) Practice Tests