cert
cert-1
cert-2

Pass Microsoft AZ-104 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
AZ-104 Exam - Verified By Experts
AZ-104 Premium Bundle
$29.98

AZ-104 Premium Bundle

$79.99
$109.97
  • Premium File 606 Questions & Answers. Last update: Oct 30, 2026
  • Training Course 132 Video Lectures
  • Study Guide 458 Pages
 
$109.97
$79.99
accept 453 downloads in last 7 days
block-screenshots
Purchase Microsoft AZ-104 Exam Training Products Individually
Microsoft AZ-104 Premium File
Premium File 606 Q&A
$76.99$69.99
Microsoft AZ-104 Video Training Course
Training Course 132 Lectures
$21.99 $19.99
Microsoft AZ-104 PDF Study Guide
Study Guide 458 Pages
$21.99 $19.99
Microsoft AZ-104 Practice Test 67

Question 660

A startup-heavy app is repeatedly restarted by an aggressive liveness check. Which probe design should be reviewed?

  1. Inspect the build principal's ACR write permissions and repository scope.
  2. Pin the deployed container to a verified immutable image digest.
  3. Tune startup and liveness probe timing to allow legitimate initialization.
  4. Understand that digest references remain bound to the previously specified image content.

Explanation

Correct Answer

C:

Probe thresholds and initial delays must reflect realistic startup duration. An aggressive liveness check can kill replicas before they are ready.

Incorrect Answers

A:

Read-only registry credentials cannot publish new manifests. Scope and role assignment must allow writes. This matters here because a startup-heavy app is repeatedly restarted by an aggressive liveness check. Which probe design should be reviewed.

B:

Digests identify exact content independent of mutable tags. This reduces accidental deployment of an unreviewed artifact. This matters here because a startup-heavy app is repeatedly restarted by an aggressive liveness check. Which probe design should be reviewed.

D:

A tag can move to another manifest while a digest identifies one immutable artifact. Update the deployment reference to roll out new bytes. This matters here because a startup-heavy app is repeatedly restarted by an aggressive liveness check. Which probe design should be reviewed.

Question 661

A data-processing container must run at a specific cron schedule and then exit. What Azure resource is designed for it?

  1. Store the connection value as a Container Apps secret and reference it from runtime configuration.
  2. Create an Azure Container Apps scheduled job with the desired cron trigger.
  3. Validate container CPU and memory requests against current regional resource quotas.
  4. Use an always-on HTTP ingress service and assume it executes a one-off container on a cron schedule.

Explanation

Correct Answer

B:

Container Apps jobs support finite executions on schedules and events. A permanently running HTTP app is unnecessary.

Incorrect Answers

A:

Secrets avoid baking credentials into immutable image layers. Permissions, rotation and secret version handling still matter. This matters here because a data-processing container must run at a specific cron schedule and then exit. What Azure resource is designed for it.

C:

ACI deployment is constrained by supported resource shapes and subscription quota. A correct container image cannot overcome unavailable capacity. This matters here because a data-processing container must run at a specific cron schedule and then exit. What Azure resource is designed for it.

D:

Ingress is for inbound traffic; scheduled execution is a Container Apps Job with a valid schedule trigger.

Question 662

An App Service app must expose its runtime environment value differently in staging and production. Where should the configuration be stored?

  1. Perform a supported deployment slot swap after validating slot-specific settings and warm-up.
  2. Link the appropriate privatelink.azurewebsites.net private DNS records to client VNets.
  3. Move environment-specific values into a common backup archive and let production and staging read that shared file after swap.
  4. Use App Service application settings with appropriate deployment-slot stickiness.

Explanation

Correct Answer

D:

App settings are injected into the runtime environment and can be marked slot-specific. Image baking is unsuitable for secrets. This matters here because an App Service app must expose its runtime environment value differently in staging and production.

Incorrect Answers

A:

Slot swapping promotes the candidate release while allowing preparatory warm-up. It is safer than deleting and recreating the application. This matters here because an App Service app must expose its runtime environment value differently in staging and production.

B:

Private routing requires the standard hostname to resolve to the private endpoint address. Endpoint connection without DNS integration is insufficient. This matters here because an App Service app must expose its runtime environment value differently in staging and production.

C:

Backup files are not a replacement for deployment-slot-specific application settings. Mark environment-dependent values as slot settings to keep staging and production separated.

Question 663

A staging-only API endpoint remains attached to the production slot after swap. Is that expected?

  1. Perform a supported deployment slot swap after validating slot-specific settings and warm-up.
  2. Mark environment-specific connection strings as deployment slot settings.
  3. Verify that slot-specific settings stay with their designated slot during swaps.
  4. Verify App Service OS, language stack and runtime version compatibility.

Explanation

