Bta Certified Blockchain Developer - Hyperledger Free Sample Questions

9 free sample questions103 in the full practice test

Try simulator

CBDH Sample Questions

  1. Question 1

    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

    Answer and explanation

    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.

  2. Question 2

    Level DB is the default database for Hyperledger Fabric and is particularly appropriate when ledger states comprise what type of data?

    Answer and explanation

    Correct answer: D

  3. Question 3

    When creating a network according to an organization's structure and also bootstrap a channel what are the following artifacts we would need to generate?

    Answer and explanation

    Correct answer: C

  4. Question 4

    Which Hyperledger tool would you select to invoke, deploy or query blocks, transactions and associated data, network information (name, status, list of nodes), chain codes and transaction families, as well as other relevant information stored in the ledger?

    Answer and explanation

    Correct answer: D

Register free to unlock 5 more sample questions

Lifetime One

Own this practice test forever.

$79.99
$75.99
one-time
  • Full access to 103 questions
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • Brainy AI Assistant
  • Lifetime updates

Two

Any 2 exams per month.

$20.00/exam
$39.99
/month
  • 2 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 1,000 Brainy AI Credits
  • Cancel anytime

Premium Twelve

Any 12 exams over 3 months.

$15.00/exam
$179.99
/3 months
  • 4 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 15,000 Brainy AI Credits
  • Dedicated support
  • Friend seat included — full access

Trusted by professionals at

NvidiaSupabaseGitHubOpenAITursoClerkClaude AIAmazon