ExamGecko
Home / Blockchain / CBDH / Practice Test 1
Ask Question

Blockchain CBDH Practice Test 1

Add to Whishlist
00:00:00
Show Answer
Report Issue   Restart test

Question 1 / 40

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

Complex key-value pairs
Complex key-value pairs
Rich Queries
Rich Queries
JSON data pairs
JSON data pairs
Simple key-value pairs
Simple key-value pairs
Comment (0)
Suggested answer: D
Explanation:

Simple key-value pairs - LevelDB is the default and is particularly appropriate when ledger states are simple key-value pairs. A LevelDB database is closely co-located with a network node – it is embedded within the same operating system process. CouchDB is a particularly appropriate choice when ledger states are structured as JSON documents because CouchDB supports the rich queries and update of richer data types often found in business transactions. Implementationwise, CouchDB runs in a separate operating system process, but there is still a 1:1 relation between a network node and a CouchDB instance. All of this is invisible to chaincode.

Reference: https://hyperledger-fabric.readthedocs.io/en/release-1.3/ledger/ledger.html

asked 16/09/2024
Khaled Fouad
35 questions