Accenture Interview Questions
Discovery : understand source systems, data volume, SLA requirements, and downstream consumers before writing any code. Architecture choice : Batch (hou...
Explain your approach to building cloud data pipelines.
Discovery : understand source systems, data volume, SLA requirements, and downstream consumers before writing any code. Architecture choice : Batch (hourly/daily): ADF + Databricks / Glue + Spark Near real time (<15 min): Spark Structured Streaming + Event Hub/Kafka Real time (<1 min): Flink or Kafka Streams Standard layers (Medallion): Bronze: ingest raw, append only Silver: deduplicate, validate, enrich Gold: aggregate, model for consumption Reliability practices : Idempotent writes (MERGE ove
Explain different types of Slowly Changing Dimensions.
SCD Type 0 — Fixed : attribute never changes (e.g., original signup date). No action on source change. SCD Type 1 — Overwrite : update the record in place, no history kept. Use when historical value is irrelevant (e.g., correcting a typo). SCD Type 2 — Add new row (most common): expire current record, insert new one. Full history preserved. SCD Type 3 — Add column : add previous value column alongside current. Limited history (only one prior value). SCD Type 6 — Hybrid : combines Type 1 + 2 + 3
What are the differences between Data Warehouse and Data Mart?
Data Warehouse : Centralized repository for the entire enterprise Contains data from all business domains (Finance, Sales, HR, Operations) Managed by a central data engineering team Comprehensive but complex — many tables, many joins Data Mart : Subject specific subset for one domain or team Example: Marketing Data Mart — campaigns, leads, conversions, customer acquisition cost Simpler, pre joined tables optimized for the domain's queries Faster queries (less data, fewer joins) Types : Dependent
What are Delta Live Tables?
Delta Live Tables (DLT) is a declarative framework in Databricks for building reliable, maintainable ETL pipelines — replacing hand crafted Spark streaming/batch code. Benefits : Automatic dependency management between tables Built in data quality expectations with @dlt.expect Automatic CDC with APPLY CHANGES INTO Lineage and observability out of the box Handles both batch and streaming in one framework
How do you manage pipeline dependencies?
Within Airflow DAG (most common for batch): Cross DAG dependencies (Airflow): Data aware scheduling (Airflow 2.4+ datasets): Databricks Workflows : define job clusters with task dependencies, task level retries, and conditional execution (run task B only if task A succeeds). Best practices : make each task idempotent (safe to retry), log run metadata (run id, rows processed) to a control table for dependency tracking across teams.
What is Unity Catalog?
Unity Catalog (UC) is Databricks' centralized governance layer for data and AI assets — providing unified access control, data lineage, and discovery across all Databricks workspaces. Three level namespace : catalog.schema.table (e.g., prod.finance.fact revenue ) Key capabilities : Unified access control : GRANT/REVOKE at catalog, schema, table, column, or row level — one place for all permissions Column level security : mask PII columns based on user group Row level security : users see only th
How do you validate ETL pipeline results?
Pre load validation (before writing to target): Post load reconciliation : Great Expectations (automated, reusable): On failure : block downstream tasks via Airflow BranchPythonOperator ; alert data owners; log to validation runs table.
What is checkpointing in Spark Streaming?
Checkpointing persists the streaming query state (Kafka offsets + aggregation state) to durable storage so a failed job can resume from where it left off — not from the beginning. Two types : 1. Metadata checkpointing : saves query progress (offsets consumed) 2. Data checkpointing : saves aggregation state for stateful operations (windowed aggregations, mapWithState ) What's saved in the checkpoint : Last committed Kafka partition offsets Watermark state for late data handling Windowed aggregati