Tutte le specialitàTecnologia · Colloquio di lavoro

Cybersecurity

I colloqui di sicurezza premiano il pensiero chiaro sotto pressione. Allenati a spiegare minacce, difese e decisioni con frasi inglesi brevi e calme.

Parole → espressioni → frasi → parlato

Prova SpeakRole ↗
Colloquio di lavoroCybersecurity
V

How would you respond to a suspected credential leak?

0:18
Domanda dell’intervistatore

Cybersecurity

Chi intervista in ambito sicurezza ascolta due cose: un modo strutturato di pensare al rischio e la capacità di spiegarlo a chi non è un esperto di sicurezza. Un lungo elenco di attacchi senza un piano di difesa non fa colpo. Una spiegazione breve e chiara con un esempio concreto, sì.

Per ogni argomento usa quest'ordine: che cos'è la minaccia o il controllo, come funziona e che cosa faresti in un sistema reale. Aggiungi il compromesso quando c'è, perché la sicurezza è sempre in competizione con usabilità, velocità e costi.

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

Domande comuni e risposte di esempio

How do you approach threat modelling?

Come affronti il threat modelling?

Che cosa vuole sentire l'intervistatore. Un metodo ripetibile: un diagramma del sistema, i confini di fiducia, una checklist delle minacce e una decisione per ogni rischio.

Risposta di esempio in inglese da esercitare ad alta voce

Threat modelling means thinking like an attacker before the system is built or changed. I start by drawing the system: the components, the data flows and the trust boundaries, for example where data comes from the internet. Then I ask what can go wrong at each point. A simple checklist is STRIDE: spoofing, tampering, repudiation, information disclosure, denial of service and elevation of privilege. I rank the threats by impact and likelihood, and for each one I decide to fix it, reduce it, accept it or transfer it. The result is a short list of actions for the backlog. It is cheaper to find a design problem on a diagram than in production.

What is the difference between authentication and authorisation?

Qual è la differenza tra autenticazione e autorizzazione?

Che cosa vuole sentire l'intervistatore. Due domande distinte: chi sei e che cosa puoi fare. Più il principio del privilegio minimo e un tipico bug di controllo degli accessi.

Risposta di esempio in inglese da esercitare ad alta voce

Authentication answers the question: who are you? Authorisation answers the question: what are you allowed to do? They are separate steps. For authentication, I use a proven solution, such as an identity provider with OpenID Connect, and multi-factor authentication for sensitive accounts. I never build my own password system. For authorisation, I check permissions on the server for every request, not only in the user interface. I follow the principle of least privilege: each user, service and token gets only the access that it needs, and nothing more. A typical bug is a user changing an ID in the URL and seeing the data of another person. That is broken authorisation, and I test for it.

Can you explain SQL injection and cross-site scripting, and how to prevent them?

Puoi spiegare la SQL injection e il cross-site scripting e come prevenirli?

Che cosa vuole sentire l'intervistatore. Un meccanismo chiaro per ogni attacco e la correzione giusta: separare dati e codice, non solo filtrare l'input.

Risposta di esempio in inglese da esercitare ad alta voce

Take SQL injection. The attacker puts SQL code into an input, and if the application builds the query by joining strings, the database runs that code. The fix is to use parameterised queries, so data and commands are always separate. Cross-site scripting, or XSS, is similar: the attacker gets their JavaScript to run in the browser of another user. To prevent it, I encode output for the correct context, avoid inserting raw HTML, and add a content security policy as an extra layer. I also validate input, but I do not rely on it alone, because the real protection is how the data is used. Regular updates and dependency scanning help against known vulnerabilities.

What is the difference between symmetric and asymmetric encryption, and how do you store passwords?

Qual è la differenza tra crittografia simmetrica e asimmetrica e come conservi le password?

Che cosa vuole sentire l'intervistatore. Due tipi di chiavi, come li combina TLS e la differenza tra hashing e cifratura.

Risposta di esempio in inglese da esercitare ad alta voce

Symmetric encryption uses one key to encrypt and decrypt, for example AES. It is fast, so it is good for large amounts of data. Asymmetric encryption uses a public key and a private key. It is slower, so it is used to agree on keys and to make digital signatures. TLS combines both: asymmetric cryptography to set up the connection, and symmetric encryption for the traffic. I encrypt data in transit with TLS, and sensitive data at rest. Passwords are different. I never encrypt them. I hash them with a slow algorithm and a unique salt, such as bcrypt, scrypt or Argon2. Keys belong in a secrets manager, not in the code.

What do you do when you suspect a security breach?

Che cosa fai quando sospetti una violazione di sicurezza (breach)?

Che cosa vuole sentire l'intervistatore. Le fasi della risposta all'incidente in ordine: confermare, contenere, eliminare, ripristinare, imparare, e una comunicazione chiara in ogni momento.

Risposta di esempio in inglese da esercitare ad alta voce

First, I stay calm and follow the incident plan. I confirm that it is a real incident and decide how serious it is. Then I contain it: isolate the affected systems, disable the compromised accounts and rotate the keys, but I try to keep the evidence, such as logs. Next comes eradication: find the root cause, remove the access of the attacker and fix the vulnerability. Then recovery: restore from clean backups and watch the systems closely. Communication matters during the whole process. The right people must know early, and sometimes the law requires us to tell customers or regulators. Afterwards, we hold a blameless review and improve our process.

Come pronunciare i termini chiave

authentication
o-thèn-ti-chèi-shon (il «th» è quello di «think»)
authorisation
o-tho-ri-zèi-shon
vulnerability
val-ne-ra-bìl-i-ti
encryption
en-crìp-shon
privilege
prìv-i-lidj
phishing
fì-shing
cross-site scripting
cròs-sàit scrìp-ting

Frasi utili per rispondere

  • Let me think like an attacker for a moment.Fammi pensare per un momento come un attaccante.
  • The first step is to contain the damage.Il primo passo è contenere i danni.
  • I would apply the principle of least privilege.Applicherei il principio del privilegio minimo.
  • We never trust input from the client.Non ci fidiamo mai dell'input che arriva dal client.
  • The risk depends on the impact and the likelihood.Il rischio dipende dall'impatto e dalla probabilità.
  • I would not build my own cryptography.Non costruirei una mia crittografia.
  • Security is always a trade-off with usability.La sicurezza è sempre un compromesso con l'usabilità.
  • As far as I know, the current recommendation is…Per quanto ne so, la raccomandazione attuale è…

Errori comuni da evitare

  • Confondere "authentication" e "authorisation", o dirle troppo in fretta. Pronunciale lentamente e tieni pronto il significato: la prima è chi sei, la seconda è che cosa puoi fare.
  • Dire "encrypt the password". Le password si fanno passare per un hash, non si cifrano, perché il sistema non ha mai bisogno di rileggerle. Di' "hash and salt".
  • Elencare gli attacchi senza le difese. Per ogni attacco che nomini, aggiungi una frase su come prevenirlo o rilevarlo.
  • Dire che un sistema è "100 percent secure". La sicurezza significa ridurre il rischio, quindi di' che cosa accetti e come ti accorgeresti di un problema.
  • Usare "hacker" per ogni attaccante. In un colloquio, "attacker", "threat actor" e "breach" sono più precisi e suonano più professionali.

Domande frequenti

Devo conoscere la OWASP Top 10?

Dovresti conoscere le idee principali di questo elenco dei rischi più comuni delle applicazioni web, come l'injection e il broken access control. OWASP lo aggiorna ogni tanto, quindi controlla la versione attuale. Sii pronto a spiegare due o tre voci con un vero passo di prevenzione.

Come rispondo se non ho mai lavorato in un team di sicurezza?

La maggior parte degli sviluppatori ha più esperienza di sicurezza di quanto creda. Parla della gestione dei segreti, dell'impostazione dei permessi, della revisione delle dipendenze, della correzione di una vulnerabilità o dell'aggiunta dell'autenticazione a più fattori. Descrivi un caso reale con il risultato.

Posso parlare di un incidente reale?

Sì, se eviti i dettagli riservati. Non nominare clienti o sistemi interni. Di' "a production service" e concentrati su che cosa è successo, che cosa hai fatto e che cosa hai cambiato dopo. A chi intervista piacciono le lezioni oneste.

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