Skip to content
Tech Interview Prep home
Technical interview guide

Consensus Mechanisms

How a distributed network of untrusted nodes agrees on a single canonical transaction history — Proof of Work, Proof of Stake, and BFT-style consensus.

Read
45 min
Practice MCQs
25
Interview QA
25
Edition
v3
Editorial status
Reviewed

Scope: NISTIR 8202; Bitcoin white paper; Ethereum proof-of-stake documentation reviewed 2026-09-04; CometBFT main specification reviewed 2026-09-04; PBFT, HotStuff, and Raft papers.

Interview QA

Treat each question like a live interview question: answer out loud first (structure, assumptions, tradeoffs), then open the model answer to spot gaps and rehearse a tighter follow-up.

Curated: · Written: · Reviewed:

QA-1

Define safety and liveness for a blockchain protocol.

QA-2

Choose between crash-fault and Byzantine-fault consensus.

QA-3

Tune and operate consensus timeouts under partial synchrony.

QA-4

Explain why BFT quorum intersection prevents conflicting commits.

QA-5

How does Proof-of-Stake handle the nothing-at-stake problem and long-range attacks, and what role does weak subjectivity play?

QA-6

Handle a faulty leader in a BFT protocol.

QA-7

Explain locks and safe unlocking across consensus rounds.

QA-8

How does Ethereum's Gasper combine Casper FFG and LMD GHOST to achieve safety and liveness?

QA-9

Explain Bitcoin-style probabilistic settlement.

QA-10

Evaluate a proof-of-work network's security budget.

QA-11

Compare proof of work and proof of stake.

QA-12

Design safe validator signing and slashing protection.

QA-13

How do PoS consensus protocols manage the trade-off between liveness and safety during prolonged network partitions or validator inactivity?

QA-14

How do you test and verify safety invariants in a distributed consensus implementation using deterministic simulation and formal verification?

QA-15

Contrast deterministic and probabilistic finality.

QA-16

Design transaction status for a consensus-backed product.

QA-17

Make a consensus application deterministic.

QA-18

Specify a safe consensus vote envelope.

QA-19

Design safe validator-set reconfiguration.

QA-20

Bootstrap and update a proof-of-stake light client safely.

QA-21

Evaluate a HotStuff-style protocol for production.

QA-22

Threat-model the economics of a consensus attack.

QA-23

Design crash-safe high availability for a validator signer.

QA-24

Build a consensus verification matrix for release.

QA-25

Choose a consensus architecture for a new product.