Skip to content

47 scenario questions for data and platform engineers

Each one is a situation that really happens on Databricks, with three ways to handle it, the best call, and the docs page behind it. They are the tickets of the Data Engineer Simulator: read them here, or play them for points and promotions.

Preparing for an interview?

Take an interview round: 10 of these in a row, nothing said until the end, then a debrief with the best call for each one you missed. About ten minutes, with a clock if you want one.

24 scenarios for a data engineer

Pipelines, streams and tables: late data, duplicates, slow jobs and loads that have to be right by morning.

Streaming and ingestion · 7

  1. The hourly totals come up shortJunior and upA Structured Streaming job on Databricks counts orders per hour into a Delta table, with a ten minute watermark. Phones that were offline send their orders hours later, and those rows are dropped. Finance noticed that yesterday's total is short.
  2. The stream stopped on a new columnJunior and upA vendor added a column to their files. The Auto Loader stream on Databricks that loads them failed with an unknown field error, and the on-call channel is asking what broke.
  3. A small change to a running streamJunior and upA Structured Streaming job on Databricks that reads a Delta table needs one more filter. A colleague says the safe way to ship a change is to delete the checkpoint folder and start clean.
  4. Customers keep getting their old address backMid level and upA feed of customer changes from the source database sometimes arrives out of order. Your Databricks job applies changes to the Delta table as they arrive, so an older update can land on top of a newer one.
  5. A stream that waits all day for one deliveryMid level and upFiles land in cloud storage once a night. The Auto Loader stream that loads them into Databricks runs around the clock, on a cluster that is idle for twenty three hours a day.
  6. The stream gets slower every weekSenior and upA Structured Streaming job on Databricks drops duplicate events by event id. It has run for three months, its state holds every id it has ever seen, and each batch is slower than the last.
  7. Where should the new pipeline read from?Staff and upYou are designing a Lakeflow pipeline on a Kafka topic that keeps messages for seven days. The cleaning rules will change as the business learns what it needs.

23 scenarios for a platform engineer

Cost, access, secrets and compute: the things everyone else assumes just work.

Access and governance · 9

  1. An analyst needs one tableJunior and upA new analyst in finance needs to read the invoices table in Unity Catalog. Their manager wants it done before a 14:00 meeting.
  2. Marketing wants the customers tableJunior and upMarketing analysts need the customers table in Unity Catalog for a campaign. It has an email column they are not allowed to see.
  3. A data scientist needs the scanned contractsMid level and upThousands of PDF files sit in a cloud storage folder. A data scientist needs to read them from a Databricks notebook and asks you for the storage access key.
  4. Each region may see only its own salesadded 29 NovemberMid level and upTwelve regional managers query one sales table in Unity Catalog on Databricks. Each of them may see only the rows of their own region, and head office sees everything.
  5. Who looked at the salaries table?Senior and upHR believes someone outside the team read the salaries table in Unity Catalog last week, and asks you for a list of everyone who accessed it.
  6. A partner needs your product tableSenior and upA retail partner wants a daily view of your product catalog table. They have their own data platform, and it is not Databricks.
  7. Every grant goes through youStaff and upEight teams keep their data in one Unity Catalog catalog. Every request to read a table lands in your queue, forty a week, and you rarely know whether the answer should be yes.
  8. Four hundred tables with personal dataStaff and upAn audit found email and phone columns in about four hundred Unity Catalog tables. All of them must be masked for everyone outside the privacy group, and so must the tables created next month.
  9. A business unit wants its own islandPrincipal and upA newly bought company in the same region insists on its own Unity Catalog metastore, so that nobody at head office can touch its data. Next quarter the two sides will need to join each other's tables.

Had one of these at work?

The best tickets come from real incidents. Send us yours: what happened, what you did, and what you would tell a colleague to do.

We read every one and check it against the Databricks docs. The ones that hold up become tickets in the simulator.

Send a scenario

It opens the feedback form with the questions already in it. Five minutes.

Every scenario was checked against the Databricks documentation, and each page links the docs page its answer rests on. Spotted something wrong? Tell us. brickster.ai is independent and is not affiliated with Databricks.