ExamGecko
Home Home / Blockchain / CBDH

Blockchain CBDH Practice Test - Questions Answers, Page 2

Question list
Search
Search

List of questions

Search

Related questions











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?

A.
Limited Liability Corporation
A.
Limited Liability Corporation
Answers
B.
Decentralized Autonomous Organization (DAO)
B.
Decentralized Autonomous Organization (DAO)
Answers
C.
Corporation
C.
Corporation
Answers
D.
Trust
D.
Trust
Answers
Suggested answer: 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.
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
A.
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
Answers
B.
Invoke is called to update or query the ledger after a proposal transaction. Update state variables are committed to the ledger before the transaction is committed
B.
Invoke is called to update or query the ledger after a proposal transaction. Update state variables are committed to the ledger before the transaction is committed
Answers
C.
Init is called during Instantiate transaction after the chaincode ledger has been established for the first time, allowing the chaincode to initialize its internal dataD. 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.
C.
Init is called during Instantiate transaction after the chaincode ledger has been established for the first time, allowing the chaincode to initialize its internal dataD. 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.
Answers
Suggested answer: A

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.
Shared ledger, Privacy, Trust, and Smart Contracts or (Chaincode)
A.
Shared ledger, Privacy, Trust, and Smart Contracts or (Chaincode)
Answers
B.
Shared ledger, Centralization, Trustless, and Smart Contracts or (Chaincode)
B.
Shared ledger, Centralization, Trustless, and Smart Contracts or (Chaincode)
Answers
C.
Shared ledger, Privacy, Trustless, and Smart Contracts or (Chaincode)
C.
Shared ledger, Privacy, Trustless, and Smart Contracts or (Chaincode)
Answers
D.
Shared ledger, Centralization, Trust, and Smart Contacts or (Chaincode)
D.
Shared ledger, Centralization, Trust, and Smart Contacts or (Chaincode)
Answers
Suggested answer: A

An_____________ is defined as a communication node that is responsible for the distribution of blockchain transactions in Hyperledger Fabric.

A.
MSP
A.
MSP
Answers
B.
Peer Node
B.
Peer Node
Answers
C.
Client Node
C.
Client Node
Answers
D.
Endorsing NodeE. Orderer
D.
Endorsing NodeE. Orderer
Answers
Suggested answer:

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?

A.
CouchDB
A.
CouchDB
Answers
B.
LevelDBC. MySQL
B.
LevelDBC. MySQL
Answers
C.
MS SQL
C.
MS SQL
Answers
D.
PostGres SQL
D.
PostGres SQL
Answers
Suggested answer: 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

Which of the following is a role in Fabric that has permission to create transactions and query network data?

A.
Chain Transactor
A.
Chain Transactor
Answers
B.
Chain Administrator
B.
Chain Administrator
Answers
C.
Chain Auditor
C.
Chain Auditor
Answers
D.
Chain Member
D.
Chain Member
Answers
Suggested answer: A

Explanation:

Reference: https://fabric-docs-test.readthedocs.io/en/latest/glossary/#roles

Hyperledger is an open source project that came out of the ___________________________. It was created in order to help advance _____________________________blockchain technologies. It's a global open source collaboration involving leaders from numerous industries.

A.
Linux Foundation, Cross Industry
A.
Linux Foundation, Cross Industry
Answers
B.
Defense Industry, Military Communications
B.
Defense Industry, Military Communications
Answers
C.
Linux Foundation, Military Communications
C.
Linux Foundation, Military Communications
Answers
D.
Defense Industry, Financial Oriented
D.
Defense Industry, Financial Oriented
Answers
E.
Linux Foundation, Financial Oriented
E.
Linux Foundation, Financial Oriented
Answers
Suggested answer: A

Explanation:

Hyperledger is an open source project that came out of the LF and was created in order to help advance cross-industry blockchain technologies. It's a global open source collaboration involving leaders from numerous industries.

A transaction in Hyperledger Fabric is a request to the blockchain to execute a function on the ledger.

By what the function is implemented?

A.
Chaincode
A.
Chaincode
Answers
B.
Service Account
B.
Service Account
Answers
C.
SDK
C.
SDK
Answers
D.
API
D.
API
Answers
Suggested answer: A

Explanation:

Chaincode is programmatic logic. A transaction is a request to the blockchain to execute a function on the ledger. The function is implemented by a chaincode. Aka smart contracts

Reference: http://hyperledger-fabric.readthedocs.io/en/release-1.1/Fabric-FAQ.html#endorsement

When your developing with Fabric Composer which of the following is true?

A.
Decrease the time of development
A.
Decrease the time of development
Answers
B.
Simplifies the development of applications
B.
Simplifies the development of applications
Answers
C.
Simplifies the code integration of applications
C.
Simplifies the code integration of applications
Answers
D.
Increases the time of development
D.
Increases the time of development
Answers
Suggested answer: A

Explanation:

Hyperledger Composer is an 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.

Chaincode Services uses Docker to host (deploy) the chaincode without relying on any virtual machine or computer language. What would be the main reason or best reason that Hyperledger chose containers over virtual machines?

A.
Docker provides a secured, lightweight method to sandbox chaincode execution that is “locked down”.
A.
Docker provides a secured, lightweight method to sandbox chaincode execution that is “locked down”.
Answers
B.
Docker provides a secured, lightweight method to sandbox chaincode execution that is “locked down” but additional programming languages cannot be enabledC. Docker provides a secured, lightweight method to sandbox chaincode execution that is not “locked down”
B.
Docker provides a secured, lightweight method to sandbox chaincode execution that is “locked down” but additional programming languages cannot be enabledC. Docker provides a secured, lightweight method to sandbox chaincode execution that is not “locked down”
Answers
C.
Docker is fully compatible with Hyperledger and Linux with an upgrade subscription.
C.
Docker is fully compatible with Hyperledger and Linux with an upgrade subscription.
Answers
Suggested answer: A

Explanation:

Docker provides a secured, lightweight method to sandbox chaincode execution that is "locked down" Chaincode Services uses Docker to host (deploy) the chaincode without relying on any virtual machine or computer language. Docker provides a secured, lightweight method to sandbox chaincode execution. The environment is a "locked down" and secured container, along with a set of signed base images containing secure OS and chaincode language, runtime and SDK images for Golang Additional programming languages can be enabled

Total 126 questions
Go to page: of 13