Free CBDH Exam Braindumps
BTA Certified Blockchain Developer – Hyperledger Questions 46–50 (page: 11)

Updated On: 9-Feb-2026

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.



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

  1. Fork will fork the entire repository including all the branches.
  2. Forking is not allowed in Github.
  3. Moving this repository to your GitHub account and removing contents from previous repository.
  4. Fork will fork the specific repository without all the branches.
  5. Creating a copy of this repository under your GitHub account.

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

  1. Invoke and Close
  2. Invoke and Revoke
  3. Open and Shut
  4. Open and Close
  5. Invoke and Init

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



Viewing page 11 of 40
Viewing questions 51 - 55 out of 195 questions


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

AI Tutor AI Tutor 👋 I’m here to help!