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 49

Question 480

A company has a standardized hardened VM image that must be used in two regions with controlled version rollout. What Azure image-distribution feature should the team evaluate?

  1. Create one managed image version in the source region and the gallery version is instantly available for deployment in every other region.
  2. Publish versioned images in Azure Compute Gallery and configure supported replica regions for the required deployment targets.
  3. Reference a single region-specific gallery image version from both regions without configuring the gallery’s target region replication.
  4. Create independent managed images in both regions without coordinated versioning and a controlled rollout will stay consistent.

Explanation

Correct Answer

B:

Compute Gallery stores and distributes managed image versions for regional deployment. Version and replication configuration affect availability.

Incorrect Answers

A:

Azure Compute Gallery image version availability depends on explicit target region replication and its completion, not only source-region publication.

C:

An image-version identifier does not guarantee that its replicas are available in each requested region; configure and verify the target regions.

D:

Uncoordinated regional images can drift in build and version selection. Gallery versions support reviewed replication and consistent deployment references.

Question 481

An administrator plans to deallocate and resize a VM whose public address is configured as dynamic. A partner firewall permits only its current external IP. What should be validated before the maintenance?

  1. Convert the NIC private IP assignment to Static and also pins the VM’s independent dynamic public IP resource.
  2. Make the public IP’s DNS label static while leaving its allocation dynamic through VM deallocation.
  3. Confirm the public IP allocation method and use a suitable static public IP resource if the partner requires stable addressing.
  4. Attach a NAT Gateway to the VM subnet and it will reserve the independently associated dynamic public IP on the NIC.

Explanation

Correct Answer

C:

A dynamic public IP may change after deallocation. A static allocation better supports an external allow list across lifecycle changes.

Incorrect Answers

A:

Private and public IP assignments are separate Azure resources. A fixed internal address does not preserve an external allowlisted public address.

B:

A stable hostname is not equivalent to a fixed underlying public address. The partner’s IP-based firewall still requires static allocation.

D:

NAT Gateway is an outbound SNAT service and does not pin an individual VM NIC public IP resource through deallocation.

Question 482

A container app uses a managed identity to pull an image from a registry configured for RBAC Registry + ABAC Repository Permissions. Legacy AcrPull is assigned, but the pull fails. Which change directly matches the registry mode?

  1. Assign Container Registry Repository Reader with a matching repository condition, plus Catalog Lister only if listing is required.
  2. Assign the Azure control-plane Contributor role at the registry scope, and it substitutes for the ABAC repository reader permission.
  3. Use the registry admin username and password for every workload, leaving repository access unrestricted despite the ABAC requirement.
  4. Assign generic Azure Reader on the registry to the identity and it grants repository image manifest and layer pulls in ABAC mode.

Explanation

Correct Answer

A:

ABAC-enabled registries do not honor legacy AcrPull for repository data access. The repository reader role is needed for image reads in the selected permissions mode.

Incorrect Answers

B:

Azure Contributor can manage registry resources but is not the fine-grained ABAC repository read data action required to pull image artifacts from ABAC-enabled repositories.

C:

A shared registry administrative credential bypasses fine-grained repository authorization instead of giving least-privileged identity pull rights.

D:

Azure control-plane Reader does not grant the Container Registry repository data actions needed for OCI image pulls.

Question 483

A Container App runs multiple revisions. QA must exercise a particular candidate revision at a stable URL even while normal production traffic weights change. Which supported revision feature should the team use?

  1. Change only the image tag on the candidate revision and the app gains a stable label-specific URL for QA automatically.
  2. Associate a revision label with the candidate active revision and use its label-based URL for explicit QA requests.
  3. Set the default revision traffic weight to zero without assigning a revision label to obtain a stable candidate-specific QA URL.
  4. Enable single-revision mode to remove previous revisions while preserving multiple candidate-specific revision URLs for concurrent QA.

Explanation

