ExamGecko
Home Home / Blockchain / CBDH

Blockchain CBDH Practice Test - Questions Answers, Page 12

Question list
Search
Search

List of questions

Search

Related questions











What Hyperledger tool is a blockchain benchmark tool that allows users to measure performance of a specific implementation with predefined use cases?

A.
Cello
A.
Cello
Answers
B.
Explorer
B.
Explorer
Answers
C.
Caliper
C.
Caliper
Answers
D.
Composer
D.
Composer
Answers
E.
Quilt
E.
Quilt
Answers
Suggested answer: C

Explanation:

Hyperledger Caliper: A blockchain benchmark tool that allows users to measure performance of a specific implementation with predefined use cases Its in Alpha mode at time of writing. Contributed by developers from numerous organizations.

Reference: https://github.com/hyperledger/caliper

Which of the following is not a feature of a Hyperledger Fabric ledger?

A.
Read-only history queries – Query ledger history for a key, enabling data provenance scenarios
A.
Read-only history queries – Query ledger history for a key, enabling data provenance scenarios
Answers
B.
Read-only queries using a rich query language (if using CouchDB as state database)
B.
Read-only queries using a rich query language (if using CouchDB as state database)
Answers
C.
Read-only queries using a rich query language (if using LevelDB as state database)
C.
Read-only queries using a rich query language (if using LevelDB as state database)
Answers
D.
Query and update ledger using key-based lookups, range queries, and composite key queries.
D.
Query and update ledger using key-based lookups, range queries, and composite key queries.
Answers
Suggested answer: C

Explanation:

Rich Query Language capability is available with CouchDB. What DB is used? The ledger system in Hyperledger fabric uses levelDB. By definition, LevelDB allows concurrent writers to safely insert data into the database by providing internal synchronization State database options include LevelDB and CouchDB. LevelDB is the default key-value state database embedded in the peer process. CouchDB is an optional alternative external state database. (Binary data) https://hyperledger-fabric.readthedocs.io/en/release-1.3/fabric_model.html

Composer Modeling Language is an object-oriented modeling language that defines the domain model for a business network definition. Essentially this is saved as a .cto file.

Which of the following is NOT a characteristics of a .cto file?

A.
It represents a set of resource definitions that includes assets, transactions, participants, ana events.
A.
It represents a set of resource definitions that includes assets, transactions, participants, ana events.
Answers
B.
Values may not be assigned to any field variable.
B.
Values may not be assigned to any field variable.
Answers
C.
The modeling language does not support multiple inheritance.
C.
The modeling language does not support multiple inheritance.
Answers
D.
It is a single namespace in which all resource declarations are implicitly defined.
D.
It is a single namespace in which all resource declarations are implicitly defined.
Answers
E.
When using Hyperledger Composer modeling language structure words “asset” and “participant” are reserved.
E.
When using Hyperledger Composer modeling language structure words “asset” and “participant” are reserved.
Answers
Suggested answer: B

Explanation:

Values can be assigned to any field variable A CTO file consists of:

• A single namespace, in which all resource declarations are implicitly.

• The overall “model” defines the representation of assets.

• A set of resource definitions that includes assets, transactions, participants, and events.

• Values may be assigned to any field variable.

• The option to import resources from other namespaces.

• When using composer modeling language, the words “asset” and “participant” are reserved.? Asset ownership instance is defined in a relationship field. (symbol: o) ? The modeling language does not support multiple inheritance.

In Hyperledger Fabric channels are used to ensure privacy and confidentiality. Which of the following is not correct about channels?

A.
Peers are connected to the channel and can receive all the transactions that are broadcasted on that channel B. Each channel maintains their own chaincode and ledger
A.
Peers are connected to the channel and can receive all the transactions that are broadcasted on that channel B. Each channel maintains their own chaincode and ledger
Answers
B.
Channels are membership based.
B.
Channels are membership based.
Answers
C.
Consensus takes place within a channel by members of the channel and other channels.
C.
Consensus takes place within a channel by members of the channel and other channels.
Answers
D.
Channels partition the network in order to allow transaction visibility for specific stakeholders only
D.
Channels partition the network in order to allow transaction visibility for specific stakeholders only
Answers
Suggested answer: D

