AZ-104 Deploy and Manage Azure Compute Practice Question
This AZ-104 practice question tests your understanding of deploy and manage azure compute. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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.
Exhibit
Development environment notes:
- The VM is recreated frequently from an image
- The OS disk contents do not need to be preserved after the VM is deallocated
- The team wants the lowest practical OS disk latency
- Data durability is not the top priority for this VM
Based on the exhibit, which OS disk option best fits a development VM that is rebuilt often and does not need the disk contents to survive deallocation?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "best"
Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
Exhibit
Development environment notes:
- The VM is recreated frequently from an image
- The OS disk contents do not need to be preserved after the VM is deallocated
- The team wants the lowest practical OS disk latency
- Data durability is not the top priority for this VM
A
A Standard HDD managed OS disk.
Why wrong: Standard HDD is durable and low cost, but it does not provide the lowest practical latency for the OS disk.
B
An ephemeral OS disk.
An ephemeral OS disk is the best match because it provides very fast local storage for the operating system and does not need to preserve data after deallocation. This is ideal for rebuildable development VMs where performance matters more than retaining the OS disk contents.
C
A premium managed data disk used as the OS disk.
Why wrong: A managed data disk is not the normal choice for the operating system, and it adds complexity without meeting the requirement better than an ephemeral OS disk.
D
A shared disk attached to multiple VMs.
Why wrong: A shared disk is meant for specialized clustered workloads. It is not the right fit for a single development VM OS disk.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
An ephemeral OS disk.
An ephemeral OS disk is created on the local VM host and not stored in Azure Storage, so it provides lower latency and is automatically deleted when the VM is deallocated. This makes it ideal for development VMs that are rebuilt often and do not require disk persistence across deallocations.
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.
✗
A Standard HDD managed OS disk.
Why it's wrong here
Standard HDD is durable and low cost, but it does not provide the lowest practical latency for the OS disk.
When this WOULD be correct
This option would be correct for a development VM that needs to retain its OS disk data across deallocations (e.g., to preserve installed tools or configurations) and has low cost as a priority, with no need for high performance.
✓
An ephemeral OS disk.
Why this is correct
An ephemeral OS disk is the best match because it provides very fast local storage for the operating system and does not need to preserve data after deallocation. This is ideal for rebuildable development VMs where performance matters more than retaining the OS disk contents.
Clue confirmation
The clue word "best" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
✗
A premium managed data disk used as the OS disk.
Why it's wrong here
A managed data disk is not the normal choice for the operating system, and it adds complexity without meeting the requirement better than an ephemeral OS disk.
When this WOULD be correct
This option would be correct if the question asked for a high-performance data disk for a production VM running I/O-intensive workloads, where the disk must persist across VM deallocations and be attached as a data disk.
✗
A shared disk attached to multiple VMs.
Why it's wrong here
A shared disk is meant for specialized clustered workloads. It is not the right fit for a single development VM OS disk.
When this WOULD be correct
A shared disk is correct when the question asks for a shared storage solution for a failover cluster or a horizontally scaled application where multiple VMs need concurrent read/write access to the same data disk, such as for SQL Server FCI or Scale-Out File Server.
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.
✓An ephemeral OS disk.Correct answer▾
Why this is correct
An ephemeral OS disk is the best match because it provides very fast local storage for the operating system and does not need to preserve data after deallocation. This is ideal for rebuildable development VMs where performance matters more than retaining the OS disk contents.
✗A Standard HDD managed OS disk.Wrong answer — click to see why▾
Why this is wrong here
A Standard HDD managed OS disk persists its contents even after VM deallocation, which contradicts the requirement that disk contents do not survive deallocation. Ephemeral OS disks are designed to be temporary and are lost on deallocation.
★ When this WOULD be the correct answer
This option would be correct for a development VM that needs to retain its OS disk data across deallocations (e.g., to preserve installed tools or configurations) and has low cost as a priority, with no need for high performance.
Why candidates choose this
Candidates may think Standard HDD is the cheapest option and suitable for development, overlooking the specific requirement that disk contents should not survive deallocation, which is a key feature of ephemeral disks.
✗A premium managed data disk used as the OS disk.Wrong answer — click to see why▾
Why this is wrong here
A premium managed data disk cannot be used as an OS disk in Azure; OS disks must be managed disks attached as OS disks, not data disks. Additionally, premium disks are overkill for a development VM that is rebuilt often and does not need persistence.
★ When this WOULD be the correct answer
This option would be correct if the question asked for a high-performance data disk for a production VM running I/O-intensive workloads, where the disk must persist across VM deallocations and be attached as a data disk.
Why candidates choose this
Candidates may confuse 'premium' with 'better' for all scenarios, or mistakenly think a data disk can serve as an OS disk, overlooking Azure's disk type restrictions.
✗A shared disk attached to multiple VMs.Wrong answer — click to see why▾
Why this is wrong here
A shared disk cannot be used as an OS disk; it is only for data disks and requires cluster-aware file systems, so it cannot host the VM's operating system.
★ When this WOULD be the correct answer
A shared disk is correct when the question asks for a shared storage solution for a failover cluster or a horizontally scaled application where multiple VMs need concurrent read/write access to the same data disk, such as for SQL Server FCI or Scale-Out File Server.
Why candidates choose this
Candidates may confuse 'shared' with 'ephemeral' or think that attaching a disk to multiple VMs could provide redundancy or cost savings for development, not realizing the OS disk attachment limitation.
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 may assume a Standard HDD managed disk is the cheapest option for a development VM, overlooking that ephemeral disks incur no storage cost and automatically reset the OS on each rebuild, which is more cost-effective and operationally simpler for the described use case.
Detailed technical explanation
How to think about this question
Ephemeral OS disks leverage the local SSD or NVMe storage of the Azure host, providing read/write performance comparable to locally cached disks but without the cost of managed disk storage. When the VM is deallocated or stopped, the disk is destroyed, and the next start creates a fresh OS disk from the specified image; this behavior is controlled by the 'DiffDiskPlacement' property set to 'CacheDisk' in the VM configuration. A real-world scenario is a CI/CD build agent that must start with a clean OS each time, avoiding leftover state or configuration drift.
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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this AZ-104 question in full detail.
Deploy and Manage Azure Compute — This question tests Deploy and Manage Azure Compute — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: An ephemeral OS disk. — An ephemeral OS disk is created on the local VM host and not stored in Azure Storage, so it provides lower latency and is automatically deleted when the VM is deallocated. This makes it ideal for development VMs that are rebuilt often and do not require disk persistence across deallocations.
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: "best". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
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 →
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.
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.
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.
Sign in to join the discussion.