Free HFCP sample questions
Real questions from the Hyperledger Fabric Certified Practitioner practice bank, with the correct answer and an explanation for each one. No junk, no filler.
Try them in the simulator Same questions, with study, timed and flashcard modes.
Showing 10 of 20 free sample questions.
A developer is building a client application using the Fabric Gateway SDK. The application needs to query the current world state to display information to a user but should not create a transaction that goes through the ordering service. Which Gateway method is most efficient for this purpose?
True or False: When using Private Data Collections (PDCs), the actual private data is sent to the ordering service and included in the block, but it is encrypted so only authorized peers can decrypt it.
During a chaincode upgrade using the new lifecycle, an administrator successfully packages and installs the new version. However, when trying to commit the new chaincode definition to the channel, the transaction fails. Which of the following are potential reasons for this commit failure? (Select TWO)
A supply chain network uses anchor peers to facilitate cross-organization communication. Org1 has two peers, peer0.org1 and peer1.org1. Initially, only peer0.org1 was defined as an anchor peer. The administrator now wants to add peer1.org1 as a second anchor peer for redundancy. Which tool and process should be used to perform this update on a running network?
A developer needs to implement a query in chaincode that finds all assets belonging to a specific owner. The assets are stored with keys like `ASSET_1`, `ASSET_2`, etc., and the owner is an attribute in the JSON value. To make this query efficient without scanning the entire state database, which feature should be used?
An event-listening service is designed to monitor a Hyperledger Fabric channel for specific chaincode events. The service crashes and is restarted. To avoid processing duplicate events or missing events that occurred during the downtime, what mechanism should the application implement?
A DevOps engineer is setting up monitoring for a production Hyperledger Fabric network using Prometheus. To get detailed metrics about transaction validation latency and chaincode execution time, which component's configuration must be updated to enable the operations service?
A transaction is successfully endorsed by the required peers but fails during the validation phase on committing peers. The logs indicate an 'MVCC_READ_CONFLICT' error. What does this error signify?
What is the primary function of the `_implicit_org_ ` private data collection that is automatically available for every chaincode in Fabric v2.x?
10 more free samples are waiting
Create a free account to unlock the whole HFCP sample bank, or get full access to all 204 practice questions in the simulator.