ExamGecko
Home Home / Blockchain / CBDH

Blockchain CBDH Practice Test - Questions Answers, Page 8

Question list
Search
Search

Related questions











There are currently three supported ordering services in Hyperledger Fabric and one service is used by developers experimenting with Hyperledger Fabric networks. What service is this?

A.
PoET
A.
PoET
Answers
B.
Kafks
B.
Kafks
Answers
C.
SOLO
C.
SOLO
Answers
D.
SBFT
D.
SBFT
Answers
E.
BFT
E.
BFT
Answers
Suggested answer: C

Explanation:

SOLO is the Hyperledger Fabric ordering mechanism most typically used by developers experimenting with Hyperledger Fabric networks. SOLO involves a single ordering node and Note Development Only.

Hyperledger Explorer is what type of web application? (Select two.)

A.
A Nodejs based web app which runs on Node/Express
A.
A Nodejs based web app which runs on Node/Express
Answers
B.
A JS based web app which runs on Node/ExpressJS
B.
A JS based web app which runs on Node/ExpressJS
Answers
C.
Uses PostGres SQL as the backend database
C.
Uses PostGres SQL as the backend database
Answers
D.
Uses MySQL as the backend database
D.
Uses MySQL as the backend database
Answers
Suggested answer: A, D

Which Hyperledger tool provides an open source browser for viewing activity on the underlying blockchain network?

A.
Caliper
A.
Caliper
Answers
B.
Quilt
B.
Quilt
Answers
C.
Cello
C.
Cello
Answers
D.
Explorer
D.
Explorer
Answers
Suggested answer: D

Explanation:

Explorer can view, invoke, deploy or query blocks, transactions and associated data, network information, chain codes and transaction families, as well as other relevant information stored in the ledger. Powerful, easy-to-use, highly maintainable, open source browser for viewing activity on the underlying blockchain network.

In Hyperledger Fabric there is three types of chaincode. (Select three.)

A.
Private
A.
Private
Answers
B.
Hybrid
B.
Hybrid
Answers
C.
Access Controlled
C.
Access Controlled
Answers
D.
Consortium
D.
Consortium
Answers
E.
Public
E.
Public
Answers
F.
Compliant
F.
Compliant
Answers
Suggested answer: A, C, E

Explanation:

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

When reviewing chaincode you see a function called "ChaincodeStubInterface" in the program.

What does this function do?

A.
It is used to access the ledger.
A.
It is used to access the ledger.
Answers
B.
It is used to access the chaincode interface.
B.
It is used to access the chaincode interface.
Answers
C.
It is used to access the ledger and modify the ledger.
C.
It is used to access the ledger and modify the ledger.
Answers
D.
It is used to stop the chaincode interface.
D.
It is used to stop the chaincode interface.
Answers
Suggested answer: C

Explanation:

Reference: http://tutorialsdiary.com/hyperledger-fabric-tutorials-chaincode-interface-chaincodestubinterface/

There are two popular approaches to defining assets in most blockchain solutions. (Select two.)

A.
Stateless UTXO model, where account balances are encoded into past transaction records.
A.
Stateless UTXO model, where account balances are encoded into past transaction records.
Answers
B.
Account model, where account balances are kept in state storage space in memory registers.
B.
Account model, where account balances are kept in state storage space in memory registers.
Answers
C.
Stateful UTXO model, where account balances are encoded into past transaction records.
C.
Stateful UTXO model, where account balances are encoded into past transaction records.
Answers
D.
Account model, where account balances are kept in stateless storage space on the ledger.
D.
Account model, where account balances are kept in stateless storage space on the ledger.
Answers
E.
Stateless UTXO model, where account balances are encoded into current transaction records.
E.
Stateless UTXO model, where account balances are encoded into current transaction records.
Answers
F.
Account model, where account balances are kept in state storage space on the ledger.
F.
Account model, where account balances are kept in state storage space on the ledger.
Answers
Suggested answer: A, F

Explanation:

