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

Question 330

A compliance platform is comparing ways of moving blob content between accounts. The deployment owner requests a capability to asynchronously copy eligible block blob changes between configured source and destination accounts. What satisfies the requirement?

  1. Blob object replication policy
  2. AzCopy copy job
  3. Blob lifecycle policy
  4. Premium page blob account

Explanation

Correct Answer

A:

To accomplish the specified task to asynchronously copy eligible block blob changes between configured source and destination accounts, use Blob object replication policy; Object replication uses policy mappings and versioning prerequisites; it is different from an entire account's geo-redundancy setting.

Incorrect Answers

B:

AzCopy copy job serves to run an administrator-initiated data copy between selected storage locations, whereas this case requires the action to asynchronously copy eligible block blob changes between configured source and destination accounts; AzCopy transfers selected data when the job executes; it is not itself a persistent asynchronous object-replication policy.

C:

The request to asynchronously copy eligible block blob changes between configured source and destination accounts is not fulfilled by Blob lifecycle policy; its intended role is to transition or expire matching source blobs as their age changes: Lifecycle policies manage data retention and tiers in an account; they do not create a separate account's replicated destination objects.

D:

Premium page blob account is designed to support workloads that require premium page blob characteristics, not to asynchronously copy eligible block blob changes between configured source and destination accounts in this case; Premium page blob storage is tailored to page blob performance behavior, distinct from general-purpose blob access tiers.

Question 331

Administrators are selecting safeguards for critical shared resources. At the same review, one workload is required to prevent management-plane changes as well as deletion on a locked resource; another must allow an authorized administrator to intentionally remove a management lock before maintenance. Which feature allocation is correct?

  1. Task A → Resource-group lock inheritance; task B → Lock removal with authorization.
  2. Task A → Lock removal with authorization; task B → ReadOnly lock.
  3. Task A → CanNotDelete lock; task B → Lock removal with authorization.
  4. Task A → ReadOnly lock; task B → Lock removal with authorization.
  5. Task A → CanNotDelete lock; task B → ReadOnly lock.

Explanation

Correct Answer

D:

The A setting is right: ReadOnly lock supplies the ability to prevent management-plane changes as well as deletion on a locked resource; A ReadOnly lock blocks write and delete management operations; some read-like portal workflows also need blocked POST actions; for B, the selected Lock removal with authorization achieves the stated result 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.

Incorrect Answers

A:

The A mapping to Resource-group lock inheritance misses the required goal to prevent management-plane changes as well as deletion on a locked resource; A lock assigned at resource-group scope is inherited by contained resources and can affect dependent management operations; it addresses protect resources that inherit a lock placed on their parent resource group instead; b is correctly mapped to Lock removal with authorization; Locks are governance safeguards, not immutable protections; principals with suitable Microsoft.Authorization/locks permissions can delete them.

B:

A: Lock removal with authorization is meant to allow an authorized administrator to intentionally remove a management lock before maintenance, not to prevent management-plane changes as well as deletion on a locked resource; Locks are governance safeguards, not immutable protections; principals with suitable Microsoft.Authorization/locks permissions can delete them; b calls for a different mechanism to allow an authorized administrator to intentionally remove a management lock before maintenance; ReadOnly lock instead supports the action to prevent management-plane changes as well as deletion on a locked resource; A ReadOnly lock blocks write and delete management operations; some read-like portal workflows also need blocked POST actions.

C:

At A, CanNotDelete lock is mismatched; A CanNotDelete lock blocks delete management operations in scope but generally allows modifications that do not require deletion; the requested need is to prevent management-plane changes as well as deletion on a locked resource; b is correctly mapped to Lock removal with authorization; Locks are governance safeguards, not immutable protections; principals with suitable Microsoft.Authorization/locks permissions can delete them.

E:

