Wednesday , December 25 2024
Breaking News

Robots are coming! Build IoT apps with Watson, Swift, and Node-RED Cognitive Class Exam Quiz Answers

Robots are coming! Build IoT apps with Watson, Swift, and Node-RED Cognitive Class Certification Answers

Question 1: In Lab 1, what is the main purpose of the Internet of Things Platform Starter?

  • To provide a boilerplate application in Node-RED
  • To facilitate communication between the Node-RED instance running on the Raspberry Pi and the instance running on IBM Cloud
  • To send data from an iOS device to Twitter
  • To create a Cloudant database

Question 2: In Lab 1, where exactly does the Swift UI get the temperature data from?

  • Directly from the temperature senson device
  • From a node in the Node-RED flow
  • From the Cloudant database
  • From the IoT QuickStart

Question 3: What imported library is required for you to do CRUD operations on the Cloudant database in IBM Cloud?

  • SwiftDBCloudant
  • CloudantSwift
  • SwiftyDB
  • SwiftCloudant

Question 4: In Lab 1, why did you need two Node-RED flows?

  • To get sensor data (flow 1) and then to send it to IBM Cloud (flow 2)
  • To set up a Cloudant database (flow 1) and then send it IBM Cloud (flow 2)
  • To get sensor data (flow 1) and then send it to the IoT Platform QuickStart (flow 2)
  • None of these

Question 5: In which Node-RED node do you initially enter a device ID? In this lab, the device ID is from the virtual temperature sensor.

  • IBM IoT App Out
  • msg.payload
  • IBM IoT App In
  • GetCPUtemp

Question 1: How is Watson Visual Recognition used by the Raspberry Pi in an IoT environment?

  • Pictures taken by the Raspberry Pi camera are sent in bulk to the cloud and matched against existing pictures.
  • Pictures taken by the Raspberry Pi camera are matched against existing pictures on the Raspberry Pi. The result is communicated to the cloud.
  • Single pictures taken by the Raspberry Pi camera are sent to the cloud and processed by the deep learning network trained on existing pictures.
  • Pictures taken by the Raspberry Pi camera are minimized on the Raspberry Pi before being sent to the cloud for comparison with existing pictures.

Question 2: The Visual Recognition service uses machine learning to recognize and classify visual content.

  • True
  • False

Question 3: MQTT cannot be used to pass data through firewalls.

  • True
  • False

Question 4: What action does the following Swift code perform?

  DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(10), execute: {

            // Put your code which should be executed with a delay here

            NSLog(“Read doc: 10 sec”)

            self.imageFromDb.image = self.fetchedImage as UIImage

        })

  • Updates the Cloudant database with a new picture
  • Shows a picture on a mobile device
  • Creates buttons in your mobile UI
  • Sends a picture to the Visual Recognition service

Question 5: In Node-RED, output nodes have the logo on the left side of the node.

  • True
  • False

Question 1: Which one of the following SDKs helps to simplify how you use cognitive services with Swift applications?

  • Text-to-speech-swift
  • Watson-Developer-Cloud SDK for iOS
  • SwiftyJSON SDK
  • IBM Cloud Services SDK for iOS

Question 2: What’s the purpose of the WeatherData.swift file?

  • Adds the encoding for the network
  • Connects the Text to Speech service to the iRobot
  • Manages the connectivity to the Text to Speech service
  • Manages the connectivity to the Weather Company Data service

Question 3: The Watson IoT Platform starter automatically deploys and connects which of these services. Select all that apply.

  • Watson IoT Platform
  • Weather Company Data service
  • IBM SDK for Node.js for IBM Cloud
  • IBM Cloudant for IBM Cloud

Question 4: To manipulate JSON, you added which framework to the XCode project?

  • SpeechToTextV1.framework
  • RestKit.framework
  • SwiftyJSON.framework
  • BMSCore.framework

