Skip to content
$ lynuxpro

INTERVIEW PREP

Interview questions

570 questions from real DevOps, SRE, platform engineering and MLOps interviews, with the answer an interviewer wants to hear. Try answering out loud first, then open the model answer.

Showing 1–5 of 5 questions

Learn SonarQube & Code Quality →
1.What is static analysis?Beginner

It reads source code and finds known problem patterns without running the program. It is fast and safe, and works next to tests and code review.

2.What is a quality gate?Beginner

A pass or fail rule made of conditions, such as no new bugs and at least 80% coverage on new code. If a condition fails, the gate fails and the pipeline can stop.

3.What is the difference between a bug, a vulnerability and a code smell?Beginner

A bug is code that will probably behave wrongly. A vulnerability is code an attacker could abuse. A code smell works but is hard to read or change.

4.What does the scanner do, and what does the server do?Beginner

The scanner reads your code and sends a report. The server stores the results, applies the rules and decides if the quality gate passes.

5.Why does SonarQube need a database like PostgreSQL?Beginner

It stores every analysis, issue and setting. The built-in test database is only for evaluation and cannot be upgraded.