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

Question 940

A services team is matching storage durability to its failure tolerance. A deployment engineer receives two requests that must not be conflated: to synchronously withstand the loss of an availability zone within the primary region, and separately to combine primary-region zone resilience with asynchronous secondary-region replication. Which feature pair is correct?

  1. For A, configure Geo-redundant storage (GRS); for B, configure Geo-zone-redundant storage (GZRS).
  2. For A, configure Geo-zone-redundant storage (GZRS); for B, configure Zone-redundant storage (ZRS).
  3. For A, configure Zone-redundant storage (ZRS); for B, configure Geo-zone-redundant storage (GZRS).
  4. For A, configure Zone-redundant storage (ZRS); for B, configure Geo-redundant storage (GRS).

Explanation

Correct Answer

C:

For A, the selected Zone-redundant storage (ZRS) achieves the stated result to synchronously withstand the loss of an availability zone within the primary region; ZRS synchronously replicates across availability zones in supported regions without maintaining a geographic secondary region copy; b: Geo-zone-redundant storage (GZRS) meets the requirement to combine primary-region zone resilience with asynchronous secondary-region replication; GZRS provides primary-region ZRS and secondary-region geo replication; it combines protection from zone and regional disruption.

Incorrect Answers

A:

The A selection is incorrect for the need to synchronously withstand the loss of an availability zone within the primary region: Geo-redundant storage (GRS) serves to replicate data to a paired secondary region for geographic disaster recovery; GRS adds asynchronous replication to a secondary region beyond LRS primary-region copies; normal reads use the primary endpoint; the B choice, Geo-zone-redundant storage (GZRS), fits the configured outcome; GZRS provides primary-region ZRS and secondary-region geo replication; it combines protection from zone and regional disruption.

B:

A calls for a different mechanism to synchronously withstand the loss of an availability zone within the primary region; Geo-zone-redundant storage (GZRS) instead supports the action to combine primary-region zone resilience with asynchronous secondary-region replication; GZRS provides primary-region ZRS and secondary-region geo replication; it combines protection from zone and regional disruption; the B mapping to Zone-redundant storage (ZRS) misses the required goal to combine primary-region zone resilience with asynchronous secondary-region replication; ZRS synchronously replicates across availability zones in supported regions without maintaining a geographic secondary region copy; it addresses synchronously withstand the loss of an availability zone within the primary region instead.

D:

The A choice, Zone-redundant storage (ZRS), fits the configured outcome; ZRS synchronously replicates across availability zones in supported regions without maintaining a geographic secondary region copy; b: Geo-redundant storage (GRS) is meant to replicate data to a paired secondary region for geographic disaster recovery, not to combine primary-region zone resilience with asynchronous secondary-region replication; GRS adds asynchronous replication to a secondary region beyond LRS primary-region copies; normal reads use the primary endpoint.

Question 941

A team wants to choose the right Azure execution platform for its container workload. The assigned administrator needs to host a web application packaged as a container with App Service deployment features. Which Azure feature should be selected?

  1. Azure Kubernetes Service
  2. Azure App Service Web App for Containers
  3. Resource group move
  4. Azure Container Instances

Explanation

Correct Answer

B:

The requested operation is to host a web application packaged as a container with App Service deployment features; Azure App Service Web App for Containers provides this functionality: Web App for Containers uses App Service plans, custom domains and web deployment mechanisms rather than Kubernetes cluster primitives.

Incorrect Answers

A:

Azure Kubernetes Service serves to operate a managed Kubernetes-based orchestration environment with Kubernetes APIs, whereas this case requires the action to host a web application packaged as a container with App Service deployment features; AKS provides cluster-level Kubernetes orchestration and configuration, involving more platform-management responsibility than ACI.

C:

Resource group move is designed to move a supported VM and dependencies to another resource group in the same subscription, not to host a web application packaged as a container with App Service deployment features in this case; A resource group move changes the organizational container but not the VM's deployment region or running image.

D:

For the target required to host a web application packaged as a container with App Service deployment features, Azure Container Instances is the wrong control: it is used to run a short-lived isolated container workload without managing VMs or a Kubernetes cluster; ACI provides container groups as a service with configurable CPU and memory; it is often suited to jobs or simple tasks.

Question 942

A cloud engineering team is maintaining modular Bicep definitions. An audit tests whether each operational objective has the correct control. Objective A is to expose a deployment-time input with a type and optional default; objective B is to reference an already deployed Azure resource without declaring a new deployment of it. Which allocation will pass?

  1. Task A → Bicep existing keyword; task B → Bicep dependsOn declaration.
  2. Task A → Bicep dependsOn declaration; task B → Bicep existing keyword.
  3. Task A → Bicep param declaration; task B → Bicep existing keyword.
  4. Task A → Bicep module; task B → Bicep existing keyword.
  5. Task A → Bicep existing keyword; task B → Bicep param declaration.

Explanation

Correct Answer

C:

A is correctly mapped to Bicep param declaration; A param supplies environment-specific values into the Bicep file, whereas a var is computed within the file; the B choice, Bicep existing keyword, fits the configured outcome; The existing keyword provides a symbolic reference to a known resource for properties or relationships; it does not recreate the referenced object.

Incorrect Answers

A:

At A, Bicep existing keyword is mismatched; The existing keyword provides a symbolic reference to a known resource for properties or relationships; it does not recreate the referenced object; the requested need is to expose a deployment-time input with a type and optional default; for B, the proposed Bicep dependsOn declaration handles make an otherwise implicit deployment dependency explicit when resource order matters, which is not the requested reference an already deployed Azure resource without declaring a new deployment of it outcome; Explicit dependsOn establishes resource ordering where symbolic references do not already infer it; it is not a scheduling trigger after deployment.

B:

The A selection is incorrect for the need to expose a deployment-time input with a type and optional default: Bicep dependsOn declaration serves to make an otherwise implicit deployment dependency explicit when resource order matters; Explicit dependsOn establishes resource ordering where symbolic references do not already infer it; it is not a scheduling trigger after deployment; for B, the selected Bicep existing keyword achieves the stated result to reference an already deployed Azure resource without declaring a new deployment of it; The existing keyword provides a symbolic reference to a known resource for properties or relationships; it does not recreate the referenced object.

D:

For A, the proposed Bicep module handles reuse another Bicep file as a parameterized deployment unit, which is not the requested expose a deployment-time input with a type and optional default outcome; A module encapsulates child resource declarations and outputs; it is not the same as marking an already deployed resource as existing; the B choice, Bicep existing keyword, fits the configured outcome; The existing keyword provides a symbolic reference to a known resource for properties or relationships; it does not recreate the referenced object.

E:

The A mapping to Bicep existing keyword misses the required goal to expose a deployment-time input with a type and optional default; The existing keyword provides a symbolic reference to a known resource for properties or relationships; it does not recreate the referenced object; it addresses reference an already deployed Azure resource without declaring a new deployment of it instead; the B mapping to Bicep param declaration misses the required goal to reference an already deployed Azure resource without declaring a new deployment of it; A param supplies environment-specific values into the Bicep file, whereas a var is computed within the file; it addresses expose a deployment-time input with a type and optional default instead.

Question 943

Finance wants consistent classification of Azure resource expenditure. After reviewing the current state, the team must attach environment and cost-center metadata to an individual resource. Which capability meets that need?

  1. Policy compliance state
  2. Tag-specific resource inventory
  3. Policy-based tag inheritance
  4. Apply resource tags

Explanation

Correct Answer

D:

To accomplish the specified task to attach environment and cost-center metadata to an individual resource, use Apply resource tags; Resource tags are key-value metadata for organization and cost reporting; adding tags does not change the resource's access controls.

Incorrect Answers

A:

Policy compliance state is designed to inspect which evaluated resources satisfy the assigned rule, not to attach environment and cost-center metadata to an individual resource in this case; The compliance state reports evaluated results and reasons; it is observational and does not itself implement missing configurations.

B:

For the target required to attach environment and cost-center metadata to an individual resource, Tag-specific resource inventory is the wrong control: it is used to query which deployed resources carry a particular classification value; Azure Resource Graph and supported resource queries can filter on tags, helping inventory without modifying the resources.

C:

The proposed Policy-based tag inheritance addresses the separate function to add or align tags on resources from a chosen parent scope through governance rules; Azure Policy modify or append patterns can enforce tag conventions; ordinary resource groups do not automatically copy all tags to children, which does not meet the stated need to attach environment and cost-center metadata to an individual resource.

Question 944

A compliance platform is comparing ways of moving blob content between accounts. Two design notes describe different behaviors: A should copy an individual Azure blob from an authorized source to a specified destination through a data-plane request; B should run an administrator-initiated data copy between selected storage locations. Which matched combination supports both behaviors?

  1. First target: Blob lifecycle policy; second target: AzCopy copy job.
  2. First target: AzCopy copy job; second target: Copy Blob REST operation.
  3. First target: Blob object replication policy; second target: AzCopy copy job.
  4. First target: Copy Blob REST operation; second target: AzCopy copy job.

Explanation

Correct Answer

D:

For A, the selected Copy Blob REST operation achieves the stated result to copy an individual Azure blob from an authorized source to a specified destination through a data-plane request; The Copy Blob API starts a data-plane copy between source and destination blobs, potentially asynchronously; it does not create a standing object replication policy; b is correctly mapped to AzCopy copy job; AzCopy transfers selected data when the job executes; it is not itself a persistent asynchronous object-replication policy.

Incorrect Answers

A:

At A, Blob lifecycle policy is mismatched; Lifecycle policies manage data retention and tiers in an account; they do not create a separate account's replicated destination objects; the requested need is to copy an individual Azure blob from an authorized source to a specified destination through a data-plane request; b is correctly mapped to AzCopy copy job; AzCopy transfers selected data when the job executes; it is not itself a persistent asynchronous object-replication policy.

B:

The A selection is incorrect for the need to copy an individual Azure blob from an authorized source to a specified destination through a data-plane request: AzCopy copy job serves to run an administrator-initiated data copy between selected storage locations; AzCopy transfers selected data when the job executes; it is not itself a persistent asynchronous object-replication policy; b calls for a different mechanism to run an administrator-initiated data copy between selected storage locations; Copy Blob REST operation instead supports the action to copy an individual Azure blob from an authorized source to a specified destination through a data-plane request; The Copy Blob API starts a data-plane copy between source and destination blobs, potentially asynchronously; it does not create a standing object replication policy.

C:

A calls for a different mechanism to copy an individual Azure blob from an authorized source to a specified destination through a data-plane request; Blob object replication policy instead supports the action to asynchronously copy eligible block blob changes between configured source and destination accounts; Object replication uses policy mappings and versioning prerequisites; it is different from an entire account's geo-redundancy setting; b is correctly mapped to AzCopy copy job; AzCopy transfers selected data when the job executes; it is not itself a persistent asynchronous object-replication policy.

Question 945

A web application needs deployment safety without a long maintenance outage. Which of the listed choices would allow the operator to keep an environment-specific application setting with its slot during swap?

  1. Sticky slot setting
  2. Slot swap
  3. Deployment slot
  4. App Service Deployment Center

Explanation

Correct Answer

A:

To accomplish the specified task to keep an environment-specific application setting with its slot during swap, use Sticky slot setting; Deployment-slot settings are marked sticky so secrets or endpoint values remain associated with their intended slot.

Incorrect Answers

B:

Slot swap serves to exchange configured source and target deployment slots to promote tested code, whereas this case requires the action to keep an environment-specific application setting with its slot during swap; A swap exchanges applicable content and configuration while respecting designated slot-specific settings.

C:

The request to keep an environment-specific application setting with its slot during swap is not fulfilled by Deployment slot; its intended role is to create an additional live App Service deployment endpoint for staging releases: Slots run in the same plan and let teams validate a version before swapping it into production, in eligible tiers.

D:

App Service Deployment Center is designed to configure supported continuous deployment from a source or registry into a web app, not to keep an environment-specific application setting with its slot during swap in this case; Deployment Center connects build or release sources with the app's deployment workflow rather than analyzing request failures.

Question 946

Two application teams are connecting Azure networks with tightly specified routing. The operational requirement is to connect supported VNets deployed in different Azure regions. What is the most direct configuration?

  1. VNet peering
  2. Allow forwarded traffic
  3. Global VNet peering
  4. None next hop

Explanation

Correct Answer

C:

Selecting Global VNet peering meets the requirement to connect supported VNets deployed in different Azure regions; Global peering extends private VNet connectivity across regions; ordinary same-region placement is not a requirement.

Incorrect Answers

A:

The request to connect supported VNets deployed in different Azure regions is not fulfilled by VNet peering; its intended role is to provide private connectivity between nonoverlapping Azure VNets over Microsoft backbone networking: Peering enables VNet-to-VNet communication when configuration and routes permit it; it does not merge the two VNets into one address space.

B:

Allow forwarded traffic is designed to permit supported transit traffic forwarded through a peered virtual network, not to connect supported VNets deployed in different Azure regions in this case; The forwarded-traffic peering setting allows eligible traffic that did not originate in the immediate peer; it does not create routes through an appliance automatically.

D:

The proposed None next hop addresses the separate function to drop traffic matching a route prefix intentionally; The None next hop prevents delivery of matching packets; it is useful for blackholing and is not a firewall allow rule, which does not meet the stated need to connect supported VNets deployed in different Azure regions.

Question 947

A migration project has online and offline data transfer requirements. Two design notes describe different behaviors: A should browse and manage storage resources through a cross-platform graphical client; B should use customer-provided supported disks for an offline Azure data import or export job. Which matched combination supports both behaviors?

  1. Task A → Azure Import/Export service; task B → Azure Data Box.
  2. Task A → Azure Storage Explorer; task B → AzCopy.
  3. Task A → Azure Import/Export service; task B → Azure Storage Explorer.
  4. Task A → Azure Storage Explorer; task B → Azure Import/Export service.
  5. Task A → Azure Data Box; task B → Azure Import/Export service.

Explanation

Correct Answer

D:

The A setting is right: Azure Storage Explorer supplies the ability to browse and manage storage resources through a cross-platform graphical client; Storage Explorer offers interactive object navigation and operations rather than a dedicated unattended command-line transfer pipeline; b: Azure Import/Export service meets the requirement 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.

Incorrect Answers

A:

The A mapping to Azure Import/Export service misses the required goal to browse and manage storage resources through a cross-platform graphical client; Import/Export handles physical disks and processing jobs rather than online object copies through an API; it addresses use customer-provided supported disks for an offline Azure data import or export job instead; b: Azure Data Box is meant to ship a physical appliance for large data transfers when network bandwidth is impractical, not to use customer-provided supported disks for an offline Azure data import or export job; Data Box supports offline data ingestion or export workflows; it requires a physical shipping and service process.

B:

A: Azure Storage Explorer meets the requirement to browse and manage storage resources through a cross-platform graphical client; Storage Explorer offers interactive object navigation and operations rather than a dedicated unattended command-line transfer pipeline; b: AzCopy is meant to script high-throughput transfers of blobs or files from command-line jobs, not to use customer-provided supported disks for an offline Azure data import or export job; AzCopy uses efficient data transfer operations and can authenticate with SAS or supported Entra identities; it suits repeatable bulk-copy scripts.

C:

At A, Azure Import/Export service is mismatched; Import/Export handles physical disks and processing jobs rather than online object copies through an API; the requested need is to browse and manage storage resources through a cross-platform graphical client; b: Azure Storage Explorer is meant to browse and manage storage resources through a cross-platform graphical client, not to use customer-provided supported disks for an offline Azure data import or export job; Storage Explorer offers interactive object navigation and operations rather than a dedicated unattended command-line transfer pipeline.

E:

A calls for a different mechanism to browse and manage storage resources through a cross-platform graphical client; Azure Data Box instead supports the action to ship a physical appliance for large data transfers when network bandwidth is impractical; Data Box supports offline data ingestion or export workflows; it requires a physical shipping and service process; b: Azure Import/Export service meets the requirement 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.

Question 948

The identity team is improving password recovery for different user populations. An operations ticket requires a solution to require an appropriate number and type of verification methods during password reset. Select the relevant feature.

  1. Password writeback
  2. SSPR scope selection
  3. Resource group scope
  4. SSPR authentication methods

Explanation

Correct Answer

D:

Selecting SSPR authentication methods meets the requirement to require an appropriate number and type of verification methods during password reset; The authentication-method policy determines accepted proofs before Azure allows a reset, unlike the set of users who are eligible for SSPR.

Incorrect Answers

A:

Password writeback serves to send eligible cloud-initiated password changes back to an integrated on-premises directory, whereas this case requires the action to require an appropriate number and type of verification methods during password reset; Password writeback supports hybrid identity password updates through the configured synchronization components; cloud-only SSPR does not automatically update local AD.

B:

The request to require an appropriate number and type of verification methods during password reset is not fulfilled by SSPR scope selection; its intended role is to enable self-service password reset for a pilot group instead of every user: SSPR can be enabled for a selected group so only the intended identities receive the recovery capability during rollout.

C:

Resource group scope is designed to grant access to every resource in one named resource group and its future children, not to require an appropriate number and type of verification methods during password reset in this case; Resource group assignments are inherited by resources in that group; they do not cover a different group in the same subscription.

Question 949

