Data contracts
Define grain, identifiers and ownership before selecting a storage or processing tool.
Practice designing trustworthy pipelines: explain event timing, recovery boundaries and the checks that make downstream data usable. These 4 cases are original, hypothetical scenarios, not reported company questions.
AI practice opens in the workspace. A self-guided sample question is also available here without an account.
ONE QUESTION. YOUR OWN WORDS.
A self-guided warm-up. No account, download or microphone needed.
Hypothetical practice scenario: A commerce pipeline produces daily revenue at 08:00. Some purchase events arrive two days late, while refunds can refer to older orders. Finance and growth currently see different totals.
Write a first attempt, then use a short checklist to revise it.
Open Mocktalk AI for role-based practice and AI feedback. Sign in or create an account, then check your available practice time.
Define grain, identifiers and ownership before selecting a storage or processing tool.
Show how replay affects duplicates, downstream tables and competing production workloads.
Separate a successful job from a complete, timely and interpretable dataset.
A commerce pipeline produces daily revenue at 08:00. Some purchase events arrive two days late, while refunds can refer to older orders. Finance and growth currently see different totals.
How would you define and build a daily dataset that handles these differences?
I would first ask whether the report represents purchases, settled payments or revenue after refunds. I would document the event identifier, reporting time zone and treatment of adjustments with the consumers. My design would retain enough source history to recompute affected periods and use a defined key to prevent duplicate events from inflating totals. I would make the freshness cutoff visible and distinguish provisional totals from reconciled ones. Late arrivals would trigger bounded corrections rather than silently rewriting every historical partition. Before publishing, I would compare counts and monetary totals with a trusted source, investigate exceptions and tell both teams when their numbers are expected to converge.
Name the grain, cutoff and correction policy. Saying “use streaming” does not resolve conflicting definitions.
A transformation defect understated a metric for six months. A corrected transformation is ready, but the warehouse also serves a time-sensitive morning dashboard.
How would you plan the backfill and prove that it is safe to publish?
I would identify which source records and derived tables are affected, then preserve the current outputs for comparison. I would test the corrected logic on a representative period that includes edge cases, checking both expected changes and metrics that should remain unchanged. The rerun needs explicit overwrite or merge semantics so retries do not add duplicates. I would stage results separately where possible, throttle parallel work and protect the normal production schedule. Publication would follow agreed reconciliation checks and consumer sign-off. I would track completed intervals, failures and remaining work so an interruption can resume from a known point rather than starting an uncontrolled full rerun.
Explain repeatability, capacity and consumer coordination. A successful scheduler status is only one piece of evidence.
An upstream team changes a customer identifier from a number to a string. The ingestion job still completes, but a downstream join loses records and a dashboard drops sharply.
How would you investigate the incident and prevent a similar silent failure?
I would compare row counts and unmatched keys at each stage to locate where coverage changed. I would inspect sample records in an authorized environment and confirm the producer’s intended identifier semantics, including leading zeros or new formats. I would avoid blindly casting values if that could collapse distinct customers. After agreeing on a compatible representation, I would repair the affected transformation and reconcile the historical interval. To reduce recurrence, I would add checks for unexpected types and join-match rates, with an owner and a response procedure. I would also ask the source team to communicate incompatible changes before rollout rather than relying on downstream teams to discover them.
Tie alerts to a consumer consequence and identify the decision owner for incomplete data.
Original hypothetical exercise: a change-data pipeline maintains a current customer table. Customer A was deleted yesterday, but a recovery job now replays an older update for A. The source log has finite retention, and a disconnected consumer may have missed the deletion event.
How would you prevent recovery from republishing a record that should no longer exist?
I would start with the source’s ordering and identity guarantees rather than assume arrival order represents current state. Where source versions or ordered positions support it, I would compare updates and deletes using that ordering so an older update cannot overwrite a later deletion. I would also clarify whether an identifier can be reused for a new customer, because a permanent blacklist could then suppress valid new data. Recovery needs retained deletion evidence or a trustworthy fresh snapshot with a defined handoff to subsequent changes. A compacted log is not automatically a permanent deletion ledger: tombstones can expire, so I would verify retention against the supported recovery window. If a consumer is too far behind to establish current state, I would stop publication and rebuild through the approved snapshot procedure. My fixture would include update, delete, stale replay and legitimate recreation, with checks that downstream current-state outputs agree.
Walk through the exact surviving row after each event. Identify what ordering evidence you rely on and when recovery must use a fresh snapshot. Treat retention and identifier reuse as explicit assumptions, not universal platform guarantees.
These discussion cases complement any role-specific exercise, skills assessment, portfolio review or credential check required for your target role. Confirm the actual format with your recruiter.
Choose one prompt and explain your approach aloud. State assumptions and ask clarifying questions instead of rushing to a solution.
Challenge a decision you made. Explain why your approach fits the scenario and what new information would make you change it.
Use the self-check and any feedback to revise one part of your response. Keep all personal claims tied to your actual experience.
Sketch one source, its record grain, the transformation boundary and a consumer. Spend the first minute explaining the freshness and correctness requirements. Only then name technologies from the actual job description and explain which constraint each choice addresses.
For a second round, introduce a retry after a partial write. Walk through the state before the retry and after completion, including downstream effects. Review whether your answer makes duplicate prevention and recovery observable. If your experience is a personal project, describe that scope accurately rather than presenting it as a production system.
These references explain occupational or technical context. The practice scenarios above are original examples, not questions attributed to these organizations. Check documentation for the versions relevant to your target role.
Practice SQL against an explicit grain and expected result, then explain how the query behaves inside a recurring pipeline. Add duplicate rows, null values and late updates to your test data. Prepare separately for any timed coding assessment; these discussion cases focus on reasoning rather than executing SQL.
No. These are original practice scenarios created by Mocktalk AI, not reported questions, leaked assessments or an employer's official question bank. Companies and teams use different processes.
No. The answers illustrate a possible reasoning structure for a hypothetical scenario. For questions about your past work, use only your own experience and verified outcomes.
Start with the topic closest to your job description and experience level. State assumptions and adapt the scope; these scenarios do not define a standard interview for every seniority.
No. Use the examples to practice explaining assumptions, evidence and trade-offs. Interviewers may expect different approaches and ask different follow-ups.
Sign in or create an account, then check your available features and practice time.