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

Question 660

An administrator needs specific Azure virtual machine operational visibility. Two operations are being approved together but applied separately. For task A the team must capture VM console screenshots and serial output during boot failures; for task B it must access supported VM text console diagnostics when network logon is unavailable. Which configuration pair passes the review?

  1. Implement Boot diagnostics on the first target and Serial Console on the second.
  2. Implement Serial Console on the first target and Boot diagnostics on the second.
  3. Implement VM Insights on the first target and Serial Console on the second.
  4. Implement VM Resource Health on the first target and Serial Console on the second.
  5. Implement Serial Console on the first target and VM Insights on the second.

Explanation

Correct Answer

A:

A: Boot diagnostics meets the requirement 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 setting is right: Serial Console supplies the ability 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.

Incorrect Answers

B:

At A, Serial Console is mismatched; Serial Console provides a console-level troubleshooting channel for eligible VMs without relying on inbound SSH or RDP; the requested need is to capture VM console screenshots and serial output during boot failures; b 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.

C:

The A selection is incorrect for the need to capture VM console screenshots and serial output during boot failures: VM Insights serves to inspect VM performance, processes and dependency telemetry through Azure Monitor; VM Insights aggregates guest and infrastructure monitoring after required agent/data collection setup; it does not automatically resize a VM; b is correctly mapped to Serial Console; Serial Console provides a console-level troubleshooting channel for eligible VMs without relying on inbound SSH or RDP.

D:

A calls for a different mechanism to capture VM console screenshots and serial output during boot failures; VM Resource Health instead supports the action 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; b is correctly mapped to Serial Console; Serial Console provides a console-level troubleshooting channel for eligible VMs without relying on inbound SSH or RDP.

E:

For A, the proposed Serial Console handles access supported VM text console diagnostics when network logon is unavailable, which is not the requested capture VM console screenshots and serial output during boot failures outcome; Serial Console provides a console-level troubleshooting channel for eligible VMs without relying on inbound SSH or RDP; b calls for a different mechanism to access supported VM text console diagnostics when network logon is unavailable; VM Insights instead supports the action to inspect VM performance, processes and dependency telemetry through Azure Monitor; VM Insights aggregates guest and infrastructure monitoring after required agent/data collection setup; it does not automatically resize a VM.

Question 661

A cloud engineering team is maintaining modular Bicep definitions. A production change must reuse another Bicep file as a parameterized deployment unit. What is the appropriate control or resource?

  1. Bicep module
  2. Bicep param declaration
  3. Public IP resource
  4. Bicep existing keyword

Explanation

Correct Answer

A:

Selecting Bicep module meets the requirement to reuse another Bicep file as a parameterized deployment unit; A module encapsulates child resource declarations and outputs; it is not the same as marking an already deployed resource as existing.

Incorrect Answers

B:

The proposed Bicep param declaration addresses the separate function to expose a deployment-time input with a type and optional default; A param supplies environment-specific values into the Bicep file, whereas a var is computed within the file, which does not meet the stated need to reuse another Bicep file as a parameterized deployment unit.

C:

Public IP resource would be used to offer a direct internet-routable address to a VM network interface where allowed; A public IP makes an externally addressable path possible; it does not replace NSG allow rules or secure administration methods, but the question asks how to reuse another Bicep file as a parameterized deployment unit.

D:

Bicep existing keyword serves to reference an already deployed Azure resource without declaring a new deployment of it, whereas this case requires the action to reuse another Bicep file as a parameterized deployment unit; The existing keyword provides a symbolic reference to a known resource for properties or relationships; it does not recreate the referenced object.

Question 662

A services team is matching storage durability to its failure tolerance. The assigned administrator needs to synchronously withstand the loss of an availability zone within the primary region. Which Azure feature should be selected?

  1. User delegation SAS
  2. Zone-redundant storage (ZRS)
  3. Geo-redundant storage (GRS)
  4. Locally redundant storage (LRS)

Explanation

Correct Answer

B:

The requested operation is to synchronously withstand the loss of an availability zone within the primary region; Zone-redundant storage (ZRS) provides this functionality: ZRS synchronously replicates across availability zones in supported regions without maintaining a geographic secondary region copy.

Incorrect Answers

A:

