โ† 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. Which layer in a typical dApp architecture is responsible for storing transaction history immutably?

    Answer: Blockchain data layer

    The blockchain data layer stores all transaction records in an immutable, append-only ledger that cannot be altered after confirmation.

  2. What is the primary purpose of an oracle service in dApp architecture?

    Answer: To provide off-chain data to smart contracts

    Oracles bridge the gap between blockchains and external systems by feeding real-world data into smart contracts that cannot natively access off-chain information.

  3. In a dApp using the proxy pattern for upgradability, what does the proxy contract primarily store?

    Answer: The state variables and a pointer to the logic contract

    A proxy contract holds the application state and delegates calls to a separate logic contract, allowing the logic to be replaced without losing stored data.

  4. Why do many production dApps use a subgraph via The Graph protocol instead of reading directly from the blockchain?

    Answer: Indexed subgraphs allow fast, complex queries that are impractical with raw RPC calls

    The Graph indexes blockchain events into a queryable GraphQL API, enabling complex filtering and pagination that raw RPC endpoints handle poorly.

  5. Which architectural pattern allows a dApp frontend to function even when the user's RPC provider experiences downtime?

    Answer: Multi-provider failover with fallback RPC endpoints

    Configuring multiple RPC providers with automatic failover ensures the dApp can switch to an available node if the primary provider goes offline.

  6. What is the main security risk of storing sensitive application configuration directly inside a smart contract's state variables?

    Answer: All on-chain data is publicly readable regardless of Solidity visibility modifiers

    Blockchain state is publicly accessible to anyone inspecting the chain, so marking a variable as private only restricts contract-level access, not external visibility.