Users can use chaincode (for business rules) and membership service (for digital tokens) to design assets, as well as the logic that manages them. There are two popular approaches to defining assets in most blockchain solutions: the stateless UTXO model, where account balances are encoded into past transaction records; and the account model, where account balances are kept in state storage space on the ledger. Each approach carries its own benefits and drawbacks. This blockchain fabric does not advocate either one over the other. Instead, one of our first requirements was to ensure that both approaches can be easily implemented with tools available in the fabric.

The use of cryptographic hashing with blockchain provides for which of the following?

A.
Providing for flexibility in security design
A.
Providing for flexibility in security design
Answers
B.
Providing for ease of analytical insight
B.
Providing for ease of analytical insight
Answers
C.
Ensuring data blocks are mutable
C.
Ensuring data blocks are mutable
Answers
D.
Ensuring data blocks are immutable
D.
Ensuring data blocks are immutable
Answers
Suggested answer: D

What function in chaincode will be used to store a state on the blockchain ledger?

A.
ChaincodeStubInterface.getFunctionAndParameters
A.
ChaincodeStubInterface.getFunctionAndParameters
Answers
B.
ChaincodelLedgerInterface.PlaceState
B.
ChaincodelLedgerInterface.PlaceState
Answers
C.
ChaincodeStubInterface.PlaceState
C.
ChaincodeStubInterface.PlaceState
Answers
D.
ChaincodeStubInterface.PutState
D.
ChaincodeStubInterface.PutState
Answers
E.
ChaincodeLedgerInterfaceStoreState
E.
ChaincodeLedgerInterfaceStoreState
Answers
Suggested answer: D

Explanation:

Reference: https://hyperledger-fabric.readthedocs.io/en/release-1.4/chaincode4ade.html

In Hyperledger Fabric each channel will manage its own _______ and ________?

Select best answer.

A.
Nodes, Peers, Chaincode
A.
Nodes, Peers, Chaincode
Answers
B.
Chaincode, SQL
B.
Chaincode, SQL
Answers
C.
Ledgers, Logging
C.
Ledgers, Logging
Answers
D.
Ledgers, Chaincode
D.
Ledgers, Chaincode
Answers
E.
Ledgers, Chaincode and APIS
E.
Ledgers, Chaincode and APIS
Answers
Suggested answer: D

Explanation:

Chaincode may be deployed on multiple channels, each instance is isolated within its channel. Each channel maintains their own chaincode and ledger.

There are generally two ways to develop business contracts in Hyperledger. (Select two.)

A.
Code individual contracts into standalone instances of chaincode.
A.
Code individual contracts into standalone instances of chaincode.
Answers
B.
Use chaincode to create decentralized applications that manage the life cycle of one or multiple types of business contracts, and let end users instantiate instances of contracts within these applications.
B.
Use chaincode to create decentralized applications that manage the life cycle of one or multiple types of business contracts, and let end users instantiate instances of contracts within these applications.
Answers
C.
Code multiple contracts into distributed instances of chaincode.
C.
Code multiple contracts into distributed instances of chaincode.
Answers
D.
Code individual contracts into distributed instances of chaincode.
D.
Code individual contracts into distributed instances of chaincode.
Answers
E.
Use chaincode to create centralized applications that manage the life cycle of one or multiple types of business contracts, and let end users instantiate instances of contacts within these applications.
E.
Use chaincode to create centralized applications that manage the life cycle of one or multiple types of business contracts, and let end users instantiate instances of contacts within these applications.
Answers
Suggested answer: A, B

Explanation:

There are generally two ways to develop business contracts: the first way is to code individual contracts into standalone instances of chaincode; the second way, and probably the more efficient way, is to use chaincode to create decentralized applications that manage the life cycle of one or multiple types of business contracts, and let end users instantiate instances of contracts within these applications Reference: https://fabric-docs- test.readthedocs.io/en/latest/FAQ/chaincode_FAQ/

Total 126 questions
Go to page: of 13