User delegation SAS serves to issue a Blob Storage SAS signed using a Microsoft Entra user delegation key, whereas this case requires the action to synchronously withstand the loss of an availability zone within the primary region; A user delegation SAS uses Entra-based authorization instead of an account key and is preferred for supported blob scenarios.

C:

Geo-redundant storage (GRS) is designed to replicate data to a paired secondary region for geographic disaster recovery, not to synchronously withstand the loss of an availability zone within the primary region in this case; GRS adds asynchronous replication to a secondary region beyond LRS primary-region copies; normal reads use the primary endpoint.

D:

For the target required to synchronously withstand the loss of an availability zone within the primary region, Locally redundant storage (LRS) is the wrong control: it is used to keep three copies of data within a single physical location in a region; LRS provides synchronous replication within one datacenter and does not provide zone-level or cross-region disaster resilience.

Question 663

A platform team is separating workload identities from employee credentials. A change request specifies the outcome to define the application object, permissions and authentication configuration in Microsoft Entra. What should be used?

  1. User-assigned managed identity
  2. App registration
  3. DeployIfNotExists effect
  4. System-assigned managed identity

Explanation

Correct Answer

B:

The stated need is to define the application object, permissions and authentication configuration in Microsoft Entra, so the applicable mechanism is App registration: An app registration describes the application and its identity settings; an enterprise application represents the service principal in a tenant.

Incorrect Answers

A:

For the target required to define the application object, permissions and authentication configuration in Microsoft Entra, User-assigned managed identity is the wrong control: it is used to reuse the same managed workload identity across several supported Azure resources; A standalone managed identity can be attached to multiple compatible resources and survives deletion of any individual resource that uses it.

C:

DeployIfNotExists effect would be used to deploy a related resource or configuration when an evaluated prerequisite is missing; DeployIfNotExists evaluates a related resource and can trigger a deployment; it requires a properly authorized managed identity for remediation, but the question asks how to define the application object, permissions and authentication configuration in Microsoft Entra.

D:

System-assigned managed identity serves to give exactly one Azure resource a platform-managed identity tied to its lifetime, whereas this case requires the action to define the application object, permissions and authentication configuration in Microsoft Entra; Azure creates a service principal for the resource and removes that identity when the parent resource is deleted; no client secret is stored by the workload.

Question 664

A migration project has online and offline data transfer requirements. The assigned administrator needs to ship a physical appliance for large data transfers when network bandwidth is impractical. Which Azure feature should be selected?

  1. Private DNS zone for Private Link
  2. Azure Data Box
  3. AzCopy
  4. Azure Storage Explorer

Explanation

Correct Answer

B:

The requested operation is to ship a physical appliance for large data transfers when network bandwidth is impractical; Azure Data Box provides this functionality: Data Box supports offline data ingestion or export workflows; it requires a physical shipping and service process.

Incorrect Answers

A:

Private DNS zone for Private Link serves to resolve a storage service name to its approved private endpoint address from linked networks, whereas this case requires the action to ship a physical appliance for large data transfers when network bandwidth is impractical; Private DNS provides hostname resolution to the private IP path; the endpoint itself separately supplies the actual private network interface.

C:

AzCopy is designed to script high-throughput transfers of blobs or files from command-line jobs, not to ship a physical appliance for large data transfers when network bandwidth is impractical in this case; AzCopy uses efficient data transfer operations and can authenticate with SAS or supported Entra identities; it suits repeatable bulk-copy scripts.

D:

For the target required to ship a physical appliance for large data transfers when network bandwidth is impractical, Azure Storage Explorer is the wrong control: it is used 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.

Question 665

An application team needs a storage-account type matched to workload behavior. An operations ticket requires a solution to support workloads that require premium page blob characteristics. Select the relevant feature.

  1. Blob lifecycle policy
  2. Premium block blob account
  3. Premium page blob account
  4. General-purpose v2 account

Explanation

Correct Answer

C:

For the work item that must support workloads that require premium page blob characteristics, Premium page blob account is appropriate: Premium page blob storage is tailored to page blob performance behavior, distinct from general-purpose blob access tiers.

Incorrect Answers

A:

