ExamDumpster

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.

Question 1Choose one

A financial consortium is deploying a Hyperledger Fabric network with three ordering service nodes using the Raft consensus protocol. To ensure high availability, the operations team wants to allow for one orderer node to fail without impacting the network's ability to process transactions. What is the minimum number of orderer nodes that must be operational to maintain a quorum?

Question 2Choose one

A developer is writing a Go chaincode function to update an asset's state. To ensure data privacy, the asset's price must be passed to the chaincode function but NOT recorded in the transaction's read-write set on the public ledger. Which method should be used to access this private data within the chaincode?

Question 3Choose one

A system administrator is joining a peer of a newly added organization to an existing channel. When the administrator requests the channel's genesis block from the ordering service (`peer channel fetch 0 ...`) so that the peer can join, the request is rejected and the ordering node's logs show 'access denied' policy-check failures for the request. The TLS connection to the ordering node is established successfully, and the organization's MSP ID is correct. What is a common cause of this issue?

Question 4Choose one

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?

Question 5Choose one

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.

Question 6Choose 2

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)

Question 7Choose one

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?

Question 8Choose one

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?

Question 9Choose one

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?

Question 10Choose one

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?

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.

Create account