Azure Data Factory Interview Questions and Answers (Freshers to 3+ Years)
35+ Azure Data Factory interview questions with clear answers: concepts, integration runtimes, Copy, expressions, control flow, incremental loads, data flows, triggers, error handling and CI/CD, plus scenarios.
SS
Sukanya Saha, Technology Consultant
·18 min read
Beginner friendly
Your project story (asked in every interview)
Part
What to say (from this course)
Problem
Orders from an Azure SQL app database and supplier CSVs in Blob needed to land in an ADLS Gen2 lake daily, cleaned, with alerts.
Ingestion
Parameterized Copy (CSV → Parquet in dated folders); Get Metadata + Filter + ForEach for unpredictable file drops; watermark-based incremental loads.
Transformation
Mapping data flow de-duplicating with Window + Filter; master pipeline orchestrating loads then cleaning.
Scheduling
Daily schedule trigger in IST, hourly tumbling window with backfill, storage event trigger for instant file loads.
Reliability
Retries and timeouts, failure path with webhook alert and a Fail activity, idempotent writes.
Engineering
Managed identity + Key Vault, Git, validation with Microsoft's npm tool, pytest unit tests, ARM deployment per environment.
Azure's managed, serverless data integration and orchestration service: it copies data between many stores, transforms it (data flows or external compute) and schedules and monitors pipelines.
Q2Name ADF's components.Fresher+
Pipelines, activities, datasets, linked services, integration runtimes, triggers; plus parameters, variables, data flows and global parameters.
Q3Linked service vs dataset?Fresher+
Linked service = connection information; dataset = which data (table, file, folder) and format inside it.
Q4Types of integration runtime?1–3 yrs+
Azure IR (managed, optionally in a managed VNet), self-hosted IR (private/on-prem access, outbound only, multi-node HA), Azure-SSIS IR (run SSIS packages).
Q5How do you keep credentials out of pipelines?1–3 yrs+
Managed identity with RBAC roles where possible; Key Vault secret references in linked services otherwise; secureInput/secureOutput on activities that handle secrets.
Q6How do you reach a storage account with public access disabled?3+ yrs+
Managed VNet integration runtime with managed private endpoints, or a self-hosted IR in a network with private endpoints; approve the endpoints on the target resource.
Data Integration Unit: compute power for a copy on the Azure IR, billed per DIU-hour; Auto by default.
Q2Parameters vs variables?Fresher+
Parameters are run inputs (read-only); variables are changed during a run with Set/Append Variable.
Q3How do you improve copy performance?1–3 yrs+
Read the copy monitoring breakdown; DIUs, parallel copies, source partitioning for databases, columnar/compressed formats, avoid tiny files, scale self-hosted IR nodes, staged copy where needed.
Q4How do you handle bad rows in Copy?1–3 yrs+
Fault tolerance to skip incompatible rows with logging to storage, plus monitoring of skipped counts; or fail the copy for strict data.
Q5@ vs @{ }?1–3 yrs+
@ at the start makes the whole value an expression of any type; @{ } inside text interpolates and always returns a string.
Q6How do you avoid errors reading a property that may be missing?1–3 yrs+
Use the ?. operator (config?.owner) with coalesce() for a default.
Q7Why not use utcNow() for the business date in daily loads?3+ yrs+
Reruns or delays would process a different day. Pass the date from the trigger (scheduledTime or window start) as a parameter so reruns are deterministic.
Schedule fires at clock times for many pipelines; tumbling window fires per fixed window for one pipeline with window parameters, backfill, retries, concurrency and dependencies.
Q6A trigger never fires. Why?1–3 yrs+
Not published or not Started, start time in the future, wrong time zone (UTC by default), or for storage events the EventGrid provider isn't registered.
Q2Why might a pipeline with a failed activity show Succeeded?1–3 yrs+
The failure was handled by a successful activity on the failure path; end that path with a Fail activity to report failure.
Q3How do you alert on failures?1–3 yrs+
Azure Monitor alerts on failed run metrics, or a Web activity on the failure path posting run ID and activity('X').error.message to a Logic App/Teams webhook.
Q4How long is run history kept?1–3 yrs+
45 days in the Monitor hub; send diagnostics to Log Analytics for longer.
Q5Explain ADF CI/CD.1–3 yrs+
Dev factory in Git; CI validates and exports ARM templates with the npm utility (or Publish → adf_publish); CD deploys the same template to test/prod with per-environment parameters, stopping and restarting triggers.
Q6How do you test ADF pipelines?3+ yrs+
Unit tests with data-factory-testing-framework and pytest in CI, JSON validation with the npm utility, integration tests in a test factory, and data quality checks in production.
Scenario questions (3 years experience)
🎯 Real-world scenarios
Try to answer out loud first, then tap to check.
Q1The nightly load sometimes runs twice and duplicates data. Fix it.3+ yrs+
Make writes idempotent: overwrite per-date folders or partitions, MERGE on keys in SQL targets, watermarks updated only on success, unique run-based file names; check trigger overlap (schedule + manual) and use tumbling windows with maxConcurrency 1 if runs must not overlap.
Q2Files arrive from 20 vendors at random times in different formats.3+ yrs+
Storage event triggers per vendor folder (or one with path filters), a metadata table describing each vendor's format, a generic pipeline using parameterized datasets, schema validation with Get Metadata structure or data flows, quarantine folders for bad files, and alerts.
🎯 More scenarios
Try to answer out loud first, then tap to check.
Q1A copy from on-prem is slow at night.3+ yrs+
Check the copy breakdown: queue time (IR busy → add nodes or stagger loads), read time (source query, indexes, partitioning), write time (sink format, file sizes). Scale out the self-hosted IR, use partitioned reads, compress, and avoid running everything at once.
Q2Prod and dev behave differently after deployment.3+ yrs+
Compare ARM parameter values (connection strings, global parameters), Key Vault secrets, IR configuration, and whether triggers were restarted. Keep environments parameterized and deployments automated so nothing is edited by hand in prod.
One-page cheat sheet
Topic
Remember
Blocks
Pipeline · activity · linked service · dataset · IR · trigger
IRs
Azure · self-hosted (outbound only, HA nodes) · Azure-SSIS
Retry/timeout · Failed path alert · end with Fail · 45-day monitor
CI/CD
Git dev only · validate + test + export · ARM + parameters · stop/start triggers
Key takeaways
✓Interviews test design and trade-offs, not just definitions.
✓Every answer maps to a pipeline you ran in this course.
✓Be ready to sketch metadata-driven and incremental designs.
✓Know the traps: nesting, handled failures, UTC triggers, utcNow reruns.
Frequently asked questions
How should I prepare for an ADF interview?
Know the building blocks and integration runtimes, Copy activity settings, expressions, control flow and nesting limits, the watermark pattern, triggers (especially tumbling windows), error handling (including the handled-failure trap) and CI/CD. Prepare one project story and be able to sketch a metadata-driven pipeline.
What do interviewers expect at 3 years?
Real design decisions: why a self-hosted IR, how you made loads incremental and rerunnable, how you handled failures and alerts, how you deployed across environments, how you controlled cost. Specific numbers and incidents beat definitions.
Is ADF still worth learning with Fabric around?
Yes. ADF is widely used and Fabric Data Factory pipelines use the same activities, expressions and patterns. Job posts for Azure data engineers routinely list ADF together with Databricks, Synapse or Fabric.
🧠 Quick check: ADF interview
1. A handled failure makes the pipeline show...
2. On-premises SQL Server source needs...
3. Backfill 90 days of hourly loads with retries per hour?