Hyperledger Fabric Introduction – Interview Questions / Revision Notes

hyperledger fabric introduction

This article represents practice test and revision notes on Introduction to Hyperledger Fabric. These questions and answers can prove to be very helpful to check your knowledge of 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 unique thing about Hyperledger Fabric is that it supports pluggable implementations of different components such as identity management, consensus algorithm etc.


Revision notes on Introduction to Hyperledger Fabric

  • Hyperledger Fabric can be used for creating private and permissionless Blockchain network.
  • Blockchain Participants – Membership
    • Members join Hyperledger Fabric Blockchain network using Membership Service Provider (MSP) service.
    • Hyperledger Fabric allows custom MSP to be plugged.
  • Distributed Ledger – Data and Database
    • Hyperledger Fabric allows ledger data to be stored in multiple different formats.
    • Hyperledger Fabric distributed ledger is a combination of world state database and transaction logs.
    • Hyperledger Fabric allows ledger data to be stored in following subsystems:
      • The key-value database such as LevelDB/CouchDB for storing the state of the ledger. This is also called as world state.
      • Logs storing transaction logs having transaction details.
    • Hyperledger Fabric distributed ledger is a combination of world state database and transaction logs.
  • Channels
    • Hyperledger Fabric allows two or more participants to create a private channel for creating and maintaining the separate ledger of transactions. This ledger is not visible to anyone else than the member participating in the channel.
    • A participant can belong to multiple Hyperledger Fabric blockchain networks through channels.
  • Smart Contract
    • Hyperledger Fabric smart contracts are called as chaincode.
    • External applications need to invoke chaincode to interact with ledger.
    • The following represents a different kind of chaincode:
      • System chaincode: Defines operating parameters for the channel
      • Lifecycle and configuration chaincode: Defines rules for the channel
      • Endorsement and validation system chaincode: Defines requirements for endorsing and validating the transactions.
  • Consensus
    • Hyperledger Fabric allows custom consensus algorithm to be plugged.
    • Transactions must be written to the distributed ledger in the order in which they occur



Practice Test on Introduction to Hyperledger Fabric

Hyperledger Fabric supports which of the following to be plugged

Correct! Wrong!

The state of the ledger data is stored in which of the following?

Correct! Wrong!

Hyperledger Fabric supports storing World state data in which of the database?

Correct! Wrong!

Hyperledger Fabric supports data in multiple different formats

Correct! Wrong!

In Hyperledger Fabric network, the data shared between two participants is visible to all participants at all times

Correct! Wrong!

Which of the following allows private ledgers between two or more participants

Correct! Wrong!

A participant can belong to more than one Fabric Blockchain network

Correct! Wrong!

External applications can only update the ledger through chaincode

Correct! Wrong!

A transaction can occur in the distributed ledger in any order irrespective of the order in which they occured

Correct! Wrong!

Which type of chaincode is used to define rules for the channel?

Correct! Wrong!

Which type of chaincode is used to define operating parameters of the channel?

Correct! Wrong!

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

Share your Results:

References



Ajitesh Kumar
Follow me

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
Posted in BlockChain, Hyperledger, Interview questions. Tagged with , .

Leave a Reply

Your email address will not be published. Required fields are marked *