McAfee-Secured Website

Exam Bundle

Exam Code: AZ-104

Exam Name Microsoft Azure Administrator

Certification Provider: Microsoft

Corresponding Certification: Microsoft Certified: Azure Administrator Associate

Microsoft AZ-104 Bundle $44.99

100% Microsoft AZ-104 Guaranteed Success With Testking Training Materials

Get Real AZ-104 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    AZ-104 Questions & Answers

    606 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual AZ-104 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • AZ-104 Video Course

    AZ-104 Video Course

    132 Video Lectures

    AZ-104 Video Course is developed by Microsoft Professionals to help you pass the AZ-104 exam.

    Description

    This course will improve your knowledge and skills required to pass Microsoft Azure Administrator exam.
  • Study Guide

    AZ-104 Study Guide

    458 PDF Pages

    Developed by industry experts, this 458-page guide spells out in painstaking detail all of the information you need to ace AZ-104 exam.

Microsoft Azure Administrator (AZ-104) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • Questions & Answers

    Questions & Answers

    606 Questions

    $124.99
  • AZ-104 Video Course

    Video Course

    132 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    458 PDF Pages

    $29.99

Microsoft AZ-104 Practice Test 20

Question 190

A VM deployment succeeds but its Custom Script Extension reports failed status. The script downloads from a private endpoint that the VM cannot resolve. What should be investigated?

  1. Increase the VM extension’s execution timeout without fixing DNS resolution of the private download hostname.
  2. Validate the extension's VM-side DNS, network reachability, execution identity and script logs, not only the ARM resource success.
  3. Rerun ARM resource deployment validation alone and it proves guest extension script downloads succeeded.
  4. Move the extension to another resource group while leaving the VM-side DNS and private endpoint access unchanged.

Explanation

Correct Answer

B:

Extension execution occurs in the guest and depends on its network and permissions. A successful VM resource creation does not guarantee the bootstrap task succeeded.

Incorrect Answers

A:

A longer timeout cannot resolve a private endpoint hostname that the guest cannot resolve. VM-side DNS and network access should be checked.

C:

Template validation and resource creation do not prove the extension can resolve and reach its private endpoint in the guest OS.

D:

Resource-group placement does not correct guest DNS or routing for a custom script download.

Question 191

A Container App hosts an HTTP service that must keep at least two warm replicas even during zero traffic. An event-driven rule currently scales it down to zero. Which setting should be changed?

  1. Set the maximum replica count to two but retain a minimum replica count of zero.
  2. Increase the CPU scale threshold so the app waits longer to create replicas during idle periods.
  3. Create a second inactive revision and it contributes one warm replica to the current serving revision.
  4. Configure the supported minimum replica count to two while retaining appropriate maximum and scale rules.

Explanation

Correct Answer

D:

The minReplicas setting sets the lower bound for supported Container Apps scaling. It prevents an intended minimum capacity from disappearing during idle periods.

Incorrect Answers

A:

A maximum caps the possible fleet size but does not keep two replicas running while there are no scale triggers.

B:

Changing the trigger threshold does not enforce the requested minimum number of warm replicas.

C:

Inactive revisions do not satisfy the minimum warm replica count for the active serving workload.

Question 192

A registry image tag is overwritten by a CI job. A production deployment that uses that tag may pull a different build later. What image reference practice improves deterministic rollbacks?

  1. Add the validated build number as an OCI image label but leave deployment manifests pinned only to the mutable registry tag.
  2. Use an immutable-looking tag naming convention without enforcing tag immutability or recording its digest.
  3. Deploy using the content-addressed image digest for the validated artifact rather than a mutable tag alone.
  4. Pull the same image tag before each deployment and the registry cannot change its manifest after a successful pull.

Explanation

Correct Answer

C:

Digests identify a specific image manifest, preventing an overwritten tag from silently redirecting future pulls. Retain the needed manifest in registry retention policy.

Incorrect Answers

A:

An image label records metadata within an image; using a mutable tag as the deployment reference can still select a different manifest later.

B:

Naming patterns alone do not prevent a registry publisher from reusing the tag. Digest pinning ties deployment to the content.

D:

A registry tag is a mutable reference unless appropriately governed. A later pull of the same tag may resolve to different content.

