Free CBDH Exam Braindumps (page: 13)

Page 12 of 49

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

  1. Consensus algorithm
  2. Shared Distributed Ledger
  3. Encryption
  4. Validity Rules

Answer(s): 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?

  1. Golang
  2. Chaincode Interface
  3. Java
  4. Linux APIs

Answer(s): B

Explanation:

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



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?

  1. Error
  2. Getstate
  3. Putstate
  4. Read

Answer(s): C



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

  1. Initialize
  2. Init
  3. Update
  4. Invoke

Answer(s): 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.






Post your Comments and Discuss Blockchain CBDH exam with other Community members:

CBDH Discussions & Posts