Tutte le specialitàTecnologia · Colloquio di lavoro

Data engineering

Le domande di data engineering riguardano lo spostamento sicuro dei dati e che cosa succede quando un job fallisce di notte. Impara a descrivere una pipeline in un inglese parlato chiaro, dalla sorgente alla dashboard.

Parole → espressioni → frasi → parlato

Prova SpeakRole ↗
Colloquio di lavoroData engineering
V

How would you design a reliable ETL pipeline for daily reports?

0:18
Domanda dell’intervistatore

Data engineering

Chi intervista per i ruoli di data engineering di solito chiede della progettazione delle pipeline, di SQL e di come gestisci i guasti. Alcune domande sono teoria, come batch contro streaming o ETL contro ELT. Altre sono storie su dati in ritardo, duplicati e dashboard rotte. Non devi nominare ogni strumento. Devi mostrare di capire il problema che ciascuno risolve.

Un buon modo di rispondere è seguire i dati: da dove arrivano, come vengono elaborati, dove sono conservati e chi li usa. Di' questo percorso a voce alta, in ordine. Poi aggiungi una frase sul guasto, per esempio "if the job fails, we can safely run it again". Quella sola frase spesso distingue gli ingegneri esperti dai candidati che hanno solo letto l'argomento.

  • ✓Parole → espressioni → frasi → parlato
  • ✓Senso della risposta
  • ✓Lingua

Domande comuni e risposte di esempio

What is the difference between ETL and ELT, and how do a data lake and a warehouse fit in?

Qual è la differenza tra ETL ed ELT e dove si collocano un data lake e un data warehouse?

Che cosa vuole sentire l'intervistatore. L'ordine dei passaggi, perché ELT è diventato popolare e una visione equilibrata con un caso in cui ETL resta la scelta migliore.

Risposta di esempio in inglese da esercitare ad alta voce

In ETL, we transform the data before we load it into the target. In ELT, we load the raw data first and transform it inside the warehouse. Today I usually choose ELT, because modern warehouses are powerful and storage is cheap. I keep the raw data in a lake or in a raw layer, so I can rebuild everything if the business rules change. Then I write the transformations in SQL, with a tool like dbt, and I test them. ETL is still a good choice when sensitive data must be cleaned or masked before it lands. The warehouse holds clean, modelled tables for analysts. The lake holds raw files of any shape.

How do you decide between batch and streaming?

Come scegli tra batch e streaming?

Che cosa vuole sentire l'intervistatore. Una decisione basata sull'esigenza di business e sul costo, non sulla moda, più la consapevolezza degli eventi in ritardo e duplicati.

Risposta di esempio in inglese da esercitare ad alta voce

I start from the business need, not from the technology. If people look at a dashboard once a day, a nightly batch job is simpler, cheaper and easier to debug. I choose streaming when the value of the data falls quickly with time, for example fraud checks or live alerts. Streaming has a cost. I have to handle late and out-of-order events, state and duplicates, and operations are harder. A middle path is micro-batches every few minutes. Often I move only one pipeline to streaming and keep the rest in batch. I always ask: what is the cost of waiting one hour for this data?

What does it mean for a pipeline to be idempotent, and how do you achieve it?

Che cosa significa che una pipeline è idempotente e come la ottieni?

Che cosa vuole sentire l'intervistatore. Una definizione chiara, il problema dei duplicati nei retry e tecniche concrete come sovrascrivere una partizione o fare un merge su una chiave.

Risposta di esempio in inglese da esercitare ad alta voce

An idempotent job gives the same result if I run it once or ten times with the same input. This matters, because jobs fail and we rerun them, and backfills are a normal part of the work. A bad job appends rows on every run, so a retry creates duplicates. To make it safe, I overwrite the whole partition for one date, or I use a merge, also called an upsert, with a stable business key. I pass the run date as a parameter and do not use the current time inside the logic. I also write to a temporary location and swap the result in only when the job succeeds.

How do you make sure the data in your pipelines is correct?

Come ti assicuri che i dati nelle tue pipeline siano corretti?

Che cosa vuole sentire l'intervistatore. Controlli in più fasi, una decisione su che cosa blocca la pipeline e la responsabilità (ownership) dei dati.

