Blockchain BTA Certified Blockchain Developer - Hyperledger CBDH Exam Questions

Page: 1 / 14
Total 195 questions
Question 1

What is the best description of how Kafka is utilized for consensus approach in Hyperledger Fabric?



Answer : D

Kafka essentially is a distributed, horizontally-scalable, fault-tolerant, commit log. The other answers are in correct.

References:


Question 2

_________is called to update or query the ledger in a proposal transaction. This is called by the chaincode.



Answer : D

Invoke is called to update or query the ledger in a proposal transaction. 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.

References:


Question 3

The Hyperledger Project Framework of blockchains is meant for specific use cases for enterprise.

Which blockchain includes a novel consensus algorithm, Proof of Elapsed Time (PoET)?



Answer : D

Hyperledger Sawtooth is a modular platform for building, deploying, and running distributed ledgers. Hyperledger Sawtooth includes a novel consensus algorithm, Proof of Elapsed Time (PoET), which targets large distributed validator populations with minimal resource consumption.


Question 4

Which Hyperledger Fabric ordering mechanism is recommended for production use?



Answer : B

Kafka is the Hyperledger Fabric ordering mechanism that is recommended for production use. This ordering mechanism utilizes Apache Kafka, an open source stream processing platform that provides a unified, high-throughput, low-latency platform for handling real-time data feeds.


Question 5

What type of node commits transactions & keeps the data in sync across the ledger?



Answer : D

Peer nodes commits Transaction & keeps the data in sync across the ledger. They are nodes that maintain the state and copy of a shared ledger. Peers are authenticated by certificates issued by MSP. In Hyperledger Fabric, there are three types of peer nodes depending upon the assigned roles.


Question 6

Composer Modeling Language is an object-oriented modeling language that defines the domain model for a business network definition. Essentially this is saved as a .cto file.

Which of the following is NOTa characteristics of a .cto file?



Answer : B

Values can be assigned to any field variable A CTO file consists of:

A single namespace, in which all resource declarations are implicitly.

The overall ''model'' defines the representation of assets.

A set of resource definitions that includes assets, transactions, participants, and events.

Values may be assigned to any field variable.

The option to import resources from other namespaces.

When using composer modeling language, the words ''asset'' and ''participant'' are reserved.

Asset ownership instance is defined in a relationship field. (symbol: o)

The modeling language does not support multiple inheritance.


Question 7

What function is used to call the shim.Start function below?



Answer : C

References:


Page:    1 / 14   
Total 195 questions