Interview questions

Hyperledger Fabric Distributed Ledger – Interview Questions / Notes

This article represents practice test / interview questions and answers and revision notes on Hyperledger Fabric Distributed Ledger**. These questions and answers can prove to be very helpful to check your knowledge on Hyperledger Fabric if you are appearing for Hyperledger Fabric interview in near future.

Hyperledger Fabric is an open-source framework for building distributed ledger solutions. The distributed ledger is maintained by every peer participating in the network. It is stored as a combination of a transaction logs and a world state database (key-value pairs).


Revision Notes – Hyperledger Fabric Distributed Ledger Concepts

  • The distributed ledger is a combination of following:
    • Blockchain to store immutable ordered/sequenced records; It is stored in form of transaction logs and stored in peers’ file system (local or attached storage). An analogy is a Write-ahead Log (WAL) of a classical RDBMS/NoSQL database.
    • A database to maintain the state of Fabric network. It is also called as World State database. This can be generated from the Blockchain (Transaction logs) at any point in time as goes the WAL analogy from which a classical database can be recreated. In another word, World state database can be recovered anytime from transaction logs.
  • Every channel is associated with one ledger.
  • Each peer maintains a copy of each channel of which it belongs to.
  • A blockchain transaction consists of the following information:
    • Read-write set of key-value pairs
    • Signatures of every endorsing peers
  • Consensus (ordering) service is responsible for ordering the transactions in a block of transactions.
  • Ordering service is responsible for delivering the block of transactions to the peers on a specific channel
  • Chain of Blocks (Blockchain) is stored in form of transaction logs as part of the peer’s local file system or attached storage. It is like a Write-Ahead Logging (WAL) of a classical SQL/NoSQL based database.
  • Every block in a Blockchain consists of the following:
    • A block header which consists of the following:
      • A hash of all the transactions in the comprising the block
      • A hash of the prior block header
    • A sequence of transactions
  • World state database consists of all keys’ information stored in transaction logs. It can be said to be simply an indexed view into the Blockchain’s transaction log. Thus, it can be regenerated from the chain at any time.


Practice Test – Hyperledger Fabric Distributed Ledger Concepts

Hyperledger Fabric Distributed ledger can be said to be ________

Correct! Wrong!

Chain of blocks (Blockchain) is stored in form of which of the following?

Correct! Wrong!

____________ can be regenerated using ____________

Correct! Wrong!

A block header consists of ________

Correct! Wrong!

Which of the following acts as a consensus service?

Correct! Wrong!

A blockchain transaction consists of information such as ______

Correct! Wrong!

_______ can be seen as indexed view of _______

Correct! Wrong!

One and only one ledger is maintained for all the channels

Correct! Wrong!

Every blockchain network in Hyperledger Fabric is primarily a channel

Correct! Wrong!

A participant in one channel can also participate in another channel

Correct! Wrong!

A participant in one channel can view the data of another channel

Correct! Wrong!

Hyperledger Fabric Distributed Ledger Interview Questions and Answers
You did extremely well!!
You did reasonably well!!
Better luck next time!!

Share your Results:

Reference


Ajitesh Kumar

I have been recently working in the area of Data analytics including Data Science and Machine Learning / Deep Learning. I am also passionate about different technologies including programming languages such as Java/JEE, Javascript, Python, R, Julia, etc, and technologies such as Blockchain, mobile computing, cloud-native technologies, application security, cloud computing platforms, big data, etc. For latest updates and blogs, follow us on Twitter. I would love to connect with you on Linkedin. Check out my latest book titled as First Principles Thinking: Building winning products using first principles thinking. Check out my other blog, Revive-n-Thrive.com

Recent Posts

Feature Engineering in Machine Learning: Python Examples

Last updated: 3rd May, 2024 Have you ever wondered why some machine learning models perform…

3 days ago

Feature Selection vs Feature Extraction: Machine Learning

Last updated: 2nd May, 2024 The success of machine learning models often depends on the…

3 days ago

Model Selection by Evaluating Bias & Variance: Example

When working on a machine learning project, one of the key challenges faced by data…

4 days ago

Bias-Variance Trade-off in Machine Learning: Examples

Last updated: 1st May, 2024 The bias-variance trade-off is a fundamental concept in machine learning…

4 days ago

Mean Squared Error vs Cross Entropy Loss Function

Last updated: 1st May, 2024 As a data scientist, understanding the nuances of various cost…

4 days ago

Cross Entropy Loss Explained with Python Examples

Last updated: 1st May, 2024 In this post, you will learn the concepts related to…

4 days ago