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 5

Question 40

An Azure VM cannot be resized to a selected SKU while running, and the portal indicates the change requires deallocation. What is the next appropriate administrative step after scheduling downtime?

  1. Stop and deallocate the VM, resize to an available supported SKU, then start and validate it.
  2. Restart the VM from its guest operating system and retry the new SKU while leaving it allocated to the existing host.
  3. Increase the storage performance tier for the managed OS disk and the VM compute SKU automatically changes to the desired size.
  4. Apply a resource-group ReadOnly management lock and retry VM resize, and the lock will grant the required compute operation.

Explanation

Correct Answer

A:

Deallocation releases allocated compute resources and allows supported changes that cannot occur on the running host. The selected SKU must be available in the target region/cluster.

Incorrect Answers

B:

An in-guest restart does not release the VM allocation. The scenario requires Azure stop/deallocate before selecting an available size.

C:

Disk performance and VM compute size are separately configured. A VM resize may require deallocation and available capacity.

D:

ReadOnly locks block management writes and cannot make a resize succeed. The required next step is deallocation and a supported SKU.

Question 41

A team needs to run a single containerized data conversion overnight without managing Kubernetes or a long-lived web ingress. Which Azure hosting option is the simplest fit?

  1. Use a Container Apps revision with an always-on, public HTTP ingress solely to execute one offline conversion run.
  2. Build a dedicated multi-node Kubernetes cluster solely for one nightly container.
  3. Provision an Azure Container Instance with the image, resources and required environment configuration.
  4. Store the image in Azure Container Registry and pushing the image also schedules and executes the conversion job.

Explanation

Correct Answer

C:

ACI runs containers without provisioning cluster nodes, suitable for isolated container workloads. Logs, retries and lifecycle still need operational handling.

Incorrect Answers

A:

A persistent HTTP-facing app is unnecessary for a single batch task; Azure Container Instances can execute the container without a public web ingress.

B:

A cluster adds management overhead for a simple single-container execution. The scenario does not require Kubernetes-level orchestration.

D:

Azure Container Registry stores images, but does not itself run the container. An execution service such as ACI is required.

Question 42

A queue-processing microservice must scale container replicas up when jobs arrive and scale back toward zero during long idle periods. Which managed container platform capability fits?

  1. Configure only fixed HTTP request-based scaling for a worker that consumes queue messages without serving HTTP requests.
  2. Set a constant minimum of two Container Apps replicas and these automatically scale to zero during idle periods.
  3. Use Azure Container Apps with an appropriate event-driven scaling rule supported by KEDA.
  4. Configure an Azure Container Registry webhook on image push and use it as the runtime scale trigger for each queued work item.

Explanation

Correct Answer

C:

Container Apps supports scale rules driven by supported metrics and events, including queue depth. Configured min/max replicas and secrets determine actual behavior.

Incorrect Answers

A:

HTTP concurrency is a different trigger from queue depth. A suitable KEDA event trigger scales the worker as queue work arrives.

B:

A nonzero minimum replica count prevents scaling to zero. Event-driven rules and minimum settings must match the requested idle behavior.

D:

An image-push webhook concerns registry updates, not runtime message backlog. KEDA queue scaling observes the appropriate event source.

Question 43

An Azure container workload uses a managed identity to pull a private application image from Azure Container Registry configured in RBAC Registry Permissions mode (not ABAC-enabled). The identity must not push or delete images. Which authorization is appropriate?

  1. Grant AcrPull to the workload identity at the applicable registry scope.
  2. Assign generic Reader over the registry resources and it authorizes image manifest and layer downloads from private repositories.
  3. Grant AcrPush because every image pull must update the repository.
  4. Assign only the Container Registry Repository Catalog Lister role and repository enumeration grants permission to download private image layers.

Explanation

Correct Answer

A:

In RBAC Registry Permissions mode, AcrPull grants image read/pull access without push or delete. The container workload must also be configured to authenticate with the managed identity. An ABAC-enabled registry instead uses Container Registry Repository Reader.

