Skip to content

CBDH Practice Questions

Prepare for CBDH with more than an answer.

103 questions in the full set9 sample questionsUpdated Aug 11, 2025
Exam fee
$300 USD
Level
Professional
Valid for
2 years
Domains covered on the exam 5
  1. Hyperledger Fabric Fundamentals30%
  2. Chaincode Development25%
  3. Fabric Application Development25%
  4. Setup and Configuration10%
  5. Testing & Troubleshooting10%
  1. 1

    The Hyperledger Fabric framework is implemented on what programming environment?

    Show answer details

    Correct answer:

  2. 2

    You would like to download Hyperledger Fabric.What would be the command to start the process?

    Show answer details

    Correct answer: B

  3. 3

    What Hyperledger sponsored tool is a new open-source application development framework, which simplifies the creation of Hyperledger Fabric blockchain applications, thus reducing the time and complexity of development.The tool aims at helping users to create blockchain applications based on Hyperledger Fabric without needing to know the low-level (Go Programming) details involved in blockchain networks?

    Show answer details

    Correct answer: B

  4. 4

    A developer is troubleshooting a slow-performing chaincode query that uses a complex selector to find assets based on multiple JSON attributes. The underlying state database is CouchDB. What is the most effective way to improve the performance of this query?

    graph TD ClientApp -- query('{"selector":{"owner":"Alice", "color":"blue"}}') --> Peer Peer -- GetQueryResult --> Chaincode Chaincode -- CouchDB Mango Query --> CouchDB subgraph CouchDB direction LR DB_Scan[Full DB Scan] --> SlowResponse{Slow Response} end CouchDB --> Chaincode Chaincode --> Peer Peer --> ClientApp

    Show answer details

    Correct answer: C

    CouchDB rich queries can be slow if they result in a full database scan. The recommended way to optimize them is to create a JSON index that covers the fields used in the selector. By creating an index on 'owner' and 'color', CouchDB can satisfy the query much more efficiently. These indexes should be defined in a .json file and placed in the META-INF/statedb/couchdb/indexes directory within the chaincode package, ensuring they are automatically deployed with the chaincode.

Create an account to continue.