Free practice · No sign-up required

Hyperledger Fabric Certified Practitioner free practice test

15 questions with answer explanations. Choose an answer below to begin.

Question 1 of 15

What is the primary purpose of a channel in Hyperledger Fabric?

Show hint

Understand channel architecture and privacy concepts.

0/15 answered · Bookmark questions to review later. Focus the practice area to use keys 1–9 and Enter.

Learn by doing

Put your answers into practice

Use official documentation and hands-on labs to work through topics you missed.

Explore all study resources →

All questions and explanations

Prefer to read at your own pace? Work through each question below, then open its answer to check your reasoning. You can link directly to a question or print this reference.

  1. What is the primary purpose of a channel in Hyperledger Fabric?

    1. To provide a private communication path between selected organizations

    2. To increase the overall transaction speed of the network

    3. To store all chaincode in a centralized location

    4. To replace the need for consensus among peers

    Show answer and explanation

    Correct answer

    • To provide a private communication path between selected organizations

    Channels in Hyperledger Fabric create isolated communication paths for a subset of participants, ensuring data privacy and confidentiality. They do not inherently improve speed or remove consensus requirements.

  2. Which component is responsible for validating transactions against endorsement policies?

    1. Endorsing peer

    2. Ordering service

    3. Committing peer

    4. Membership Service Provider

    Show answer and explanation

    Correct answer

    • Endorsing peer

    Endorsing peers simulate transactions and check whether the proposal meets the defined endorsement policies. The ordering service and committing peers have different roles in consensus and validation.

  3. What does chaincode in Hyperledger Fabric typically encapsulate?

    1. The business logic and rules for asset modification

    2. The cryptographic keys for all network users

    3. The ordering service configuration

    4. The network membership identities

    Show answer and explanation

    Correct answer

    • The business logic and rules for asset modification

    Chaincode defines the application logic and rules for reading and updating the ledger state. It does not manage keys, ordering configuration, or membership directly.

  4. Which service provides the ordering of transactions in Hyperledger Fabric?

    1. Ordering service

    2. Endorsement service

    3. Membership service

    4. Lifecycle service

    Show answer and explanation

    Correct answer

    • Ordering service

    The ordering service receives endorsed transactions, orders them into blocks, and delivers them to peers for commitment. It does not endorse or manage memberships.

  5. What is a private data collection in Hyperledger Fabric?

    1. A mechanism to share data with a subset of channel members

    2. A public ledger entry visible to all participants

    3. A backup of the entire channel database

    4. A tool for ordering transactions

    Show answer and explanation

    Correct answer

    • A mechanism to share data with a subset of channel members

    Private data collections allow specific organizations on a channel to share sensitive data without publishing it to the entire channel. They enhance confidentiality while using the same channel infrastructure.

  6. Which identity concept ties a user to their role in a Hyperledger Fabric network?

    1. Membership Service Provider (MSP)

    2. Transaction ID

    3. Block hash

    4. Orderer certificate

    Show answer and explanation

    Correct answer

    • Membership Service Provider (MSP)

    MSPs define identities, roles, and policies within a Fabric network, mapping users to their permissions. Transaction IDs and block hashes are used for verification, not identity definition.

  7. What is the purpose of endorsement policies in chaincode?

    1. To specify which organizations must endorse a transaction

    2. To determine the block size for ordering

    3. To encrypt transaction payloads

    4. To assign transaction IDs

    Show answer and explanation

    Correct answer

    • To specify which organizations must endorse a transaction

    Endorsement policies define the required set of endorsing peers for a transaction to be considered valid. They enforce governance and trust settings for business transactions.

  8. Which component maintains the current state database for a chaincode?

    1. State database

    2. Ordering service

    3. Membership provider

    4. Audit log

    Show answer and explanation

    Correct answer

    • State database

    The state database stores the latest values of keys for a chaincode, allowing peers to quickly retrieve current data. It is updated only after a transaction is committed.

  9. What is a block in the context of Hyperledger Fabric?

    1. A collection of validated transactions ordered by the ordering service

    2. A cryptographic key used for signing transactions

    3. A user role defined in the membership service

    4. A configuration file for chaincode deployment

    Show answer and explanation

    Correct answer

    • A collection of validated transactions ordered by the ordering service

    Blocks contain ordered, validated transactions and are delivered to committing peers. They are created by the ordering service and form the immutable ledger.

  10. Question 10

    Link to question

    Which lifecycle operation makes chaincode available for endorsement?

    1. Install and approve

    2. Package and distribute

    3. Initialize and activate

    4. Deploy and run

    Show answer and explanation

    Correct answer

    • Install and approve

    Chaincode must be installed on peers and approved by the required organizations before it can be committed to the channel. This process prepares it for endorsement and invocation.

  11. Question 11

    Link to question

    What does a transaction proposal primarily contain?

    1. Read-write set updates to be executed

    2. Invocation instructions and read set

    3. The final block hash for verification

    4. Endorsement policy definitions

    Show answer and explanation

    Correct answer

    • Invocation instructions and read set

    A transaction proposal includes the chaincode function and arguments to be executed, along with a read set for version checks. It is sent to endorsers for simulation.

  12. Question 12

    Link to question

    Which component ensures that all peers see the same sequence of blocks?

    1. Ordering service

    2. Endorsing peers

    3. Membership service

    4. Lifecycle system chaincode

    Show answer and explanation

    Correct answer

    • Endorsing peers

    The ordering service batches transactions into blocks and delivers them in a consistent order to all peers. This ensures agreement on the ledger sequence.

  13. Question 13

    Link to question

    What is a common use case for private data collections?

    1. Sharing sensitive pricing or personal data with specific partners

    2. Publishing all transaction details to the entire network

    3. Replacing the need for channels

    4. Storing configuration profiles for ordering nodes

    Show answer and explanation

    Correct answer

    • Sharing sensitive pricing or personal data with specific partners

    Private data collections are designed to limit data visibility to a defined set of organizations on a channel, commonly used for confidential business information.

  14. Question 14

    Link to question

    Which statement best describes immutability in Hyperledger Fabric?

    1. Once a transaction is committed, it cannot be altered or deleted

    2. Channels can be modified after creation without consensus

    3. Chaincode logic can be changed without reapproval

    4. Private data can be accessed by any peer at any time

    Show answer and explanation

    Correct answer

    • Once a transaction is committed, it cannot be altered or deleted

    Immutability ensures that committed transactions remain permanent and tamper-proof. While chaincode can be upgraded and private data has restricted access, committed records cannot change.

  15. Question 15

    Link to question

    What is the role of a committing peer in transaction validation?

    1. To verify the endorsement and write the block to the ledger

    2. To create new transactions and submit them to the network

    3. To order transactions before they are endorsed

    4. To manage the membership service provider identities

    Show answer and explanation

    Correct answer

    • To verify the endorsement and write the block to the ledger

    Committing peers validate that the transaction has the required endorsements and then add the block to their local ledger. They do not create or order transactions.

Read all flashcards

Recall the answer before opening each card.

What is the primary purpose of a channel?

To provide a private communication path between selected organizations for data privacy and confidentiality.

Which peer validates transactions against endorsement policies?

The endorsing peer simulates transactions and checks them against endorsement policies.

What does chaincode encapsulate?

The business logic and rules for reading and updating the ledger state (asset modification).

Which service orders transactions into blocks?

The ordering service receives endorsed transactions, orders them, and delivers blocks to peers.

What is a private data collection?

A mechanism to share data with a subset of channel members while keeping it confidential from others.

What ties a user to their role in Fabric?

The Membership Service Provider (MSP) defines identities, roles, and policies.

What is the purpose of an endorsement policy?

To specify which organizations must endorse a transaction for it to be considered valid.

Which component maintains the current state for chaincode?

The state database stores the latest values of keys for a chaincode.

What is a block in Hyperledger Fabric?

A collection of validated transactions ordered by the ordering service, forming the immutable ledger.

What makes chaincode available for endorsement?

Install and approve operations in the chaincode lifecycle prepare it for endorsement and invocation.

What does a transaction proposal contain?

Invocation instructions (function and arguments) and a read set for version checks.

What ensures all peers see the same block sequence?

The ordering service batches transactions into blocks and delivers them in consistent order.

Give a common use case for private data collections.

Sharing sensitive pricing or personal data with specific partners on a channel.

What does immutability mean in Fabric?

Once a transaction is committed, it cannot be altered or deleted; records are permanent.

What is the role of a committing peer?

To verify the endorsement and write the block to the local ledger.

Which component does NOT endorse transactions?

The ordering service does not endorse; it only orders endorsed transactions into blocks.

What is the difference between a channel and a private data collection?

A channel isolates entire communication for a group; a private data collection limits data visibility to a subset within a channel.

Can chaincode manage keys or ordering configuration?

No, chaincode encapsulates business logic for asset modification, not key management or ordering configuration.

When does the state database get updated?

Only after a valid transaction is committed; it stores the latest values of keys.

What must happen before chaincode is committed to a channel?

Chaincode must be installed on peers and approved by required organizations.

Active recall deck

Practice Hyperledger Fabric Certified Practitioner with real flashcards

Read the prompt, commit to an answer, then flip the card. Move through the deck at your own pace and repeat any topic that does not come back quickly.

20 free cards

Card 1 of 20

1 reviewed this session

Connect the concepts

Your Hyperledger Fabric Certified Practitioner study mind map

Open a branch to connect a topic with its practice questions and explanations. Use the map to choose your next review topic.

Hyperledger Fabric Certified Practitioner15 questions in this practice set
Understand channel architecture and privacy concepts.(1)
Identify roles of peers in transaction lifecycle.(1)
Understand chaincode as smart contract logic.(1)
Recognize the role of the ordering service in transaction flow.(1)
Understand private data collections for data confidentiality.(1)
Understand how identities and permissions are managed.(1)
Understand endorsement policies for transaction validation.(1)
Identify components that hold ledger state.(1)
Understand the structure and purpose of blocks.(1)
Understand chaincode lifecycle management steps.(1)
Understand the structure and intent of a transaction proposal.(1)
Understand the role of ordering in consistency.(1)
More practice connections(3)
Exam-focused analysis

