mediummultiple choiceObjective-mapped

A Windows file server VM must mount an Azure file share by using domain credentials instead of a storage account key. The organization already manages users in Active Directory Domain Services. Which authentication option should be configured for Azure Files?

Question 1mediummultiple choice
Full question →

A Windows file server VM must mount an Azure file share by using domain credentials instead of a storage account key. The organization already manages users in Active Directory Domain Services. Which authentication option should be configured for Azure Files?

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

Distractor review

Shared key authentication, because it is the default for Azure file shares.

Shared key access works, but it does not use domain credentials and is not the requested authentication model.

B

Best answer

Identity-based authentication with Active Directory Domain Services.

Azure Files can use identity-based authentication so Windows clients access the share with their domain identities instead of storage keys. In an environment that already has Active Directory Domain Services, that is the appropriate configuration for SMB-based access. It supports centralized identity management, aligns with existing Windows admin practices, and avoids embedding account keys in scripts or connection strings.

C

Distractor review

A service SAS created for the share and mapped as a network drive.

A service SAS grants token-based access, but it is not the same as using domain credentials for Windows share access.

D

Distractor review

Anonymous access with public network restrictions disabled.

Azure Files does not provide anonymous share access for secure enterprise use.

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: Identity-based authentication with Active Directory Domain Services. — For a Windows VM that should mount Azure Files using user identities, identity-based authentication with Active Directory Domain Services is the right choice. It lets the VM authenticate as a domain user or computer account over SMB rather than using a storage account key. That matches the requirement to integrate with the organization's existing identity platform and provides a more manageable, enterprise-friendly access model. Why others are wrong: Shared key authentication is functional but does not satisfy the requirement to use domain credentials. A SAS token is a delegated access mechanism, not normal domain-based file-share authentication. Anonymous access is not appropriate for secure business file storage and is not how Azure Files is typically secured.

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.