×

Cognitive Class: IBM Blockchain Foundation Developer Exam Answers

Cognitive Class: IBM Blockchain Foundation Developer Exam Answers: ✅✅✅ This is a fully hands-on course that is designed for developers who want to learn about Hyperledger Fabric development using the IBM Blockchain Platform.

It uses built-in tutorials that are part of IBM Blockchain Platform, and requires students to install Visual Studio Code and run the IBM Blockchain Platform development environment on their machines.The tutorials teach the fundamentals of Hyperledger Fabric development: key concepts and components, the capabilities of the developer tools and how to build smart contracts and applications.

Also Check: 2 Blockchain Technology Free Courses With Certificate & Earn Up To ₹1-2Lakh/Month

Course NameIBM Blockchain Foundation Developer
TrainerMatt Lucas
OrganizationCognitive Class
AudienceDevelopers who have basic experience with blockchain business networks
LevelBeginner
Duration6hr
LanguageEnglish
PriceFree

Cognitive Class – IBM Blockchain Foundation Developer Answers

Cognitive Class: IBM Blockchain Foundation Developer Exam Answers

Pre-test Answers

1. What is the commonly accepted definition of blockchain?

  1. distributed ledger technology
  2. the Bitcoin cryptocurrency
  3. proof of work
  4. one satoshi

2. What is a smart contract?

  1. a collection of key/value pairs that is distributed across a network
  2. a legal document that is interpreted using artificial intelligence (AI)
  3. computer code that describes the business rules for a transaction
  4. a markdown file that highlights ambiguities in legal text

3. What is a problem that blockchain specifically aims to solve?

  1. different ledgers need to be reconciled
  2. there is no common data format for assets
  3. the majority of data is unparsed
  4. the internet is too slow in developing countries

4. Which of these is necessary for a private blockchain?

  1. transaction anonymity
  2. cryptocurrency
  3. proof of work
  4. participant identity

5. Which of these is necessary for a blockchain to add value?

  1. a network
  2. a cryptocurrency
  3. a regulator
  4. an oracle

IBM Blockchain Foundation Developer Final Exam Answers

1. A developer has installed the IBM Blockchain Platform VS Code extension but cannot see the Fabric Environments, Smart Contracts, Fabric Wallets and Fabric Gateways views. Where should they click?

  1. the IBM Blockchain Platform icon in the VS Code activity bar
  2. the ‘View homepage’ icon
  3. the Smart Contract project in the Explorer view
  4. the ‘IBM Blockchain Platform’ extension in the Extensions Marketplace

2. How can a developer quickly show all the available commands implemented by the IBM Blockchain Platform extension?

  1. Click the “Tutorials” link from the extension homepage.
  2. From the VS Code main menu, click “View” -> “IBM Blockchain Platform”.
  3. Right-click the IBM Blockchain Platform icon in the activity bar.
  4. Click “View” -> “Command Palette” and enter “>IBM Blockchain Platform”.

3. Which of the following is a deterministic value for a smart contract to calculate and store in the world state?

  1. the n’th digit of pi, where n is supplied as an input parameter to the transaction
  2. the number of milliseconds since 00:00 1 January 1970
  3. a random number between 1 and 1000
  4. the DHCP address of the peer running the smart contract

4. A transaction’s signature in a Hyperledger Fabric TypeScript smart contract is decorated with “@Transaction(false)”. What does this mean?

  1. This transaction should be hidden from the list of transactions that this smart contract exposes.
  2. This transaction should be exposed as a read-only transaction.
  3. This transaction should be exposed as a transaction that takes no parameters.
  4. This transaction should be exposed as a transaction that has no module dependencies.

5. A developer is using the IBM Blockchain Platform VS Code extension to create a skeleton TypeScript smart contract project, which will be instantiated as “[email protected]”. From where is this name and version derived?

  1. the name of the enclosing project folder
  2. the smart contract Typescript source file name
  3. the file ‘tsconfig.json’
  4. the file ‘package.json’

6. In the Fabric Environments view of the IBM Blockchain Platform VS Code extension, a smart contract is listed under “Installed” but not under “Instantiated”. What does this mean for the smart contract?

  1. It has been started but no transactions have been run.
  2. It probably contains compilation errors.
  3. It has been built but not packaged.
  4. It has been copied to the peer(s) but not started.