A calls for a different mechanism to prevent management-plane changes as well as deletion on a locked resource; CanNotDelete lock instead supports the action to prevent accidental deletion while still permitting supported configuration writes; A CanNotDelete lock blocks delete management operations in scope but generally allows modifications that do not require deletion; for B, the proposed ReadOnly lock handles prevent management-plane changes as well as deletion on a locked resource, which is not the requested allow an authorized administrator to intentionally remove a management lock before maintenance outcome; A ReadOnly lock blocks write and delete management operations; some read-like portal workflows also need blocked POST actions.

Question 332

Two application teams are connecting Azure networks with tightly specified routing. The team is configuring two independent resources. Resource A needs to provide private connectivity between nonoverlapping Azure VNets over Microsoft backbone networking; resource B needs to permit supported transit traffic forwarded through a peered virtual network. Which assignment of capabilities meets both goals?

  1. Implement VNet peering on the first target and Allow forwarded traffic on the second.
  2. Implement Gateway transit and remote gateway on the first target and Allow forwarded traffic on the second.
  3. Implement Allow forwarded traffic on the first target and VNet peering on the second.
  4. Implement Gateway transit and remote gateway on the first target and Global VNet peering on the second.
  5. Implement VNet peering on the first target and Global VNet peering on the second.

Explanation

Correct Answer

A:

For A, the selected VNet peering achieves the stated result 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; for B, the selected Allow forwarded traffic achieves the stated result to permit supported transit traffic forwarded through a peered virtual network; 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.

Incorrect Answers

B:

The A mapping to Gateway transit and remote gateway misses the required goal to provide private connectivity between nonoverlapping Azure VNets over Microsoft backbone networking; Gateway transit requires matching peering-side settings and supported topology; peering alone does not share a remote VPN gateway; it addresses allow one peered VNet to use a configured virtual network gateway in another VNet instead; for B, the selected Allow forwarded traffic achieves the stated result to permit supported transit traffic forwarded through a peered virtual network; 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.

C:

A: Allow forwarded traffic is meant to permit supported transit traffic forwarded through a peered virtual network, not to provide private connectivity between nonoverlapping Azure VNets over Microsoft backbone networking; 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; for B, the proposed VNet peering handles provide private connectivity between nonoverlapping Azure VNets over Microsoft backbone networking, which is not the requested permit supported transit traffic forwarded through a peered virtual network outcome; Peering enables VNet-to-VNet communication when configuration and routes permit it; it does not merge the two VNets into one address space.

D:

At A, Gateway transit and remote gateway is mismatched; Gateway transit requires matching peering-side settings and supported topology; peering alone does not share a remote VPN gateway; the requested need is to provide private connectivity between nonoverlapping Azure VNets over Microsoft backbone networking; for B, the proposed Global VNet peering handles connect supported VNets deployed in different Azure regions, which is not the requested permit supported transit traffic forwarded through a peered virtual network outcome; Global peering extends private VNet connectivity across regions; ordinary same-region placement is not a requirement.

E:

The A setting is right: VNet peering supplies the ability 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; for B, the proposed Global VNet peering handles connect supported VNets deployed in different Azure regions, which is not the requested permit supported transit traffic forwarded through a peered virtual network outcome; Global peering extends private VNet connectivity across regions; ordinary same-region placement is not a requirement.

Question 333

A build team needs repeatable operating-system image and deployment processes. The deployment checklist assigns one action to resource A and another to resource B: pin deployments to an explicitly versioned published gallery image; deploy a maintained publisher-provided operating-system image rather than a custom corporate image. Which mapping should be used?

  1. For A, configure VM image version; for B, configure Azure Marketplace image.
  2. For A, configure Azure Marketplace image; for B, configure VM image version.
  3. For A, configure VM image version; for B, configure Managed image.
  4. For A, configure Azure Compute Gallery; for B, configure Azure Marketplace image.

Explanation

Correct Answer

A:

A: VM image version meets the requirement to pin deployments to an explicitly versioned published gallery image; A version provides repeatable reference and possible regional replicas; selecting latest instead can change the deployed base over time; at B, Azure Marketplace image is appropriate; Marketplace images provide published OS or appliance images with version and licensing considerations; they are not organization-built image galleries.

