Decentralized Application Architecture Flashcards
7 cards from real Blockchain Technology practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Decentralized Application Architecture flashcards as text
What is the primary architectural benefit of moving computation to a Layer 2 rollup in a dApp?
Answer: It increases throughput and lowers fees while inheriting L1 security
Rollups execute transactions off the L1 and post compressed data/proofs back, scaling while inheriting L1 security.
How does an optimistic rollup differ architecturally from a ZK rollup?
Answer: Optimistic rollups assume validity and allow a challenge window; ZK rollups submit validity proofs
Optimistic rollups rely on fraud-proof challenge periods, while ZK rollups post cryptographic validity proofs.
In a dApp, why is the mempool relevant to transaction architecture?
Answer: It is the pool of pending unconfirmed transactions waiting to be included
The mempool holds broadcast-but-unconfirmed transactions; ordering here affects MEV and confirmation timing.
What is MEV (Maximal Extractable Value) in the context of dApp transaction flow?
Answer: Value extracted by reordering, inserting, or censoring transactions in a block
MEV is value validators/searchers capture by controlling transaction ordering within a block.
Why do dApps often use a multi-call or batching pattern when reading contract state?
Answer: To aggregate many read calls into one RPC request, reducing latency and load
Batching read calls (e.g., Multicall) reduces round trips to the node provider for faster UI loads.
Which design concern is unique to upgradeable proxy contracts in dApp architecture?
Answer: Storage layout collisions between proxy and implementation must be avoided
Proxies and implementations share storage, so layout must be carefully managed to prevent collisions.
What role does account abstraction (e.g., ERC-4337) play in dApp architecture?
Answer: It lets smart contract wallets define custom validation logic and improve UX
Account abstraction enables programmable smart-contract wallets with features like social recovery and gas sponsorship.