Correct Answer

B:

Revision labels can provide stable endpoints for a chosen active revision, separate from general traffic weights. The team must manage label reassignment during rollout.

Incorrect Answers

A:

The image tag identifies an artifact, not a routable Container Apps revision label; configure a revision label explicitly.

C:

Traffic weights determine general routing share; a revision label supplies the dedicated URL that QA can target independently of weight changes.

D:

Single-revision mode does not preserve the concurrent active revision endpoints required for independent canary QA.

Question 484

An ACR registry has public network access disabled and a private endpoint configured. A build agent inside a peered VNet can resolve the registry login server only to its public IP. How should network access be corrected?

  1. Grant the build agent Azure subscription Owner and keep the registry DNS pointing publicly.
  2. Configure private DNS resolution and reachability for the registry private endpoint and required registry data endpoints.
  3. Enable the registry’s public network endpoint and retain public DNS resolution as the only connectivity path while claiming the endpoint stays private-only.
  4. Set the registry loginServer name as an unqualified local hosts-file alias without configuring the relevant private A records or regional data endpoint names.

Explanation

Correct Answer

B:

Private Link depends on clients resolving relevant ACR names to private addresses and reaching them; public network denial is not fixed by broad data-plane RBAC.

Incorrect Answers

A:

Broader management rights do not fix private endpoint name resolution when the public route is blocked.

C:

Restoring public access defeats the private-only design and does not configure the registry private endpoint DNS and data-host requirements.

D:

A single ad hoc hosts alias cannot reliably cover the registry control and data endpoint names required for private pulls and pushes.

Question 485

A team runs a staging slot of an App Service web app and wants roughly 10% of production site visits directed to the new slot for a controlled experiment, while most visits stay on production. The plan supports traffic routing. What should they configure?

  1. Use deployment-slot swapping to promote staging to production, and rely on a 10-second warm-up to achieve 10% exposure.
  2. Assign a permanent 10% traffic weight to a newly created App Service deployment slot but never configure traffic routing for that slot.
  3. Configure App Service deployment-slot traffic routing to the staging slot with the chosen percentage, then monitor experiment results.
  4. Immediately swap staging into production and exactly 10% of visits use the new release.

Explanation

Correct Answer

C:

Slot traffic routing can distribute a portion of eligible requests to a nonproduction slot without a full swap. Sticky session behavior and user experience should be evaluated.

Incorrect Answers

A:

Swap operations and warm-up timing do not set a stable percentage of visitors routed to staging.

B:

Creating a slot does not automatically implement the intended weighted production traffic split. Configure traffic routing explicitly.

D:

A full slot swap promotes the application version rather than providing a configurable 10% canary split.

Question 486

An App Service web app experiences predictable high-CPU traffic spikes. The plan tier supports autoscale, but engineers currently change instance count by hand. Which settings automate the response?

  1. Enable Always On on the web app and periodic worker pings cause plan instance count to increase when CPU spikes.
  2. Increase the App Service plan tier but leave instance count and scaling rules manually managed.
  3. Configure supported autoscale metric rules and safe minimum/maximum instance bounds for the App Service plan.
  4. Set the App Service plan capacity tag to Autoscale=true but omit autoscale conditions, instance limits and metric rules.

Explanation

Correct Answer

C:

Metric-based autoscale can add or remove workers using thresholds, cooldowns and instance limits. Stateless application design supports safe scaling.

Incorrect Answers

A:

Always On helps prevent idling but is not an autoscale rule. CPU thresholds and limits must be configured in the plan’s autoscale settings.

B:

Scale-up changes per-worker capacity; it does not configure automatic horizontal capacity response to changing CPU demand.

D:

A resource tag is metadata and does not implement Azure Monitor autoscale behavior for an App Service plan.

Question 487

