Tutte le specialitàTecnologia · Colloquio di lavoro

DevOps

I colloqui DevOps chiedono come il software arriva dal portatile alla produzione e come ci resta in salute. Allenati a raccontare questa storia in un inglese chiaro e calmo.

Parole → espressioni → frasi → parlato

Prova SpeakRole ↗
Colloquio di lavoroDevOps
V

How do you roll back a bad production deploy?

0:18
Domanda dell’intervistatore

DevOps

DevOps è un modo di lavorare più che un singolo strumento, quindi le buone risposte collegano gli strumenti agli obiettivi: rilasci più rapidi e sicuri, ambienti ripetibili e ripristino veloce. A chi intervista piacciono i candidati che sanno nominare uno strumento e dire anche perché il team lo ha scelto.

Per le risposte orali, descrivi un flusso reale dall'inizio alla fine: il codice viene inviato, la pipeline parte, il servizio viene rilasciato e il monitoraggio ti dice se funziona. Aggiungi che cosa succede quando qualcosa fallisce, perché è lì che di solito prosegue il colloquio.

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

Domande comuni e risposte di esempio

How would you design a CI/CD pipeline for a backend service?

Come progetteresti una pipeline CI/CD per un servizio backend?

Che cosa vuole sentire l'intervistatore. Le fasi in ordine, feedback rapido, un solo artefatto di build promosso tra gli ambienti e un rilascio sicuro con rollback.

Risposta di esempio in inglese da esercitare ad alta voce

Continuous integration means that every change is built and tested automatically. Continuous delivery means that the result is always ready to release. My pipeline starts on every pull request: build, unit tests, static analysis and a scan of the dependencies. After the merge, it builds a container image once and pushes it to a registry. The same image goes to staging, where integration tests run, and then to production. For production, I prefer a gradual release, such as a canary or a rolling update, with an automatic check of the error rate. If something is wrong, we roll back to the previous image. I keep the pipeline fast, so developers do not avoid it.

How is a container different from a virtual machine?

In che cosa un container è diverso da una macchina virtuale?

Che cosa vuole sentire l'intervistatore. Kernel condiviso contro sistema operativo guest separato, immagine contro container, livello di isolamento e casi d'uso tipici.

Risposta di esempio in inglese da esercitare ad alta voce

A virtual machine runs a full guest operating system on top of a hypervisor, so it is heavier and slower to start. A container is an isolated process on the host. It shares the host kernel, and Linux features such as namespaces and cgroups provide the isolation and the resource limits. That is why containers start quickly and use less memory. An image is a read-only package with the application and its dependencies, and a container is a running instance of an image. The result is that the application behaves the same on my laptop, in the pipeline and in production. The trade-off is weaker isolation than a virtual machine.

What is infrastructure as code, and why is it useful?

Che cos'è l'infrastructure as code e perché è utile?

Che cosa vuole sentire l'intervistatore. Definizioni dichiarative sotto controllo di versione, un plan prima dell'apply, gestione dello stato e drift, con uno strumento citato per esperienza reale.

Risposta di esempio in inglese da esercitare ad alta voce

Infrastructure as code means that I describe servers, networks and databases in files instead of clicking in a console. I use a tool like Terraform. The files are stored in Git, so every change is reviewed, has a history and can be repeated in another environment. Terraform shows a plan before it applies changes, so the team sees what will be created or destroyed. It keeps a state file, which I store remotely with locking, so two people cannot change it at once. The main risks are configuration drift, when someone changes things by hand, and secrets in code. I keep secrets in a secret manager, not in the repository.

What do you monitor in a production service, and how do you decide what to alert on?

Che cosa monitori in un servizio in produzione e come decidi su che cosa mandare un alert?

Che cosa vuole sentire l'intervistatore. Metriche, log e trace; i quattro golden signal; alert sui sintomi che gli utenti avvertono, non su ogni possibile causa.

Risposta di esempio in inglese da esercitare ad alta voce