Risposta di esempio in inglese da esercitare ad alta voce

I check the data at several points, not only at the end. At ingestion, I check the schema, so a changed column does not break everything silently. After each transformation, I run tests: not null, unique keys, accepted values, row counts compared with the source, and freshness. If a critical check fails, the pipeline stops and does not publish bad data, and the owner gets an alert. For smaller problems, I quarantine the bad records instead of deleting them. I also agree on a contract with the data producers, so they tell us before they change a field. And every dataset has an owner.

What is partitioning, and how do you choose a partition key?

Che cos'è il partizionamento e come scegli una chiave di partizione?

Che cosa vuole sentire l'intervistatore. Il partition pruning, una chiave sensata come la data e il problema di troppe partizioni o file piccoli.

Risposta di esempio in inglese da esercitare ad alta voce

Partitioning splits a large table into smaller parts, usually by one column, so queries read only the parts they need. The most common key is the event date, because most queries filter by time, and it also makes retention and backfills easy: I can drop or rewrite one day. A good key has a reasonable number of values. If I partition by user ID, I get millions of tiny files, and everything becomes slow. If the partitions are too big, I lose the benefit. I also keep the files at a healthy size, and I check in the query plan that my filter really skips the partitions I do not need.

Come pronunciare i termini chiave

pipeline
pàip-lain
data lake
dèi-ta lèic
warehouse
uèr-hàus
idempotent
ai-dem-pòu-tent
schema
schì-ma
partition
par-tìsh-on
orchestration
or-ches-trèi-shon

Frasi utili per rispondere

  • The pipeline reads from… and writes to…La pipeline legge da… e scrive su…
  • It runs every night, and a rerun is safe.Gira ogni notte e rieseguirla è sicuro.
  • The main trade-off is freshness against cost.Il compromesso principale è tra freschezza e costo.
  • We validate the data before we publish it.Convalidiamo i dati prima di pubblicarli.
  • I would add a check and an alert here.Qui aggiungerei un controllo e un alert.
  • Who owns this dataset?Chi è il responsabile di questo dataset?
  • Let me describe the data flow from the source to the dashboard.Lascia che ti descriva il flusso dei dati dalla sorgente alla dashboard.

Errori comuni da evitare

  • Usare "datas" o "informations". Sono calchi dell'italiano («i dati», «le informazioni»): in inglese normale entrambe le parole non sono numerabili. Di' "a lot of data", "some information" o "a data point".
  • Dire "the job is failed". Le forme corrette sono "the job failed" o "the job has failed".
  • Elencare strumenti come Airflow, Spark e Kafka senza dire quale problema risolve ciascuno. Prima nomina il problema, poi lo strumento.
  • Dire che lo streaming è sempre meglio perché è in tempo reale. Spiega il costo e chiediti se il business ha davvero bisogno di dati freschi.
  • Dimenticare i guasti. Di' che cosa succede quando un job fallisce a metà, quando i dati arrivano in ritardo o quando lo stesso file arriva due volte.

Domande frequenti

Devo conoscere Spark per un colloquio di data engineering?

Spesso sì, a livello base: come il lavoro viene diviso su un cluster e perché spostare dati tra i nodi è costoso. Se il tuo ultimo team usava solo SQL e un data warehouse, dillo con onestà e spiega che cosa impareresti per prima cosa.

Quanto SQL mi verrà chiesto?

Di solito molto. Aspettati join, raggruppamenti e window function su uno schermo condiviso o su carta. Di' il tuo piano ad alta voce prima di scrivere: "First I deduplicate the events, then I group them by day."

Come descrivo una pipeline quando i dettagli sono riservati?

Descrivila in termini generali: il tipo di sorgente, il volume approssimativo, la frequenza, i controlli e una cosa che si è rotta. A chi intervista interessa il tuo ragionamento, non i nomi o i numeri esatti dell'azienda.

Leggere una risposta non è la stessa cosa che dirla. Esercita ogni domanda ad alta voce, poi confronta il significato e la lingua della tua risposta.

Prova SpeakRole ↗

Altri argomenti in quest’area