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–9 of 9 questions

Learn Google Cloud (GCP) →
1.Why avoid service account key files, and what do you use instead?Senior

Keys are long-lived secrets that leak easily. Use attached service accounts on GCP, impersonation for people, Workload Identity Federation for CI and other clouds, and Workload Identity for GKE pods.

2.Why must a workload identity pool provider have an attribute condition?Senior

Without it, any identity from that outside system could try to use the pool. A condition such as the repository name limits who can act as the service account.

3.What is the difference between GKE Autopilot and Standard?Senior

In Autopilot Google manages nodes and you pay for pod resources. In Standard you manage node pools and pay for the VMs. Start with Autopilot unless you need node-level control.

4.How do you roll out a risky change on Cloud Run?Senior

Deploy a new revision with no traffic and a tag, test it, send a small share of traffic, watch errors, then increase or roll back by changing traffic splits.

5.Which Terraform IAM resource is safe to use, and why?Senior

google_project_iam_member, because it adds one member to a role. _binding replaces all members of a role, and _policy replaces the whole policy, which can remove access.

6.What is an organization policy and how is it different from IAM?Senior

It limits what is possible below a node, such as no external IPs or no service account keys. IAM limits who may act. Both inherit downwards.

7.What is a landing zone?Senior

A ready base for a company: folder structure, groups and IAM, organization policies, shared networking, central logging, Security Command Center, billing and a project factory, built as code.

8.What is a fleet in GKE and why use one?Senior

A group of clusters managed together. Config Sync, Policy Controller, shared identity and multi-cluster traffic give the same rules and a global entry point across clusters.

9.How do an SLO and an error budget guide releases?Senior

The SLO is the reliability target, such as 99.9%. The error budget is the failure still allowed. With budget left you can ship. When it is used up, slow releases and fix reliability. Burn-rate alerts warn early.