CBDH practice question 23 of 25
When the________, ______________ or ________function of a chaincode is called, the fabric passes the stub *shim.ChaincodeStub parameter. (Select three.)
Full set: 195 questionsCorrect Answer:
A. Query; C. Invoke; D. Init
Explanation
When the Init, Invoke or Query function of a chaincode is called, the fabric passes the stub *shim.ChaincodeStub parameter. This stub can be used to call APIs to access to the ledger services, transaction context, or to invoke other chaincodes.
References
:
Keep practicing
Take the free CBDH practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CBDH practice questions
- Question 1Which Hyperledger Tool brings on demand as-a-service deployment model into the blockchain…
- Question 2What type of peer executes chaincode?
- Question 3Which of the following is the BEST definition of Decentralization?
- Question 4What type of certificates act as secure identifiers, digital passports which contain info…
- Question 5What is the application that is used by Hyperledger Fabric to communicate with the networ…
- Question 6The CA (Certificate Authority) in Hyperledger Fabric issues the certificates. These certi…