Incorrect Answers

B:

At A, Azure Marketplace image is mismatched; Marketplace images provide published OS or appliance images with version and licensing considerations; they are not organization-built image galleries; the requested need is to pin deployments to an explicitly versioned published gallery image; at B, VM image version is mismatched; A version provides repeatable reference and possible regional replicas; selecting latest instead can change the deployed base over time; the requested need is to deploy a maintained publisher-provided operating-system image rather than a custom corporate image.

C:

The A setting is right: VM image version supplies the ability to pin deployments to an explicitly versioned published gallery image; A version provides repeatable reference and possible regional replicas; selecting latest instead can change the deployed base over time; at B, Managed image is mismatched; A managed image records an image artifact used for provisioning; unlike a disk snapshot it captures supported VM image semantics; the requested need is to deploy a maintained publisher-provided operating-system image rather than a custom corporate image.

D:

A calls for a different mechanism to pin deployments to an explicitly versioned published gallery image; Azure Compute Gallery instead supports the action to share and version managed VM images across supported regions and subscriptions; Compute Gallery organizes image definitions and versions for repeatable deployment and replication; it is not a VMSS autoscale policy; at B, Azure Marketplace image is appropriate; Marketplace images provide published OS or appliance images with version and licensing considerations; they are not organization-built image galleries.

Question 334

A compliance team needs to route Azure platform logs into different systems. The deployment checklist assigns one action to resource A and another to resource B: store supported diagnostic log records for KQL exploration and alert queries; archive supported diagnostic records for long-term retention and downstream retrieval. Which mapping should be used?

  1. For A, configure Log Analytics workspace; for B, configure Storage account destination.
  2. For A, configure Log Analytics workspace; for B, configure Event Hubs destination.
  3. For A, configure Log Analytics workspace; for B, configure Azure Monitor partner integration.
  4. For A, configure Storage account destination; for B, configure Log Analytics workspace.

Explanation

Correct Answer

A:

A: Log Analytics workspace meets the requirement to store supported diagnostic log records for KQL exploration and alert queries; A workspace offers searchable log retention and analytical queries; collection depends on configured diagnostic settings or agents; the B choice, Storage account destination, fits the configured outcome; A storage destination persists emitted logs as storage objects rather than providing the full Log Analytics interactive query engine.

Incorrect Answers

B:

At A, Log Analytics workspace is appropriate; A workspace offers searchable log retention and analytical queries; collection depends on configured diagnostic settings or agents; the B mapping to Event Hubs destination misses the required goal to archive supported diagnostic records for long-term retention and downstream retrieval; Event Hubs supplies an event-streaming endpoint for receivers and does not provide a historical KQL workspace by itself; it addresses stream diagnostic records toward external event processing or SIEM consumers instead.

C:

The A setting is right: Log Analytics workspace supplies the ability to store supported diagnostic log records for KQL exploration and alert queries; A workspace offers searchable log retention and analytical queries; collection depends on configured diagnostic settings or agents; the B mapping to Azure Monitor partner integration misses the required goal to archive supported diagnostic records for long-term retention and downstream retrieval; Partner routing connects telemetry to an eligible integrated service and requires supported destination configuration; it addresses deliver supported monitoring data to an integrated partner destination instead.

D:

A calls for a different mechanism to store supported diagnostic log records for KQL exploration and alert queries; Storage account destination instead supports the action to archive supported diagnostic records for long-term retention and downstream retrieval; A storage destination persists emitted logs as storage objects rather than providing the full Log Analytics interactive query engine; the B mapping to Log Analytics workspace misses the required goal to archive supported diagnostic records for long-term retention and downstream retrieval; A workspace offers searchable log retention and analytical queries; collection depends on configured diagnostic settings or agents; it addresses store supported diagnostic log records for KQL exploration and alert queries instead.

