
EC-CouncilBlockchain Developer Certification
Domain 8Objective 2
Chaincode Development, Deployment, and Lifecycle Management BDC Practice Questions (Page 1)
Part of the Enterprise Blockchain Platforms domain, which makes up ~10% of our current practice bank.
34questions here
7free pages
7concepts
Questions 1–5
- 1
A chaincode function iterates over all asset records to compute a total value. The function is invoked frequently and is causing performance issues. What is the most effective optimization?
Select an answer first - 2
In the Hyperledger Fabric chaincode lifecycle, what is the correct sequence of operations to deploy a chaincode?
Select an answer first - 3
A chaincode function allows users to create new assets. The function currently allows any user to create an asset. The business requirement is that only users with an 'admin' role can create assets. The chaincode uses the Fabric Client Identity (CID) library. What is the most appropriate way to enforce this?
Select an answer first - 4
A developer is writing a chaincode for a healthcare application that stores patient records. The chaincode must ensure that only authorized healthcare providers can read a patient's record. The chaincode uses the Fabric Client Identity (CID) library. What is the most appropriate way to implement this access control?
Select an answer first - 5
A developer is writing unit tests for a new chaincode function that updates an asset's owner. The function first checks that the caller is the current owner. To test the authorization logic without invoking the chaincode through a peer, what is the most effective approach?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “BDC” is a trademark of its owner, used for identification only.