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 76–90 of 108 questions

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

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

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

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

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

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

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

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

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

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

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

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

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

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

90.What is the difference between a threat, a vulnerability and a risk?BeginnerDevSecOps

A threat is something that can cause harm, like an attacker. A vulnerability is a weakness it can use. Risk is how likely harm is, multiplied by how bad it would be.