Blockchain CBDH Practice Test - Questions Answers
List of questions
Related questions
Question 1
Level DB is the default database for Hyperledger Fabric and is particularly appropriate when ledger states comprise what type of data?
Explanation:
Simple key-value pairs - LevelDB is the default and is particularly appropriate when ledger states are simple key-value pairs. A LevelDB database is closely co-located with a network node – it is embedded within the same operating system process. CouchDB is a particularly appropriate choice when ledger states are structured as JSON documents because CouchDB supports the rich queries and update of richer data types often found in business transactions. Implementationwise, CouchDB runs in a separate operating system process, but there is still a 1:1 relation between a network node and a CouchDB instance. All of this is invisible to chaincode.
Reference: https://hyperledger-fabric.readthedocs.io/en/release-1.3/ledger/ledger.html
Question 2
When creating a network according to an organization's structure and also bootstrap a channel what are the following artifacts we would need to generate?
Explanation:
To create a network according to an organization's structure, and to bootstrap a channel, we will need to generate the following artifacts: A genesis block, containing organization-specific certificates that serve to initialize the Fabric blockchain. Channel configuration information. Anchor peer configurations for each organization. An anchor peer serves as a fulcrum within an organization, for cross-organization ledger syncing using the Fabric gossip protocol.
Question 3
Which Hyperledger tool would you select to invoke, deploy or query blocks, transactions and associated data, network information (name, status, list of nodes), chain codes and transaction families, as well as other relevant information stored in the ledger?
Explanation:
Hyperledger explorer: Hyperledger explorer, which was originally contributed by IBM, Intel, and DTCC, can view, invoke, deploy or query blocks, transactions and associated data, network information (name, status, list of nodes), chain codes and transaction families, as well as other relevant information stored in the ledger.
Question 4
Blockchain services consists of three major components.
What are they? (Select three.)
Explanation:
1. P2P Protocol is implemented over HTTP/2 standards and uses Google RPC.. P2P components define messages used by peer nodes, from point to point to multicast. 2. Distributed Ledger manages the world state and the transaction log in the blockchain. 3. Consensus Manager defines the interface between the consensus algorithm and the other Hyperledger components.
Question 5
The gossip data dissemination protocol performs which three functions?
(Choose three.)
Explanation:
Gossip Protocol The gossip data dissemination protocol performs three functions Manages peer discovery and channel membership Disseminates ledger data across all peers on the channel Syncs ledger state across all peers on the channel.
Reference: https://hyperledger-fabric.readthedocs.io/en/v1.1.0-alpha/gossip.html
Question 6
The Hyperledger Fabric framework is implemented on what programming environment?
Explanation:
Reference: https://hyperledger-fabric.readthedocs.io/en/release-1.3/prereqs.html
Question 7
You would like to download Hyperledger Fabric.
What would be the command to start the process?
Explanation:
Reference: https://github.com/hyperledger/fabric.git
Question 8
What Hyperledger sponsored tool is a new open-source application development framework, which simplifies the creation of Hyperledger Fabric blockchain applications, thus reducing the time and complexity of development.
The tool aims at helping users to create blockchain applications based on Hyperledger Fabric without needing to know the low-level (Go Programming) details involved in blockchain networks?
Explanation:
There is a new open-source application development framework, which simplifies the creation of Hyperledger Fabric blockchain applications, thus reducing the time and complexity of development. The tool aims at helping users to create blockchain applications based on Hyperledger Fabric without needing to know the low-level (Go Programming) details involved in blockchain networks.
Question 9
The CA (Certificate Authority) in Hyperledger Fabric issues the certificates. These certificates are used for identity validation and for transmission of encrypted data that only the owner (person, organization or software) of a specific certificate is able to decrypt and read.
What types of certificates are issued by the CA?
Explanation:
Rootcert, tcert and ecert. As The CA (Fabric CA by default) issues a root certificate (rootCert) to each member (organization or individual) that is authorized to join the network. The CA also issues an enrollment certificate (eCert) to each member component, server-side applications and occasionally end users. Each enrolled user is granted an allocation of transaction certificates (tCerts). Each tCert authorizes one network transaction.
Question 10
Hyperledger Composer has the following two
main components.
Explanation:
There are two parts: 1. Business Network Archive which essentially captures the core data in a business network, including the business model, transaction logic, and access controls, the Business Network Archive packages these elements up and deploys them to a runtime. Business Network Archive files are stored as “.bna” files. AND 2. Composer Playground which is web-based tool allows developers to learn Hyperledger Composer, model out their business network (domain), test that network, and deploy that network to a live instance of a blockchain network. The playground keeps the development model in browser storage, allowing them to be easily uploaded or downloaded.
Question