hardmulti selectObjective-mapped

A Windows file server VM in Azure must mount an Azure file share by using existing Active Directory Domain Services credentials, not the storage account key. Yesterday, a user deleted a folder tree from the share, and only that folder tree should be restored. Which two actions should the administrator take? Select two.

Question 1hardmulti select
Full question →

A Windows file server VM in Azure must mount an Azure file share by using existing Active Directory Domain Services credentials, not the storage account key. Yesterday, a user deleted a folder tree from the share, and only that folder tree should be restored. Which two actions should the administrator take? 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

Configure identity-based authentication for Azure Files with Active Directory Domain Services.

Identity-based Azure Files authentication lets the VM mount with AD DS credentials instead of using a storage account key.

B

Best answer

Restore the deleted folders from a file share snapshot.

A file share snapshot provides point-in-time recovery for only the deleted folder tree, without rolling back other changes.

C

Distractor review

Mount the share by using the storage account key in the command line.

The storage account key would violate the requirement to avoid shared secrets in the mount process.

D

Distractor review

Enable anonymous access on the file share so the VM can mount it.

Anonymous access is not how Azure Files shares are secured for production workloads and would weaken security.

E

Distractor review

Recreate the share as a blob container and use blob snapshots.

Blob containers and file shares are different services, so blob snapshots cannot restore Azure file share content.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

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.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • 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.

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?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: Configure identity-based authentication for Azure Files with Active Directory Domain Services. — The VM needs to authenticate to Azure Files with domain credentials, so identity-based Azure Files authentication with Active Directory Domain Services is the right choice. For recovery, a file share snapshot is ideal because it captures the share at a point in time and lets the administrator restore only the deleted folder tree. This avoids restoring unrelated files that changed later in the day. Why others are wrong: Using the storage account key would contradict the requirement to avoid shared secrets. Anonymous access is not appropriate for a secured file share. Blob containers and blob snapshots are a different storage service and cannot recover deleted Azure Files folders.

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.