ExamGecko
Home Home / Blockchain / CBDH

Blockchain CBDH Practice Test - Questions Answers, Page 5

Question list
Search
Search

Related questions











Hyperledger Fabric Consensus is planned out into 3 phases. Which one is

NOT a phase?

A.
Ordering
A.
Ordering
Answers
B.
Endorsement
B.
Endorsement
Answers
C.
Voting
C.
Voting
Answers
D.
Validation
D.
Validation
Answers
Suggested answer: C

Hyperledger Fabric essentially implements a private validator network protocol.

Which of the following statements are true?

A.
None of the entities in a network must register with membership services to obtain with access and transaction authority on the network.
A.
None of the entities in a network must register with membership services to obtain with access and transaction authority on the network.
Answers
B.
Selected entities in a network must register with membership services to obtain an identity with access and transaction authority on the network.
B.
Selected entities in a network must register with membership services to obtain an identity with access and transaction authority on the network.
Answers
C.
All the entities in a network must register with membership services to obtain an identity with access and transaction authority in the network.
C.
All the entities in a network must register with membership services to obtain an identity with access and transaction authority in the network.
Answers
D.
Selected entities in a network must register with Reputation Manager to obtain an identity with access and transaction authority on the network.
D.
Selected entities in a network must register with Reputation Manager to obtain an identity with access and transaction authority on the network.
Answers
Suggested answer: C

Explanation:

Hyperledger is a private validator network protocol. All the entities in a network must register with membership services to obtain an identity with access and transaction authority on the network. Validators determine the level of permissions required to transact. The network setup also defines the network as permissive, allowing the ease of access. It supports for rapid and high adoption for a more controlled and restrictive environment.

Which of the following provides Immutability?

A.
Assurance that a transaction cannot be altered
A.
Assurance that a transaction cannot be altered
Answers
B.
Network configuration cannot be changed
B.
Network configuration cannot be changed
Answers
C.
Guarantee that participants will never put bad information on the Blockchain
C.
Guarantee that participants will never put bad information on the Blockchain
Answers
D.
Network nodes will never fail
D.
Network nodes will never fail
Answers
Suggested answer: B

Explanation:

Reference: https://www.ibm.com/blockchain/what-is-blockchain

Blockchain services in Hyperledger Fabric manages the distributed ledger through a peer to peer protocol that is built on ______?

A.
HTTP/2
A.
HTTP/2
Answers
B.
TLS and SSL
B.
TLS and SSL
Answers
C.
TLS
C.
TLS
Answers
D.
HTTP/1
D.
HTTP/1
Answers
E.
SSL
E.
SSL
Answers
Suggested answer: A

Explanation:

Blockchain services manages the distributed ledger through a peer to peer protocol that is built on HTTP/2. The optimized data structure provides efficient schemes for maintaining the world state (the state of all transactions on the Blockchain) replicated at many participants.

Which of the following blockchain key components state how the transactions will be confirmed?

A.
Consensus algorithm
A.
Consensus algorithm
Answers
B.
Shared Distributed Ledger
B.
Shared Distributed Ledger
Answers
C.
Encryption
C.
Encryption
Answers
D.
Validity Rules
D.
Validity Rules
Answers
Suggested answer: D

Explanation:

Validity rules (validation) state how the user and the transactions will be validated. This is predetermined by the consensus algorithm.

What must implement every chaincode?

A.
Golang
A.
Golang
Answers
B.
Chaincode Interface
B.
Chaincode Interface
Answers
C.
Java
C.
Java
Answers
D.
Linux APIs
D.
Linux APIs
Answers
Suggested answer: B

Explanation:

Chaincode Interface is required and supports Go, Node.js or Java.

Reference: https://hyperledger-fabric.readthedocs.io/en/release-1.3/chaincode4ade.html#chaincode-api

Query is called whenever you query your chaincode's state. Queries do not result in blocks being added to the chain, and you cannot use certain functions.

Which function can you not use inside a Query?

A.
Error
A.
Error
Answers
B.
Getstate
B.
Getstate
Answers
C.
Putstate
C.
Putstate
Answers
D.
Read
D.
Read
Answers
Suggested answer: C

Explanation:

Reference: https://github.com/IBM-Blockchain-Archive/learn-chaincode

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

A.
Initialize
A.
Initialize
Answers
B.
Init
B.
Init
Answers
C.
Update
C.
Update
Answers
D.
Invoke
D.
Invoke
Answers
Suggested answer: D

Explanation:

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.

Reference: https://godoc.org/github.com/hyperledger/fabric/core/chaincode/shim#Chaincode

What means "Forking" the Hyperledger Fabric Github repository? (Select two.)

A.
Fork will fork the entire repository including all the branches.
A.
Fork will fork the entire repository including all the branches.
Answers
B.
Forking is not allowed in Github.
B.
Forking is not allowed in Github.
Answers
C.
Moving this repository to your GitHub account and removing contents from previous repository.
C.
Moving this repository to your GitHub account and removing contents from previous repository.
Answers
D.
Fork will fork the specific repository without all the branches.
D.
Fork will fork the specific repository without all the branches.
Answers
E.
Creating a copy of this repository under your GitHub account.
E.
Creating a copy of this repository under your GitHub account.
Answers
Suggested answer: A, E

Explanation:

Forking" the repository means creating a copy of this repository under your GitHub account. Note that the fork will fork the entire repository including all the branches.

The chaincode’s interface implements which of the following functions?

A.
Invoke and Close
A.
Invoke and Close
Answers
B.
Invoke and Revoke
B.
Invoke and Revoke
Answers
C.
Open and Shut
C.
Open and Shut
Answers
D.
Open and Close
D.
Open and Close
Answers
E.
Invoke and Init
E.
Invoke and Init
Answers
Suggested answer: E

Explanation:

Hyperledger supports the following two types of transactions. Code deploying transaction: A code deploying transaction submits, updates, or terminates a chaincode. Code invoking transaction: A code invoking transaction is an API call to a chaincode function.

Total 126 questions
Go to page: of 13