
EC-CouncilBlockchain Developer Certification
Domain 8Objective 2
Chaincode Development, Deployment, and Lifecycle Management BDC Practice Questions (Page 4)
Part of the Enterprise Blockchain Platforms domain, which makes up ~10% of our current practice bank.
34questions here
7free pages
7concepts
Questions 16–20
- 16
In Hyperledger Fabric, how is a chaincode upgrade typically performed?
Select an answer first - 17
A chaincode developer is writing a function that updates a user's profile. The function receives a user ID and new profile data. The chaincode must ensure that only the user themselves or an administrator can update the profile. The chaincode uses the Fabric Client Identity (CID) library. What is the most appropriate way to enforce this access control?
Select an answer first - 18
A chaincode function allows users to transfer tokens. The developer wants to ensure that only the token owner can initiate a transfer. Which access control mechanism should be implemented inside the chaincode?
Select an answer first - 19
A developer is writing chaincode that manages a list of authorized users. The list is stored as a single state key containing an array. The function to add a user reads the entire array, appends the new user, and writes it back. This function is called frequently and is slow. What is the best way to improve performance?
Select an answer first - 20
A Hyperledger Fabric network has a chaincode that is used for asset trading. The endorsement policy is set to require signatures from two of the three organizations. A new organization joins the network and wants to participate in endorsing transactions. What must be done to allow the new organization to endorse?
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.