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 466–480 of 490 questions

466.How do you autoscale an LLM service?SeniorAI Infrastructure & GPUs

Scale on queue length or latency, not CPU. Scale up quickly and down slowly, keep a warm minimum, pre-pull images and cache the model on fast storage. Remember that node start plus model load can take many minutes, and plan GPU quota.

467.What is the KV cache and why does it matter?SeniorAI Infrastructure & GPUs

The model keeps notes about earlier tokens to avoid recomputing them. This cache grows with prompt length, answer length and user count and sits in GPU memory, so it limits concurrency. Paged caches, cache quantization, prefix caching and a lower max length help.

468.What does an LLM gateway give you?SeniorAI Infrastructure & GPUs

One stable API in front of many models, with per-team keys and token budgets, rate limits, routing, fallbacks, caching and cost tracking. It also gives a place to add guardrails and logging.

469.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.

470.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.

471.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.

472.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.

473.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.

474.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.

475.How is platform engineering different from DevOps?BeginnerPlatform Engineering

DevOps is a culture and set of practices: teams own their software from code to production. Platform engineering is one way to scale that: a dedicated team builds self-service tools so every team can practice DevOps without becoming infrastructure experts.

476.What is Backstage?BeginnerPlatform Engineering

An open-source developer portal from Spotify (now a CNCF project). It provides a software catalog of services and owners, software templates to create new services, TechDocs for documentation, and plugins for CI, Kubernetes, cost and more.

477.What does 'self-service' mean for a platform?BeginnerPlatform Engineering

Developers get what they need (a new service, a database, an environment, a DNS name) through a portal, CLI or Git pull request in minutes, without opening a ticket and waiting for another team.

478.How do you measure whether a platform is successful?MidPlatform Engineering

Use DORA metrics (deployment frequency, lead time, change failure rate, time to restore), adoption of golden paths, time to first deploy for a new service, number of tickets to the platform team, and regular developer satisfaction surveys.

479.What is the difference between a software template and a shared library or module?MidPlatform Engineering

A template creates a new repository once from a starting point (scaffolding); after that the team owns the copy. A shared library, Terraform module or CI component is referenced and versioned, so improvements reach every user when they upgrade.

480.How would you give teams their own Kubernetes environments safely?MidPlatform Engineering

Use namespaces per team or app with RBAC, ResourceQuotas and LimitRanges, default-deny NetworkPolicies, policy-as-code (Kyverno or OPA Gatekeeper) and GitOps for changes. Use separate clusters when you need hard isolation, for example for compliance or noisy workloads.