Azure Data Lake: A Comprehensive Guide for Data Professionals

Azure Data Lake Storage (ADLS) Gen2 combines the scalability of Blob Storage with a hierarchical file system, making it the go-to storage layer for big data analytics workloads on Azure.

Core Architecture

ADLS Gen2 is built on top of Azure Blob Storage but adds a hierarchical namespace, allowing directories and files to be organized and managed efficiently — a critical feature for large-scale analytics engines.

Key Features

  • Hierarchical namespace for fast directory-level operations like renames and deletes
  • Fine-grained access control using POSIX-style ACLs alongside Azure RBAC
  • Massive scalability to store petabytes of structured and unstructured data
  • Native integration with Azure Synapse Analytics, Azure Databricks, and HDInsight

Why Data Professionals Use It

  • Centralizing raw, structured, and semi-structured data in one place before transformation
  • Running large-scale batch analytics and machine learning pipelines directly against the lake
  • Supporting a medallion (bronze/silver/gold) architecture for progressively refined data
  • Cost-efficient long-term storage of historical data for compliance and analysis
Because ADLS Gen2 is built on Blob Storage, it inherits the same access tiers and redundancy options — letting teams tune cost and durability for large analytics datasets.

Ready to master Microsoft Azure?

Join Microsoft Azure Training Course at Uncodemy and learn with hands-on projects and mentor support.

Explore the Course

Setting Up ADLS Gen2 Step by Step

A data lake in Azure is a storage account with the hierarchical namespace switched on. You can create one in the portal or with the Azure CLI. The commands below create the account, a container (called a file system in ADLS terms) and a folder structure:

az storage account create \
  --name mydatalake01 \
  --resource-group rg-data \
  --location centralindia \
  --sku Standard_LRS \
  --kind StorageV2 \
  --hns true

az storage fs create --name raw --account-name mydatalake01 --auth-mode login
az storage fs directory create --name sales/landing \
  --file-system raw --account-name mydatalake01 --auth-mode login

The --hns true flag is the important one; without it you get a normal Blob Storage account. Using --auth-mode login means your Microsoft Entra identity is used instead of an account key, which is the safer default.

Organising Zones and Folders

A clear layout saves a lot of pain later. Many teams create one container per zone and use predictable folder paths inside it:

ContainerContentsWho writes
raw (bronze)Files exactly as received from sourcesIngestion pipelines only
curated (silver)Cleaned, de-duplicated, typed data, often in Parquet or Delta formatTransformation jobs
serving (gold)Aggregated tables ready for reports and modelsAnalytics jobs

Inside each zone, a path such as source/entity/year=.../month=.../ lets engines skip folders they do not need when a query filters on those columns. Spark, Databricks and Synapse read the lake with the abfss driver:

df = spark.read.parquet(
    "abfss://curated@mydatalake01.dfs.core.windows.net/sales/orders/"
)
df.groupBy("region").count().show()

Securing Access with RBAC and ACLs

Azure RBAC roles such as Storage Blob Data Reader or Storage Blob Data Contributor grant access at the account or container level. POSIX-style ACLs then give finer control on individual folders. A typical pattern is to grant each pipeline a managed identity, give it RBAC on its own container, and use ACLs when one team should read only certain folders. An ACL can be set from the CLI as well:

az storage fs access set \
  --acl "user::rwx,group::r-x,other::---" \
  --path sales --file-system curated \
  --account-name mydatalake01 --auth-mode login

Remember that ACLs on a folder do not automatically apply to files already inside it; use default ACLs for new items and the recursive ACL update option for existing ones.

Common Data Lake Mistakes

  • Too many tiny files. Thousands of small files slow down queries; compact them into larger Parquet files.
  • Sharing account keys. Keys grant full access; prefer Entra identities, managed identities and short-lived SAS tokens.
  • No naming rules. Agree on folder and file conventions before the first pipeline runs.
  • No lifecycle policy. Configure rules to move old raw data to cooler tiers or delete it according to your retention needs.
  • Building on Gen1. Gen1 has been retired, so all new work should use Gen2.