I use three kinds of data: metrics, logs and traces. For every service, I start with four basic signals: latency, traffic, errors and saturation, for example CPU, memory or queue length. I show them on a dashboard in a tool like Prometheus and Grafana. For alerts, I focus on symptoms that users feel, such as a high error rate or slow responses, and not on every internal detail. Each alert must be actionable and have a runbook. Too many alerts create alert fatigue, and then people ignore the important ones. I also define service level objectives, so the team knows what good means.

How do you handle a production incident?

Come gestisci un incidente in produzione?

Che cosa vuole sentire l'intervistatore. Prima mitigare, comunicare con chiarezza, trovare la causa in seguito e imparare da un postmortem senza colpe (blameless).

Risposta di esempio in inglese da esercitare ad alta voce

First I confirm the impact and tell people that we are working on it. Then I try to reduce the damage quickly. Often the fastest action is to roll back the last change or to turn off a feature flag, and only after that do I look for the root cause. I keep clear roles: one person leads, others investigate, and one person updates the stakeholders regularly. During the incident, I write down the timeline. After it is solved, we hold a blameless postmortem. We look at what in the system or the process allowed the failure, and we agree on concrete actions, such as a new alert or a test.

Come pronunciare i termini chiave

Kubernetes
cu-ber-nèt-iis
Docker
dò-cher
Terraform
tèr-a-form
YAML
iàm-ol
canary
ca-nèr-i
Prometheus
pro-mì-thi-us (il «th» è quello di «think»)
nginx
èn-gin-èks

Frasi utili per rispondere

  • Every change goes through the pipeline.Ogni modifica passa attraverso la pipeline.
  • We roll back first and investigate later.Prima facciamo il rollback e indaghiamo dopo.
  • It is all defined as code in Git.È tutto definito come codice in Git.
  • The alert is based on what users feel.L'alert si basa su ciò che avvertono gli utenti.
  • The same image runs in every environment.La stessa immagine gira in ogni ambiente.
  • We keep the blast radius small.Teniamo contenuto il blast radius, cioè il raggio d'impatto.
  • I would automate that step.Automatizzerei quel passaggio.
  • The postmortem is blameless.Il postmortem è blameless: non cerchiamo colpevoli.

Errori comuni da evitare

  • Elencare strumenti senza una storia. "I know Jenkins, Docker, Kubernetes and Terraform" dice poco. Di' quale problema ha risolto ciascuno strumento per il tuo team e che cosa è andato storto una volta.
  • Trattare DevOps come il titolo di chi fa i rilasci. Di' che riguarda la responsabilità condivisa tra sviluppo e operations.
  • Descrivere un rilascio senza rollback e monitoraggio. Una pipeline senza via di ritorno e senza modo di vedere gli errori è solo metà della risposta.
  • Confondere "deploy" e "release". Il deploy mette una versione sui server; il release la rende disponibile agli utenti. Possono avvenire in momenti diversi, per esempio dietro un feature flag.
  • Dire "infrastructures" o "softwares", sull'esempio dell'italiano «le infrastrutture». In questo significato entrambe le parole sono non numerabili: usa "infrastructure" e "software", oppure "pieces of software".

Domande frequenti

Quali strumenti devo conoscere per un colloquio DevOps?

Conoscine bene uno per ogni area: un sistema CI come GitHub Actions o Jenkins, Docker, un provider cloud, uno strumento di infrastructure as code e uno stack di monitoraggio. A chi intervista interessa più come li hai usati che la lunghezza dell'elenco.

Devo scrivere codice in un colloquio DevOps?

Spesso un poco: uno script shell, un piccolo compito in Python o un file di pipeline. Di' che cosa stai facendo mentre scrivi e cita la gestione degli errori e i log, perché un'automazione che fallisce in silenzio è pericolosa.

Come parlo di un incidente che ho causato io?

Raccontalo con onestà e in breve: che cosa è successo, come hai ridotto l'impatto e che cosa è cambiato dopo. Una storia senza colpe e con una lezione mostra maturità, mentre nascondere l'errore no.

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