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 181–190 of 190 questions
181.How do you secure a RAG application?SeniorAI Infrastructure & GPUs
Treat retrieved text and user input as untrusted, filter retrieval by the user's permissions, limit tools and require approval for risky actions, validate outputs, use safe model formats such as safetensors, and set token and budget limits.
182.Slurm or Kubernetes with Kueue for a large GPU cluster?SeniorAI Infrastructure & GPUs
Slurm is mature for batch training with fair share, backfill and topology awareness. Kubernetes with Kueue fits teams that also run inference and services on one platform. Many companies use both, and choose by team skills and workload mix.
183.How would you size and buy GPUs for an inference service?SeniorAI Infrastructure & GPUs
Measure tokens per second per GPU with a load test, divide peak demand by that and a target use of about 70 percent, add a spare, then reserve the steady base, use on-demand for peaks and spot for batch work with checkpoints.
184.You must cut inference cost by 30 percent without hurting users. What do you try?SeniorAI Infrastructure & GPUs
Load test and look for idle capacity. Try prefix caching, a tighter max model length, quantization with a quality check, a smaller model for easy requests through the gateway, better batching, and scaling on queue length with right-sized reserved capacity. Verify quality and latency after each change.
185.How would you design an internal developer platform from scratch?SeniorPlatform Engineering
Start with developer pain: interview teams and measure lead time. Build a thin platform first: a catalog, one golden path for the most common service type, CI/CD, GitOps deploys to Kubernetes, observability and secrets. Treat it as a product with a roadmap, docs and feedback, and add capabilities based on demand.
186.How do you migrate many teams onto a new platform?SeniorPlatform Engineering
Make the new path clearly better (faster, safer, less work), migrate a few friendly teams first and fix problems, provide migration tools and office hours, publish a deprecation timeline for the old way, and track progress per team. Avoid big-bang mandates.
187.How do you handle multi-tenancy and cost in a shared platform?SeniorPlatform Engineering
Label every resource with team and service, use quotas and limits, show cost per team (Kubecost or cloud cost tools) and right-size requests. Isolate noisy or sensitive workloads on separate node pools or clusters, and make costs visible in the portal.
188.How do you keep platform APIs stable while improving them?SeniorPlatform Engineering
Version APIs and modules, follow SemVer, support at least one previous major version, announce deprecations with dates, provide automated upgrade tooling (Renovate, codemods), and test upgrades against real service templates before release.
189.What is the 'platform as a product' mindset in practice?SeniorPlatform Engineering
Have a product owner, a roadmap and user research. Write docs and onboarding first, measure adoption and satisfaction, support users like customers, and say no to features that serve one team but add cost for all.
190.How do you enforce security and compliance without slowing teams down?SeniorPlatform Engineering
Build guardrails into the golden path: pre-approved base images, scanning in CI, policy-as-code at admission, secrets from a manager, and least-privilege roles created automatically. Developers on the path pass compliance by default; exceptions are visible and time-limited.