Question 335

An administrator needs specific Azure virtual machine operational visibility. The team has documented a specific need: capture VM console screenshots and serial output during boot failures. Which Azure setting addresses it?

  1. VM Resource Health
  2. Serial Console
  3. ACI container group
  4. Boot diagnostics

Explanation

Correct Answer

D:

To accomplish the specified task to capture VM console screenshots and serial output during boot failures, use Boot diagnostics; Boot diagnostics can reveal startup issues when ordinary guest connectivity is not working; it does not change guest firewall rules.

Incorrect Answers

A:

VM Resource Health is designed to identify Azure platform availability problems affecting an individual VM while separating them from guest failures, not to capture VM console screenshots and serial output during boot failures in this case; Resource Health reports current and historical platform availability for supported VMs; it complements rather than replaces guest OS diagnostics.

B:

For the target required to capture VM console screenshots and serial output during boot failures, Serial Console is the wrong control: it is used 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.

C:

The proposed ACI container group addresses the separate function to deploy one or more containers that share lifecycle and network resources; A container group is the top-level ACI scheduling unit; containers in it can share an IP address and mounted volumes, which does not meet the stated need to capture VM console screenshots and serial output during boot failures.

Question 336

A template reviewer wants to understand which construct controls a deployment behavior. The deployment owner requests a capability to specify an Azure resource type, API version, properties and deployment scope. What satisfies the requirement?

  1. Azure Disk Encryption
  2. Template variable
  3. Resource declaration
  4. Template output

Explanation

Correct Answer

C:

The requested operation is to specify an Azure resource type, API version, properties and deployment scope; Resource declaration provides this functionality: The resources section describes what ARM should create or update; outputs and variables alone cannot instantiate the resource.

Incorrect Answers

A:

Azure Disk Encryption would be used 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, but the question asks how to specify an Azure resource type, API version, properties and deployment scope.

B:

Template variable serves to calculate or store an intermediate value within the template, whereas this case requires the action to specify an Azure resource type, API version, properties and deployment scope; Variables simplify expressions derived inside the deployment and are not values that operators must pass at deployment time.

D:

Template output is designed to return a computed value or resource identifier when the deployment completes, not to specify an Azure resource type, API version, properties and deployment scope in this case; Outputs expose selected deployment results to automation and other steps; they do not provision resources by themselves.

Question 337

A business must link branch offices and individual users to Azure VNets. During acceptance testing, the operator must use a private provider-connected circuit for enterprise connectivity to Microsoft cloud services. Identify the appropriate Azure mechanism.

  1. VPN Gateway BGP routing
  2. ExpressRoute
  3. Site-to-site VPN
  4. NAT Gateway

Explanation

Correct Answer

B:

To accomplish the specified task to use a private provider-connected circuit for enterprise connectivity to Microsoft cloud services, use ExpressRoute; ExpressRoute provides private connectivity through a service provider and separate circuit/gateway configuration, not an internet IPsec tunnel.

Incorrect Answers

A:

The proposed VPN Gateway BGP routing addresses the separate function to exchange dynamic network routes with an eligible on-premises router using supported VPN gateway configurations; Border Gateway Protocol exchanges reachable route prefixes over supported gateway connections and avoids maintaining every learned prefix as a static route, which does not meet the stated need to use a private provider-connected circuit for enterprise connectivity to Microsoft cloud services.

C:

Site-to-site VPN serves to connect an on-premises network gateway to Azure over an IPsec tunnel, whereas this case requires the action to use a private provider-connected circuit for enterprise connectivity to Microsoft cloud services; S2S VPN establishes network-to-network connectivity through configured VPN gateways and public internet transport.

D:

The request to use a private provider-connected circuit for enterprise connectivity to Microsoft cloud services is not fulfilled by NAT Gateway; its intended role is to provide managed outbound source NAT for subnet resources without assigning each VM a public IP: NAT Gateway associates with subnets and supplies outbound public IPs; it does not enable unsolicited inbound internet connections.

