AZ-104 Deploy and Manage Azure Compute Practice Question
After applying a custom image, a VM boots to a black screen with a blinking cursor. The OS never reaches the login prompt. The administrator needs the fastest way to inspect the boot process and view serial console output. What should be enabled or checked?
⚠ Common exam trap
A common mix-up: candidates confuse boot diagnostics (which captures serial console output) with Azure Monitor metrics (which only track performance counters), leading them to choose a monitoring tool that cannot inspect the boot process.
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 boot. When a VM boots to a black screen with a blinking cursor, the serial console log provides the exact kernel or bootloader messages (e.g., GRUB, initramfs errors) without requiring OS-level access. This is the fastest way to inspect the boot process because it works even when the OS is unresponsive.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Azure Monitor metrics for the VM
Why it's wrong here
Azure Monitor metrics deliver aggregated resource counters such as CPU, memory, disk I/O, and network throughput at fixed intervals, typically every minute. These metrics do not include serial console logs, boot messages, or guest OS event logs, and they cannot observe the state of the display adapter or the customized image's boot integrity. In many cases, a black screen can coincide with apparently normal metric values, making it impossible to isolate the root cause without boot diagnostics.
When this WOULD be correct
When a question asks for monitoring long-term performance trends, setting alerts for resource utilization, or analyzing historical metrics like CPU percentage or disk IOPS to troubleshoot a performance degradation, Azure Monitor metrics would be the correct choice.
- ✓
Boot diagnostics
Why this is correct
Boot diagnostics is the quickest way to review startup problems because it captures the VM screenshot and serial console output during the boot process. When the operating system is not reaching the login screen, this feature helps identify whether the failure happens before the guest OS loads successfully.
- ✗
Network watcher packet capture
Why it's wrong here
Network Watcher packet capture operates at the network layer using a VM extension and captures traffic traversing the virtual network interface. A black screen during boot occurs before the guest OS reaches a usable state, so there is no OS-level network stack or application handshake to capture that would reveal a display or boot configuration problem. It is intended for diagnosing connectivity, routing, or application-layer network failures, not graphics driver or bootloader issues.
When this WOULD be correct
When a VM is experiencing network connectivity issues, such as packet loss or high latency, and you need to capture and analyze network packets to diagnose the problem. For example, if a VM cannot connect to a database server, enabling packet capture helps identify dropped packets or misconfigured firewall rules.
- ✗
Azure Advisor recommendations
Why it's wrong here
Azure Advisor is a reactive, periodic scanning service that analyzes resource configurations and usage patterns to provide recommendations on cost, security, reliability, and performance. It does not capture transient boot-time events, kernel logs, or the actual OS rendering state, so it cannot diagnose why a custom image boots to a black screen. Even if Advisor later flags a misconfiguration, it lacks the real-time, pre-boot evidence needed to trace a startup failure.
When this WOULD be correct
When asked for a tool that provides personalized recommendations to optimize Azure resources for high availability, security, performance, and cost, Azure Advisor would be the correct answer.
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
Boot diagnostics is the quickest way to review startup problems because it captures the VM screenshot and serial console output during the boot process. When the operating system is not reaching the login screen, this feature helps identify whether the failure happens before the guest OS loads successfully.
✗Azure Monitor metrics for the VMWrong answer — click to see why▾
Why this is wrong here
Azure Monitor metrics provide performance counters (e.g., CPU, memory) but do not capture serial console output or boot logs, so they cannot help inspect the boot process or view the blinking cursor issue.
★ When this WOULD be the correct answer
When a question asks for monitoring long-term performance trends, setting alerts for resource utilization, or analyzing historical metrics like CPU percentage or disk IOPS to troubleshoot a performance degradation, Azure Monitor metrics would be the correct choice.
Why candidates choose this
Candidates may think 'monitoring' includes boot diagnostics, or they confuse Azure Monitor's broad monitoring capabilities with the specific need for serial console output during boot.
✗Network watcher packet captureWrong answer — click to see why▾
Why this is wrong here
Network Watcher packet capture captures network traffic, not serial console output or boot process logs. It cannot help inspect the boot process or view serial console output for a VM that fails to boot.
★ When this WOULD be the correct answer
When a VM is experiencing network connectivity issues, such as packet loss or high latency, and you need to capture and analyze network packets to diagnose the problem. For example, if a VM cannot connect to a database server, enabling packet capture helps identify dropped packets or misconfigured firewall rules.
Why candidates choose this
Candidates may confuse network-level troubleshooting with OS-level boot issues, thinking that capturing network packets could reveal boot problems, or they may overestimate the scope of Network Watcher's capabilities.
✗Azure Advisor recommendationsWrong answer — click to see why▾
Why this is wrong here
Azure Advisor provides recommendations for best practices, not real-time boot diagnostics. It cannot inspect the boot process or view serial console output.
★ When this WOULD be the correct answer
When asked for a tool that provides personalized recommendations to optimize Azure resources for high availability, security, performance, and cost, Azure Advisor would be the correct answer.
Why candidates choose this
Candidates may confuse Azure Advisor's monitoring and recommendation capabilities with diagnostic tools, thinking it can help identify boot issues through its insights.
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?”
Go deeper
Related to this question
About these practice questions
This AZ-104 question is part of Courseiva's 1,049-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.