Question 5: What additional data can you find in the Weather Data JSON?

  • Conditions for playing golf
  • Conditions for skating
  • Conditions for hiking
  • Conditions for swimming
  • Conditions for running

Question 1: Which of the following data types can be be sent from an IoT sensor to the cloud for further processing? Select all that apply.

  • Temperature
  • Humidity
  • Air pressure
  • Seismometer data
  • Text

Question 2: What is the lightweight protocol that is used for communication between a Raspberry Pi device and a cloud application?

  • TCP/IP
  • HTTP
  • MQTT
  • MSP

Question 3: Which Watson services can you use to build a voice user interface to access IoT devices?

  • Speech to Text
  • Real-time Audio conversion
  • Text to Speech
  • Voice routing over the Internet

Question 4: You typically need to install a node package to get Cloudant database nodes in Node-RED.

  • True
  • False

Question 5: How does BM Watson Visual Recognition determine what’s in an image?

  • By analyzing the file names of images
  • By deciding what categories the image and the parts of an image fall into
  • By reading what users post on social media about an image
  • By querying the user who ted the image

Question 6: In this course, how did you connect the Raspberry PI to the iRobot?

  • MQTT
  • The iRobot serial port
  • HTTP
  • ICMP

Question 7: IBM Cloudant is an example of which of the following service types? Select all that apply.

  • MBaaS
  • PaaS
  • SaaS
  • DBaaS

Question 8:  What action does the following code perform?

iotfSession.send(BEEP_MSG.data(using: String.Encoding.utf8, allowLossyConversion: false),

         topic: CMD_TOPIC,

         qos: MQTTQosLevel.exactlyOnce,

         retain: false)

  • Sends a dock command to the iRobot
  • Specifies what encoding to use
  • Sends a command over an MQTT connection
  • Sends a command to a smartphone

Question 9: What method can you use to extend the functionality of Raspbian Jessie?

  • npm
  • Configure it with apt-get commands
  • Download nodes from the Node-RED community
  • CocoaPods

Question 10: You can store pictures from a camera or from the Internet by using a Cloudant database.

  • True
  • False

Introduction to Robots are coming! Build IoT apps with Watson, Swift, and Node-RED

“Building IoT apps with Watson, Swift, and Node-RED” combines powerful technologies to create robust and scalable Internet of Things (IoT) solutions. Let’s break it down:

  1. Internet of Things (IoT): IoT refers to the network of physical devices embedded with sensors, software, and other technologies to connect and exchange data with other devices and systems over the internet. These devices could be anything from smart thermostats and wearable fitness trackers to industrial machinery and vehicles.
  2. Watson: Watson is IBM’s suite of enterprise-ready AI services, applications, and tooling. It offers capabilities such as natural language understanding, machine learning, computer vision, and more. In the context of IoT, Watson provides tools for data analysis, predictive analytics, and cognitive computing to extract insights from IoT data.
  3. Swift: Swift is a programming language developed by Apple for iOS, macOS, watchOS, and tvOS app development. It’s known for its simplicity, safety, and performance. Using Swift, developers can build powerful and intuitive applications for Apple devices, including those that interact with IoT systems.
  4. Node-RED: Node-RED is an open-source visual programming tool that allows developers to wire together hardware devices, APIs, and online services in new and interesting ways. It provides a browser-based flow editor that makes it easy to create IoT applications by connecting nodes (blocks of code) together.

By combining these technologies, developers can create end-to-end IoT solutions that collect data from sensors, analyze it with AI algorithms using Watson, and visualize the results in iOS apps built with Swift. Node-RED acts as the glue that connects these components together, simplifying the development process and enabling rapid prototyping and deployment of IoT applications.

About Clear My Certification

Check Also

Controlling Hadoop Jobs using Oozie Cognitive Class Exam Quiz Answers

Enroll Here: Controlling Hadoop Jobs using Oozie Cognitive Class Exam Quiz Answers Controlling Hadoop Jobs …

Leave a Reply

Your email address will not be published. Required fields are marked *