Apply Here: Build an IoT Blockchain Network for a Supply Chain
Build an IoT Blockchain Network for a Supply Chain
Lab 1: Build a blockchain network
Question 1: The default blockchain Perishable Goods Network in Hyperledger Composer includes which participants? Select all that apply.
- Grower
- Exporter
- Shipper
- Importer
Question 2: Which of these file types is used for a model file?
- BNA
- JS
- CTO
- ACL
Question 3: To capture conditions for a crash, a hard jolt, or other incidents based on the accelerometer data, what field did you add to the Contract asset?
- DateTime arrivalDateTime
- Double maxAccel
- AccelReading[] AccelReadings optional
- ShipmentStatus status
Question 4: What is the purpose of this event: TemperatureThresholdEvent()?
- To notify participants when agreed on temperature thresholds are exceeded
- To alert the delivery vehicle driver or owner when temperatures exceed a specific threshold
- To force the temperature sensor on a delivery vehicle to rest
- To notify participants that the contract has been breached
Question 5: In a DevOps pipeline, what occurs during the BUILD phase? Select all that apply.
- Clones your GitHub repository
- Provisions and configures an instance of the blockchain network
- Runs all of the automated unit tests for all of your smart contracts
- Installs any dependencies
Understand the imported Node-RED flows
Question 1: Which task is not done by the Start Particle Electron flow?
- Sends a command to enable or disable the device geolocation reporting
- Controls the interval of the report
- Queries the temperature blockchain transaction history
- Retrieves accelerometer and current temperature data
Question 2: Which flow takes the arriving data, reformats it, and calls the next flow to write the Particle Electron events to the transaction history of the blockchain network?
- Track Asset History
- Load Blockchain
- Start Particle Electron
- Particle Receiver
Question 3: Which flow sets up a series of GET and POST commands?
- Track Asset History
- Blockchain REST API
- Load Blockchain
- Start Particle Electron
Question 4: The Track Asset History flow filters the array to the selected device and time frame.
- True
- False
Question 5: What is one task that is done by the Load Blockchain flow?
- Sends a command to enable or disable the device geolocation reporting
- Provisions and configures an instance of the blockchain network
- Queries the temperature blockchain transaction history
- Constructs a variety of Node-RED dashboard UI elements
Build an IoT Blockchain Network for a Supply Chain Final exam Answers Cognitive Class
Question 1: What is the purpose of exposing the blockchain network as a REST API?
- To allow appropriate participants in the network to update the blockchain contract
- To allow other developers to access the blockchain network
- To allow the network to run on IBM Cloud
- To manipulate the blockchain from Node-RED
Question 2: What is included in the Internet of Things Platform Starter? Select all that apply.
- CouchDB database
- Node-RED Node.js web server
- Cloudant database
- IoT platform service
Question 3: What is the purpose of the ParticleSSE node in the Particle Receiver flow?
- Sends a command to enable or disable the device geolocation reporting
- Sets up a POST command that writes a temperature event into the blockchain as a transaction
- Allows you subscribe to incoming server-sent events (SSE) on a Particle cloud through a persistent connection
- Queries the temperature blockchain transaction history
Question 4: What is the main task of this flow?
- Queries the temperature blockchain transaction history
- Create a UI dashboard to track assets
- Sends a command to enable or disable the device geolocation reporting
- Connects your Node-RED flow to IBM Cloud
Question 5: Hyperledger Composer REST APIs cannot be used by Node-RED to communicate to the blockchain perishable network.
- True
- False
Question 6: What must you add to the model file for the IoT data to be associated with the asset and shipment?
- IoT variables
- A field for the accelerometer value
- Events that alert the appropriate participants when agreed on thresholds are exceeded
- An updated logic.js file
Question 7: When you export the code for your network from Hyperledger Composer, what type of file is created?
- BNA
- JS
- JSON
- ZIP or TAR
Question 8: You use the Google Maps Locator API to triangulate the geographical location of a device.
- True
- False
Question 9: Using a blockchain network for IoT Asset Tracking is an important blockchain use case because it can be used to record an immutable record of the following attributes. Select all that apply.
- Where the asset was located during its journey
- How long the truck driver took a lunch break
- When was the asset at a particular location
- What environmental conditions (temperature, vibration) the asset was exposed to
Question 10: The Particle Electron program is written in which language?
- Java
- C/C++
- Python
- Go