Question 338

A template reviewer wants to understand which construct controls a deployment behavior. One target has an acceptance criterion to accept a value supplied by the deployment caller at execution time. A different target has a criterion to calculate or store an intermediate value within the template. Which two choices meet these criteria in sequence?

  1. First target: Template parameter; second target: Template output.
  2. First target: Template parameter; second target: Template variable.
  3. First target: Template parameter; second target: Resource declaration.
  4. First target: Template variable; second target: Template parameter.

Explanation

Correct Answer

B:

The A setting is right: Template parameter supplies the ability to accept a value supplied by the deployment caller at execution time; Parameters externalize deployment-specific inputs such as location or naming, allowing one template to serve several environments; b: Template variable meets the requirement to calculate or store an intermediate value within the template; Variables simplify expressions derived inside the deployment and are not values that operators must pass at deployment time.

Incorrect Answers

A:

At A, Template parameter is appropriate; Parameters externalize deployment-specific inputs such as location or naming, allowing one template to serve several environments; b: Template output is meant to return a computed value or resource identifier when the deployment completes, not to calculate or store an intermediate value within the template; Outputs expose selected deployment results to automation and other steps; they do not provision resources by themselves.

C:

A is correctly mapped to Template parameter; Parameters externalize deployment-specific inputs such as location or naming, allowing one template to serve several environments; b: Resource declaration is meant to specify an Azure resource type, API version, properties and deployment scope, not to calculate or store an intermediate value within the template; The resources section describes what ARM should create or update; outputs and variables alone cannot instantiate the resource.

D:

For A, the proposed Template variable handles calculate or store an intermediate value within the template, which is not the requested accept a value supplied by the deployment caller at execution time outcome; Variables simplify expressions derived inside the deployment and are not values that operators must pass at deployment time; b: Template parameter is meant to accept a value supplied by the deployment caller at execution time, not to calculate or store an intermediate value within the template; Parameters externalize deployment-specific inputs such as location or naming, allowing one template to serve several environments.

Question 339

An audit must distinguish different Azure evidence sources. One target has an acceptance criterion to reconstruct Azure Resource Manager changes and administrative actions. A different target has a criterion to route supported platform log categories and metrics to configured destinations. Which two choices meet these criteria in sequence?

  1. First target: Subscription Activity log; second target: Azure Monitor metrics explorer.
  2. First target: Resource diagnostic setting; second target: Subscription Activity log.
  3. First target: Azure Resource Graph; second target: Resource diagnostic setting.
  4. First target: Subscription Activity log; second target: Resource diagnostic setting.

Explanation

Correct Answer

D:

For A, the selected Subscription Activity log achieves the stated result to reconstruct Azure Resource Manager changes and administrative actions; Activity log records subscription-level management events and supports diagnostic export where needed for long-term retention; the B setting is right: Resource diagnostic setting supplies the ability to route supported platform log categories and metrics to configured destinations; Diagnostic settings define collection routing for an Azure resource; enabling them does not create a custom KQL query automatically.

Incorrect Answers

A:

At A, Subscription Activity log is appropriate; Activity log records subscription-level management events and supports diagnostic export where needed for long-term retention; the B selection is incorrect for the need to route supported platform log categories and metrics to configured destinations: Azure Monitor metrics explorer serves to view time-series charts of available numerical performance metrics; Metrics explorer uses platform metric data for analysis and filtering; it is not a guest Windows event-log reader.

B:

The A selection is incorrect for the need to reconstruct Azure Resource Manager changes and administrative actions: Resource diagnostic setting serves to route supported platform log categories and metrics to configured destinations; Diagnostic settings define collection routing for an Azure resource; enabling them does not create a custom KQL query automatically; the B selection is incorrect for the need to route supported platform log categories and metrics to configured destinations: Subscription Activity log serves to reconstruct Azure Resource Manager changes and administrative actions; Activity log records subscription-level management events and supports diagnostic export where needed for long-term retention.

