Noos
PT EN
RAN-DBDEA-00020
Ranvier · DBDEA

Exam DBDEA Topics: ingestion Difficulty: medium

Event files like the one below arrive continuously in a UC volume, and the team starts Auto Loader with schema inference (no explicit schema, cloudFiles.schemaLocation set): ```json {"user_id": 1042, "event_ts": "2026-05-01T10:22:31Z", "amount": 49.9, "profile": {"tier": "gold", "region": "emea"}} ``` What schema does Auto Loader infer by default, and how can the team get typed columns such as numbers and timestamps?

Options (Reading Mode) Click to filter discussion →
  1. A. All fields — including nested ones — are inferred as string; set cloudFiles.inferColumnTypes to true to infer types like long, double, and timestamp
  2. B. user_id becomes long, amount becomes double, event_ts becomes timestamp, and profile becomes a struct, because Auto Loader always samples rows and picks the narrowest matching type
  3. C. The profile object is rejected, because Auto Loader cannot infer nested structures from JSON files
  4. D. Top-level fields are strings while nested fields keep their JSON types, so only profile.tier and profile.region are correctly typed
Reveal answer

Correct answer: All fields — including nested ones — are inferred as string; set cloudFiles.inferColumnTypes to true to infer types like long, double, and timestamp

Reference: https://docs.databricks.com/aws/en/ingestion/cloud-object-storage/auto-loader/

02 — The Myelin Layer · Canonical Discussion

Where the exam tries to trick you — and how those who passed solved it.

0 Passed

contributed to this question

Answer Distractor Matrix Click an option to filter or open its dissection.
✦ Consolidated Synthesis (Wiki) rev. #1 (baseline) · CC BY-SA 4.0
Start synthesis for this question →

No community synthesis consolidated for this question yet. Below is the verifiable official starting point — if you passed the exam, open the option dissection.

Official Answer (A): All fields — including nested ones — are inferred as string; set cloudFiles.inferColumnTypes to true to infer types like long, double, and timestamp

Ranvier · DBDEA

Contribute to this Question

Your contribution builds your Orbital Sheath

Peer contributions

No public contribution yet. Be the first who passed to explain why the distractors trick candidates — your contribution builds your Orbital Sheath.