Question 1,153 of 1,170
Monitor and Maintain Azure ResourceshardMultiple SelectObjective-mapped

AZ-104 Monitor and Maintain Azure Resources Practice Question

This AZ-104 practice question tests your understanding of monitor and maintain azure resources. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A Windows VM fails shortly after startup when a custom extension runs, and the administrator cannot use RDP to inspect the machine. The goal is to see what happened during boot and confirm whether the failure occurred before the guest OS finished loading. Which two features should be used first? Select two.

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "first"

    Why it matters: Order matters here. You are being tested on which action comes before the others — not which action is generally useful.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Boot diagnostics

Boot diagnostics captures serial console output and screenshots of the VM during the boot process, allowing you to see if the OS failed to load before the guest OS finished. Azure Serial Console provides text-based, keyboard-focused access to the VM even when RDP is unavailable, enabling you to inspect boot logs and interact with the OS during startup. Together, they let you determine whether the custom extension failure occurred before or after the OS fully loaded.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Boot diagnostics

    Why this is correct

    This captures screenshots and serial logs that help diagnose early boot failures.

    Clue confirmation

    The clue word "first" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Azure Serial Console

    Why this is correct

    This provides direct text-based access for troubleshooting when normal remote access fails.

    Clue confirmation

    The clue word "first" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Availability set

    Why it's wrong here

    An availability set changes placement resilience, but it does not help inspect boot problems.

    When this WOULD be correct

    A question asks: 'You need to ensure that two VMs hosting a critical application remain available during planned maintenance. Which feature should you use?' In that scenario, an availability set is the correct answer to guarantee uptime by placing VMs in separate update and fault domains.

  • Managed disk snapshots

    Why it's wrong here

    Snapshots are useful for recovery, but they do not show the startup sequence or extension logs.

    When this WOULD be correct

    A managed disk snapshot would be correct if the question asked for a point-in-time backup of a VM's OS disk before applying a critical update, or to create a new VM from a known good state for recovery purposes.

  • Azure Monitor autoscale

    Why it's wrong here

    Autoscale changes instance count and has no role in investigating a single VM boot failure.

    When this WOULD be correct

    A web application experiences intermittent performance degradation during peak hours. You need to automatically increase the number of VM instances when CPU usage exceeds 80% and decrease when it drops below 30% to maintain performance and optimize cost. Azure Monitor autoscale would be the correct feature to configure.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-104 exam frequently reuses these exact scenarios with slightly different constraints.

Boot diagnosticsCorrect answer

Why this is correct

This captures screenshots and serial logs that help diagnose early boot failures.

Availability setWrong answer — click to see why

Why this is wrong here

An availability set provides high availability for VMs by distributing them across fault domains, but it does not help diagnose boot failures or inspect boot logs. The question requires features to see what happened during boot, which availability set cannot provide.

★ When this WOULD be the correct answer

A question asks: 'You need to ensure that two VMs hosting a critical application remain available during planned maintenance. Which feature should you use?' In that scenario, an availability set is the correct answer to guarantee uptime by placing VMs in separate update and fault domains.

Why candidates choose this

Candidates may confuse high availability features with diagnostic tools, thinking that an availability set can help recover or inspect a failed VM, but it only ensures redundancy, not troubleshooting capability.

Managed disk snapshotsWrong answer — click to see why

Why this is wrong here

Managed disk snapshots are used for backup or creating new disks, not for real-time boot troubleshooting. They cannot show boot logs or allow interactive access to diagnose a VM that fails before the OS loads.

★ When this WOULD be the correct answer

A managed disk snapshot would be correct if the question asked for a point-in-time backup of a VM's OS disk before applying a critical update, or to create a new VM from a known good state for recovery purposes.

Why candidates choose this

Candidates may think snapshots can be used to analyze the disk contents offline to find boot errors, but this is inefficient and not the intended first step; boot diagnostics and serial console are designed for this exact scenario.

Azure Monitor autoscaleWrong answer — click to see why

Why this is wrong here

Azure Monitor autoscale is used to automatically scale resources (like VMSS) based on demand, not to diagnose boot failures or inspect OS-level issues. It cannot help see what happened during boot or confirm failure timing.

★ When this WOULD be the correct answer

A web application experiences intermittent performance degradation during peak hours. You need to automatically increase the number of VM instances when CPU usage exceeds 80% and decrease when it drops below 30% to maintain performance and optimize cost. Azure Monitor autoscale would be the correct feature to configure.

Why candidates choose this

Candidates may think 'Azure Monitor' implies monitoring and diagnostics, and assume autoscale can help with boot issues, confusing scaling with troubleshooting.

Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often choose managed disk snapshots or availability sets, thinking they can restore or inspect the VM state, but these do not provide the real-time, pre-OS boot logs needed to diagnose a startup failure before the guest OS finishes loading.

Trap categories for this question

  • Command / output trap

    Snapshots are useful for recovery, but they do not show the startup sequence or extension logs.

Detailed technical explanation

How to think about this question

Boot diagnostics uses the Azure host to capture VM serial output (via COM1) and a screenshot of the VM's display, even if the guest OS is unresponsive. Azure Serial Console connects to the VM's serial port (ttyS0 on Linux, SAC on Windows) over the Azure control plane, bypassing network and RDP dependencies, and works from the early stages of the boot process (e.g., GRUB, Windows Boot Manager). This allows you to see kernel panics, driver failures, or custom extension scripts that hang before the OS fully initializes networking.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AZ-104 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-104 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Monitor and Maintain Azure Resources — This question tests Monitor and Maintain Azure Resources — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Boot diagnostics — Boot diagnostics captures serial console output and screenshots of the VM during the boot process, allowing you to see if the OS failed to load before the guest OS finished. Azure Serial Console provides text-based, keyboard-focused access to the VM even when RDP is unavailable, enabling you to inspect boot logs and interact with the OS during startup. Together, they let you determine whether the custom extension failure occurred before or after the OS fully loaded.

What should I do if I get this AZ-104 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "first". Order matters here. You are being tested on which action comes before the others — not which action is generally useful.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More AZ-104 practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AZ-104 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-104 exam.