C:

A calls for a different mechanism to reconstruct Azure Resource Manager changes and administrative actions; Azure Resource Graph instead supports the action to query Azure Resource Manager resource inventory and properties across permitted scopes; Resource Graph indexes resource configuration metadata for fast inventory queries, not full application request traces; the B setting is right: Resource diagnostic setting supplies the ability to route supported platform log categories and metrics to configured destinations; Diagnostic settings define collection routing for an Azure resource; enabling them does not create a custom KQL query automatically.

Question 340

An infrastructure team is deciding which Azure management object performs a control. At the same review, one workload is required to collect related Azure resources into an ARM lifecycle and access scope; another must label separate resources with environment or ownership metadata. Which feature allocation is correct?

  1. A uses Azure resource tag, whereas B uses Resource group.
  2. A uses Resource group, whereas B uses Azure resource tag.
  3. A uses Azure resource tag, whereas B uses Azure RBAC role assignment.
  4. A uses Resource group, whereas B uses Azure Policy assignment.
  5. A uses Azure RBAC role assignment, whereas B uses Azure resource tag.
  6. A uses Azure Policy assignment, whereas B uses Azure RBAC role assignment.

Explanation

Correct Answer

B:

For A, the selected Resource group achieves the stated result to collect related Azure resources into an ARM lifecycle and access scope; A resource group logically organizes resources for deployments, RBAC and policies; it is not a network isolation boundary; b is correctly mapped to Azure resource tag; Tags provide cross-resource categorization without physically moving resources or creating a hierarchy.

Incorrect Answers

A:

A calls for a different mechanism to collect related Azure resources into an ARM lifecycle and access scope; Azure resource tag instead supports the action to label separate resources with environment or ownership metadata; Tags provide cross-resource categorization without physically moving resources or creating a hierarchy; b calls for a different mechanism to label separate resources with environment or ownership metadata; Resource group instead supports the action to collect related Azure resources into an ARM lifecycle and access scope; A resource group logically organizes resources for deployments, RBAC and policies; it is not a network isolation boundary.

C:

The A mapping to Azure resource tag misses the required goal to collect related Azure resources into an ARM lifecycle and access scope; Tags provide cross-resource categorization without physically moving resources or creating a hierarchy; it addresses label separate resources with environment or ownership metadata instead; b calls for a different mechanism to label separate resources with environment or ownership metadata; Azure RBAC role assignment instead supports the action to grant an identity permissions to operate on resources at a specified scope; RBAC defines who can perform management or data actions; it does not enforce allowed resource SKUs across all identities.

D:

A: Resource group meets the requirement to collect related Azure resources into an ARM lifecycle and access scope; A resource group logically organizes resources for deployments, RBAC and policies; it is not a network isolation boundary; b calls for a different mechanism to label separate resources with environment or ownership metadata; Azure Policy assignment instead supports the action to restrict or assess properties of resource deployments at a governance scope; Policy constrains resource state independently of who submits the operation; it is not a replacement for user authentication.

E:

At A, Azure RBAC role assignment is mismatched; RBAC defines who can perform management or data actions; it does not enforce allowed resource SKUs across all identities; the requested need is to collect related Azure resources into an ARM lifecycle and access scope; b is correctly mapped to Azure resource tag; Tags provide cross-resource categorization without physically moving resources or creating a hierarchy.

F:

The A selection is incorrect for the need to collect related Azure resources into an ARM lifecycle and access scope: Azure Policy assignment serves to restrict or assess properties of resource deployments at a governance scope; Policy constrains resource state independently of who submits the operation; it is not a replacement for user authentication; for B, the proposed Azure RBAC role assignment handles grant an identity permissions to operate on resources at a specified scope, which is not the requested label separate resources with environment or ownership metadata outcome; RBAC defines who can perform management or data actions; it does not enforce allowed resource SKUs across all identities.

Microsoft Azure Administrator (AZ-104) Practice Tests