Architecture and Platforms 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 Architecture and Platforms flashcards as text
A consortium of financial institutions wants to build a distributed ledger for trade finance. Their primary requirements are strict data privacy where only parties involved in a transaction can view its details, and the absence of a volatile native cryptocurrency. Which blockchain platform is architecturally designed around a 'need-to-know' data distribution model rather than a global broadcast channel?
Answer: Corda
Corda is uniquely designed for use cases requiring high privacy. Unlike platforms that use broadcast channels (even private ones like in Fabric), Corda communicates transactions on a point-to-point, 'need-to-know' basis. Only the parties involved in a transaction, and optionally a Notary service, receive the data, making it ideal for the described financial scenario.
In the architecture of Hyperledger Fabric, what is the specific and crucial role of the 'Ordering Service'?
Answer: To establish a total order of transactions and package them into blocks to be distributed to peers.
The Ordering Service is a fundamental component of Hyperledger Fabric's architecture. Its primary responsibility is to receive endorsed transactions from clients, establish a consensus on the final and correct order of these transactions, and then package them into blocks. These blocks are then broadcast to the committing peers on the channel to be validated and appended to their copy of the ledger.
A public blockchain is struggling with high transaction fees and slow confirmation times due to network congestion. The development team decides to implement 'sharding' as a long-term scalability solution. What is the primary principle behind sharding?
Answer: Partitioning the network's state and transaction processing load across multiple parallel sub-chains.
Sharding is a scalability technique that involves horizontally partitioning a database or blockchain network. In the context of blockchain, it divides the overall state and transaction processing workload among smaller, parallel chains called 'shards'. Each shard is managed by a subset of network validators, allowing for parallel transaction processing, which significantly increases the network's overall throughput and capacity.
A development team needs to build a decentralized application (dApp) that can transfer a specific token from the Ethereum network to the Avalanche network without using a centralized intermediary. Which type of technology is specifically designed to facilitate this kind of cross-chain asset transfer and communication?
Answer: An interoperability protocol or cross-chain bridge
Interoperability protocols, commonly implemented as cross-chain bridges, are designed to enable communication and asset transfer between two or more independent blockchain networks. They work by 'locking' an asset on the source chain and 'minting' a representative, wrapped asset on the destination chain, or by using other mechanisms to facilitate secure communication, effectively bridging the two ecosystems.
In the context of a modular blockchain architecture, such as the one Ethereum is migrating towards, which layer is primarily responsible for processing transactions, executing smart contract code, and managing changes to the blockchain's state?
Answer: Execution Layer
The Execution Layer is responsible for handling the 'computation' part of the blockchain. It takes transactions, executes them using a virtual machine (like the EVM), computes the new state of the blockchain, and maintains the history. It is distinct from the Consensus Layer, which is responsible for agreeing on the order of blocks.
Which of the following correctly pairs a blockchain platform with the common name for its smart contracts and the primary language(s) they are written in?
Answer: Hyperledger Fabric : Chaincode (Go, Java, Node.js)
In Hyperledger Fabric, smart contracts are referred to as 'Chaincode'. Fabric is versatile in its language support, allowing developers to write chaincode in general-purpose languages like Go, Java (via Gradle), and JavaScript/TypeScript (via Node.js). The other options incorrectly pair platforms with their smart contract terminology and languages.