Quiz: Consensus Mechanisms
20 multiple-choice questions · Click an option to check your answer
Question 1
A junior developer asks: "Why can't blockchain nodes simply vote on which transactions to include, with the majority winning?" Which answer best explains the fundamental problem with naive majority voting in an open network?
- (A) Voting requires all nodes to be online simultaneously, which is impractical
- (B) Majority voting does not work if the number of nodes is even
- (C) An attacker can create millions of fake identities to win any vote —
- (D) Voting is too slow because nodes are geographically distributed
Question 2
The Byzantine Generals Problem requires that n > 3f for agreement, where f is the number of faulty nodes. A blockchain network has 12 validator nodes. What is the maximum number of Byzantine (malicious) nodes the network can tolerate while still reaching consensus?
- (A) 4
- (B) 3
- (C) 6
- (D) 2
Question 3
A blockchain uses Proof of Work. A financial analyst claims: "PoW is secure because solving the puzzle requires enormous computation, but verifying the solution is trivial." Which cryptographic property makes this asymmetry possible?
- (A) The collision resistance of hash functions
- (B) The one-way nature of hash functions
- (C) The deterministic output of hash functions
- (D) The fixed output size of hash functions
Question 4
An investor reads that Ethereum "achieved finality after The Merge" and interprets this as "transactions can never be reversed on Ethereum." Which clarification is most accurate?
- (A) Finality on Ethereum is deterministic after two epochs: reversal would
- (B) Finality means that Ethereum transactions are confirmed in under one second
- (C) Finality simply means that Ethereum no longer uses Proof of Work
- (D) Finality guarantees that no hard fork can ever change Ethereum's history
Question 5
A Bitcoin miner constructs a candidate block with 2,000 transactions. The current difficulty target requires the block hash to start with 19 leading zeros (in binary). The miner starts with nonce = 0 and increments by 1. After 500 million attempts, no valid hash has been found. What should the miner do?
- (A) Increase the difficulty target to make the puzzle easier
- (B) Switch to a different hash algorithm that is more likely to produce leading zeros
- (C) Continue incrementing the nonce — finding a valid hash is statistically expected
- (D) Restart from nonce = 0 with the same block, since the random process resets
Question 6
Bitcoin's difficulty adjusts every 2,016 blocks to target a 10-minute average block time. Over the last 2,016 blocks, the average block time was 8 minutes (total: 11.2 days instead of 14 days). How will the difficulty change?
- (A) Difficulty increases by 20% because (10 − 8) / 10 = 20%
- (B) Difficulty decreases by 20% to slow block production
- (C) Difficulty remains unchanged until the next halving event
- (D) Difficulty increases by 25% because blocks were produced
Question 7
An Ethereum validator stakes 32 ETH (worth $64,000 at current prices). The validator's software has a bug that causes it to sign two conflicting blocks at the same slot height. What is the immediate consequence under Ethereum's PoS protocol?
- (A) The validator loses their next block proposal opportunity but keeps their stake
- (B) The network ignores both blocks and selects a different validator
- (C) The validator receives a warning and must restart their node
- (D) The validator is slashed: a minimum of 1/32 of their stake is burned and they
Question 8
Two Bitcoin miners, Miner A and Miner B, simultaneously find valid blocks at height 700,001. Miner A's block is received by 60% of the network first; Miner B's block reaches the other 40%. What determines which block becomes part of the permanent chain?
- (A) The block with the lower hash value (smaller number) wins
- (B) Whichever chain gets the next block built on top of it
- (C) The network holds a vote among all nodes to decide
- (D) The block that was timestamped first wins
Question 9
A consortium of banks wants to build a private blockchain for interbank settlements. They need instant finality (no probabilistic waiting) and have exactly 10 pre-approved validator nodes. Which consensus mechanism is most appropriate?
- (A) No consensus needed — with only 10 trusted banks, a shared database suffices
- (B) Proof of Work — proven security from Bitcoin
- (C) PBFT — deterministic finality with a known validator set
- (D) Proof of Stake — energy efficient and modern
Question 10
After Bitcoin's 2024 halving, the block reward dropped from 6.25 BTC to 3.125 BTC. A mining company's revenue falls accordingly. Assuming transaction fees remain constant, how must the company adapt to remain profitable?
- (A) Invest in more energy-efficient mining hardware and/or relocate
- (B) Wait for the next halving, which will restore the previous reward
- (C) Switch to mining Ethereum instead (higher rewards)
- (D) Increase the difficulty target to mine blocks faster
Question 11
A blockchain startup claims their new "Proof of Reputation" mechanism selects block producers based on their social media following. An advisor warns this is vulnerable to Sybil attacks. Why?
- (A) Social media APIs are too slow for real-time consensus
- (B) Proof of Reputation has already been patented by another company
- (C) Social media platforms are centralized, creating a single point of failure
- (D) Social media followers can be purchased cheaply
Question 12
A payment company considers using blockchain and compares finality times. Their requirement is that transactions must be irrevocable within 10 seconds. Which consensus mechanism(s) can meet this requirement?
- (A) All of the above
- (B) Bitcoin PoW (6 confirmations)
- (C) Tendermint BFT
- (D) Ethereum PoS (2 epochs)
Question 13
Consider the blockchain trilemma. Solana achieves high throughput (65,000 TPS) by requiring validators to run on high-specification hardware (128 GB RAM, high-bandwidth connections). Which trilemma trade-off does this represent?
- (A) Sacrificing security for scalability
- (B) Sacrificing scalability for decentralization
- (C) Sacrificing decentralization for scalability
- (D) No trade-off — Solana has solved the trilemma
Question 14
In Proof of Stake, wealthy validators have a higher probability of being selected to propose blocks and earn rewards. A critic argues this creates a "rich get richer" dynamic. Compare this to Proof of Work. Is the same dynamic present in PoW?
- (A) Yes — in PoW, wealthier miners buy more hardware
- (B) Yes — but only because electricity costs are higher for small miners
- (C) No — PoW is purely random, so hash power does not correlate with wealth
- (D) No — in PoW, anyone with a laptop can mine profitably, so wealth does not concentrate
Question 15
An attacker controls 40% of a PoW network's hash power. They attempt to execute a double-spend by mining a private chain. Analyze the probability of success. Is this attack likely to succeed?
- (A) No — the network automatically detects and blocks miners with more than 30% hash power
- (B) No — with 40% hash power
- (C) Yes — 40% is close enough to 50% that the attacker will occasionally outpace the honest chain
- (D) Yes — the attacker only needs to get lucky once
Question 16
Ethereum's Proof of Stake uses "inactivity leaks" that gradually drain the stake of validators who go offline during a finality crisis. Why is this mechanism necessary?
- (A) To punish validators who use too much bandwidth
- (B) To ensure the network can recover finality even if a large
- (C) To incentivize validators to upgrade their hardware regularly
- (D) To reduce the total supply of ETH and increase its price
Question 17
A financial regulator examines two blockchain networks: Network A uses PoW with 10,000 anonymous miners worldwide; Network B uses PBFT with 20 identified bank validators. Which network is more censorship-resistant, and why?
- (A) Network B — fewer validators means faster processing, leaving less time for censorship
- (B) Network B — the banks are regulated and audited, so they cannot censor
- (C) Neither — both networks process all valid transactions equally
- (D) Network A — with 10,000 anonymous miners across jurisdictions
Question 18
Bitcoin processes approximately 7 transactions per second (TPS), while Visa handles approximately 65,000 TPS at peak. A blockchain advocate claims "Layer 2 solutions solve this." Which is the most accurate description of how Layer 2 addresses the throughput gap?
- (A) Layer 2 processes transactions off the main chain and periodically
- (B) Layer 2 simply compresses transaction data so more fit in each block
- (C) Layer 2 replaces Bitcoin's consensus mechanism with a faster one
- (D) Layer 2 increases Bitcoin's block size to fit more transactions
Question 19
A government proposes banning Proof of Work mining within its borders due to environmental concerns (as the EU considered in 2022). Evaluate the most likely impact on the Bitcoin network.
- (A) Bitcoin's price permanently crashes because the network is perceived as insecure
- (B) Bitcoin stops working because it loses too many miners
- (C) The ban forces Bitcoin to switch to Proof of Stake
- (D) Mining moves to other jurisdictions; after the next difficulty adjustment
Question 20
A startup asks you to recommend a consensus mechanism for a decentralized stock exchange processing 1,000 trades per second with full public auditability. Trades must be irrevocable within 3 seconds. The exchange should be permissionless (anyone can run a node). Evaluate the options and identify the best fit.
- (A) Avalanche consensus — sub-second finality, permissionless
- (B) PBFT — deterministic finality in under 3 seconds
- (C) Ethereum PoS — large validator set and smart contract support
- (D) Bitcoin-style PoW — proven security track record