A developer has a Linux container App Service workload and attempts to deploy it on a Windows-specific App Service plan. The plan does not support the selected runtime. What should be corrected?

  1. Select a Windows-only App Service plan but change the web application metadata to Linux before deployment.
  2. Increase the plan tier while retaining the Windows-only worker operating system, and extra memory enables Linux containers.
  3. Use a compatible App Service plan operating-system type and supported runtime configuration for the application.
  4. Enable container registry Linux image pull permission but keep the app attached to an incompatible Windows App Service plan.

Explanation

Correct Answer

C:

App Service hosting plans have OS/runtime compatibility constraints; app and plan must be compatible to run the workload.

Incorrect Answers

A:

Changing display metadata does not change the plan worker operating system or make an unsupported Linux runtime compatible.

B:

A larger worker does not change the underlying App Service plan OS hosting type. The runtime must match a Linux-compatible plan.

D:

Registry access permits fetching an image but does not make an unsupported hosting OS/run-time combination valid.

Question 488

A web app writes diagnostic filesystem logs, but administrators need to retain searchable production request and exception telemetry for months. They cannot depend on temporary local files alone. What should be configured?

  1. Configure supported Azure Monitor/Application Insights or diagnostic destinations and the required retention policies.
  2. Enable filesystem application logs on every App Service worker but rely on local log files alone for the entire compliance retention period.
  3. Disable all application logging so data cannot be accidentally deleted.
  4. Keep only the current App Service filesystem logs and rely on app scaling to preserve past logs on recycled or replaced workers.

Explanation

Correct Answer

A:

Centralized telemetry avoids relying solely on transient local filesystem logging; diagnostic and application signals should be routed to supported stores.

Incorrect Answers

B:

Local App Service filesystem logs are not a durable centralized long-term searchable storage design. Configure supported ingestion and retention.

C:

Turning off logs removes the evidence the incident response team requires.

D:

Filesystem logs may be ephemeral and worker-local; scaling does not create the centralized, durable retention compliance requires.

Question 489

An Azure VM must always be reached by a known internal IPv4 address for an older system integration. Its NIC currently receives an Azure-managed dynamic private IP. What configuration should be changed?

  1. Configure the required private IP assignment as static on the Azure NIC within the valid subnet address range.
  2. Change the public IP allocation mode on the same NIC to Static but leave its private IP assignment Dynamic.
  3. Associate a new static public IP with the NIC and this also pins its private address in the VNet subnet.
  4. Create a private DNS A record for the current private IP but leave the NIC allocation dynamic through redeployment.

Explanation

Correct Answer

A:

Azure-managed static private IP allocation preserves the intended address across supported lifecycle events and avoids relying on a dynamic reservation.

Incorrect Answers

B:

Changing a public IP setting does not reserve the private IP inside the subnet that the legacy internal integration uses.

C:

A NIC can have independent public and private IP allocation settings. The private IP configuration must itself be static.

D:

DNS publication does not reserve an Azure NIC address. A dynamically allocated private IP can change independently of a stale DNS record.

Question 490

An Azure VM sends packets along an unexpected virtual-appliance route even though Azure has a system route for the same destination prefix. A matching user-defined route exists. What explains the selection?

  1. For equal destination prefixes, a supported user-defined route can take precedence over Azure system routes.
  2. Azure system routes always override every user-defined route regardless of prefix.
  3. Add an NSG deny rule for a matching destination and it becomes the selected route next hop for that subnet.
  4. Create a second system route using the Azure portal and it always wins over any user-defined route with the same prefix.

Explanation

Correct Answer

A:

Route resolution uses longest-prefix matching and route source precedence. Effective routes show the chosen next hop at the NIC.

Incorrect Answers

B:

That would make route tables ineffective for supported traffic-steering use cases; route selection is more specific.

C:

NSGs filter traffic and cannot choose the route next hop. Route selection is determined by effective route precedence.

D:

User-defined routes can override system routes for the same destination prefix. Azure system routes are not manually created that way.