Level DB is the default database for Hyperledger Fabric and is particularly appropriate when ledger
states comprise what type of data?
D
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. Implementation-wise, 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.
https://hyperledger-fabric.readthedocs.io/en/release-1.3/ledger/ledger.html
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?
C
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.
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?
D
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.
Blockchain services consists of three major components.
What are they? (Select three.)
A,B,C
Explanation:
1. P2P Protocol is implemented over HTTP/2 standards and uses Google RPC.. P2P components
defines 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.
The gossip data dissemination protocol performs which three functions? (Choose three.)
A,B,E
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.
References:
The Hyperledger Fabric framework is implemented on what programming environment?
C
Explanation:
References:
You would like to download Hyperledger Fabric.
What would be the command to start the process?
B
Explanation:
Answer: https://github.com/hyperledger/fabric.git
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?
B
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.
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?
A,B,C
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.
Hyperledger Composer has the following two main components.
C
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.
What type of organization can be thought of as a corporation run without any human involvement
under the control of an incorruptible set of business rules?
B
Explanation:
Decentralized Autonomous Organization (DAO) can be thought of as a corporation run without any
human involvement under the control of an incorruptible set of business rules. A DAO can also be
seen as the most complex form of a smart contract, where the bylaws of the decentralized
organization are embedded into the code of the smart contract, using complex token governance
rules.
Chaincode in Hyperledger Fabric is a decentralized transactional program which is running on the
validating nodes. Chaincode implements the Chaincode interface in particular, Init and Invoke
functions.
Which two statements about Chaincode is correct? (Select two.)
A,D
Explanation:
Chaincode is a decentralized transactional program, running on the validating nodes. As with every
chaincode, it implements the Chaincode interface in particular, Init and Invoke functions. Init is called
during Instantiate transaction after the chaincode container has been established for the first time,
allowing the chaincode to initialize its internal data. Invoke is called to update or query the ledger in
a proposal transaction. Updated state variables are not committed to the ledger until the transaction
is committed.
Blockchain solutions are comprised of four building blocks. Which of the following answers list the
building blocks?
A
An_____________ is defined as a communication node that is responsible for the distribution of
blockchain transactions in Hyperledger Fabric.
E
Explanation:
Orderer Ordering services handles the main function of the Hyperledger Fabric to maintain
consistency in the transactions processes. Ordering services provides a shared communication to
clients and peers and helps in broadcasting the messages containing transactions.
The ledger system in Hyperledger Fabric uses what database by default?
B
Explanation:
The ledger system in Hyperledger fabric uses levelDB. By definition, LevelDB allows concurrent
writers to safely insert data into the database by providing internal synchronization. LevelDB uses
very coarse-grained synchronization which forces all writes to proceed in an ordered, first-come-first-
served basis, effectively reduces throughput to a single thread. State database options include
LevelDB and CouchDB. LevelDB is the default key-value state database embedded in the peer
process. CouchDB is an optional alternative external state database. Like the LevelDB key-value store,
CouchDB can store any binary data that is modeled in chaincode (CouchDB attachment functionality
is used internally for non-JSON binary data). But as a JSON document store, CouchDB additionally
enables rich query against the chaincode data, when chaincode values (e.g. assets) are modeled as
JSON data