Databricks Data Engineer Professional · Section 2 · 12% of the exam
Develop data ingestion pipelines to ingest a variety of data formats, including Delta Lake, Parquet, JSON, Iceberg, CSV, and Binary from diverse sources such as message buses (Kafka, Kinesis, Pub/Sub) and cloud storage.
One of the objectives of the Databricks Certified Data Engineer Professional exam, in the section “Data Ingestion & Acquisition”. Here is what it covers, the points to remember and a question to try.
What it covers
Choose the right reader and options for every source the exam names: files in cloud storage (JSON, CSV, Parquet, binary), Delta and Iceberg tables, and the Kafka, Kinesis and Pub/Sub message buses, with production details such as start positions, rate limits, authentication and serverless triggers.
Points to remember
- Auto Loader and
STREAM read_filesread JSON, CSV, XML, Parquet, Avro, ORC, text and binaryFile; Delta and Iceberg are table formats and are read as tables. - Auto Loader infers JSON, CSV and XML as STRING unless
cloudFiles.inferColumnTypesis true; Parquet, Avro and ORC carry their own types. - binaryFile returns
path,modificationTime,lengthandcontent; filter withpathGlobFilter. - Recommended discovery: file events on the external location plus
cloudFiles.useManagedFileEvents= true (DBR 14.3 LTS+). - Streaming from Delta:
maxFilesPerTriggerdefaults to 1000; useskipChangeCommitsto ignore upstream updates and deletes, or the change data feed to process them.
Try a question
A bronze streaming table ingests JSON order files with Auto Loader (cloudFiles), and no schema is provided. Downstream queries fail because amount, quantity and order_ts all arrived as STRING columns. Which option makes Auto Loader infer numeric and timestamp types from the JSON data?
- A
cloudFiles.schemaEvolutionModeset toaddNewColumnsWithTypeWidening - B
cloudFiles.inferColumnTypesset totrue - C
inferSchemaset totrue, the option the batch CSV reader uses - D
mergeSchemaset totrueon the write to the bronze table
Show the answer
B. For formats that don't encode data types (JSON, CSV and XML), Auto Loader infers every column as STRING by default, including nested JSON fields, so that files with conflicting values never break the stream. Setting cloudFiles.inferColumnTypes to true makes it sample the data and choose types the way the DataFrameReader does; cloudFiles.schemaHints can still pin individual columns. Parquet, Avro and ORC carry their own types.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Ingesting File Formats, Table Formats and Message Buses teaches this objective (about 45 minutes), and 12 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Configure incremental CDC pipelines using Lakeflow Pipelines with Delta or Iceberg as the target table format.
- Configure CDC ingestion pipelines from relational database sources, including SQL Server, MySQL, and PostgreSQL, using Lakeflow Connect.
- Implement OpenSharing (D2D and Databricks-to-Open) and Clean Rooms for privacy-preserving collaboration.
- Configure Lakehouse Federation with governance across supported source systems, applying UC permissions and connection-level credentials.