Correct Answer

C:

Sticky settings do not follow swapped code into another slot. Their behavior must be planned separately from deployment content.

Incorrect Answers

A:

Slot swapping promotes the candidate release while allowing preparatory warm-up. It is safer than deleting and recreating the application. This matters here because a staging-only API endpoint remains attached to the production slot after swap. Is that expected.

B:

Sticky settings remain associated with their slot and avoid swapping protected environment values along with application content. This matters here because a staging-only API endpoint remains attached to the production slot after swap. Is that expected.

D:

App Service offerings vary by operating system and runtime. A build that runs locally may need a compatible hosting configuration. This matters here because a staging-only API endpoint remains attached to the production slot after swap. Is that expected.

Question 664

A web app in App Service has an unhealthy worker that should be removed from serving customer traffic. Which platform feature helps?

  1. Plan database-specific backup and restore consistency in addition to App Service backup.
  2. Configure App Service Health Check with an accurate application readiness path.
  3. Enable Always On on a hosting tier that supports the feature.
  4. Create and approve an App Service private endpoint for inbound client traffic.

Explanation

Correct Answer

B:

Health Check probes a configured endpoint and can mark unhealthy worker instances for exclusion in supported plans. This matters here because a web app in App Service has an unhealthy worker that should be removed from serving customer traffic. Which….

Incorrect Answers

A:

App Service backup does not automatically guarantee consistent recovery of every external database. Dependencies need coordinated RPO and RTO. This matters here because a web app in App Service has an unhealthy worker that should be removed from serving customer traffic. Which….

C:

Always On sends periodic requests to keep the app loaded, reducing cold starts for applicable plans. This matters here because a web app in App Service has an unhealthy worker that should be removed from serving customer traffic. Which….

D:

Private endpoints provide private network ingress to supported App Service apps. Regional VNet integration is for outbound app calls. This matters here because a web app in App Service has an unhealthy worker that should be removed from serving customer traffic. Which….

Question 665

An application reports HTTP 200 on the root page but its required database is down. How should health monitoring improve?

  1. Enable another deployment slot while continuing to probe only the static root page for application health.
  2. Make the Health Check path reflect required application dependencies, not just static page delivery.
  3. Turn on HTTPS Only for the App Service app.
  4. Deploy and test the candidate in a staging slot without swapping it to production.

Explanation

Correct Answer

B:

A generic page response may mask a nonfunctional application. A useful health endpoint validates dependencies needed to serve requests.

Incorrect Answers

A:

A slot cannot show whether the production database is reachable. Configure a Health Check endpoint that tests required dependencies and returns unhealthy status when they fail.

C:

HTTPS Only enforces secure transport for inbound web requests. A valid certificate without enforcement does not guarantee every user avoids HTTP. This matters here because an application reports HTTP 200 on the root page but its required database is down.

D:

A staging slot isolates the candidate release from ordinary customer traffic. A failed validation does not require replacing the live slot.

Question 666

A company wants automated scheduled backups for an App Service app and its supported content. Which feature is relevant?

  1. Create an Azure App Service web app using a supported Python runtime.
  2. Review Always On availability and enablement under the current App Service tier.
  3. Configure App Service backup with a suitable supported storage destination and schedule.
  4. Verify the custom domain's DNS records and bind the hostname to the App Service app.

Explanation

Correct Answer

C:

App Service backup can protect supported app content and settings according to tier and configuration. Database backups may need separate protection.

Incorrect Answers

A:

App Service manages supported application hosting and scaling features. A VM-hosted web server adds guest patching responsibilities. This matters here because a company wants automated scheduled backups for an App Service app and its supported content. Which feature is relevant.

B:

Endpoint networking does not prevent idle unloads. Always On and the chosen hosting tier affect application readiness after inactivity. This matters here because a company wants automated scheduled backups for an App Service app and its supported content. Which feature is relevant.

D:

DNS and App Service hostname mapping work together. A DNS record alone does not authorize the platform to serve the hostname. This matters here because a company wants automated scheduled backups for an App Service app and its supported content. Which feature is relevant.

Question 667

A VNet needs a dedicated subnet for Azure Bastion while keeping application VMs elsewhere. What subnet naming rule matters?

  1. Create AzureBastionSubnet with supported address size and configuration.
  2. Add a supported nonoverlapping address space prefix to the VNet.
  3. Use Azure Bastion over the VNet private address for supported VM management.
  4. Set the NIC IP configuration's private IP allocation method to Static with an available subnet address.

Explanation

Correct Answer

A:

Azure Bastion requires its dedicated, specifically named subnet in the VNet. Ordinary app subnets are not substitutes. This matters here because a VNet needs a dedicated subnet for Azure Bastion while keeping application VMs elsewhere. What subnet naming rule….

