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
Command output:
- Azure portal shows: DataDisk01 size = 512 GiB
- Inside the guest OS, the partition still shows 256 GiB used and 256 GiB unallocated
- The application cannot write to the extra space yet
Based on the exhibit, what should the administrator do next so the VM can use the extra capacity on the resized data disk?
Command output:
- Azure portal shows: DataDisk01 size = 512 GiB
- Inside the guest OS, the partition still shows 256 GiB used and 256 GiB unallocated
- The application cannot write to the extra space yet
A
Resize the managed disk again in Azure.
Why wrong: The managed disk is already larger in Azure, so resizing it again is not the missing step.
B
Extend the partition or file system inside the VM.
After Azure increases a managed disk, the guest operating system still needs to recognize the new space. Expanding the partition or file system inside the VM makes the newly allocated disk capacity available to applications.
C
Detach the disk and attach it to another VM.
Why wrong: Moving the disk does not solve the current VM's need to use the additional space.
D
Create a new virtual machine from the disk.
Why wrong: Recreating the VM is unnecessary because the disk was already expanded successfully.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Extend the partition or file system inside the VM.
After resizing a managed disk in Azure, the additional capacity is allocated at the Azure platform level but is not automatically available to the operating system. The administrator must extend the partition or file system inside the VM using tools like Diskpart (Windows) or fdisk/resize2fs (Linux) to make the new space usable. This is a standard post-resize step because the OS still sees the original partition boundaries.
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.
✗
Resize the managed disk again in Azure.
Why it's wrong here
The managed disk is already larger in Azure, so resizing it again is not the missing step.
✓
Extend the partition or file system inside the VM.
Why this is correct
After Azure increases a managed disk, the guest operating system still needs to recognize the new space. Expanding the partition or file system inside the VM makes the newly allocated disk capacity available to applications.
Related concept
Read the scenario before looking for a memorised answer.
✗
Detach the disk and attach it to another VM.
Why it's wrong here
Moving the disk does not solve the current VM's need to use the additional space.
✗
Create a new virtual machine from the disk.
Why it's wrong here
Recreating the VM is unnecessary because the disk was already expanded successfully.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates assume resizing the disk in Azure automatically makes the extra space available inside the VM, overlooking the required OS-level partition extension step.
Detailed technical explanation
How to think about this question
When a managed disk is resized in Azure, the underlying VHD or VHDX file is expanded, but the partition table and file system metadata remain unchanged. For Windows, the `extend` command in Diskpart or the Disk Management GUI can extend a volume into unallocated space, while Linux requires `growpart` or `fdisk` to modify the partition table followed by `resize2fs` or `xfs_growfs` to expand the file system. This process is necessary because the OS kernel only sees the original partition size until the partition table is updated.
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
An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.
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: Extend the partition or file system inside the VM. — After resizing a managed disk in Azure, the additional capacity is allocated at the Azure platform level but is not automatically available to the operating system. The administrator must extend the partition or file system inside the VM using tools like Diskpart (Windows) or fdisk/resize2fs (Linux) to make the new space usable. This is a standard post-resize step because the OS still sees the original partition boundaries.
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.
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.