Skip to content
tezvyn:
Menu

Interview

114 bites tagged Interview: interview questions with model answers, and 60-second explainers.

Test yourself: Top 30 Interview interview questions →Multiple choice, with the correct answer and why it is correct on every question. Free, no sign-in.
Monitoring & SRE1 min read

Structured vs unstructured logging: why it matters

Unstructured logs are free-text lines hard to parse; structured logs are machine-readable key-value or JSON records; structure enables reliable querying…

Monitoring & SRE2 min read

Why use latency percentiles over the average?

Averages hide the tail and are skewed by outliers, so most users can suffer while the mean looks fine; use percentiles; prioritize p99 when tail users are high-value or fan-out…

Monitoring & SRE1 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.

Monitoring & SRE1 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.

Monitoring & SRE2 min read

Error budget policy across dependent microservices?

Set per-service SLOs but anchor on user-facing journey SLOs, budget for dependency error via the multiplication of availabilities, attribute downstream-caused failures correctly, and use…

Monitoring & SRE2 min read

SRE vs traditional ops on a recurring alert?

Traditional ops repeatedly handles the alert manually and scales by adding people; SRE treats it as a bug, automates or eliminates the root cause, and scales sublinearly.

Monitoring & SRE1 min read

Risky launch with a near-empty error budget?

Contain blast radius via canary and feature flags, use progressive rollout tied to budget burn, negotiate explicit risk acceptance, add fast rollback.

Monitoring & SRE1 min read

What makes a blameless postmortem effective?

Cover summary, impact, timeline, root cause, action items; explain blameless means focusing on systemic causes so people report honestly.

Monitoring & SRE1 min read

How do you find and eliminate toil systematically?

Inventory and measure toil via time tracking or ticket analysis, prioritize by frequency times cost versus automation effort, automate highest-ROI items, measure success…

Monitoring & SRE1 min read

Error budget exhausted early: what now?

Invoke the error budget policy, shift focus from features to reliability, prioritize stability work, analyze what burned the budget.

Monitoring & SRE1 min read

How do you set SLOs for a service from scratch?

Identify critical user journeys, pick SLIs that reflect user happiness, measure current performance, set achievable targets with buffer, iterate.

Monitoring & SRE1 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.

Monitoring & SRE1 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.

Monitoring & SRE1 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.

Android & Kotlin2 min read

Explain touch event dispatch in a ViewGroup with a clickable child

It tests touch routing through the three key methods. A strong answer traces ACTION_DOWN from root to target, notes intercepting halts child delivery, and onTouchEvent true consumes while false bubbles up.

Android & Kotlin2 min read

What do the safe call and Elvis operators do in Kotlin?

?. yields null if receiver is null; ?: provides the right operand when left is null; chain as val len = str?.length ?: 0.

Vue, Angular & Svelte2 min read

How would you create a parameterized Svelte tooltip Action?

It tests your grasp of the Svelte Action lifecycle for reactive parameters. Answer: action takes node and parameter, returns update and destroy, bound as use:tooltip={text}. Using component events instead of the Action API, or omitting update, is a red flag.

UI Design & Figma2 min read

How would you use variants, booleans, and instance swap for a Button?

This tests fluency in Figma component properties for scalable design systems. Map variant properties to states, booleans to toggle the icon layer, and instance swap to change the icon type. Never suggest detached overrides or separate components per state.

UI Design & Figma2 min read

Main components vs instances: how to use Component Properties for multi-state Buttons?

This tests Figma component architecture. A main component is the source; an instance is a linked copy. Use variant properties for state and style, plus booleans for optional layers. Red flags: separate components per state or ignoring property controls.

TypeScript & Web APIs2 min read

How do you globally add a property to a third-party ButtonProps interface?

Tests TypeScript declaration merging and module augmentation. A strong answer uses a .d.ts file that declares the same module and interface name to merge the missing property globally. Red flag: suggesting edits inside node_modules or local wrapper types.

TypeScript & Web APIs2 min read

Create a generic State class with getState and setState

Write class State<T> with private T, constructor(T), getState(): T, and setState(T).

TypeScript & Web APIs2 min read

Explain generic constraints and provide a length-constrained generic example

Explain that extends requires properties; show T extends { length: number }; give a generic function signature.

TypeScript & Web APIs2 min read

Refactor a function using generics to accept any array type

It tests generic type parameters for preserving element types through a function boundary. Answer: declare T, accept T[], return T, and let the compiler infer the element type from the call site.

TypeScript & Web APIs2 min read

Implement inSequence(tasks) to execute promise-returning functions sequentially

Tests async/await control flow versus Promise.all parallelism. A strong answer uses a for-of loop with await inside an async function, accumulates results in order, and stops cleanly on rejection. Red flag: suggesting Promise.all or forEach with await.

Get Interview bites daily.

Five a day, five minutes, offline. With quizzes so it sticks.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon