DP-900 Describe an analytics workload on Azure Practice Question
Exhibit
Refer to the exhibit.
```json
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2023-01-01",
"name": "[parameters('storageAccountName')]",
"kind": "StorageV2",
"properties": {
"isHnsEnabled": true
}
}
```You are deploying the above ARM template snippet for a storage account. What is the effect of setting 'isHnsEnabled' to true?
⚠ Common exam trap
Test-takers frequently confuse 'isHnsEnabled' with enabling a general 'data lake' feature, but it specifically enables the Hierarchical Namespace, which is the fundamental difference between Azure Blob Storage and Azure Data Lake Storage Gen2.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Enables Azure Data Lake Storage Gen2.
Setting 'isHnsEnabled' to true enables the Hierarchical Namespace (HNS) feature on the Azure Storage account, which is the core requirement for Azure Data Lake Storage Gen2. This allows the storage account to support a file system-like directory structure with POSIX-compliant access control lists, enabling analytics workloads to use both blob and file system semantics.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Enables Azure Data Lake Storage Gen2.
Why this is correct
Enabling the hierarchical namespace (HNS) on a storage account is exactly what turns on Azure Data Lake Storage Gen2. The HNS reorganizes blob objects into a directory hierarchy, enabling POSIX-like access control lists and efficient rename/move operations that are foundational to the Data Lake Gen2 offering.
- ✗
Enables Azure Blob Storage lifecycle management.
Why it's wrong here
Lifecycle management is a blob storage feature that automatically tiers or deletes blobs based on age or last-modified time. It functions entirely independently of the hierarchical namespace, so setting isHnsEnabled on the account has no effect on lifecycle policy behavior; you can use lifecycle management on accounts with flat namespaces as well.
- ✗
Enables geo-redundant storage (GRS).
Why it's wrong here
Geo-redundant storage (GRS) is determined by the account's SKU tier (e.g., Standard_GRS or Standard_RAGRS) in the ARM template's sku.name property, not by the isHnsEnabled flag. The HNS only changes the data organization and access semantics; it does not influence replication strategy or geographic redundancy.
- ✗
Enables Azure Files share.
Why it's wrong here
Azure Files is a separate storage offering that provides fully managed SMB/NFS file shares, and it is not enabled by setting isHnsEnabled. The HNS flag applies to blob storage to create ADLS Gen2, whereas Azure Files shares are provisioned through a different resource type (Microsoft.Storage/storageAccounts/fileServices) within the same storage account.
Visual reference
Go deeper
Related to this question
Learn chapter
Data Roles and Core Concepts
Key term
Data Lake Storage Gen2
Data Lake Storage Gen2 is a cloud-based storage service that combines a scalable data lake with enterprise-grade file system capabilities for big data analytics.
Key term
Azure Storage
Azure Storage is Microsoft's cloud-based service for storing data like files, messages, and backups with high durability and scalability.
About these practice questions
One of 820 original DP-900 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DP-900 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 DP-900 exam.