โ† All Blockchain Technology Flashcard Decks

FREE Blockchain Developer Decentralized Application (dApp) Architecture Questions and Answers Flashcards

6 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 6 FREE Blockchain Developer Decentralized Application (dApp) Architecture Questions and Answers flashcards as text
  1. What problem does the event-sourcing pattern solve in dApp architecture?

    Answer: It reconstructs application state from a sequence of emitted blockchain events

    Event sourcing rebuilds the current application state by replaying the ordered sequence of events emitted by smart contracts, providing a reliable audit trail.

  2. In a multi-chain dApp architecture, what is the role of a cross-chain messaging protocol like LayerZero or Axelar?

    Answer: To enable smart contracts on different blockchains to send verified messages to each other

    Cross-chain messaging protocols allow contracts on separate blockchains to communicate and verify messages trustlessly, enabling multi-chain application logic.

  3. Which storage approach is most appropriate for large media files referenced by a dApp?

    Answer: Using decentralized storage like IPFS or Arweave with on-chain content hashes

    Decentralized storage networks handle large files efficiently while content-addressable hashes stored on-chain guarantee data integrity without bloating the blockchain.

  4. What architectural benefit does separating read operations through a dedicated indexer provide to a dApp?

    Answer: It decouples query performance from blockchain node throughput

    A dedicated indexer processes and caches blockchain data independently, so frontend query speed is not bottlenecked by the blockchain node's processing capacity.

  5. In a gasless transaction architecture using meta-transactions, who ultimately pays the gas fee?

    Answer: A relayer service that submits the transaction on behalf of the user

    In meta-transaction patterns, a relayer forwards the user's signed message as an on-chain transaction and covers the gas cost, often recouping it through other revenue mechanisms.

  6. Why is a circuit breaker pattern valuable in dApp smart contract architecture?

    Answer: It allows an authorized role to pause contract functions during an exploit or emergency

    A circuit breaker lets administrators halt critical contract functions immediately when a vulnerability is discovered, limiting potential damage before a fix is deployed.