AZ-104 Deploy and Manage Azure Compute Practice Question
A Windows VM fails to start after a configuration change. You need to capture screenshots and serial console output to troubleshoot the boot problem. Which feature should you use?
⚠ Common exam trap
Many candidates confuse boot diagnostics with Azure Backup or recovery services, assuming that restoring from a backup is the primary troubleshooting step for boot failures, rather than using the built-in diagnostic feature that captures real-time boot data.
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 a VM during boot, which is essential for troubleshooting boot failures after a configuration change. This feature provides logs and visual data from the VM's boot process, accessible via the Azure portal or CLI, without requiring guest OS access.
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 Backup
Why it's wrong here
Azure Backup protects against data loss by creating snapshots and recovery points that can restore the entire VM or individual files. While restoring an earlier backup could revert the VM to a working state, it does not explain the specific cause of the boot failure and may take considerable time and effort. Backup is a disaster recovery option, not a live troubleshooting mechanism for boot diagnostics.
When this WOULD be correct
An exam question asks: 'You need to ensure that VM data can be restored after accidental deletion. Which feature should you use?' In that scenario, Azure Backup would be the correct answer.
- ✓
Boot diagnostics
Why this is correct
Boot diagnostics is the correct tool because it captures the VM's serial console output and screenshots during startup, which can reveal exactly where the boot process halts after the configuration change. This helps identify misconfigured services, missing drivers, or corrupt boot files. Unlike other options, it directly provides actionable boot-time logs without requiring access to the VM.
- ✗
Just-in-Time VM access
Why it's wrong here
Just-in-Time (JIT) VM access only manages temporary RDP or SSH port exposure through Azure Security Center, using NSG rules to reduce attack surface. It does not capture or retrieve any boot logs, screenshots, or serial console data, so it cannot help identify why a configuration change prevented the Windows VM from starting. JIT is a security control, not a diagnostic tool.
When this WOULD be correct
When the question asks how to reduce the attack surface by controlling RDP or SSH access to a VM on-demand, Just-in-Time VM access is the correct answer.
- ✗
Autoscale
Why it's wrong here
Autoscale scales out or in the number of VM instances based on performance metrics like CPU or queue length, and it applies only to Virtual Machine Scale Sets. A single Windows VM does not use autoscale for boot failure diagnosis, and autoscale provides no insight into boot errors or configuration issues. It is completely unrelated to troubleshooting a startup failure.
When this WOULD be correct
In a scenario where you need to automatically scale out VM instances in a scale set to handle increased load, and scale in during low demand, 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
Boot diagnostics is the correct tool because it captures the VM's serial console output and screenshots during startup, which can reveal exactly where the boot process halts after the configuration change. This helps identify misconfigured services, missing drivers, or corrupt boot files. Unlike other options, it directly provides actionable boot-time logs without requiring access to the VM.
✗Azure BackupWrong answer — click to see why▾
Why this is wrong here
Azure Backup is designed for data protection and recovery, not for troubleshooting boot failures. It cannot capture screenshots or serial console output of a VM's boot process.
★ When this WOULD be the correct answer
An exam question asks: 'You need to ensure that VM data can be restored after accidental deletion. Which feature should you use?' In that scenario, Azure Backup would be the correct answer.
Why candidates choose this
Candidates may confuse backup with diagnostic capabilities, thinking that backup can somehow capture system state or boot logs, or they may not be familiar with the specific features of Boot diagnostics.
✗Just-in-Time VM accessWrong answer — click to see why▾
Why this is wrong here
Just-in-Time VM access is a security feature that restricts inbound traffic to VMs, not a troubleshooting tool for boot issues. It does not provide screenshots or serial console output.
★ When this WOULD be the correct answer
When the question asks how to reduce the attack surface by controlling RDP or SSH access to a VM on-demand, Just-in-Time VM access is the correct answer.
Why candidates choose this
Candidates may confuse 'access' with 'diagnostic access' or think that enabling JIT access could help in troubleshooting connectivity issues during boot.
✗AutoscaleWrong answer — click to see why▾
Why this is wrong here
Autoscale automatically adjusts the number of VM instances based on demand, but it does not provide any diagnostic tools like screenshots or serial console output for troubleshooting boot failures.
★ When this WOULD be the correct answer
In a scenario where you need to automatically scale out VM instances in a scale set to handle increased load, and scale in during low demand, Autoscale would be the correct feature to configure.
Why candidates choose this
Candidates might confuse Autoscale with a troubleshooting feature because it involves monitoring and reacting to VM performance metrics, but it is not designed for boot diagnostics.
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
Learn chapter
Managed Identities for Azure Resources
Key term
Azure portal
The Azure portal is a web-based, unified console that lets you build, manage, and monitor everything from simple web apps to complex cloud deployments using a graphical user interface.
Key term
Serial console
A serial console is a direct, low-level connection to a computer or network device that uses a serial port to let you send commands and receive text output, often for initial setup or emergency troubleshooting.
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 →
Same concept, more angles
1 more way this is tested on AZ-104
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A Linux VM restarts after a configuration change and now stops before the sign-in prompt. The administrator cannot use SSH. Which Azure feature should be checked first to inspect the startup process?
easy- ✓ A.Boot diagnostics
- B.Network Watcher packet capture
- C.Azure Advisor
- D.Managed identity
Why A: Boot diagnostics captures serial console output and screenshots of the VM, allowing you to view kernel messages, boot logs, and the exact point where the startup process halts. Since SSH is unavailable and the VM stops before the sign-in prompt, this is the first Azure feature to check for troubleshooting the boot sequence.
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.