What this HFCP practice set measures

This is an analysis of the practice bank, not a claim about the vendor's live exam blueprint. Use it to identify the knowledge, judgment, and recall patterns exercised here, then verify your coverage against the current official exam guide.

Channel Architecture and Privacy

Channels provide isolated communication paths for selected organizations, ensuring data privacy. They are not about performance or eliminating consensus. Private data collections extend this by allowing a subset of channel members to share sensitive data without broadcasting to the entire channel, commonly used for confidential pricing or personal data. Understanding when to use channels versus private data collections is critical. The practice bank tests this distinction and the purpose of private data collections.

  • Channels create private communication between selected organizations.
  • Private data collections enable sharing data with a subset of channel members.
  • Common use case: sharing sensitive pricing or personal data with specific partners.

Transaction Flow and Peer Roles

The transaction lifecycle involves endorsement, ordering, and commitment. Endorsing peers validate transactions against endorsement policies and simulate them. Committing peers verify endorsements and write blocks to the ledger. The ordering service orders transactions into blocks. The practice bank emphasizes these roles: endorsing peers validate endorsement policies, ordering service provides ordering, and committing peers write blocks. Misunderstanding these leads to incorrect answers.

  • Endorsing peers validate against endorsement policies and simulate transactions.
  • Ordering service orders transactions into blocks and delivers to peers.
  • Committing peers verify endorsement and write block to ledger.

Identity and Policy Management

MSPs (Membership Service Providers) tie users to their roles and permissions in the network. Endorsement policies specify which organizations must endorse a transaction. Chaincode encapsulates business logic for asset modification, not key management or ordering. The practice bank tests that MSP defines identity, endorsement policies govern transaction validity, and chaincode contains rules for ledger updates.

  • MSP defines identity and role mapping.
  • Endorsement policies specify required organizations for endorsement.
  • Chaincode contains business logic for asset modification.

Ledger, State, and Immutability

The state database stores current key values for chaincode, updated only after commitment. Blocks are collections of ordered, validated transactions from the ordering service. Once a transaction is committed, it cannot be altered (immutability). The practice bank tests that state database holds latest values, blocks are ordered by ordering service, and immutability means no alteration after commitment.

  • State database maintains current state for chaincode.
  • Blocks contain ordered validated transactions from ordering service.
  • Immutability: committed transactions cannot be altered or deleted.

Study workflow

Turn one HFCP attempt into a study plan

  1. 1

    Identify Component Functions

    For each question about a component (e.g., channel, peer, ordering service), first recall its primary function from the hints. Distinguish between endorsing and committing peers. Avoid mixing roles. Use the explanations to confirm your understanding.

  2. 2

    Differentiate Privacy Mechanisms

    When asked about channels vs. private data collections, note that channels isolate entire communication, while private data collections limit data visibility within a channel. Look for keywords like 'subset' to guide your answer.

  3. 3

    Relate Transaction Steps to Components

    Map each step of the transaction flow (proposal, endorsement, ordering, commitment) to the correct component. Remember: proposal goes to endorsers, they simulate and endorse, then ordering service orders, then committing peers validate and write.

  4. 4

    Use the Chaincode Lifecycle Logic

    For chaincode lifecycle questions, recall that install and approve are prerequisites for commit. The practice bank tests this sequence. Do not confuse with other lifecycle steps like package or deploy.

  5. 5

    Apply Immutability Correctly

    When discussing immutability, understand that it applies to committed transactions only. Upgrades or private data access do not break immutability. Committed records stay permanent. Use this to evaluate answer choices.

FAQ

Questions about this HFCP practice page

Clear boundaries on what the bank covers, how to use it, and where official vendor information still matters.

What is the primary purpose of a channel in Hyperledger Fabric?+

Channels provide a private communication path between selected organizations. They ensure data privacy and confidentiality by isolating transactions to channel members. They do not inherently improve speed or remove consensus requirements.

How does an endorsing peer differ from a committing peer?+

An endorsing peer simulates transactions and validates them against endorsement policies. A committing peer verifies the endorsement and writes the block to the ledger. Endorsers enforce policies; committers finalize the ledger.

What is a private data collection and when would you use it?+

A private data collection allows sharing sensitive data with a subset of channel members. Use it for confidential pricing, personal data, or any information that should not be visible to the entire channel. It enhances confidentiality within the same channel.

What does an endorsement policy specify?+

An endorsement policy specifies which organizations must endorse a transaction for it to be considered valid. It enforces governance and trust requirements for chaincode invocations.

Is it true that once a transaction is committed it can be altered?+

No, immutability in Hyperledger Fabric means committed transactions cannot be altered or deleted. This ensures the ledger is tamper-proof. Only state can be updated by new transactions; history remains unchanged.

Keep studying

Build the next review session

Browse another free bank or use the study strategy guide to turn your misses into spaced review.