Free CBDH Exam Braindumps (page: 9)

Page 8 of 49

Which of the following is the best answer when reviewing a "Code Invoking Transaction" in Hyperledger Fabric?

  1. Code invoking transaction is an SOAP API call to a chaincode function and is similar to how a URL pattern invokes a servlet in J2EE.
  2. Code invoking transaction is an REST API call to a chaincode function and is similar to how a URL pattern invokes a servlet in Node.js
  3. Code invoking transaction is an API call to a chaincode function and is similar to how a URL pattern invokes a servlet in Node.js
  4. Code invoking transaction is an REST API call to a chaincode function and is similar to how a URL pattern invokes a servlet in J2EE.
  5. Code invoking transaction is an API call to a chaincode function and is similar to how a URL pattern invokes a servlet in HTTPS
  6. Code invoking transaction is an RPC API call to a chaincode function and is similar to how a URL pattern invokes a servlet in HTTPS.

Answer(s): B

Explanation:

Code invoking transaction is an REST API call to a chaincode function and is similar to how a URL pattern invokes a servlet in J2EE. ServletServlet can be used to create a default mappings for servlets. For example, to create a default mapping to map all servlets to /myservlet/*, so the servlets can be called using http://host:port/web-app-name/myservlet/com/foo/FooServlet, add the following to your web.xml file. (The web.xml file is located in the WEB-INF directory of your Web application.) ServletServlet weblogic.servlet.ServletServlet ServletServlet /myservlet/*



You're currently investigating Hyperledger and would like to confirm that there is a set of collaboration tools for building blockchain business networks that accelerate the development of smart contracts and blockchain applications.
What is the solution that meets the requirement?

  1. Hyperledger Explorer
  2. Hyperledger Composer
  3. Hyperledger Quilt
  4. Hyperledger Cello

Answer(s): B

Explanation:

Composer (contributed by IBM and Oxchains) is a set of collaboration tools for building blockchain business networks that accelerate the development of smart contracts and blockchain applications, as well as their deployment across a distributed ledger.



In Hyperledger Fabric, there are three types of peer nodes depending upon the assigned roles.
What are three types? (Choose three.)

  1. Committing Peer
  2. Endorsing Peer
  3. Peer
  4. Client peer
  5. MSP Peer
  6. Channel Peer
  7. Ordering Peer

Answer(s): B,C,G

Explanation:

So not all peer nodes are same. There are different types of peer nodes with different roles in the network: Endorser peer Anchor peer Orderer peer Endorser peer Peers can be marked as Endorser peer (Endorsing peer). Upon receiving the "transaction invocation request" from the Client application the Endorser peer Validates the transaction. Check certificate details and roles of the requester. Executes the Chaincode (Smart Contract) and simulates the outcome of the transaction. But it does not update the ledger. At the end of the above two tasks the Endorser may approve to disapprove the transaction. As only the Endorser node executes the Chaincode (Smart Contract) so there is no necessity to install Chaincode in each and every node of the network which increases the
scalibility of the network. Anchor peer Anchor peer or cluster of Anchor peers is configured at the time of Channel configuration. Just to remind you, in Hyperledger Fabric you can configure secret channels among the peers and transactions among the peers of that channel are visible only to them. Anchor peer receives updates and broadcasts the updates to the other peers in the organization. Anchor peers are discoverable. So any peer marked as Anchor peer can be discovered by the Orderer peer or any other peer. Orderer peer Orderer peer is considered as the central communication channel for the Hyperledger Fabric network. Orderer peer/node is responsible for consistent Ledger state accross the network. Orderer peer creates the block and delivers that to all the peers. Orderer is built on top of a message oriented architecture. There are two options are currently available to implement Orderer peer: Solo: Suitable for development. Single point failure. Solo should not be used for the production ready network. Kafka: Production ready Hyperledger Fabric network uses Kafka as the Orderer implementation. Kafka is a messaging software that has high throughput fault tolerant feature.



What certificate is granted an "allocation" of transaction certificates to each user?

  1. rootcert
  2. ecerts
  3. tcerts
  4. PKI
  5. RSA

Answer(s): C

Explanation:

Each enrolled user is granted an allocation of transaction certificates (tCerts).






Post your Comments and Discuss Blockchain CBDH exam with other Community members:

CBDH Discussions & Posts