Blob lifecycle policy serves to transition or expire matching source blobs as their age changes, whereas this case requires the action to support workloads that require premium page blob characteristics; Lifecycle policies manage data retention and tiers in an account; they do not create a separate account's replicated destination objects.

B:

The request to support workloads that require premium page blob characteristics is not fulfilled by Premium block blob account; its intended role is 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.

D:

For the target required to support workloads that require premium page blob characteristics, General-purpose v2 account is the wrong control: it is used 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.

Question 666

A production web application needs different rollback and restore options. A cloud governance checklist specifies (1) restore a supported point-in-time app snapshot when the platform provides it; (2) replicate virtual machines for disaster recovery instead of backing up an App Service PaaS app. Select TWO items that belong in the configuration.

  1. App Service Backup
  2. Azure Site Recovery for VMs
  3. Deployment-slot rollback
  4. Snapshot restore for App Service

Explanation

Correct Answers

B:

Azure Site Recovery for VMs is needed for the specified objective to replicate virtual machines for disaster recovery instead of backing up an App Service PaaS app; Site Recovery protects supported machine workloads and does not serve as the built-in App Service application backup feature, making it one of the requested controls.

D:

Snapshot restore for App Service is included because it can restore a supported point-in-time app snapshot when the platform provides it; App Service snapshots can recover eligible app content from supported plans; they are separate from a user-configured backup policy, which fits one of the stated operational goals.

Incorrect Answers

A:

The purpose of App Service Backup is to create scheduled or on-demand app and supported database backups in an eligible tier; App Service backup captures configured application content and data dependencies into a storage target; plan and database support constraints apply, but no target in this question asks for that capability.

C:

Deployment-slot rollback would instead restore an earlier deployment by swapping slots back when the previous version is retained; A rollback swap can return tested code quickly but does not constitute a historical backup of all application data, which is unrelated to the listed objectives for this item.

Question 667

A cloud engineer is selecting Network Watcher capabilities to investigate failures. A change request specifies the outcome to collect selected network packets from a supported VM for protocol-level inspection. What should be used?

  1. Next hop
  2. Packet capture
  3. Load Balancer outbound rule
  4. Connection troubleshoot

Explanation

Correct Answer

B:

The stated need is to collect selected network packets from a supported VM for protocol-level inspection, so the applicable mechanism is Packet capture: Network Watcher packet capture records matching traffic for deeper examination; it does not edit an NSG rule.

Incorrect Answers

A:

For the target required to collect selected network packets from a supported VM for protocol-level inspection, Next hop is the wrong control: it is used to determine which route and next-hop type Azure will use for traffic to a chosen destination; Next hop reveals the route decision for a VM and target IP, helping detect unexpected virtual-appliance or None routes.

C:

Load Balancer outbound rule would be used to configure outbound SNAT for eligible backend instances through a public load balancer; An outbound rule governs outbound connectivity for the backend pool, separate from inbound load-balancing rules, but the question asks how to collect selected network packets from a supported VM for protocol-level inspection.

D:

Connection troubleshoot serves to test end-to-end reachability, latency or failure details between supported endpoints, whereas this case requires the action to collect selected network packets from a supported VM for protocol-level inspection; Connection troubleshoot assesses a source and destination network path rather than only displaying a configured route table.

Question 668

A web administrator is matching App Service plan capability to availability and scale needs. The team is configuring two independent resources. Resource A needs to use supported deployment slots, automated backups and autoscale for a web app; resource B needs to obtain higher performance and supported advanced App Service scaling capabilities. Which assignment of capabilities meets both goals?

  1. On resource A use Standard App Service plan; on resource B use Basic App Service plan.
  2. On resource A use Premium App Service plan; on resource B use Standard App Service plan.
  3. On resource A use Standard App Service plan; on resource B use Free App Service plan.
  4. On resource A use Standard App Service plan; on resource B use Premium App Service plan.

Explanation

Correct Answer

D:

A is correctly mapped to Standard App Service plan; Standard introduces common production hosting capabilities absent from lower tiers, subject to current platform limits; the B setting is right: Premium App Service plan supplies the ability to obtain higher performance and supported advanced App Service scaling capabilities; Premium offers more compute and scaling options than Standard; supported features still depend on specific plan generation and region.

Incorrect Answers

A:

