hardmulti selectObjective-mapped

A data disk on VM-Data01 was corrupted after a bad patch, and you already have a snapshot taken last night. The OS disk should remain unchanged. Which two actions should you take to restore only the data disk? Select two.

Question 1hardmulti select
Full question →

A data disk on VM-Data01 was corrupted after a bad patch, and you already have a snapshot taken last night. The OS disk should remain unchanged. Which two actions should you take to restore only the data disk? Select two.

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Create a managed disk from the snapshot.

A snapshot is not directly attached to a VM. You must first create a managed disk from the snapshot so Azure can present it as an attachable storage object.

B

Best answer

Attach the restored managed disk to VM-Data01.

After the managed disk is created from the snapshot, attaching it to the VM replaces the corrupted data disk without changing the OS disk. That restores only the affected storage volume.

C

Distractor review

Redeploy the VM and expect the data disk to revert automatically.

Redeploying a VM changes host placement, not disk contents. It does not roll back a corrupted data disk to a previous snapshot state.

D

Distractor review

Generalize the VM and redeploy it from the snapshot.

Generalization is a template workflow and does not restore a single data disk. It would add unnecessary disruption and does not target the corrupted volume only.

E

Distractor review

Replace the snapshot with the current data disk to roll back the VM.

A snapshot is a point-in-time source object, not something you overwrite with the live disk. The direction of restore is snapshot to managed disk, not the reverse.

Common exam trap

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Technical deep dive

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

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.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Static NAT maps one inside address to one outside address.

What is the correct answer to this question?

The correct answer is: Create a managed disk from the snapshot. — To restore only the damaged data disk, you first create a managed disk from the existing snapshot and then attach that disk to the VM. This keeps the OS disk unchanged while replacing only the corrupted data volume. It is the standard Azure workflow for disk-level recovery when you already have a snapshot available. Why others are wrong: Redeploying a VM does not revert disk contents, and generalizing is for image creation rather than targeted disk recovery. You also cannot roll back by replacing the snapshot with the current disk. The required sequence is snapshot to managed disk, then managed disk to VM. Anything else either changes the wrong scope or does not recover the data at all.

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

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.