Microsoft AZ-104 Exam Dumps, Practice Test Questions

100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

Microsoft AZ-104 Premium Bundle
$79.97
$59.98

AZ-104 Premium Bundle

  • Premium File: 606 Questions & Answers. Last update: Nov 5, 2026
  • Training Course: 132 Video Lectures
  • Study Guide: 458 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

AZ-104 Premium Bundle

Microsoft AZ-104 Premium Bundle
  • Premium File: 606 Questions & Answers. Last update: Nov 5, 2026
  • Training Course: 132 Video Lectures
  • Study Guide: 458 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$79.97
$59.98

Microsoft AZ-104 Practice Test 50

Question 490

A VM scale set serves an HTTP API from many instances. Automatic upgrade and repair policies need an explicit signal that differentiates unhealthy application instances from otherwise running VMs. What scale-set capability should be considered?

  1. Configure a supported application health signal such as the Application Health extension
  2. Use only the VMSS instance count to infer that each API backend is healthy
  3. Use VMSS instance provisioningState = Succeeded as the sole signal that its HTTP API is serving requests successfully
  4. Enable automatic repairs using VM power-state monitoring alone and assume any running VM has a healthy HTTP application

Explanation

Correct Answer

A:

Application health information lets VMSS evaluate whether instances meet the workload health condition. It provides a more meaningful criterion than VM power state alone for repairs and upgrades.

Incorrect Answers

B:

An instance may be running while its application returns errors. Instance count alone cannot identify application-specific failures.

C:

ProvisioningState reports the management-plane deployment state, not the health of the running HTTP API. An instance can finish provisioning while its process is down or returns failing responses. Automatic upgrades and repairs require a supported application health signal or probe aligned with the actual backend behavior, not merely a provisioning-success value.

D:

Power or instance provisioning state does not establish that an HTTP listener answers requests correctly. A VM can be running while its API fails health checks. VMSS upgrade and repair decisions need a supported application health signal such as the Application Health extension rather than treating VM running state as application health.

Question 491

A VM scale set autoscale rule is increasing and decreasing instances every few minutes while CPU hovers around its threshold. Operations wants a pause between autoscale actions to reduce instance churn. Which autoscale-rule property addresses that?

  1. Remove all scale rules and assume VMSS still adjusts automatically to CPU
  2. Configure an appropriate cooldown period for the autoscale rule
  3. Increase only the autoscale metric sampling time grain while keeping the rule cooldown unchanged
  4. Raise the VM scale set maximum capacity but retain the same scale-in/out thresholds and cooldown values

Explanation

Correct Answer

B:

Cooldown delays repeated autoscale actions after a scale decision, giving the workload time to stabilize and metrics to reflect the new capacity.

Incorrect Answers

A:

Without a relevant automatic scale rule, the desired metric-driven behavior may stop entirely rather than become stable.

C:

Changing metric sampling can alter signal smoothing but does not impose the explicit post-scale waiting period the operator requested. The cooldown property controls rule eligibility after a scale action.

D:

A higher maximum does not add a pause between autoscale operations. The existing rules can continue changing capacity frequently when the threshold oscillates.

Question 492

A scale set runs 40 application instances. A new model version is ready, and operations require upgrades in controlled batches so healthy capacity remains while the image change rolls out. Which VMSS upgrade capability supports this?

  1. Use a rolling upgrade policy with health monitoring and suitable batch settings
  2. Stop all 40 instances simultaneously and replace their disks manually
  3. Configure only autoscale cooldown while leaving the upgrade policy as an all-at-once update
  4. Use automatic upgrades with no instance health signal or safe batch configuration

Explanation

Correct Answer

A:

VMSS rolling upgrade policies can upgrade instances in batches and use health information to reduce the chance of a full fleet outage during a new model deployment.

Incorrect Answers

B:

Stopping the entire set removes serving capacity and abandons the stated staggered-change requirement.

C:

Cooldown delays metric-triggered instance count adjustments, not necessarily the rollout of a new VMSS image or model. It does not establish a rolling upgrade batch policy.

D:

Automatic upgrade may apply a new model, but without the desired rolling and health safeguards it does not satisfy controlled batches with retained healthy capacity.

Question 493

A VM scale set was created in Uniform orchestration mode. Six months later the application needs individually managed Azure VM resources supported by Flexible orchestration. What lifecycle constraint matters?

  1. Uniform switches to Flexible automatically when the instance count falls below ten
  2. Orchestration mode is selected at creation and cannot be changed in place; plan a migration or new scale set
  3. Edit the scale set resource’s orchestrationMode property after all existing instances have been deallocated
  4. Reimage all Uniform instances and expect them to register as Flexible virtual machines

Explanation

Correct Answer

B:

Flexible and Uniform use different instance management experiences. The existing scale set cannot be flipped by a property update, so the team needs a controlled replacement plan.

Incorrect Answers

A:

Orchestration mode is not derived dynamically from current capacity. Instance-count changes do not convert the scale set’s management model.

C:

Deallocation affects current instance execution, not the immutable orchestration mode selected at VMSS creation. The update remains unsupported.

D:

Reimaging resets instance OS state from a selected image but does not convert the scale set’s orchestration model or instance resource API.

Question 494

A company needs a scale set whose instances can each be managed using regular Azure Virtual Machine resource operations and can have mixed VM sizes. Which orchestration model is designed for this?

  1. Uniform orchestration with a single identical instance profile
  2. An availability set containing separately managed heterogeneous VMs and a custom autoscaling script
  3. Virtual Machine Scale Sets with Flexible orchestration
  4. Uniform scale set plus VM size overrides on individual instances, assuming full standard IaaS VM APIs

Explanation

Correct Answer

C:

Flexible orchestration integrates individual standard Azure VMs and supports greater variation in instance types. It matches the need for per-VM operations while retaining scale-set availability and scalability.

Incorrect Answers

A:

Uniform is optimized for large sets of similar VMs with scale-set-specific instance APIs. It is not the best fit for full regular VM API management and mixed VM types.

B:

An availability set can improve fault and maintenance separation but is not a scale-set orchestration model with native managed instance scaling across mixed types.

D:

Uniform orchestration mainly uses scale-set-specific instance APIs and an instance profile. It does not provide the same ordinary VM management model as Flexible.

Question 495

A web tier uses a VM scale set and has predictable weekday morning traffic. The team wants a larger baseline instance count only during business hours, while retaining CPU-based scale rules within each period. What should it configure?

  1. Resize all VMSS instances manually every morning and delete the autoscale configuration
  2. Set a fixed minimum of one instance for all days and rely on a larger OS disk to handle traffic
  3. Use autoscale profiles with schedules and suitable min/default/max instance counts plus scaling rules
  4. Switch the VMSS instance upgrade policy to Automatic and assume it creates a weekday business-hours capacity schedule

Explanation

Correct Answer

C:

Scheduled autoscale profiles change the capacity envelope during selected hours. Metric rules can then adjust scale set instance count inside each profile’s bounds.

Incorrect Answers

A:

Manual intervention is fragile and removes automatic response to variation during each period. Autoscale can express time-varying profiles.

B:

Disk capacity does not represent the necessary worker count. A single fixed baseline ignores the predictable time-of-day capacity requirement.

D:

Automatic VMSS upgrade settings concern applying changes from a scale-set model to instances, not time-of-day min/default/max autoscale capacity. A scheduled autoscale profile is still required for the requested weekday baseline, while CPU metric rules can remain active within that profile.

Question 496

A VM scale set uses Manual upgrade policy. A new model image is available, but existing instances keep running the old model even after it is updated. What does the operator need to plan?

  1. Run a new image build in Azure Container Registry without upgrading the instances
  2. Explicitly upgrade applicable instances to apply the new VMSS model
  3. Assume all running instances are reimaged automatically at model write time
  4. Increase the autoscale cooldown but keep the scale-set upgrade policy Manual

Explanation

Correct Answer

B:

Manual upgrade mode leaves existing instances unchanged until an upgrade is initiated. Updating the model alone does not force every instance to adopt it immediately.

Incorrect Answers

A:

The image registry is not the controller that applies a new Azure VM scale-set model to existing compute instances.

C:

That is contrary to Manual policy semantics and could leave unpatched instances if the operator does nothing.

D:

Cooldown affects scaling decisions rather than the explicit instance model upgrade needed under Manual upgrades.

Question 497

A VM scale set has a health extension and automatic instance repairs enabled. Newly created VMs need about twenty minutes to initialize before the health endpoint responds. Repairs currently recycle instances prematurely. What configuration is relevant?

  1. Increase the VM scale set minimum instance count and assume extra capacity prevents any new VM from being repaired too early
  2. Extend the Azure Monitor autoscale cooldown period without changing the automatic instance repairs policy
  3. Configure an appropriate automatic repairs grace period for application initialization
  4. Disable automatic instance repairs and let autoscale rules replace failed instances

Explanation

Correct Answer

C:

The automaticRepairsPolicy.gracePeriod allows a newly created or changed instance time to recover to healthy status before automatic repairs take action. Here the application needs about twenty minutes, which exceeds the default ten-minute grace interval but fits the supported configurable range. Set an appropriate grace period, for example at least twenty minutes with operational margin, while retaining health monitoring and repair protection.

Incorrect Answers

A:

Increasing the minimum fleet size may add spare serving capacity but does not stop each newly created instance from being classified for repair before its own application finishes initializing. The unexpected repair loop arises from a health-evaluation timing assumption, not an insufficient desired capacity setting.

B:

Autoscale cooldown delays subsequent capacity scaling decisions; it is separate from VM scale set automatic instance repair timing. The case describes replacement of new instances due to expected application startup, so adjusting only a scale-out cooldown would not guarantee a startup grace window for the repair controller.

D:

Turning off repairs may suppress the immediate recycling symptom but disables the mechanism needed to recover genuinely unhealthy instances. Autoscale changes capacity based on scaling rules and is not a drop-in replacement for application-health-based repair. The requirement is to retain repairs but avoid mistaking normal boot-time initialization for sustained failure.

Question 498

A web-tier VM scale set has a CPU-based scale-out rule. One instance spikes for five seconds, while the aggregate metric and the configured averaging period remain below the threshold. The rule does not fire. Which explanation is most useful?

  1. VM scale sets cannot scale out based on metrics
  2. Autoscale evaluates the configured metric aggregation and time window, not every instantaneous instance peak
  3. The rule triggers on every per-core sample regardless of aggregation
  4. An NSG automatically blocks autoscale whenever CPU spikes briefly

Explanation

Correct Answer

B:

Scale decisions derive from the rule’s selected time aggregation and instance or resource scope. A very brief outlier can be diluted, so operators should tune the signal to sustained workload needs.

Incorrect Answers

A:

Metric-based scaling is a core VMSS capability. The issue is the configured signal’s calculated value, not the absence of the feature.

C:

Autoscale configuration explicitly includes metric evaluation and time windows. Ignoring those controls misdiagnoses a normal nontrigger.

D:

NSGs govern network traffic, not CPU metric threshold computation in Azure Monitor Autoscale.

Question 499

A VM scale set automatically scales from ten instances down to six. The application retains temporary per-instance caches, and the operator wants to predict which members are removed rather than assuming random choice. Which scale-set control is relevant?

  1. Enable scale-in protection for every scale-set instance and assume the protection settings define the desired removal sequence.
  2. Change only the autoscale CPU threshold, assuming the threshold specifies which instance IDs are removed.
  3. Configure an appropriate VMSS scale-in policy for the instance removal order
  4. Choose a load-balancer health probe and assume it deterministically selects OldestVM or NewestVM deletion order.

Explanation

Correct Answer

C:

Scale-in policy influences which instances are selected during a capacity reduction. The team must still design workload drainage and state persistence because scaling can remove instances.

Incorrect Answers

A:

Protection keeps selected instances from being removed, rather than selecting an ordered list of victims. Protecting every instance can prevent the intended scale-in entirely; the scale-in policy determines removal order among eligible instances.

B:

An autoscale metric threshold determines when and how much capacity to remove, not which VM IDs to choose. The scenario asks specifically for member selection; configure a supported scale-in policy and plan state/cache draining.

D:

A health probe helps assess backend responsiveness but is not an explicit VMSS scale-in rule choosing oldest versus newest eligible members. Configure the scale-in policy for removal order, accounting for protection and zone/fault-domain balance.

Question 500

During a planned VM scale-set downscale, instance 7 is still processing a long-running export. Other instances can be removed normally, but this one instance must not be selected by autoscale until its work finishes. Operations must still be able to delete it manually if needed. Which setting fits the requirement?

  1. Set protectFromScaleIn on instance 7 and remove that protection after the export finishes
  2. Set a scale-in policy of Newest for the whole scale set and assume instance 7 is always retained
  3. Set protectFromScaleSetActions on the scale-set model so all instances are immune to every operation
  4. Increase autoscale cooldown to one hour so Azure can never delete instance 7

Explanation

Correct Answer

A:

The instance-level protectFromScaleIn property excludes that specific VMSS instance from autoscale-initiated scale-in, while allowing other instances to be removed. It doesn't block user-initiated instance deletion or all other scale-set actions, so operators retain the emergency control stated in the scenario. Clear the protection after the export.

Incorrect Answers

B:

A scale-in policy establishes the scale set's general ordering for selecting removal candidates; it does not guarantee protection for a named instance. An instance's age relative to other members can change, so a Newest ordering cannot enforce the explicit temporary exclusion needed for export instance 7.

C:

Protect from scale-set actions is an instance-level feature with broader effects on scale-set operations, not a single switch on the whole scale-set model. It could block legitimate scale-set initiated upgrades or reimages of the protected instance and is unnecessary for the narrower scale-in-only requirement.

D:

Cooldown controls how quickly autoscale repeats scaling actions after a rule fires; it cannot express an exception for a particular instance. Eventually the scale set can still choose instance 7 if the workload contracts, because no instance-level removal protection was configured.

Microsoft Azure Administrator (AZ-104) Practice Tests

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

ExamSnap Discount Offer
Enter Your Email Address to Receive Your 10% Off Discount Code

A confirmation link will be sent to this email address to verify your login. *We value your privacy. We will not rent or sell your email address.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.