Incorrect Answers

B:

Management-plane Reader can inspect resource metadata but does not grant the registry data-plane image pull right required by a workload.

C:

Image retrieval does not require the ability to push or alter registry artifacts. AcrPush is unnecessarily broad for a deployment-only workload.

D:

Catalog listing and image reading are separate repository permissions. Container Registry Repository Catalog Lister is not a replacement for AcrPull in this RBAC Registry Permissions-mode scenario.

Question 44

A production Container App needs to deploy a new image and send a small portion of HTTP requests to the new revision before making it primary. What app capability enables this?

  1. Use single-revision mode and assign 10 percent of ingress traffic to the previous revision and 90 percent to the newly deployed revision.
  2. Configure an App Service staging deployment slot for the Container App and swap it into production at a 10 percent traffic weight.
  3. Use multiple revision mode with explicit traffic weights between labeled active revisions.
  4. Set Container Apps ingress to allow insecure HTTP and use that setting to distribute a small percentage of requests to the new revision.

Explanation

Correct Answer

C:

Container Apps revisions allow staged version activation and traffic distribution when multiple revision mode is configured. Health and rollback procedures should accompany the rollout.

Incorrect Answers

A:

Single-revision mode does not permit concurrently active revisions with explicit weighted split traffic. Multiple-revision mode is needed for percentage-based staged rollout.

B:

App Service deployment slots and slot swaps belong to App Service web apps; Container Apps routes traffic through its own active revisions, labels and revision weights.

D:

The insecure HTTP switch affects transport redirection behavior; it does not control deployment-revision traffic distribution. Configure explicit weights in multiple-revision mode.

Question 45

A team stores versioned private OCI images for several Azure workloads and needs a centralized registry integrated with Azure identity. They do not expect the registry to execute those images. Which service should they provision?

  1. Use Azure Container Instances as a long-term image repository while leaving container hosts undefined.
  2. Use Azure Container Registry as the private image store and configure runtime hosts separately.
  3. Use a private Azure Blob container as the OCI registry endpoint without deploying a compatible registry service or metadata API.
  4. Use an Azure App Service plan as the image repository, then attempt to pull OCI manifest layers from the plan resource endpoint.

Explanation

Correct Answer

B:

ACR manages image repositories, manifests and authentication. Execution occurs on services such as Container Apps, ACI or VMs, not in the registry itself.

Incorrect Answers

A:

ACI runs containers and can pull images, but it is not the service for hosting a versioned private registry shared by multiple runtimes.

C:

Blob Storage can hold data, but is not automatically an OCI-compatible registry that workloads can authenticate to and pull tagged images from.

D:

An App Service plan provisions runtime compute capacity; it does not expose an OCI image registry API for storing private image tags.

Question 46

A production web app requires live validation of a new build under a separate URL before promoting it, with a way to roll back quickly. The existing plan tier supports deployment slots. What workflow fits?

  1. Deploy to a staging deployment slot, validate it, then swap the slot with production when ready.
  2. Deploy a separate staging web app and rely on deleting and recreating the production app to provide an automatic atomic slot swap.
  3. Create a separate App Service app named staging on the same plan and it can perform the production slot swap operation.
  4. Enable automatic deployment into the production slot with no staging validation, relying on App Service scale-out as the rollback mechanism.

Explanation

Correct Answer

A:

Deployment slots provide isolated app versions and support slot swapping with warmed instances. Slot-sticky settings and database compatibility must be checked before swap.

Incorrect Answers

B:

Independent web apps do not participate in App Service deployment-slot swaps. Deleting production also risks downtime and state loss.

C:

A separate web app is not an App Service deployment slot; deployment-slot swap applies to supported app slots.

D:

Scale-out changes instance count, not application version. A staging slot and swap provide the needed preproduction validation and reversible release.

Question 47