A service is granting temporary storage access with the narrowest practical credential model. The deployment checklist assigns one action to resource A and another to resource B: issue a SAS for one storage service and optionally associate it with a stored access policy; allow a service SAS to inherit centrally changeable validity and permission constraints. Which mapping should be used?

  1. Implement User delegation SAS on the first target and Service SAS on the second.
  2. Implement Stored access policy on the first target and Service SAS on the second.
  3. Implement Account SAS on the first target and Stored access policy on the second.
  4. Implement Service SAS on the first target and Account SAS on the second.
  5. Implement Service SAS on the first target and Stored access policy on the second.

Explanation

Correct Answer

E:

A: Service SAS meets the requirement to issue a SAS for one storage service and optionally associate it with a stored access policy; A service SAS is signed using an account key and targets a service such as Blob or Files; a suitable stored policy can control revocation; for B, the selected Stored access policy achieves the stated result to allow a service SAS to inherit centrally changeable validity and permission constraints; A stored access policy on a supported container or share can be modified or deleted to affect associated service SAS tokens.

Incorrect Answers

A:

The A selection is incorrect for the need to issue a SAS for one storage service and optionally associate it with a stored access policy: User delegation SAS serves to issue a Blob Storage SAS signed using a Microsoft Entra user delegation key; A user delegation SAS uses Entra-based authorization instead of an account key and is preferred for supported blob scenarios; for B, the proposed Service SAS handles issue a SAS for one storage service and optionally associate it with a stored access policy, which is not the requested allow a service SAS to inherit centrally changeable validity and permission constraints outcome; A service SAS is signed using an account key and targets a service such as Blob or Files; a suitable stored policy can control revocation.

B:

A calls for a different mechanism to issue a SAS for one storage service and optionally associate it with a stored access policy; Stored access policy instead supports the action to allow a service SAS to inherit centrally changeable validity and permission constraints; A stored access policy on a supported container or share can be modified or deleted to affect associated service SAS tokens; for B, the proposed Service SAS handles issue a SAS for one storage service and optionally associate it with a stored access policy, which is not the requested allow a service SAS to inherit centrally changeable validity and permission constraints outcome; A service SAS is signed using an account key and targets a service such as Blob or Files; a suitable stored policy can control revocation.

C:

For A, the proposed Account SAS handles delegate operations across supported services or service-level operations from one token, which is not the requested issue a SAS for one storage service and optionally associate it with a stored access policy outcome; An account SAS can span services and resource types and is signed with an account key; it is broader than a single-object service SAS; for B, the selected Stored access policy achieves the stated result to allow a service SAS to inherit centrally changeable validity and permission constraints; A stored access policy on a supported container or share can be modified or deleted to affect associated service SAS tokens.

D:

The A choice, Service SAS, fits the configured outcome; A service SAS is signed using an account key and targets a service such as Blob or Files; a suitable stored policy can control revocation; for B, the proposed Account SAS handles delegate operations across supported services or service-level operations from one token, which is not the requested allow a service SAS to inherit centrally changeable validity and permission constraints outcome; An account SAS can span services and resource types and is signed with an account key; it is broader than a single-object service SAS.

Question 950

Identity engineers must apply the correct control to a separate security problem. A production change must authorize an authenticated principal to perform Azure resource operations. What is the appropriate control or resource?

  1. Microsoft Entra multifactor authentication
  2. Lock removal with authorization
  3. Conditional Access policy
  4. Azure RBAC

Explanation

Correct Answer

D:

Azure RBAC addresses the request to authorize an authenticated principal to perform Azure resource operations: Azure RBAC evaluates actions at the chosen management or data scope; successful authentication alone does not grant Owner permissions.

Incorrect Answers

A:

For the target required to authorize an authenticated principal to perform Azure resource operations, Microsoft Entra multifactor authentication is the wrong control: it is used to require an additional authentication factor for eligible user sign-ins; MFA strengthens identity verification; it does not by itself determine which Azure subscription resources a signed-in user may modify.

B:

The proposed Lock removal with authorization addresses the separate function to allow an authorized administrator to intentionally remove a management lock before maintenance; Locks are governance safeguards, not immutable protections; principals with suitable Microsoft.Authorization/locks permissions can delete them, which does not meet the stated need to authorize an authenticated principal to perform Azure resource operations.

C:

Conditional Access policy would be used to evaluate sign-in conditions and enforce access controls for a targeted cloud application; Conditional Access can consider users, applications and signals when applying grant controls; applicable licensing and exclusions must be reviewed, but the question asks how to authorize an authenticated principal to perform Azure resource operations.

Microsoft Azure Administrator (AZ-104) Practice Tests