Explanation:

Peers are connected to the channel and can receive all the transactions that are broadcasted on that channel. Consensus takes place within a channel by members of the channel only. Channels are membership based.

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

The ________________________enables auditors to view transactions pertaining to a participant, providing that each auditor has been granted proper access authority, based on the role of the participants.

A.
Audit Defense
A.
Audit Defense
Answers
B.
Hyperledger Quilt
B.
Hyperledger Quilt
Answers
C.
Hyperledger Burrow
C.
Hyperledger Burrow
Answers
D.
Reputation Manager
D.
Reputation Manager
Answers
Suggested answer: D

Explanation:

Reputation Manager is part of the MSP Membership services provide identity, privacy, and confidentiality to the network. Basic access to the network is determined through the role of the member, who may all have separate legal and/or independent entities. Depending on the network, different authentication schemes are used for assigning identity. For transacting, the participants must obtain identities. The Reputation Manager enables auditors to view transactions pertaining to a participant, providing that each auditor has been granted proper access authority, based on the role of the participants.

When the________, ______________ or ________function of a chaincode is called, the fabric passes the stub *shim.ChaincodeStub parameter. (Select three.)

A.
Query
A.
Query
Answers
B.
List
B.
List
Answers
C.
Invoke
C.
Invoke
Answers
D.
Init
D.
Init
Answers
E.
Write
E.
Write
Answers
F.
Delete
F.
Delete
Answers
Suggested answer: A, C, D

Explanation:

When the Init, Invoke or Query function of a chaincode is called, the fabric passes the stub *shim.ChaincodeStub parameter. This stub can be used to call APIs to access to the ledger services, transaction context, or to invoke other chaincodes.

Reference: https://fabric-docs-test.readthedocs.io/en/latest/API/ChaincodeAPI/

In Composer when declaring arguments are used to pass values. What argument value is NOT a value that is allowed?

A.
string
A.
string
Answers
B.
integer
B.
integer
Answers
C.
number
C.
number
Answers
D.
boolean
D.
boolean
Answers
Suggested answer: B

Explanation:

Reference: https://godoc.org/github.com/hyperledger/fabric/core/chaincode/shim#ChaincodeStub.PutState

What component of Hyperledger Composer captures the core data in a business network including the business model, transaction logic, and access controls?

A.
Business Network Adapter
A.
Business Network Adapter
Answers
B.
Business Network Interface
B.
Business Network Interface
Answers
C.
Business Network Card
C.
Business Network Card
Answers
D.
Business Network Archive
D.
Business Network Archive
Answers
E.
Business Network API
E.
Business Network API
Answers
Suggested answer: D

Explanation:

Business Network Archive: Capturing the core data in a business network including the business model, transaction logic, and access controls, the Business Network Archive packages these elements up and deploys them to a runtime. Stored as “.bna” files.

You are writing chaincode and you need to access the ledger’s state. What two functions of the chaincode shim API do you select? (Select two.)

A.
GetState
A.
GetState
Answers
B.
PutState
B.
PutState
Answers
C.
InvokeChaincode
C.
InvokeChaincode
Answers
D.
GetStringArgs
D.
GetStringArgs
Answers
Suggested answer: A, B

Explanation:

Reference: https://godoc.org/github.com/hyperledger/fabric/core/chaincode/shim#ChaincodeStub.PutState

The security module works in conjunction with the ________________________ module to provide access control service to any data recorded and business logic deployed on a chain network.

A.
HSM
A.
HSM
Answers
B.
Membership Services
B.
Membership Services
Answers
C.
Chaincode
C.
Chaincode
Answers
D.
Consensus
D.
Consensus
Answers
Suggested answer: B

Explanation:

The security module works in conjunction with the membership service module to provide access control service to any data recorded and business logic deployed on a chain network.

Total 126 questions
Go to page: of 13