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 91–105 of 108 questions

91.Name three items on the OWASP Top 10 and a fix for one.BeginnerDevSecOps

Broken access control, injection and security misconfiguration are examples. For injection, use parameterized queries so input is always treated as data.

92.A developer committed an API key and deleted it in the next commit. Is it safe now?BeginnerDevSecOps

No. The key is still in Git history and must be treated as stolen. Revoke it, create a new one, check logs for misuse, and add scanning to prevent a repeat.

93.What is the difference between SAST and DAST?BeginnerDevSecOps

SAST reads source code without running it and finds code patterns early. DAST attacks a running application from outside and finds runtime issues such as missing headers. They find different things, so use both.

94.What is SRE?BeginnerSRE Practices

Site reliability engineering applies software engineering to operations. SREs set reliability targets, automate manual work, and use data to balance new features with stability.

95.How is SRE different from DevOps?BeginnerSRE Practices

DevOps is a set of ideas about cooperation, automation and learning. SRE is a concrete way to do it, with SLOs, error budgets, a cap on toil and defined practices for incidents and postmortems.

96.What is toil?BeginnerSRE Practices

Manual, repetitive work that could be automated, is reactive, gives no lasting improvement, and grows with the service. SREs aim to keep it under about half of their time.

97.What are the four golden signals?BeginnerSRE Practices

Latency, traffic, errors and saturation. Together they show how a user-facing service is behaving.

98.What are SLI, SLO and SLA?BeginnerSRE Practices

An SLI is a measurement, an SLO is the internal target for it, and an SLA is a contract with customers that has consequences. The SLO should be stricter than the SLA.

99.Why not aim for 100% availability?BeginnerSRE Practices

It is extremely costly, nearly impossible, and slows all change. Users cannot tell the difference beyond the reliability of their own devices and networks, so choose a realistic target.

100.Why are GPUs used for AI instead of CPUs?BeginnerAI Infrastructure & GPUs

AI work is huge amounts of similar maths. A GPU has thousands of small workers that do it in parallel, so it is far faster than a CPU for this job.

101.What is the difference between training and inference?BeginnerAI Infrastructure & GPUs

Training teaches a model using lots of data and GPU time. Inference uses the trained model to answer requests. Most teams spend most of their effort on inference because every user request uses it.

102.How do you estimate whether a model fits on a GPU?BeginnerAI Infrastructure & GPUs

Multiply the number of parameters by the bytes per parameter (2 for FP16). A 7B model in FP16 needs about 14 GB. Add 20 to 50 percent for the KV cache and working space.

103.Where does the NVIDIA driver live when you run GPU containers?BeginnerAI Infrastructure & GPUs

On the host. The NVIDIA Container Toolkit passes the GPU into containers, and each container brings its own CUDA libraries. The host driver must be new enough for the container's CUDA.

104.What is platform engineering?BeginnerPlatform Engineering

Building and running an internal developer platform (IDP): shared tools, templates and self-service so product teams can build, deploy and run software without each team solving infrastructure again. The platform is treated as a product with developers as its customers.

105.What is a golden path?BeginnerPlatform Engineering

A supported, well-documented default way to do a common task, for example a service template with CI/CD, monitoring and security already wired in. Teams can leave the path, but the easy road is also the safe one.