Skip to content
tezvyn:

☁️DevOps & Cloud

Infrastructure, containers, CI/CD, and cloud

292 bites

Test yourself: Top 30 easy DevOps & Cloud interview questionsMultiple choice, with the correct answer and why it is correct on every question. Free, no sign-in.

Easy everything in DevOps & Cloud, page 2

easy1 min read

Core components of Prometheus

Server scrapes targets found via service discovery, stores samples in a local time-series database, with Alertmanager and exporters as helpers.

easy2 min read

Essential tags for a request latency metric

Add method, route template, status code, and maybe service or region; they enable slicing while staying low-cardinality.

easy1 min read

Structured vs unstructured logging

Unstructured logs are free-text lines; structured logs are machine-readable key-value or JSON, enabling reliable parsing, filtering, and aggregation.

easy2 min read

The three pillars of observability

Metrics show what and when via cheap aggregates, logs give detailed per-event context, traces show where across services.

easy2 min read

Proposing availability and latency SLIs for an auth API

Availability as the ratio of successful valid requests; latency as the fraction served under a threshold; measure at the edge from the user's view.

easy2 min read

What is an error budget?

Error budget is one minus the SLO, the allowed unreliability; it gates feature velocity versus reliability work.

easy2 min read

Relationship between SLI, SLO, and SLA

SLI is the measured metric, SLO is the internal target for that metric, SLA is the external contract with consequences.

easy1 min read

What are the Four Golden Signals?

Name latency, traffic, errors, and saturation; explain each briefly; describe measuring latency as a distribution separating success from failure.

easy1 min read

Explain the three pillars of observability

Metrics are cheap aggregated time series for detecting and alerting, logs are discrete event records for detail and context, traces follow one request across services to localize latency.

easy1 min read

How do SRE and DevOps relate?

DevOps is a broad culture of breaking down silos; SRE is one prescriptive way to do it with specific practices.

easy1 min read

SLI vs SLO vs SLA: how do they relate?

SLI is a measured metric, SLO is the internal target for that metric, SLA is the external contract with consequences.

easy1 min read

What defines toil, with an example?

Define toil as manual, repetitive, automatable, tactical, no-enduring-value, scaling-with-growth work; distinguish it from overhead; give a concrete example.

easy1 min read

kube-state-metrics versus node-exporter

Kube-state-metrics exposes API object state (deployment replicas, pod phase, restarts) from the control plane, while node-exporter exposes OS-level hardware metrics (CPU, memory, disk) per…

easy1 min read

Viewing pod logs and durable log collection

Kubectl logs (with -c, --previous, -f) reads container stdout/stderr; because that storage is ephemeral, run a node-level logging agent as a DaemonSet shipping logs to a central store.

easy1 min read

First NetworkPolicy flips a pod to default-deny

Once any policy selects a pod for a direction, that direction becomes default-deny and only explicitly allowed traffic passes; unselected pods stay open.

easy1 min read

Role versus ClusterRole in RBAC

Role is namespaced, ClusterRole is cluster-wide and covers cluster-scoped resources, and you grant either via a RoleBinding (namespaced) or ClusterRoleBinding (cluster-wide) to a subject.

easy1 min read

How do you stop new Pods scheduling on a node?

Kubectl cordon marks the node unschedulable so no new Pods land, while existing Pods keep running; drain is the follow-up that also evicts them.

easy1 min read

How do you pin a Pod to nodes with a given label?

The simplest tool is nodeSelector, a key-value map in the Pod spec requiring matching node labels; node affinity is the richer alternative for complex rules.

easy1 min read

Requests vs limits for CPU and memory?

Requests guide scheduling and reservation, limits cap usage; exceeding a CPU limit throttles the container, while exceeding a memory limit triggers an OOMKill since memory is incompressible.

easy1 min read

Bind mounts vs named volumes for persisting Docker data?

Persist data outside the writable container layer via a bind mount (a host path you control) or a named volume (Docker-managed under its data dir, portable and the recommended default).

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles