250+ TOP MCQs on HTTP Protocol and Answers

IOT Multiple Choice Questions on “HTTP Protocol”.

1. Does HTTP protocol take more power.
a) True
b) False

Answer: a
Clarification: Uses more battery(percentage battery/hour and percentage battery/message). For HTTP in sending message it takes 18.43% while for MQTT it takes 16.13%.

2. How many messages will HQTTP will send in 1024?
a) All
b) 256
c) 240
d) 514

Answer: c
Clarification: It is less reliable, only 240(3G)/524(WiFi) messages were received out of total of 1024 messages.

3. How many messages will HTTP will send per hour?
a) 1,708
b) 160,278
c) 3,628
d) 263,314

Answer: a
Clarification: When we compare HTTP with MQTT, HTTP is lot slower, HTTP will send 1,708 messages/hour whereas MQTT sends 160,278 messages/hour.

4. What does HTTP do?
a) Enables network resources and reduces perception of latency
b) Reduces perception of latency and allows multiple concurrency exchange
c) Allows multiple concurrent exchange and enables network resources
d) Enables network resources and reduces perception of latency and Allows multiple concurrent exchange

Answer: d
Clarification: It enables more efficient use of network resources and a reduced perception of latency by introducing header field compression and allowing multiple concurrent exchanges on the same connection.

5. A request from client is basically made of ______
a) Method
b) Task
c) Event
d) Signal

Answer: a
Clarification: HTTP is a request/ response protocol where clients request information from a server and the server responds to these requests accordingly. A request is made up of a method, a resource, some headers, and some optional content.

6. Response is made up of a ________ status code.
a) two-digit
b) three-digit
c) five-digit
d) six-digit

Answer: b
Clarification: HTTP is a request/ response protocol where clients request information from a server and the server responds to these requests accordingly. A response is made up of a three-digit status code, some headers and some optional content.

7. HTTP allows which response?
a) Multiplexing
b) Serial
c) Coherent
d) Binary

Answer: a
Clarification: HTTP allows multiplexing responses: that is sending responses in parallel. This fixes the “head-of-line blocking” problem of HTTP where only one request can be outstanding on a TCP/IP connection at a time.

8. Which protocol provides server push?
a) SPI
b) MQTT
c) CoAP
d) HTTP

Answer: d
Clarification: Finally, HTTP/2 introduces the notion of server push. Concretely this means the server can provide content to clients without having to wait for them to send a request.

9. WOT reduces ________ of HTTP.
a) Overrun
b) Overhead
c) Overload
d) Load

Answer: b
Clarification: The WOT as it leads to a more efficient use of connections, which reduces the overhead of HTTP. It also leads to faster transmission and hence potential saving in terms of battery power required to communicate.

10. HTTP expands?
a) HyperText Transfer Protocol
b) HyperTerminal Transfer Protocol
c) HyperText Terminal Protocol
d) HyperTerminal Text Protocol

Answer: a
Clarification: It is the one of the standard protocol that expands as HyperText Transfer protocol.

11. How many types of message formats are there in HTTP protocol?
a) 4 types
b) 3 types
c) 2 types
d) 5 types

Answer: c
Clarification: The client and server communication by sending plain text message. The client sends requests to the server and server sends the responses. That is
–> Request message
–> Response message.

12. Statue line is present in which message format?
a) Request message
b) Response message
c) Both request and response
d) Neither request nor response

Answer: b
Clarification: A status line which includes the status code and reason message (e.g., HTTP/1.1 200 OK, which indicates that the client’s request succeeded).

13. Request field is present in which message format?
a) Request message
b) Response message
c) Both request and response
d) Neither request nor response

Answer: a
Clarification: The request message consists of a request line(e.g., GET /image/logo.png HTTP/1.1, which requests a resource called /image/logo.png from the server).

14. Does HTTP protocol have _________ handshakes.
a) 2 way
b) 1 way
c) 3 way
d) 5 way

Answer: c
Clarification: Persistent connections reduce request latency perceptible, because the client does not need to re-negotiate the TCP 3 way handshake connection after the first request has been sent.

15. Does HTTP has pipelining.
a) True
b) False

Answer: a
Clarification: HTTP pipelining further reduces lag time, allowing clients to send multiple request before waiting for each response.

250+ TOP MCQs on Bootstrapping and Answers

IOT Multiple Choice Questions on “Bootstrapping”.

1. Bootstrap is used for __________
a) Web applications
b) IoT
c) Bigdata
d) Data

Answer: a
Clarification: Bootstrap is a free and open source front end web framework for designing websites and web applications.

2. It contains __________ design based templates for topography.
a) SMTP
b) HTML
c) MQTP
d) CoAP

Answer: b
Clarification: It contains HTML and CSS based design templates for typography, forms, buttons, navigation and other interface components, as well as optional JavaScript extensions.

3. Bootstrap is a front end development only.
a) True
b) False

Answer: a
Clarification: Unlike many web frameworks, it concerns with front-end development only.

4. __________ stars and __________forks are there in bootstrap.
a) 111,600 and 51,500
b) 51,500 and 111,600
c) 125,124 and 36,154
d) 36,154 and 125,124

Answer: a
Clarification: Bootstrap is the second most starred project on GitHub, with more than 111,600 stars and 51,500 forks.

5. Bootstrap was originally named as __________
a) Twitter Bootstrap
b) Twinkle Bootstrap
c) Twitter Blueprint
d) Twinkle Blueprint

Answer: c
Clarification: Bootstrap, originally named as Twitter Blueprint, was developed by Mark Otto, and Jacob Thornton at Twitter as a framework to encourage consistency across internal tools.

6. Which bootstrap has twelve column responsive grid layout system?
a) Bootstrap 4
b) Bootstrap 3
c) Bootstrap 2
d) Bootstrap

Answer: c
Clarification: Bootstrap 2 was released, which added a twelve column responsive grid layout system, inbuilt support for Glyphicons, several new components, as well as changes to many of the existing components.

7. Which bootstrap uses flat design?
a) Bootstrap 2
b) Bootstrap 3
c) Bootstrap 4
d) Bootstrap

Answer: b
Clarification: Bootstrap 3 was released, which resigned components to use flat design, and a mobile first approach.

8. Bootstrap 4 has how many versions?
a) 4 versions
b) 3 versions
c) Only one version
d) 2 versions

Answer: d
Clarification: The first alpha version of bootstrap 4 was released on august 19, 2015. The first beta version was released on august 10 2017.

9. Do bootstrap 3 supports Google chrome.
a) True
b) False

Answer: a
Clarification: Bootstrap 3 supports the latest version of the Google Chrome, Firefox, Internet Explorer Opera, and Safari. In additional support back to IE8 and the latest Firefox Extended Support Release.

10. Does bootstrap 4 supports Sass and flexbox.
a) True
b) False

Answer: a
Clarification: The version 4.0 alpha release added Sass and flexbox support.

11. __________ is used instead of less for stylesheets.
a) Hackathon
b) Grid layout
c) Flexbox
d) Sass

Answer: d
Clarification: Sass s used instead of less for the stylesheets. Each Bootstrap component consists of an HTML structure, CSS declaration, and in some cases accompanying JavaScript code.

12. Sass stands for __________
a) Syntactically awesome Spreadsheets
b) Syntactically awesome Stylesheets
c) Scripting awesome Stylesheets
d) Scripting awesome Spreadsheets

Answer: b
Clarification: Sass(Syntactically awesome Stylesheets) is a style sheet language initially designed by Hampton Catlin and developed by Natalie Weizenbaum.

13. Grid system and responsive design come standard with __________ pixel wide grid layout.
a) 1270
b) 1500
c) 1170
d) 1350

Answer: c
Clarification: Grid system and responsive design come standard with 1170 pixel wide grid layout. Alternatively, the developer can use a variable width layout.

14. ___________ provides a set of stylesheets that provide basic style definition for HTML components.
a) Bootstrap
b) Javascript
c) Sass
d) Flexbox

Answer: a
Clarification: Bootstrap provides a set of stylesheets that provide basic style definition for HTML components. These provide a uniform, modern appearance for formatting text, tables and form elements.

15. Bootstrap uses what?
a) Pixels
b) Root ems
c) Less
d) Pager component

Answer: b
Clarification: Bootstrap 4 is almost rewritten from Bootstrap 3. Changes include:
Switched from Less to Sass
Switched from pixel to root ems.

250+ TOP MCQs on Handling Actuator Request and Answers

IOT Multiple Choice Questions on “Handling Actuator Request”.

1. ____________ enables production-ready feature to the spring boot application.
a) Actuators
b) Endpoint
c) Boot
d) Hyper media

Answer: a
Clarification: Actuators enable production ready features to a spring boot application without having to actually implement these things yourself.

2. __________ should be added to start the existing actuators in boot.
a) spring-boot-actuator
b) sprint-actuator-boot
c) boot-spring-actuator
d) actuator-spring-boot

Answer: a
Clarification: To start using the existing actuators in boot we will just need to add the spring-boot-actuator dependency.

3. __________ allows us to monitor the application.
a) Actuators
b) Endpoints
c) Boot
d) Hypermedia

Answers: b
Clarification: Endpoints allow you to monitor the application and, in some cases, interact with it as well. The boot comes with many built-in endpoints and, like pretty much anything in spring.

4. Which endpoints are sensitive?
a) /health
b) /info
c) /metric
d) /trace

Answer: c
Clarification: Most endpoints are sensitive ie., meaning they are not fully public. While a handful is not: /health and /metric.

5. Which endpoint shows application health information?
a) /health
b) /info
c) /metric
d) /trace

Answer: a
Clarification: /health shows application health information (a simple ‘status’ when accessed over an unauthenticated connection or full message details when authenticated). It is not sensitive by default.

6. __________ endpoint displays arbitrary application information.
a) /health
b) /info
c) /metric
d) /trace

Answer: b
Clarification: Endpoints allow you to monitor the application and, in some cases, interact with it as well. /info endpoint displays arbitrary application information. Not sensitive by default.

7. Which endpoint shows metric information for the current application?
a) /health
b) /info
c) /metric
d) /trace

Answer: c
Clarification: Endpoints allow you to monitor the application and, in some cases, interact with it as well. /metric shows metric information for the current application. It is also sensitive by default.

8. Which endpoint displays trace information?
a) /health
b) /info
c) /metric
d) /trace

Answer: d
Clarification: Endpoints allow you to monitor the application and, in some cases, interact with it as well. /trace displace trace information by default the; last few HTTP requests.

9. How many customizing properties are available?
a) 2 Properties
b) 3 Properties
c) 4 Properties
d) 5 Properties

Answer: b
Clarification: Each endpoint can be customized with properties using the following format: endpoint.[endpoint name].[property to customize]. Three properties are:
1. Id
2. Enabled
3. Sensitive.

10. Using which customized endpoint will be accessed over HTTP?
a) Id and enabled
b) Enabled
c) Sensitive
d) Id

Answer: d
Clarification: Each endpoint can be customized with properties using the following format: endpoint.[endpoint name].[property to customize].
Id – by which this endpoint will be accessed over HTTP.

11. Enabled customization endpoint will be enabled only during __________
a) True cases only
b) False cases only
c) Either True or false cases
d) True and false cases

Answer: a
Clarification: Each endpoint can be customized with properties using the following format: endpoint.[endpoint name].[property to customize].
Enabled – if true then it can be accessed otherwise not.

12. Enabled customization endpoint will be sensitive only during ________
a) True and false cases
b) False cases only
c) Either True or false cases
d) True cases only

Answer: d
Clarification: Each endpoint can be customized with properties using the following format: endpoint.[endpoint name].[property to customize].
Sensitive – if true then need the authorization to show crucial information over HTTP.

13. Health information is collected from all the beans implementing Health Indicator interface.
a) True
b) False

Answer: a
Clarification: Health information is collected from all the beans implementing Health Indicator interface configured in your application context.

14. Which endpoint is gathered and publishes information about OS?
a) /health
b) /info
c) /metric
d) /trace

Answer: c
Clarification: The metric endpoint is one of the most important endpoint as I gathers and publishes information about OS, JVM and Application level metric.

15. Command to create new endpoint?
a) Endpoint_T
b) Endpoint
c) Endpoint-T
d) Endpoint-t

Answer: b
Clarification: Besides using the existing endpoint provided by spring boot we can create a new endpoint. We need to have endpoint implementation implement the endpoint.

250+ TOP MCQs on Open IoT Architecture and Answers

IOT Multiple Choice Questions on “Open IoT Architecture”.

1. The number of elements in the Open IoT Architecture?
a) 6 elements
b) 8 elements
c) 7 elements
d) 3 elements

Answer: c
Clarification: The 7 main elements are : sensor middleware (X-GSN), cloud data storage, scheduler, service delivery and utility manager, request definition, request presentation, configuration and monitoring.

2. Global Sensor Network is built for _________
a) Reducing cost and time for development
b) Reducing cost and increasing time for development
c) Increasing cost and increasing time for development
d) Increasing cost and decreasing time for development

Answer: a
Clarification: GSN is developed on the observation that most of the requirements for the application development sensor network are same. Having each sensor network development using its own custom software not only increases the cost but also takes time for development and deployment.

3. One of the main characteristics of Linked Stream Data is “Live Streaming”.
a) True
b) False

Answer: a
Clarification: Most of the data on the web is from sensing devices. To facilitate the integration of data from sensed devices and other sources, both sensor stream source and data are being enriched with schematic descriptions, creating Linked Stream Data. It shows the live data depending on our application.

4. The huge number of devices connected to the Internet of Things has to communicate automatically, not via humans. What is this called?
a) Skynet
b) Bot 2 Bot
c) Machine 2 Machine
d) Intercloud

Answer: c
Clarification: Devices are connected to other devices like mobiles, laptops, etc, to communicate among themselves which is called machine to machine and that involves wireless communication techniques, serial connection and powerline connection.

5. Internet of Things needs a lot of network connection. What is the proposed “white Space” radio standard called?
a) Bluetooth
b) WiMax
c) Weightless
d) Zigbee

Answer: c
Clarification: White space is nothing but gaps that sit in the frequency band used to broadcast digital TV. The development of so called “Weightless standard” is for the use of TV white space and for IOT/M2M purpose. The main intention is to reduce the cost and power utilization.

6. What is the sensor/protocol used in GSN?
a) HTTP protocol
b) CoAP protocol
c) MQTT protocol
d) XMPP protocol

Answer: b
Clarification: Constrained Application Protocol is a specialized web transfer protocol which enables constrained devices to communicate over internet and it is required for GSN in transferring data stream.

7. Which is the core wrapper of GSN?
a) Serial
b) UDP
c) GPSTest
d) ZeroMQWrapper

Answer: d
Clarification: Wrappers are classified as remote and local wrappers in GSN. Unlike them, the ZeroMQWrapper is a core wrapper which allows for publishing stream elements that are produced by a Virtual Sensor.

8. Open IoT ontology is extending the W3C SSN ontology which supports the description of the physical and processing structure of sensors.
a) True
b) False

Answer: a
Clarification: Sensors are not constrained to physical sensing devices, rather a sensor is anything that can calculate the value of the phenomenon. Thus, either a device or Computational process or a combination of them could play the role of a sensor.

9. Open IoT manages the registration, data acquisition, deployment of sensors and interconnected of objects, through which network?
a) GSN
b) X-GSN
c) LSM
d) HTTP

Answer: b
Clarification: The core fundamental concept in X-GSN is the virtual sensor, which can represent not only physical devices but in general any abstract or concrete entity that observes features of any kind.

10. Which environment does Global Sensor Network work on?
a) C++
b) JAVA
c) HTML
d) C

Answer: b
Clarification: GSN is expected to work in all standard computing environments. As Java is portable in nature which means that Java bytecode can execute on all platforms, GSN works on Java. C++, HTML and C are not portable in nature.

11. ___________ is a community that is working together to establish an IoT architecture.
a) Eclipse IoT
b) Red Hat
c) Intercloud
d) Bot 2 Bot

Answer: a
Clarification: Eclipse IoT is a community that is working together to establish an IoT architecture based on open source technologies and standards.

12. _________ provides a middleware and application container for IoT gateway.
a) Eclipse Kura
b) Red Hat
c) Intercloud
d) Bot 2 Bot

Answer: a
Clarification: Eclipse Kura provides a general purpose middleware and application container for IoT gateway services and includes everything for the edge, such as an application container or runtime environment.

13. _________ is a modular and cloud based platform.
a) Eclipse Kura
b) Red Hat
c) Intercloud
d) Eclipse Kapua

Answer: d
Clarification: Eclipse Kapua is a module and cloud based platform that provides services required for real time data management and analytics.

14. Kapua also provides a core integration framework.
a) True
b) False

Answer: a
Clarification: Kapua also provides a core integration framework and an initial set of core IoT services, including a device registry, and application enablement.

15. _________ an open source stack for gateways and the edge.
a) Eclipse Kapua
b) Red Hat
c) Intercloud
d) Eclipse Kura

Answer: d
Clarification: Eclipse Kura, an open source stack for gateways and edge, and Eclipse Kapua, the first open source IoT cloud platform.

250+ TOP MCQs on Kiel IDE and Answers

IOT Multiple Choice Questions on “Kiel IDE”.

1. Which of the following is the professional kit?
a) PK52
b) CA51
c) A51
d) PK51

Answer: d
Clarification: Keil development tools for the Controller Architecture supports every level of a software developer. And PK51 is a professional kit.

2. Which of the following is the Compiler kit?
a) CA51
b) PK51
c) A51
d) A52

Answer: b
Clarification: Keil development tools for the Controller Architecture supports every level of a software developer. And PK51 is a Compiler Kit.

3. Which of the following is the Assembler kit?
a) PK51
b) CA51
c) A51
d) A52

Answer: c
Clarification: Keil development tools for the Controller Architecture supports every level of a software developer. And PK51 is an Assembler Kit.

4. Does PK51 support extended memory derivatives?
a) True
b) False

Answer: a
Clarification: The PK51 Professional Kit for the 8051 microcontroller family supports all 8051 derivatives including new devices with extended memory and instruction sets and classic devices and IP cores from companies like Analog Devices.

5. _______ is a complete line of home IoT devices that includes smart switches.
a) Awair
b) Canary
c) Belkin’s WeMo
d) Cinder

Answer: c
Clarification: Belkin’s WeMo is a complete line of home IoT devices that includes smart switches, cameras, lights, an air purifier and more. It allows the end user to control a lot of different devices with one smartphone app.

6. Which device is a home security system?
a) Belkin’s WeMo
b) Awair
c) Canary
d) Cinder

Answer: c
Clarification: This home security system captures video and audio and sends alerts to your smartphone. It automatically knows when are home or away and you can also view the live video feed from phone.

7. _______ also offers a huge lineup of products related to home automation.
a) GE connected appliances
b) Honeywell
c) Eversense
d) Cinder

Answer: b
Clarification: Honeywell also offers a huge lineup of products related to home automation and security. It includes thermostats, GPS asset tracking, locks, lighting, video surveillance and more.

8. _______ is the best for Internet connected thermostat.
a) Honeywell
b) GE connected appliances
c) Eversense
d) Nest

Answer: d
Clarification: Nest is the best for Internet connected thermostat, but it also makes smoke and carbon monoxide detectors and cameras. Its products also integrates with IoT home automation products d=from a variety of other vendors.

9. _________ is known for its deadbolts and doorknobs.
a) GE connected appliances
b) Eversense
c) Nest
d) Schlage

Answer: d
Clarification: Schlage is known for its deadbolts and doorknobs. It is getting ready for IoT era with two lines of smart home locks. It is a bluetooth enabled smart deadbolt that integrates with iOS devices.

250+ TOP MCQs on XMPP Protocol and Answers

IOT Multiple Choice Questions on “XMPP Protocol”.

1. XMPP Full form is ________
a) Extensible Messaging and Presence Protocol
b) Extensible Module and presence protocol
c) Extensible Messaging and Presence Protocol
d) Extensible Messaging and Presence Protocol

Answer: a
Clarification: XMPP is used in IOT which covers XMPP core, XMPP addressing, XMPP server and XMPP client communication. XMPP is the short form of Extensible Messaging and Presence Protocol.

2. XMPP is used for streaming which type of elements?
a) XPL
b) XML
c) XHL
d) MPL

Answer: b
Clarification: XMPP is an open protocol for streaming XML elements in order to exchange messages and presence information in close to real time.

3. XMPP creates _________ identity.
a) device
b) email
c) message
d) data

Answer: a
Clarification: XMPP creates a device identity also called a Jabber ID. In MQTT, identities are created and managed separately in broker implementations.

4. XMPP supports __________
a) Structured data
b) Foundation
c) Federation
d) Jabber ID

Answer: c
Clarification: XMPP supports federation, meaning devices from different manufactures connected to different platforms can talk to each other with a standard communication protocol.

5. Which protocol has a quality of service?
a) XMPP
b) HTTP
c) CoAP
d) MQTT

Answer: a
Clarification: MQTT has different levels of quality of services. This flexibility is not available in XMPP.

6. The original transport protocol for XMPP.
a) FCP
b) TCP
c) MCP
d) HCP

Answer: b
Clarification: The original and native transport protocol for XMPP is Transmission Control Protocol (TCP), using open ended XML stream over long-lived TCP connections.

7. Which XMPP core describes client server messaging?
a) RFC 6122
b) RFC 4854
c) RFC 6120
d) RFC 3923

Answer: c
Clarification: RFC 6120, Extensible Messaging and Presence Protocol (XMPP): core, which describes client-server messaging using two open-ended XML streams.

8. XMPP uses ________ architecture.
a) Decentralized client-server
b) Centralized client-server
c) Message
d) Public/subscriber

Answer: a
Clarification: The XMPP uses a decentralized client-server architecture where clients do not talk directly to one another, but there is no central server.

9. XMPP implementation uses ________
a) CoAP
b) Gaming
c) Email
d) Polling

Answer: d
Clarification: Most XMPP implementations use polling, or checking for updates only on demand. A protocol called BOSH lets server push messages.

10. XMPP feature such as federation across domains used to implement the Internet of Things.
a) True
b) False

Answer: a
Clarification: XMPP features such as federation across domains, public/subscriber, authentication and its security even for mobile endpoints are being used to implement the Internet of Things.

11. The architecture of the XMPP network is similar to __________
a) Chat box
b) Web browser
c) Gaming
d) Email

Answer: d
Clarification: The architecture of the XMPP network is similar to email; anyone can run their own XMPP server and there is no central master server.

12. Does XMPP have text based communication.
a) True
b) False

Answer: b
Clarification: Since XML is text based, normal XMPP has a higher network overhead compared to purely binary solution. This issue is being addressed by the experimental XEP -0322.

13. In XMPP In band binary data format is __________
a) High
b) Very high
c) Limited
d) Ultra high

Answer: c
Clarification: Binary data must be first base64 encoded before it can be transmitted in band. Therefore, any significant amount of binary data is best transmitted out of band, using in band message to coordinate.

14. IRC stands for __________
a) Internet Reduce Chat
b) Interconnection Relay Chat
c) Internet Relay Chat
d) Interconnect Reduce Chat

Answer: c
Clarification: The XMPP extension for multi user chat can be seen a competitor to Internet Relay Chat, although IRC is far simpler, has far fewer features, and is far widely used.

15. SIP stands for ___________
a) Session Initiation Protocol
b) Session Internet Protocol
c) Simple Initiation Protocol
d) Session Internet Protocol

Answer: a
Clarification: XMPP has often regarded as a competitor to simple, based on Session Initiation Protocol, as the standard protocol for instant messaging and presence notification.