7. Which view in the IBM Blockchain Platform VS Code extension shows a single connection to a Hyperledger Fabric network using a supplied identity?

  1. Fabric Gateways
  2. Fabric Environments
  3. Smart Contracts
  4. Fabric Wallets

8. In Hyperledger Fabric, what is the difference between a submitted transaction and an evaluated transaction?

  1. Submitted transactions are recorded on the blockchain ledger; evaluated transactions are not.
  2. Submitted transactions take place on a single peer; evaluated transactions run across multiple peers.
  3. Submitted transactions run in real-time; evaluated transactions are batched.
  4. Submitted transactions are called on behalf of another organization; evaluated transactions are not.

9. In order to connect a standalone application to the Hyperledger Fabric instance embedded in the IBM Blockchain Platform VS Code extension, which of the following must be exported?

  1. Ordering Service
  2. Connection Profile
  3. Fabric Environment
  4. Smart Contract

10. A developer is writing a standalone TypeScript application to submit a transaction to a Hyperledger Fabric network. Against which object is the submitTransaction method called?

  1. wallet
  2. contract
  3. network
  4. gateway

11. A developer is using the IBM Blockchain Platform VS Code extension to upgrade the version of a smart contract running on an instance of Hyperledger Fabric V1.x.  What will happen to the old version of the smart contract when they do this?

  1. The old version of the smart contract will no longer be listed as instantiated.
  2. The old version of the smart contract will be uninstalled from the peer.
  3. The old version of the smart contract will be removed from the Smart Contracts view.
  4. The old version of the smart contract will be installed to a backup channel.

12. A developer has used the IBM Blockchain Platform VS Code extension to make a change to a smart contract and its version identifier. Typically, what will they then do in the Smart Contracts view to package the modified smart contract so that the new version appears there?

  1. Delete the old smart contract package; this causes an automatic repackaging.
  2. Select the old smart contract and drag it onto the Package icon.
  3. Click the ellipsis (‘…’) and select the “Package Open Project” option.
  4. Right-click the old package and select the “Upgrade Smart Contract” option.

13. When using the IBM Blockchain Platform VS Code extension, which of the following tasks can be done directly in the debug bar of the VS Code debugger?

  1. execute a transaction
  2. query the block height
  3. endorse a transaction
  4. start a peer

14. How does a developer know that a smart contract is under an active debug session in the IBM Blockchain Platform VS Code extension?

  1. The VS Code debug side bar is visible.
  2. The status bar at the bottom of the screen is a different color, and shows the text “Debug Smart Contract”.
  3. The smart contract source file will have a breakpoint indicator.
  4. The IBM Blockchain Platform icon in the activity bar has a red notification decorator.

15. For which object in the IBM Blockchain Platform VS Code extension can tests be generated?

  1. channel
  2. smart contract
  3. peer
  4. wallet

16. Assuming an otherwise working environment, what is the most likely result of running a functional test that has been generated by the IBM Blockchain Platform VS Code extension, but that has not yet been customized?

  1. The test will complete and pass.
  2. The test will complete with an error message.
  3. The test will prompt for input parameters.
  4. The test will not compile.

17. What two pieces of information are supplied by the smart contract when emitting an event?

  1. the transaction name and input parameters
  2. the smart contract name and endorsement policy
  3. the read set and the write set
  4. the topic name and payload

18. A developer uses the “Subscribe to Events” feature in the IBM Blockchain Platform VS Code extension. For how long does the subscription persist?

  1. until the next block is committed
  2. until the first event is triggered
  3. until the gateway is disconnected
  4. until the developer selects the “Unsubscribe from Events” option

19. In a Hyperledger Fabric-based network, which of the following are responsible for executing smart contract code?

  1. client applications
  2. all peers on the channel
  3. ordering service nodes
  4. endorsing peers

20. Three organizations use Hyperledger Fabric to share transaction data. They each connect to the same single peer that is run by a network service provider, and identify themselves to each other using certificates provided by a shared certificate authority. What is a problem with this scenario?

  • there is a single point of trust
  • only one smart contract can be deployed
  • new members cannot join the network
  • each organization must use the same client application

Also Check: Cognitive Class: Build an IoT Blockchain Network for a Supply Chain Exam Answers

Conclusion

I hope this article would be useful for you to find all the “Cognitive Class Answers: IBM Blockchain Foundation Developer Quiz Answers“. If this article helped you to learn something new for free then share it on social media and let others know about this and check out the other free courses that we have shared here.

Happy Learning!

Leave a Comment