First 50 of 200 questions. Each one lists the choices, the correct answer, and an explanation. The checker at the top of this page saves progress in this browser when it is available.
Continue in the practice tool above to load more questions, 50 at a time.
Question 1Blockchain Fundamentals and Distributed Ledger Technology Concepts
In a blockchain, what property does a cryptographic hash function primarily provide for each block?
- A fixed-length digest that changes unpredictably if the block data changes Correct answer.
- A reversible encoding that lets nodes reconstruct the original block
- A compression scheme that shrinks the ledger to save disk space
- An encryption key used to decrypt other users' transactions
Explanation
A hash function maps any input to a fixed-length output and is collision-resistant and preimage-resistant, so any change to block data produces a different digest. This lets nodes detect tampering and link blocks by embedding the previous block's hash. Hashes are one-way and are not used to reconstruct or decrypt data.
Question 2Blockchain Fundamentals and Distributed Ledger Technology Concepts
What is the defining structural feature of a blockchain's ledger of blocks?
- Each block contains only unconfirmed transactions awaiting deletion
- Each block stores the hash of its predecessor, forming a tamper-evident chain Correct answer.
- Each block is signed by every node that has ever joined the network
- Each block is stored in a single central server that orders transactions
Explanation
Blocks are linked because each header includes the hash of the previous block header, so altering an earlier block invalidates all later hashes. This chaining creates a tamper-evident history that nodes can independently verify. No central server or universal signing is required.
Question 3Blockchain Fundamentals and Distributed Ledger Technology Concepts
A public-key pair is used in a typical blockchain transaction. Which statement describes the standard roles correctly?
- The public key signs the transaction and the private key is shared for verification
- The key pair encrypts the entire block so miners cannot read transactions
- Both keys are published so any node can spend the associated funds
- The private key signs the transaction and the public key allows others to verify it Correct answer.
Explanation
Digital signatures rely on asymmetric cryptography: the sender signs with the private key, and anyone holding the corresponding public key can verify authenticity without learning the private key. This proves authorization to spend without revealing the secret. Public keys are not secret, but private keys must never be shared.
Question 4Blockchain Fundamentals and Distributed Ledger Technology Concepts
Which description best characterizes a distributed ledger technology (DLT) network?
- Multiple nodes maintain and validate a shared record without a single controlling authority Correct answer.
- Every node must trust a central clearinghouse to sequence all updates
- One administrator holds the authoritative copy while others keep read-only caches
- Nodes exchange ledger copies only through a nightly batch file transfer
Explanation
DLT distributes the ledger across participants who independently hold and validate state, reducing reliance on a central authority. Consensus rules determine which updates are accepted. Read-only caches, central clearinghouses, and batch transfers do not capture this shared-validation model.
Question 5Blockchain Fundamentals and Distributed Ledger Technology Concepts
What is the mempool in a typical account-based blockchain node?
- A holding area for valid transactions that are broadcast but not yet included in a block Correct answer.
- A permanent archive of every block header since genesis
- A list of private keys held by validators for signing
- A smart contract that distributes mining rewards
Explanation
Nodes keep pending valid transactions in a mempool before a block producer selects them for inclusion. Inclusion depends on fee, validity, and consensus rules. The mempool is transient and separate from the permanent chain history.
Question 6Blockchain Fundamentals and Distributed Ledger Technology Concepts
Which consensus family selects block producers in proportion to staked economic value rather than computational work?
- Practical Byzantine Fault Tolerance
- Proof of Work
- Proof of Elapsed Time
- Proof of Stake Correct answer.
Explanation
Proof of Stake assigns block-production influence based on the amount of stake locked and related selection rules, replacing energy-intensive mining. Proof of Work relies on computational effort, while PBFT and Proof of Elapsed Time use different mechanisms. Stake can be slashed if validators misbehave.
Question 7Blockchain Fundamentals and Distributed Ledger Technology Concepts
What does the term 'permissionless' mean for a public blockchain network?
- Block producers are appointed by a government regulator
- Only institutions approved by a foundation may read the ledger
- Anyone can run a node and submit transactions under the protocol's public rules Correct answer.
- Participants must sign a legal contract before receiving a wallet
Explanation
Permissionless networks allow open participation: users can join, read, and validate without identity approval from a gatekeeper. Access control is enforced by protocol rules and consensus, not by an admission committee. Permissioned networks, by contrast, restrict who may participate.
Question 8Blockchain Fundamentals and Distributed Ledger Technology Concepts
In a Merkle tree inside a block, what does the root hash commit to?
- The entire set of transactions in that block Correct answer.
- Only the coinbase transaction
- The timestamp of the previous block
- The identity of the miner who found the block
Explanation
A Merkle root is computed by repeatedly hashing pairs of transaction hashes, so it commits to every transaction in the block. Changing any transaction changes the root. This allows efficient inclusion proofs without revealing the whole set.
Question 9Blockchain Fundamentals and Distributed Ledger Technology Concepts
A user wants to prove that one transaction is included in a block without downloading every transaction. Which structure enables this efficiently?
- A Merkle proof containing sibling hashes along the path to the root Correct answer.
- A signature from every node in the network
- A zero-knowledge proof of the user's private key
- A full copy of the block's raw transaction bytes
Explanation
A Merkle proof supplies the sibling hashes needed to recompute the root from the target transaction. If the recomputed root matches the known block header root, inclusion is proven with logarithmic-sized data. Downloading the entire block or collecting signatures from all nodes is unnecessary.
Question 10Blockchain Fundamentals and Distributed Ledger Technology Concepts
Why do blockchains typically include a nonce field in the block header?
- It is varied so the header hash can satisfy the Proof of Work target Correct answer.
- It records the number of transactions in the mempool
- It stores the recipient address for the block reward
- It encrypts the block's transaction list
Explanation
In Proof of Work mining, the miner iterates the header nonce (along with other changeable fields) until the resulting hash falls below the difficulty target. The nonce is the adjustable input that makes this search possible. It does not store addresses or encrypt data.
Question 11Blockchain Fundamentals and Distributed Ledger Technology Concepts
A validator in a Proof of Stake network signs two conflicting blocks for the same height. What is the typical protocol response?
- It receives a larger block reward for providing redundancy
- The network resets to the genesis block
- Its transactions are replayed on a parallel chain
- Its staked funds are slashed and it may be removed from the validator set Correct answer.
Explanation
Equivocation is detectable because the conflicting signed messages are evidence. Proof of Stake protocols commonly apply slashing, destroying part or all of the offender's stake, and eject the validator. This economic penalty deters double-signing.
Question 12Blockchain Fundamentals and Distributed Ledger Technology Concepts
What distinguishes a hard fork from a soft fork in a blockchain upgrade?
- A hard fork only changes wallet software, while a soft fork changes consensus rules
- A hard fork requires no node upgrade, while a soft fork requires all nodes to upgrade
- A hard fork produces blocks incompatible with old rules, while a soft fork stays compatible with unupgraded nodes Correct answer.
- A hard fork is temporary, while a soft fork is permanent
Explanation
A hard fork tightens or changes rules such that previously valid blocks become invalid, so nodes must upgrade to follow the new chain. A soft fork restricts rules in a backward-compatible way, letting unupgraded nodes still accept new blocks. This compatibility distinction is the defining difference.
Question 13Blockchain Fundamentals and Distributed Ledger Technology Concepts
Which scenario best illustrates the double-spend problem that distributed ledgers aim to solve?
- A wallet displays an incorrect fiat exchange rate
- A user signs two transactions spending the same output to different recipients before either settles Correct answer.
- A miner includes a low-fee transaction in a block
- A user loses a private key and cannot access funds
Explanation
Double spending occurs when the same digital asset is promised to two parties, which is possible because digital data can be copied. Distributed ledgers use consensus and ordering to ensure only one spend of an output is accepted. Key loss, fee selection, and display errors are unrelated issues.
Question 14Blockchain Fundamentals and Distributed Ledger Technology Concepts
In an account-based blockchain, what is the purpose of a transaction nonce for an externally owned account?
- It sets the maximum fee the sender will pay
- It identifies the block in which the transaction will be mined
- It enforces sequential ordering and prevents replay of a signed transaction Correct answer.
- It encrypts the transaction payload for privacy
Explanation
Each transaction from an account carries an incrementing nonce, and the protocol only accepts the next expected value. This prevents a signed transaction from being replayed and enforces ordering. Fee limits and block placement are handled by other fields.
Question 15Blockchain Fundamentals and Distributed Ledger Technology Concepts
What is a light client designed to do?
- Hold all private keys for an exchange's customers
- Verify block headers and inclusion proofs without storing the full chain state Correct answer.
- Mine blocks using only a mobile device's CPU
- Serve as the single authoritative node for a network
Explanation
Light clients download and validate headers and use proofs, such as Merkle proofs, to confirm specific transactions or state. This reduces storage and bandwidth while retaining cryptographic verification. They do not mine or act as a central authority.
Question 16Blockchain Fundamentals and Distributed Ledger Technology Concepts
Which statement accurately describes a smart contract on a blockchain?
- A consensus algorithm for ordering transactions
- A private key management service run by validators
- Code deployed to the ledger that executes deterministically when its conditions are met Correct answer.
- A legal document stored off-chain and enforced only by courts
Explanation
A smart contract is program code stored on-chain whose execution is triggered by transactions and whose results are agreed upon by all validating nodes. Deterministic execution is essential so every node reaches the same state. It is not a legal paper, key service, or consensus algorithm.
Question 17Blockchain Fundamentals and Distributed Ledger Technology Concepts
A transaction is broadcast to the network but never included in a block because its fee is far below prevailing rates. What is the most likely outcome?
- It triggers a slashing penalty against the sender's stake
- It is automatically included in the next block regardless of fee
- It remains pending in mempools and may eventually be dropped by node policies Correct answer.
- It is reversed by the sender's private key and removed from history
Explanation
Block producers prioritize transactions by fee and validity, so very low-fee transactions can linger in mempools. Nodes may evict them under local policy or mempool limits, and the sender can rebroadcast with a higher fee. Nothing guarantees inclusion in the next block.
Question 18Blockchain Fundamentals and Distributed Ledger Technology Concepts
How does a blockchain's immutability relate to consensus among nodes?
- Immutability is enforced by a central administrator who locks old blocks
- Immutability means blocks can never be added once the genesis block exists
- Immutability guarantees that no transaction can ever be reverted by any fork
- Immutability emerges because altering past blocks would require redoing work or stake and convincing honest nodes to accept the rewritten history Correct answer.
Explanation
Immutability is economic and social as well as cryptographic: rewriting history requires outcompeting honest participants under the consensus rules. Because nodes reject chains that violate protocol, deep rewrites are impractical. It is not absolute, since forks can reorganize recent blocks.
Question 19Blockchain Fundamentals and Distributed Ledger Technology Concepts
What role does a digital signature play in transaction authorization on a public blockchain?
- It hides the transaction amount from all network participants
- It guarantees the transaction will be included in the next block
- It proves the sender controls the private key associated with the spending account Correct answer.
- It converts the transaction into a smart contract
Explanation
A signature is created over the transaction data with the sender's private key and verified against the corresponding public key or address. This demonstrates authorization without revealing the secret. It does not guarantee inclusion timing or provide confidentiality by itself.
Question 20Blockchain Fundamentals and Distributed Ledger Technology Concepts
A network requires that at most one-third of validating nodes be faulty for its consensus to remain safe. Which class of protocol does this threshold most directly describe?
- Nakamoto-style Proof of Work with longest-chain rule
- Proof of Authority with a single sequencer
- Proof of Elapsed Time using trusted hardware
- Byzantine Fault Tolerant voting protocols such as PBFT Correct answer.
Explanation
Classical BFT protocols tolerate up to f faulty nodes out of 3f+1 total, meaning roughly one-third Byzantine faults. They rely on voting rounds among known validators. Nakamoto consensus instead uses probabilistic finality and economic incentives.
Question 21Blockchain Fundamentals and Distributed Ledger Technology Concepts
Why can a probabilistic finality model allow a transaction to be considered settled after several confirmations rather than immediately?
- The protocol deletes the transaction after one block
- The probability that an alternative chain overtakes the current one decreases as more blocks are added Correct answer.
- Each confirmation encrypts the transaction with a new key
- Confirmations transfer custody of funds to the miner
Explanation
In longest-chain or heaviest-chain systems, a transaction buried under more subsequent blocks becomes exponentially harder to reverse because an attacker would need to outpace honest work. Confirmations therefore express decreasing reversal risk rather than instant finality. Encryption and custody transfer are not what confirmations do.
Question 22Blockchain Fundamentals and Distributed Ledger Technology Concepts
A rollup posts compressed transaction data to a base layer while executing transactions off-chain. What security property does this design primarily rely on?
- The rollup operator holding all user private keys
- A legal agreement among rollup users
- The base layer's data availability and dispute or validity proofs anchoring off-chain state Correct answer.
- The base layer ignoring rollup state entirely
Explanation
Rollups inherit security from the underlying chain by making data available there and using fraud proofs or validity proofs to enforce correct state transitions. Users can exit or challenge based on on-chain data. The operator does not need custody of private keys for this guarantee.
Question 23Blockchain Fundamentals and Distributed Ledger Technology Concepts
In a UTXO model, how is a transaction output spent?
- It is spent by updating a global account balance field
- It is referenced as an input and consumed entirely, with any remainder returned as a new output Correct answer.
- It is spent by the miner who first includes it in a block
- It is partially debited while the original output remains unspent
Explanation
UTXO outputs are indivisible: spending one consumes it completely as an input, and change is created as a fresh output back to the spender. Ownership is proven by satisfying the output's locking script. There is no global balance field in this model.
Question 24Blockchain Fundamentals and Distributed Ledger Technology Concepts
An attacker controls a majority of hash power on a Proof of Work chain. Which outcome is most consistent with the standard threat model?
- The attacker can reorganize recent blocks and censor transactions but cannot forge signatures or spend others' coins Correct answer.
- The attacker can decrypt every user's private key
- The attacker can rewrite all history back to genesis without detection
- The attacker can mint coins without limit while remaining undetected
Explanation
A majority attacker can mine a private chain and reorganize recent history, enabling double spends and censorship. They still cannot forge signatures or steal coins without keys, and deep rewrites become economically and socially costly. Protocol rules also constrain arbitrary minting.
Question 25Blockchain Fundamentals and Distributed Ledger Technology Concepts
Which property most clearly distinguishes a consortium (federated) blockchain from a public permissionless blockchain?
- It must store data in a single central database
- It cannot support smart contracts
- It cannot use cryptographic hashing for block linkage
- Block validation is restricted to a known set of organizations rather than open to anyone Correct answer.
Explanation
Consortium chains are governed by a defined group of organizations that control participation and validation, while public chains allow open participation. They still use hashing, distributed storage, and often smart contracts. The distinguishing factor is the permissioned validator set.
Question 26Blockchain Fundamentals and Distributed Ledger Technology Concepts
In distributed ledger terminology, what does the CAP-style trade-off mean when a network partition occurs in a blockchain system?
- The ledger converts from a permissionless model to a permissioned model for the partition duration.
- The ledger must choose between remaining consistent and remaining available while the partition persists. Correct answer.
- The ledger discards its consensus rules and accepts every transaction until the partition heals.
- The ledger automatically increases block size so that all nodes can reconnect during the partition.
Explanation
A partition splits communication between nodes, so a distributed ledger cannot simultaneously guarantee that every node sees the same state and that every request is answered. Practical designs lean toward consistency, halting or slowing block production, or toward availability, accepting temporary divergence that reconciliation must later resolve. The trade-off is about behavior during the partition, not about changing block size or membership rules.
Question 27Blockchain Fundamentals and Distributed Ledger Technology Concepts
A blockchain stores only hashes of documents on-chain while the documents themselves live in off-chain storage. Which guarantee does this design provide?
- The on-chain hash lets anyone detect whether a retrieved document matches the version that was committed. Correct answer.
- The on-chain hash guarantees the off-chain storage provider will retain the document permanently.
- The on-chain hash encrypts the document so that only the original submitter can read it.
- The on-chain hash reconstructs the full document from the digest if the off-chain copy is lost.
Explanation
A cryptographic hash acts as a fixed-length fingerprint: recomputing it over a retrieved file and comparing it with the stored value reveals any alteration. It does not provide confidentiality, retention, or recoverability, because those properties depend on the storage layer and on encryption keys. Anchoring hashes therefore proves integrity and timestamping, not availability of the underlying data.
Question 28Blockchain Fundamentals and Distributed Ledger Technology Concepts
A developer deploys an upgradeable smart contract in which the proxy address holds state while a separate implementation contract holds logic. Which statement best describes the resulting trust and risk profile?
- Users interact with a stable address, but whoever controls the upgrade authority can change the code that runs against their stored balances. Correct answer.
- Upgradeability is achieved by redeploying the contract to a new address and relying on users to migrate their own balances.
- State stored in the proxy is automatically migrated to a new implementation contract each time the logic address changes.
- The proxy pattern removes the need for audits because the implementation contract can never be altered after deployment.
Explanation
In a proxy pattern the entry point address stays constant while delegate calls forward execution to an implementation contract, so the upgrade administrator effectively governs future behavior of the contract. This preserves addresses and state but concentrates power in the upgrade key, which is why timelocks and multisignature control are commonly recommended. State lives in the proxy's storage, so no automatic migration occurs when the implementation address is swapped.
Question 29Blockchain Fundamentals and Distributed Ledger Technology Concepts
A payment channel allows two parties to transact off-chain and settle on-chain. Which statement correctly describes how disputes are resolved if one party attempts to broadcast an outdated state?
- The counterparty can submit a newer signed state within a challenge window and claim the channel balance. Correct answer.
- The outdated state is accepted because the base layer cannot verify signatures on channel updates.
- The channel is closed permanently and both parties lose their deposited funds to the miners.
- The base layer ignores all channel states and always refunds the original deposit to the opener.
Explanation
Channel designs rely on penalty or challenge mechanisms: a party who observes a revoked or stale state can publish a more recent signed state during a defined window, and the contract settles according to the latest valid update. This makes off-chain execution enforceable by the base layer without the base layer tracking every update. The base layer does verify signatures, so the claim that it cannot is incorrect.
Question 30Blockchain Fundamentals and Distributed Ledger Technology Concepts
A sidechain and a rollup both move execution away from a base layer. Which comparison correctly captures the difference in how each derives security from that base layer?
- The rollup posts state commitments or data to the base layer so users can detect and prove invalid transitions, while the sidechain relies on its own consensus and its bridge for safety. Correct answer.
- The sidechain inherits the base layer's validator set automatically, while the rollup must recruit independent validators outside the base layer.
- The rollup depends on the sidechain's consensus to finalize blocks, while the sidechain depends on the rollup for data availability.
- Both designs inherit base-layer security equally, differing only in whether transaction data is compressed before posting.
Explanation
A rollup anchors commitments to the base layer and, depending on the design, publishes enough data for fraud proofs or validity proofs, so base-layer consensus underwrites the correctness of its state. A sidechain runs its own consensus and security budget, and users depend on bridge assumptions and the sidechain's validator set. This difference in where verification ultimately happens is the key security distinction.
Question 31Enterprise Blockchain Platforms and Architecture
In a permissioned enterprise blockchain, what is the primary architectural role of a membership service provider (MSP)?
- It stores the world state as a key-value database separate from the ledger.
- It executes smart contract code in an isolated container on each endorsing peer.
- It provides a gossip protocol that disseminates blocks to peers across the network.
- It defines which certificate authorities and identities are trusted to participate in a given organization or channel. Correct answer.
Explanation
An MSP is the identity abstraction that binds an organization to a set of root CAs, intermediate CAs, and revocation rules, so peers and orderers can decide whether a submitted credential belongs to a trusted member. It does not move blocks, run chaincode, or hold state; those are handled by gossip, the chaincode runtime, and the state database respectively.
Question 32Enterprise Blockchain Platforms and Architecture
An architect needs deterministic transaction ordering without a mining race and wants ordering nodes to be pluggable. Which component should provide this in a Hyperledger Fabric-style platform?
- The chaincode shim layer that bridges to the peer
- The ordering service, which sequences endorsed transactions into blocks Correct answer.
- The state database that indexes world state
- The committing peer that validates read-write sets
Explanation
The ordering service is the pluggable component that establishes total order over transactions and packages them into blocks, so no proof-of-work race is required. Committing peers later validate and apply those blocks; they do not decide ordering.
Question 33Enterprise Blockchain Platforms and Architecture
A consortium wants each member organization to keep its transaction data private from other members while still sharing a single network. Which Fabric construct is designed for this?
- Running every peer as a solo ordering node
- Using channels to scope the ledger and membership to a subset of organizations Correct answer.
- Disabling TLS between peers to simplify routing
- Storing all private data in the ordering service's ledger only
Explanation
Channels partition the network so that only organizations joined to a channel receive its blocks and share its ledger, which delivers confidentiality between consortium members. Private data collections can further restrict payload visibility within a channel.
Question 34Enterprise Blockchain Platforms and Architecture
What does the execute-order-validate architecture require before a transaction is sent to the ordering service?
- A zero-knowledge proof of the sender's balance
- A proof-of-work nonce below the network difficulty target
- A notarized hash anchored in a public chain
- A successful endorsement signature set collected from the policy-required peers Correct answer.
Explanation
In execute-order-validate, clients first simulate the transaction on endorsing peers and collect endorsement signatures that satisfy the chaincode's endorsement policy. Only then is the endorsed transaction submitted for ordering, and committing peers validate the read-write set against the policy.
Question 35Enterprise Blockchain Platforms and Architecture
Which statement best describes the difference between the ledger's blockchain and its world state in an enterprise DLT platform?
- Both are append-only logs kept only by ordering nodes.
- The blockchain is the append-only history of transactions and the world state is the current derived values. Correct answer.
- The world state is shared globally while the blockchain is private to each client.
- The blockchain is a mutable cache and the world state is the immutable history.
Explanation
The blockchain records the immutable, ordered history of transactions, whereas the world state is a database holding the latest value of each key as derived from that history. The world state can be rebuilt by replaying the blockchain, which is why it is treated as a derived, replaceable store.
Question 36Enterprise Blockchain Platforms and Architecture
In a Fabric network, which file primarily defines the ordering service consenters and the consortium of organizations authorized to create channels?
- The connection-profile.json used by client SDKs
- The core.yaml peer configuration
- The docker-compose.yaml for peer containers
- The configtx.yaml used to generate the genesis block Correct answer.
Explanation
configtx.yaml is consumed by configtxgen to produce the genesis block and channel artifacts, and it declares orderer types, consortium membership, and capability settings. Peer runtime settings, container orchestration, and SDK endpoints are defined elsewhere.
Question 37Enterprise Blockchain Platforms and Architecture
Which consensus family is most appropriate when a small, known set of consortium members require immediate finality and high throughput without mining?
- Crash fault tolerant or BFT ordering among known validators Correct answer.
- Proof of stake with slashing
- Proof of elapsed time
- Proof of work
Explanation
Permissioned consortiums typically use crash fault tolerant ordering such as Raft or Byzantine fault tolerant protocols such as BFT-SMaRt variants, because participants are known and finality can be reached without mining. These protocols give deterministic finality at high throughput within a trusted-membership model.
Question 38Enterprise Blockchain Platforms and Architecture
What is the purpose of a private data collection in a Fabric channel?
- To move the world state from peers to the ordering service
- To store sensitive payloads only on authorized peers while a hash of the data is committed to the channel ledger Correct answer.
- To encrypt the ordering service's TLS certificates
- To replace the channel's endorsement policy with a single administrator
Explanation
A private data collection distributes the actual private payload to a defined subset of peers and commits only a hash of that data to the shared channel ledger. This keeps sensitive values off unauthorized peers while preserving verifiability for the channel.
Question 39Enterprise Blockchain Platforms and Architecture
A client submits a transaction proposal to endorsing peers, but the returned read-write sets differ because another transaction modified a key in between. What happens at commit time?
- The committing peer merges both write sets and applies the union of keys.
- The transaction is silently dropped before it reaches the ledger block.
- The committing peer detects the read-set version mismatch and marks the transaction invalid without applying writes. Correct answer.
- The ordering service re-executes the chaincode to resolve the conflict.
Explanation
During validation the committing peer checks that each key in the read set still has the version recorded at endorsement time. If another committed transaction changed that key, the version check fails and the transaction is marked invalid, with its writes not applied to the world state.
Question 40Enterprise Blockchain Platforms and Architecture
An endorsement policy for a chaincode requires signatures from one peer in OrgA and one peer in OrgB. A client collects only OrgA's endorsement. What is the outcome when the transaction reaches committing peers?
- It is forwarded to the ordering service for a second endorsement round.
- It is rejected at validation because the endorsement policy is not satisfied. Correct answer.
- It is committed because one valid signature is sufficient.
- It is committed but its writes are routed only to OrgA peers.
Explanation
Committing peers evaluate the endorsement against the chaincode's endorsement policy, which here demands signatures from both OrgA and OrgB. With only OrgA's signature the policy check fails, so the transaction is marked invalid and its writes are not applied.
Question 41Enterprise Blockchain Platforms and Architecture
Which capability is provided by the Fabric Gateway service in recent releases?
- It lets client applications submit and evaluate transactions without managing endorsement collection themselves. Correct answer.
- It replaces the ordering service with a peer-to-peer broadcast mesh.
- It stores the world state in an external relational database.
- It performs proof-of-work mining on behalf of peers.
Explanation
The Fabric Gateway runs on peers and handles endorsement collection and transaction submission on behalf of client applications, simplifying SDK logic. Clients can evaluate or submit transactions through the gateway rather than orchestrating endorsements manually.
Question 42Enterprise Blockchain Platforms and Architecture
A network operator wants to add a new organization to an existing channel. Which sequence reflects the Fabric channel update process?
- Stop all peers, edit the genesis block file, and restart the ordering service.
- Send a chaincode invocation that writes the new org's certificates into a world-state key.
- Create a new channel and abandon the old one, since channels are immutable.
- Fetch the latest channel config, modify it to add the org's MSP, compute a config update, collect required signatures, and commit it as a config transaction. Correct answer.
Explanation
Channel membership is governed by the channel configuration, which is updated through a config transaction. The operator fetches the current config, edits it, computes the delta, satisfies the modification policy with signatures, and commits the update.
Question 43Enterprise Blockchain Platforms and Architecture
Why do enterprise architects often prefer a crash fault tolerant ordering service such as Raft over a Byzantine fault tolerant protocol for an internal consortium?
- Raft removes the need for any endorsement policy.
- Raft tolerates malicious nodes better than BFT protocols.
- Raft allows ordering nodes to execute chaincode directly.
- Raft achieves higher throughput and simpler operation when nodes are assumed non-malicious and only crash failures are expected. Correct answer.
Explanation
When participants are vetted organizations that are assumed honest, crash fault tolerance is sufficient and Raft delivers higher throughput with simpler operations than BFT protocols. BFT is reserved for settings where nodes may actively behave maliciously.
Question 44Enterprise Blockchain Platforms and Architecture
A chaincode reads a key, computes a new value, and writes it. During simulation the peer records the key's version. Why is recording this version essential?
- It lets the ordering service encrypt the block.
- It signs the transaction with the peer's TLS key.
- It enables commit-time validation to detect read-write conflicts between concurrent transactions. Correct answer.
- It compresses the world state to save disk.
Explanation
The read-set version captured during simulation allows committing peers to verify that no other transaction changed the same key before this one commits. This optimistic concurrency control is what prevents lost updates in the execute-order-validate model.
Question 45Enterprise Blockchain Platforms and Architecture
Which statement correctly contrasts Fabric's execute-order-validate with the order-execute model used by many public smart contract platforms?
- Fabric has no validation step, whereas order-execute platforms validate twice.
- Fabric executes transactions on endorsing peers before ordering, then validates at commit, while order-execute platforms order first and execute on every node. Correct answer.
- Fabric orders first and executes on every node, while order-execute platforms execute before ordering.
- Both models execute on every node before ordering.
Explanation
Fabric simulates transactions on a selected set of endorsing peers before ordering, then committing peers validate the results, which limits non-determinism concerns. Order-execute platforms order transactions first and then every node executes them deterministically.
Question 46Enterprise Blockchain Platforms and Architecture
A solution requires tamper-evident audit trails shared among competitors who do not trust each other fully but who can agree on a governing body. Which platform characteristic matters most?
- Permissioned membership with Byzantine fault tolerant ordering and policy-based endorsement Correct answer.
- Unlimited public token issuance for gas fees
- Single-organization ownership of all validating nodes
- Anonymous open membership with no identity vetting
Explanation
Competing organizations need vetted identities and a consensus protocol that tolerates some faulty or malicious members, which points to permissioned membership with BFT ordering and endorsement policies. Open anonymous membership and single-owner validation would undermine the shared trust model.
Question 47Enterprise Blockchain Platforms and Architecture
Which Fabric component is responsible for delivering committed blocks to peers so that they can validate and update their ledgers?
- The membership service provider
- The gossip data dissemination and block delivery mechanisms among peers and orderers Correct answer.
- The state database indexer
- The chaincode shim package
Explanation
Peers receive blocks through the ordering service's delivery API and propagate them via gossip, which also helps peers in the same organization stay synchronized. The MSP, shim, and state database handle identity, chaincode APIs, and storage rather than block delivery.
Question 48Enterprise Blockchain Platforms and Architecture
A developer wants chaincode to query the world state using rich JSON queries. Which configuration choice is required?
- Store all values as encrypted binary blobs.
- Disable gossip on all peers.
- Use LevelDB as the state database.
- Use CouchDB as the state database and store values as JSON. Correct answer.
Explanation
Rich JSON queries such as selector-based queries require CouchDB as the state database and JSON-formatted values. LevelDB supports only key-based lookups and range scans, so it cannot serve selector queries.
Question 49Enterprise Blockchain Platforms and Architecture
What is the main architectural benefit of separating the ordering service from peer execution in Fabric?
- It guarantees that no transaction will ever be invalidated.
- It removes the need for membership services.
- It decouples consensus from execution so ordering can be pluggable and peers can scale independently. Correct answer.
- It allows peers to skip validation of transactions.
Explanation
Separating ordering from execution means the consensus implementation can be swapped without changing chaincode, and peer capacity can grow independently of ordering capacity. Validation and membership remain necessary parts of the architecture.
Question 50Enterprise Blockchain Platforms and Architecture
Which identity material must a peer present to participate in a channel's gossip and transaction flow?
- A valid enrollment certificate issued by a CA trusted by the channel's MSP Correct answer.
- A bearer token issued by the ordering service
- A notarized public timestamp
- A proof-of-work solution
Explanation
A peer must hold an enrollment certificate chained to a CA that the relevant MSP trusts, which lets other peers and orderers authenticate it. Without a trusted certificate the peer cannot join the channel or have its messages accepted.