An Azure App Service web application must call a database through an existing virtual network private endpoint. The company does not require private inbound web access. What should be configured?

  1. Configure App Service VNet integration for outbound traffic, plus the appropriate private DNS resolution and network access.
  2. Enable Route All on the App Service without first configuring VNet integration.
  3. Create only a private endpoint for inbound App Service requests, and it also enables the app to connect outbound to the database VNet.
  4. Enable only the Microsoft.Sql service endpoint on the App Service integration subnet, and this also establishes the app’s outbound VNet integration.

Explanation

Correct Answer

A:

App Service VNet integration enables outbound connectivity from the app to resources in or through the VNet. It does not by itself make the web app private to inbound clients.

Incorrect Answers

B:

Route All can direct App Service outbound traffic through its integrated VNet when that integration exists; simply changing routing expectations without VNet integration cannot reach the private database endpoint.

C:

An App Service private endpoint is for private inbound access to the app; it does not replace outbound regional VNet integration.

D:

A service endpoint can affect network treatment for an eligible Azure service after an outbound VNet path exists; it cannot configure the App Service application’s VNet integration or replace the private endpoint DNS path.

Question 48

A web app is CPU-saturated during a marketing campaign. It can run statelessly on several identical instances, and the company needs higher request concurrency without changing instance hardware size. Which operation fits?

  1. Scale up to a larger per-instance SKU as the only possible way to add request capacity.
  2. Scale out the App Service plan by increasing the number of worker instances.
  3. Increase Always On and connection time-out values without changing the number of App Service workers.
  4. Enable additional deployment slots and each staging slot will automatically serve production requests as another worker replica.

Explanation

Correct Answer

B:

Horizontal scaling adds replicas to handle concurrent requests. The application must manage sessions and shared state appropriately, and the pricing tier must support the count.

Incorrect Answers

A:

Vertical scaling changes worker size, not instance count. It may help but does not match the stated desire for more identical instances.

C:

Always On keeps an app loaded and timeouts affect connections, but neither creates additional parallel worker instances.

D:

Slots separate application deployments; they do not increase the App Service plan worker count for production throughput.

Question 49

A company wants to map www.example.org to an existing Azure App Service application. It can modify the domain DNS zone but must prove ownership. Which configuration step is appropriate?

  1. Create only a TXT verification record for www.example.org and the hostname will route visitors correctly without A or CNAME DNS.
  2. Configure only the CNAME mapping to the App Service hostname and omit the documented ownership-verification record or validation step.
  3. Verify the custom hostname with TXT only and that TXT record will route browsers to the correct application endpoint.
  4. Configure the documented CNAME or A record and the required domain-verification TXT record for the App Service custom hostname.

Explanation

Correct Answer

D:

App Service custom domain binding requires valid DNS routing and domain ownership validation. TLS certificate configuration is a separate requirement for secure HTTPS.

Incorrect Answers

A:

A verification TXT proves domain ownership but does not provide the address mapping browsers need for the requested custom hostname.

B:

A CNAME points traffic to an app but does not necessarily satisfy the App Service custom-domain ownership verification requirement.

C:

Domain ownership verification and DNS address or alias mapping are separate; a TXT does not direct web traffic.

Question 50

Two App Service deployment slots use different database connection strings; the production connection must never move into the staging environment during a swap. How should the settings be configured?

  1. Mark environment-specific configuration values as deployment slot settings before performing the swap.
  2. Keep both database connection strings as ordinary shared settings that follow the swappable app content.
  3. Place the production connection string in ordinary app settings and swapping slots never moves ordinary connection settings.
  4. Set connection strings as slot settings on staging only, leaving the production database connection string as a nonsticky setting.

Explanation

Correct Answer

A:

Slot settings stick to their original slot during swap operations. This prevents environment-specific secrets and endpoints from moving with the application content.

Incorrect Answers

B:

Non-sticky settings may move with the application during swaps. This risks pointing staging code to the production database.

C:

Non-slot-sticky settings can move during a swap. Mark environment-specific connection strings as deployment slot settings.

D:

The production secret also needs to remain with its intended slot; marking only one side can still move the production configuration.