Question 193

A job has two tightly coupled containers that need localhost communication and should start inside one isolated execution unit. Which Azure Container Instances resource concept supports this arrangement?

  1. Place two independent ACI groups on the same VNet subnet and configure the same private DNS suffix so both containers can exchange localhost traffic.
  2. Deploy a multi-container ACI container group with compatible resources and networking.
  3. Apply the same ACI restart policy and environment-variable set to two separate groups to make them share a localhost interface.
  4. Publish both images under one Azure Container Registry repository and configure that repository as their shared container network.

Explanation

Correct Answer

B:

Containers in an ACI container group share a supported lifecycle and network context. Their resource requests and startup behavior still need planning.

Incorrect Answers

A:

Shared VNet reachability and DNS names do not merge network namespaces. Each separately deployed container group retains its own loopback namespace.

C:

Matching configuration and restart policies can coordinate process behavior but cannot merge the loopback network contexts of separately deployed ACI groups.

D:

ACR stores and distributes images and manifests; it does not create a running network namespace. A multi-container ACI group provides the runtime context.

Question 194

A canary release uses two Container App revisions, but the old revision was deactivated. An engineer adds a traffic weight for it and expects requests to reach that revision. What must be checked?

  1. Keep the old revision deactivated while assigning it a nonzero traffic weight.
  2. Turn off all application ingress and weights still deliver HTTP traffic.
  3. Update the old revision’s label without activating it and the ingress router will start its replicas.
  4. Activate and retain the intended revision before assigning traffic weights to it in multiple-revision mode.

Explanation

Correct Answer

D:

Traffic can be distributed among available active revisions when configured. A deactivated revision is not a runnable target merely because its name appears in a weight plan.

Incorrect Answers

A:

Traffic weights do not activate a deactivated revision. It must be active and eligible to serve requests.

B:

Disabled ingress precludes the intended incoming HTTP routing pattern rather than fixing it.

C:

Revision labels can provide stable URLs but do not override inactive revision status or automatically make replicas serve traffic.

Question 195

A Container App needs secrets from Azure Key Vault but must avoid storing a service-principal client secret inside its container. Which authentication pattern is appropriate?

  1. Configure the Container App to retrieve Key Vault secrets using the registry admin username and password.
  2. Store a permanent service-principal client secret in the container environment and use that instead of managed identity.
  3. Grant the workload subscription Contributor but no secrets data-plane permissions on the vault.
  4. Enable a supported managed identity for the Container App and grant it narrowly scoped Key Vault access.

Explanation

Correct Answer

D:

Managed identity provides a workload identity without an application-maintained client secret. Correct vault data permissions remain mandatory.

Incorrect Answers

A:

ACR registry credentials authenticate image retrieval, not Microsoft Entra authorization to read Key Vault secrets.

B:

A manually managed client secret reintroduces the credential lifecycle and disclosure risk that the requirement seeks to avoid.

C:

Contributor allows resource management in its scope but does not automatically authorize fetching Key Vault secret values via the vault data plane.

Question 196

A web application on a compatible paid App Service plan often idles between requests and suffers a cold start when the first customer arrives. What supported app setting can help keep the host initialized?

  1. Enable Always On when supported by the App Service plan to send periodic platform requests.
  2. Scale up the App Service plan to a larger worker size while leaving Always On disabled.
  3. Scale out to additional identical App Service instances while leaving Always On disabled.
  4. Enable health-check monitoring alone without the supported Always On app setting.

Explanation

Correct Answer

A:

Always On helps keep eligible apps running when idle by periodically pinging the worker. It does not replace health monitoring or application performance tuning.

Incorrect Answers

B:

A larger worker supplies more compute capacity for active requests but does not ensure an otherwise idle app stays initialized. The Always On app setting provides the supported keep-warm behavior.

C:

More instances can improve capacity but do not necessarily prevent each idle worker from unloading the application.

D:

Health checks can aid instance monitoring or routing, but Always On is the designated setting for keeping an otherwise idle supported app initialized.

Question 197

A staging slot uses production-slot-specific settings that must be applied during a swap, and the team wants validation before finishing promotion. Which App Service feature can help with a staged swap process?

  1. Perform a direct production deployment without validating staging under the effective production-specific slot configuration.
  2. Swap immediately with no preview or warm-up validation and configuration compatibility is guaranteed.
  3. Copy all production secrets into ordinary shared settings and those settings remain isolated during swaps.
  4. Use a supported swap with preview workflow where available and validate the warmed staging application before completing.

Explanation

Correct Answer

D:

Swap with preview can help validate the app under target slot settings before completing the swap. Sticky settings and data migrations still require planning.

Incorrect Answers

A:

Deploying directly to production removes the opportunity to validate the staged app with production slot settings before switching.

B:

An immediate swap may skip the desired validation period for production-specific settings and application readiness.

C:

Unmarked settings may move with swapped content and expose an environment mismatch; slot settings must be managed deliberately.

Question 198

An App Service plan has two worker instances but each is short of memory. Adding a third identical worker will not fix a single-process memory ceiling. Which scaling change targets per-instance capacity?

  1. Increase the scale-out maximum instance count but retain the same memory-constrained worker SKU.
  2. Configure autoscale on CPU utilization without choosing a larger per-instance memory tier.
  3. Scale out from two to twenty instances without changing the per-process memory ceiling.
  4. Scale up to a supported larger worker SKU while evaluating application memory requirements.

Explanation

Correct Answer

D:

Scaling up changes worker size and available per-instance resources. It is distinct from horizontal scaling of replica count.

Incorrect Answers

A:

More workers can spread requests but do not increase the memory ceiling of each individual worker process.

B:

Autoscale adds or removes workers rather than increasing memory capacity of each instance.

C:

The same worker size has the same per-instance memory limit regardless of instance count; a larger SKU targets the bottleneck.

Question 199

A team wants to secure a supported App Service custom hostname without purchasing and manually renewing a third-party TLS certificate. Which option should be checked?

  1. Use the default *.azurewebsites.net platform certificate for a distinct mapped custom hostname.
  2. Upload a self-signed TLS certificate and public browsers will trust it automatically.
  3. Configure HTTPS Only without adding any eligible trusted certificate for the mapped custom domain.
  4. Evaluate the App Service managed certificate feature and verify its supported hostname and tier limitations.

Explanation

Correct Answer

D:

App Service managed certificates can automate certificate provisioning for eligible custom domains. Validation, supported binding and feature constraints must be met.

Incorrect Answers

A:

The default certificate covers the platform hostname, not the separately mapped custom domain that browsers must validate.

B:

A self-signed certificate is not generally trusted by public browser root stores, even when it matches the custom hostname.

C:

Forcing HTTPS does not provide the name-matching trusted certificate required by a custom domain; a supported managed certificate can address this.

Question 200

A staging slot contains a new App Service release. During a planned slot swap, the production slot must remain online until the staging instances finish initialization. The team also requires the /health/ready endpoint to return HTTP 200 before routing production traffic to those instances. Which configuration best enforces the readiness gate?

  1. Configure WEBSITE_SWAP_WARMUP_PING_PATH=/health/ready and WEBSITE_SWAP_WARMUP_PING_STATUSES=200 for the swapping application, then perform the supported slot swap.
  2. Mark the production database connection string as a slot setting but leave the swap warm-up endpoint and acceptable response codes unspecified.
  3. Set WEBSITE_WARMUP_PATH=/health/ready only and this necessarily restricts every slot-swap warm-up response to HTTP 200.
  4. Set WEBSITE_SWAP_WARMUP_PING_STATUSES=500,503 so failed readiness checks qualify as successfully warmed instances.

Explanation

Correct Answer

A:

The swap-specific warm-up path targets the application readiness endpoint, and the accepted-status list prevents the swap from completing when the response is not HTTP 200. This tests readiness gating, not connection-string stickiness.

Incorrect Answers

B:

Keeping environment-specific secrets in their slots is important but does not configure an HTTP readiness response requirement for the swap.

C:

WEBSITE_WARMUP_PATH applies to application restarts generally; it is not, by itself, the documented swap-specific path plus allowable HTTP status-code gate.

D:

HTTP 500 and 503 signal application failure or unavailability. Accepting them would defeat the readiness validation requirement.