Last Chance Black Friday Deal: Take 80% Off! Use coupon code below to secure your exam bundles! - Ends in 0d 00h 00m 00s - Coupon code: LASTCHANCE80

Home > Linux Foundation > Hyperledger Fabric > HFCP

HFCP Hyperledger Fabric Certified Practitioner (HFCP) Exam Question and Answers

Question # 4

In Hyperledger Fabric, Intercommunication is how a smart contract in a channel updates the World State database. It is achieved by what process?

A.

Setting the endorsement policy to communicate with all peers.

B.

Configuring the Peer-to-peer endorsement options.

C.

Calling smart contracts within the channel and in different channels.

D.

Making use of the cross channel Consensus mechanism.

Full Access
Question # 5

When reading and modifying the ledger state in Hyperledger Fabric, what type of schema does the data stored in the ledger need to adhere if the state database is LevelDB?

A.

No specific schema is required

B.

JSON schema

C.

XML schema

D.

CSV schema

Full Access
Question # 6

An endorsement policy lists what?

A.

The number of organizations involved in a transaction.

B.

The number of peers needed to endorse a transaction.

C.

The order in which transactions are executed.

D.

The identities required for endorsing a transaction.

Full Access
Question # 7

In Hyperledger Fabric a transaction is initiated where?

A.

Endorser

B.

IPeer

C.

Client

D.

Orderer

Full Access
Question # 8

Which is the last step in the Hyperledger Fabric transaction flow?

A.

Endorsing and Ordering

B.

Commitment and notification

C.

Ledger updated and commitment

D.

Endorsing and notification

Full Access
Question # 9

When building a test network, how many nodes are adequate for an Ordering Service?

A.

There is no set number of nodes required for an Ordering Service.

B.

Three ordering nodes are needed for a test Ordering Service.

C.

One ordering nodes is sufficient for an Ordering Service.

D.

Ordering Service nodes are optional in a test network.

Full Access
Question # 10

For an endorsed transaction, the gateway service forwards the transaction to the ordering service, which orders it with other endorsed transactions and then completes what?

A.

Sends the transaction to the validation phase.

B.

Packages all endorsed transactions into a block.

C.

Sends the transaction to the endorsement phase.

D.

Broadcasts the transaction to all peers in the channel.

Full Access
Question # 11

Which directory is created by the idemixgen tool along with the ca directory and msp directory when configuring membership?

A.

config directory

B.

user directory

C.

orderer directory

D.

tlscacerts directory

Full Access
Question # 12

What should be taken into account at implementing efficient CouchDB queries from chaincode?

A.

Using OLAP (Online analytical processing) and Cube functionality of CouchDB is enough to implement efficient queries.

B.

Using complex indexes for certain columns is enough even if full scan operators like $or, $in and $regex are used.

C.

Using indexes, focusing on simple queries and avoiding full index scans like with operators $or, $in and $regex.

D.

Using advanced relational algebra and SQL query language options of CouchDB is enough to implement efficient queries.

Full Access
Question # 13

Which are the transaction steps that are managed by the Fabric gateway service?

A.

Finding a nonce for a pre-image of a hash function for mining.

B.

Collect transactions into a block and eliminating invalid transactions.

C.

Evaluate, endorse, submit, and get commit status.

D.

Realizing a distributed verifiable random function for leader election.

Full Access
Question # 14

How can the client application access descriptive error text for each of the endorsing peers following a transaction endorsement failure?

A.

Extract relevant entries from the endorsing peer logs.

B.

Examine the message of the associated cause or wrapped error.

C.

Look up the gRPC status code for the error.

D.

Extract the details associated with the returned error.

Full Access
Question # 15

In Raft, there are two places for configuration. One is local configuration. What is the other?

A.

Global configuration

B.

Channel configuration

C.

Consensus configuration

D.

Peer configuration

Full Access
Question # 16

What Fabric Gateway client API call could a client application use to update ledger state?

A.

Evaluate

B.

Invoke

C.

Update

D.

Submit

Full Access
Question # 17

What do we call the ordering nodes actively participating in the consensus mechanism for a given channel and receiving replicated logs for the channel?

A.

Committer set

B.

Consenter set

C.

Peers

D.

Endorsers

Full Access
Question # 18

What is necessary for a chaincode to become ready to commit on a channel?

A.

The chaincode must be previously installed on the channel’s peers.

B.

The policy Channel/Application/Writers must be satisfied.

C.

The policy /Channel/Application/LifecycleEndorsement must be satisfied.

D.

The chaincode must have the endorsement policies correctly defined.

Full Access