Incorrect Answers

B:

Azure VNets can have multiple address spaces, subject to overlap, peerings and service constraints. Routing and existing subnets must be reviewed. This matters here because a VNet needs a dedicated subnet for Azure Bastion while keeping application VMs elsewhere. What subnet naming rule….

C:

Bastion brokers approved RDP or SSH connections to VMs without public IPs on each guest. This matters here because a VNet needs a dedicated subnet for Azure Bastion while keeping application VMs elsewhere. What subnet naming rule….

D:

Static private IP allocation makes the address stable across supported VM lifecycle events. DNS records must agree with the NIC configuration. This matters here because a VNet needs a dedicated subnet for Azure Bastion while keeping application VMs elsewhere. What subnet naming rule….

Question 668

Bastion deployment fails because its subnet is named bastion-subnet. What should be corrected?

  1. Increase the existing subnet prefix but leave its name as bastion-subnet instead of AzureBastionSubnet.
  2. Rename or create the dedicated subnet with the exact AzureBastionSubnet name and supported prefix.
  3. Review exclusive delegation and service-specific subnet eligibility requirements.
  4. Add a supported nonoverlapping address space prefix to the VNet.

Explanation

Correct Answer

B:

Azure Bastion discovers its required subnet by specific naming. An arbitrary subnet alias cannot replace it. This matters here because bastion deployment fails because its subnet is named bastion-subnet.

Incorrect Answers

A:

Azure Bastion requires the designated AzureBastionSubnet name and a supported subnet configuration. Capacity adjustments alone cannot fix a mismatched required name.

C:

Subnet delegation constrains which service can manage certain resources in that subnet. Incompatible reuse can block deployment. This matters here because bastion deployment fails because its subnet is named bastion-subnet.

D:

Azure VNets can have multiple address spaces, subject to overlap, peerings and service constraints. Routing and existing subnets must be reviewed. This matters here because bastion deployment fails because its subnet is named bastion-subnet.

Question 669

An engineer wants to verify connectivity from a VM NIC to a private IP and port after applying UDRs. What Azure diagnostic feature fits?

  1. Create an Azure Private DNS zone and link the authorized VNets.
  2. Use 10.2.2.0/25 and 10.2.2.128/25 as the two nonoverlapping child subnets.
  3. Run Network Watcher connection troubleshoot or Connection monitor for the source and destination.
  4. Use supported BGP-propagated gateway routes with appropriate virtual network gateway configuration.

Explanation

Correct Answer

C:

Network Watcher can test reachability and identify routing or filtering causes. ICMP success alone does not guarantee the application port works. This matters here because an engineer wants to verify connectivity from a VM NIC to a private IP and port after applying UDRs. What Azure….

Incorrect Answers

A:

Private DNS zones resolve within linked VNets rather than publishing records to the Internet. Links and resolver paths control client reachability. This matters here because an engineer wants to verify connectivity from a VM NIC to a private IP and port after applying UDRs. What Azure….

B:

Two /25 blocks partition the /24 address space exactly. Their network boundaries align with the prefix size. This matters here because an engineer wants to verify connectivity from a VM NIC to a private IP and port after applying UDRs. What Azure….

D:

Gateway-learned routes can appear in subnet effective routes under supported propagation and topology. A random public IP rule cannot establish private routing. This matters here because an engineer wants to verify connectivity from a VM NIC to a private IP and port after applying UDRs. What Azure….

Question 670

Connection troubleshoot reports a route to an NVA rather than direct peering. What should be inspected?

  1. Review the source NIC's effective routes and the matching user-defined route.
  2. Inspect effective NSG rules, user-defined routes and guest firewall on both ends.
  3. Use 10.2.2.0/25 and 10.2.2.128/25 as the two nonoverlapping child subnets.
  4. Verify VM SKU NIC limits and that every NIC connects to an allowed VNet/subnet topology.

Explanation

Correct Answer

A:

Effective routes show which prefix and next hop govern a destination. A VM's subnet attachment does not reveal overrides by itself. This matters here because connection troubleshoot reports a route to an NVA rather than direct peering.

Incorrect Answers

B:

Peering connectivity does not override security rules or guest firewalls. Connected peering is a network relationship, not authorization to every port. This matters here because connection troubleshoot reports a route to an NVA rather than direct peering.

C:

Two /25 blocks partition the /24 address space exactly. Their network boundaries align with the prefix size. This matters here because connection troubleshoot reports a route to an NVA rather than direct peering.

D:

Azure VM multi-NIC configurations have SKU and network constraints. A NIC cannot arbitrarily attach to every VNet. This matters here because connection troubleshoot reports a route to an NVA rather than direct peering.

Microsoft Azure Administrator (AZ-104) Practice Tests