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 109 questions
91.Explain the Azure hierarchy.BeginnerMicrosoft Azure
A tenant holds management groups. Management groups hold subscriptions. Subscriptions hold resource groups, and resource groups hold resources. Access and policy set at a higher level are inherited below.
92.What is a resource group?BeginnerMicrosoft Azure
A folder for resources that share a life cycle, such as one app's parts. A resource is in exactly one group, and deleting the group deletes everything inside.
93.What are Entra ID and RBAC?BeginnerMicrosoft Azure
Entra ID proves who you are. RBAC decides what you may do, as a role given to an identity at a scope. Roles at a higher scope also apply to everything below.
94.How do you stop paying for a VM?BeginnerMicrosoft Azure
Deallocate it from Azure. Stopping it from inside the operating system keeps the hardware reserved and billing continues. Disks are still billed when deallocated.
95.What is the difference between a region and a zone?BeginnerGoogle Cloud (GCP)
A region is a place in the world made of several zones. A zone is one data center area inside it. Zones can fail on their own, so important apps run in two or more zones.
96.What is the difference between a project name and a project ID?BeginnerGoogle Cloud (GCP)
The name is a label you can change. The ID is unique worldwide and cannot be changed. Commands and APIs use the ID.
97.What are the three parts of an IAM binding?BeginnerGoogle Cloud (GCP)
A principal (who), a role (what they can do) and a resource (where). A set of bindings on a resource is its IAM policy.
98.Why avoid the Owner and Editor roles for daily work?BeginnerGoogle Cloud (GCP)
They are very wide and can change almost everything. Use predefined roles for one service, and custom roles when none fit.
99.Which GCP service would you use to run a container with no servers to manage?BeginnerGoogle Cloud (GCP)
Cloud Run. It gives a URL, scales with traffic and can scale to zero.
100.What are the three pillars of observability?BeginnerMonitoring with Prometheus, Grafana & Datadog
Metrics, logs and traces. Metrics are numbers over time, logs are text records of events, and traces follow one request through many services.
101.What are the four golden signals?BeginnerMonitoring with Prometheus, Grafana & Datadog
Latency, traffic, errors and saturation. Watching these four tells you most of what users feel.
102.How does Prometheus collect data?BeginnerMonitoring with Prometheus, Grafana & Datadog
It pulls. Every scrape interval it visits each target's /metrics page and stores the numbers. If a scrape fails, the up metric becomes 0.
103.What is the difference between a counter and a gauge?BeginnerMonitoring with Prometheus, Grafana & Datadog
A counter only goes up (until a restart), like total requests. A gauge goes up and down, like memory in use. You usually take the rate of a counter.
104.What is a label, and why can too many be a problem?BeginnerMonitoring with Prometheus, Grafana & Datadog
A label splits a metric into separate series, for example by status code. Every unique label combination is a new series, so labels with many values (like user id) use huge memory. This is high cardinality.
105.What does shift left mean?BeginnerDevSecOps
Moving security checks earlier in the development process, close to the developer, where problems are cheap to fix. It adds checks earlier and does not remove later ones.