
Answer-first summary for fast verification
Answer: Secondary access key
The question requires configuring permanent access to an Azure Files share from an Azure Machine Learning datastore. The secondary access key (Option A) is the optimal choice because it provides long-term, persistent access without expiration, unlike SAS tokens which are time-limited. Account SAS keys (Option C) and Service SAS keys (Option D) have expiration dates and require periodic renewal, making them unsuitable for permanent access. Anonymous access (Option B) is not supported for Azure Files, as authentication is always required. The community discussion supports this, with the highest upvoted comment (3 upvotes) explicitly recommending the secondary access key for permanent access, while comments favoring SAS keys have fewer upvotes and contradict the requirement for permanence.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You manage an Azure Machine Learning workspace named Workspace1 and an Azure Files share named Share1.
You plan to create an Azure Files datastore in Workspace1 that targets Share1.
You need to configure permanent access to Share1 from the Azure Files datastore.
Which authorization method should you use?
A
Secondary access key
B
Anonymous access
C
Account SAS key
D
Service SAS key