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–15 of 18 questions

Internal developer platforms, golden paths, Backstage, self-service and running a platform as a product.

1.What is platform engineering?Beginner

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.

2.What is a golden path?Beginner

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.

3.How is platform engineering different from DevOps?Beginner

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.

4.What is Backstage?Beginner

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.

5.What does 'self-service' mean for a platform?Beginner

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.

6.How do you measure whether a platform is successful?Mid

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.

7.What is the difference between a software template and a shared library or module?Mid

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.

8.How would you give teams their own Kubernetes environments safely?Mid

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.

9.What is Crossplane, and why would a platform team use it?Mid

Crossplane lets you create cloud resources (databases, buckets, queues) with Kubernetes APIs. The platform team defines simple composite resources like PostgresInstance that hide the details, and developers request them with YAML through GitOps.

10.How do you avoid the platform becoming a bottleneck?Mid

Make common work self-service, publish clear APIs and docs, accept contributions from other teams (inner source), keep an escape hatch for special cases, and measure where developers wait. A ticket queue that grows is a signal to automate.

11.What belongs in a service template?Mid

Repository layout, a Dockerfile, CI/CD pipeline, Helm chart or Kustomize base, health checks, logging and metrics setup, alerts and dashboards, security scanning, CODEOWNERS and a catalog entry with the owner. Everything a new service needs on day one.

12.How do you manage developer environments and preview environments?Mid

Use dev containers or cloud workspaces for consistent local setups, and create short-lived preview environments per merge request (namespace or vcluster plus a URL) that are deleted automatically when the MR closes.

13.How would you design an internal developer platform from scratch?Senior

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.

14.How do you migrate many teams onto a new platform?Senior

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.

15.How do you handle multi-tenancy and cost in a shared platform?Senior

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.