HFCP

HFCP practice questions, page 2 of 3, with answer review and explanations.

Question 6

When deploying an Orderer environment, variables must be customized or overridden in which artifact?

  1. crypto-config.yaml
  2. docker-compose.yaml
  3. configtx.yaml
  4. orderer.yaml

Question 7

Which subcommand adds a peer to a channel in Hyperledger Fabric?

  1. peer channel fetch
  2. peer channel create
  3. peer channel update
  4. peer channel join

Question 8

After the transaction that contains the delState("A") function is committed, what happens to the ledger and state database?

  1. getstate("A") function returns the current state of the key "A".
  2. The deleting transaction sets an empty value to the key "A" in the write set.
  3. The state of the key "A" is removed from the state database, but its history remains in the ledger.
  4. All transaction histories which updated the state "A" are deleted from the ledger.

Question 9

How would a developer iteratively test and develop a smart contract without the overhead of the smart contract lifecycle process for every update?

  1. Running chaincode for Smart Contracts in development mode.
  2. Manually update the Smart Contract code on the network.
  3. Deploy the Smart Contract on the network for every update.
  4. Use a Production Network to test and develop Smart Contracts.

Question 10

Which of the following information do signature policies provide when creating a network in Hyperledger Fabric?

  1. Identify specific users who must sign in order to satisfy a policy.
  2. Number of nodes in the network.
  3. Private keys of all network participants.
  4. Type of consensus algorithm used