A: Standard App Service plan meets the requirement to use supported deployment slots, automated backups and autoscale for a web app; Standard introduces common production hosting capabilities absent from lower tiers, subject to current platform limits; the B selection is incorrect for the need to obtain higher performance and supported advanced App Service scaling capabilities: Basic App Service plan serves to run a production-oriented web app on dedicated compute without deployment-slot features; Basic supplies dedicated instances but lacks several higher-tier staging and autoscale capabilities.

B:

At A, Premium App Service plan is mismatched; Premium offers more compute and scaling options than Standard; supported features still depend on specific plan generation and region; the requested need is to use supported deployment slots, automated backups and autoscale for a web app; the B selection is incorrect for the need to obtain higher performance and supported advanced App Service scaling capabilities: Standard App Service plan serves to use supported deployment slots, automated backups and autoscale for a web app; Standard introduces common production hosting capabilities absent from lower tiers, subject to current platform limits.

C:

The A setting is right: Standard App Service plan supplies the ability to use supported deployment slots, automated backups and autoscale for a web app; Standard introduces common production hosting capabilities absent from lower tiers, subject to current platform limits; the B selection is incorrect for the need to obtain higher performance and supported advanced App Service scaling capabilities: Free App Service plan serves to host a small nonproduction web workload with a constrained free plan; Free is a shared-compute tier with significant quotas and no dedicated scale-out capacity or production SLA.

Question 669

A service is granting temporary storage access with the narrowest practical credential model. During acceptance testing, the operator must issue a Blob Storage SAS signed using a Microsoft Entra user delegation key. Identify the appropriate Azure mechanism.

  1. Service SAS
  2. Account SAS
  3. Microsoft-managed encryption keys
  4. User delegation SAS

Explanation

Correct Answer

D:

The requested operation is to issue a Blob Storage SAS signed using a Microsoft Entra user delegation key; User delegation SAS provides this functionality: A user delegation SAS uses Entra-based authorization instead of an account key and is preferred for supported blob scenarios.

Incorrect Answers

A:

The proposed Service SAS addresses the separate function 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, which does not meet the stated need to issue a Blob Storage SAS signed using a Microsoft Entra user delegation key.

B:

Account SAS would be used to delegate operations across supported services or service-level operations from one token; 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, but the question asks how to issue a Blob Storage SAS signed using a Microsoft Entra user delegation key.

C:

Microsoft-managed encryption keys serves to use platform-managed encryption keys for standard Storage Service Encryption, whereas this case requires the action to issue a Blob Storage SAS signed using a Microsoft Entra user delegation key; Azure Storage encrypts data at rest by default with Microsoft-managed keys; customers need not operate a key vault for this option.

Question 670

A legal team is distinguishing retention, rollback and access restrictions for blobs. A change request specifies the outcome to return supported block blobs to an earlier timestamp inside a configured restoration interval. What should be used?

  1. Block blob point-in-time restore
  2. Legal hold on blobs
  3. Container soft delete
  4. Rotate signing account key

Explanation

Correct Answer

A:

Selecting Block blob point-in-time restore meets the requirement to return supported block blobs to an earlier timestamp inside a configured restoration interval; Point-in-time restore needs blob versioning, change feed, and blob soft delete to be enabled; the restore interval is constrained by the supporting retention periods.

Incorrect Answers

B:

The proposed Legal hold on blobs addresses the separate function to protect selected blob data from deletion while an active legal requirement applies; A legal hold is a WORM-style protection not tied to a fixed expiry date in the way time-based retention is, which does not meet the stated need to return supported block blobs to an earlier timestamp inside a configured restoration interval.

C:

Container soft delete would be used to recover a blob container removed during its configured soft-delete retention interval; Container soft delete retains eligible deleted containers for recovery within a set window; unlike blob soft delete, it protects against deletion of the container itself, but the question asks how to return supported block blobs to an earlier timestamp inside a configured restoration interval.

D:

Rotate signing account key serves to invalidate SAS tokens signed by a particular compromised shared account key, whereas this case requires the action to return supported block blobs to an earlier timestamp inside a configured restoration interval; Key rotation changes the signing secret and can disrupt clients using that key; it is broader than revoking one policy-bound SAS.

Microsoft Azure Administrator (AZ-104) Practice Tests