3. IOT DATA PROTOCOLS Flashcards
40 Questions
What is the HTTP method used to create a new resource in RESTful architecture?
PUT
a. PUT
b. DELETE
c. POST
d. GET
POST
What is the default port number for MQTT?
a. 8080
b. 1883
c. 80
d. 8883
1883
What is a topic in MQTT?
a. A string used to filter messages in a publish/subscribe model
b. A unique identifier for a message
c. A client identifier
d. A message payload
A string used to filter messages in a publish/subscribe model
MQTT transmits data to and from a broker in which format. (Choose the best option)
a. Text based data
b. XML
c. JSON
d. Binary data
Binary data
MQTT is _______ oriented.
a. Data
b. Device
c. Message
d. Network
Message
What type of protocol is MQTT?
a. Application protocol
b. Network protocol
c. Transport protocol
d. Presentation protocol
Application protocol
What is a resource in the context of RESTful web services?
a. An entity that can be accessed and manipulated through a URI
b. A function that performs a specific action
c. A container for storing data in a web application
d. A set of procedures for accessing a database
An entity that can be accessed and manipulated through a URI
In RESTful APIs, what is used to uniquely identify a resource?
a. API key
b. URI (Uniform Resource Identifier)
c. Session ID
d. Query parameters
URI (Uniform Resource Identifier)
In RESTful APIs, what does a status code in the 5xx range signify?
a. Server error
b. Redirection
c. Successful operation
d. Client error
Server error
Which protocol is CoAP closely modeled after?
a. HTTP
b. AMQP
c. FTP
d. MQTT
HTTP
CoAP Protocol is comprised of which sub-layers?
a. UDP
b. Request & Response
c. Observation
d. Message
- Request & Response
- Message
What is the maximum number of clients that can subscribe to a single topic in MQTT?
a. 10
b. 1
c. 100
d. Unlimited
Unlimited
What does MQTT stand for?
a. Message Querying Telecommunication Transmission
b. Message Queuing Transaction Transport
c. Message Queuing Telemetry Transport
d. Message Quorum Transport Technology
Message Queuing Telemetry Transport
What does CoAP stand for?
a. Compact Application Protocol
b. Constrained Application Protocol
c. Common Application Protocol
d. Control Application Protocol
Constrained Application Protocol
Which layer is CoAP?
a. Transport layer
b. Application layer
c. Service layer
d. Control layer
Application layer
CoAP is specialized in?
a. Wired applications
b. Internet applications
c. Wireless applications
d. Device applications
Internet applications
What transport layer protocol does CoAP use?
a. ICMP
b. REST
c. UDP
d. TCP
UDP
CoAP supports which of the following methods similar to HTTP?
a. CONNECT, TRACE, PATCH
b. None of them
c. OPTIONS, HEAD
d. GET, POST, PUT, DELETE
GET, POST, PUT, DELETE
CoAP is designed for which kind of networks?
a. Resource-constrained networks
b. Datacenter Networks
c. Wide Area Networks (WAN)
d. Local Area Networks (LAN)
Resource-constrained networks
CoAP messages can be of which types?
a. Confirmable and Non-Confirmable
b. Request and Response
c. Synchronous and Asynchronous
d. Persistent and Transient
Confirmable and Non-Confirmable
Which of the following is NOT a constraint of RESTful architecture?
a. Cookie-based authentication
b. Cacheability
c. Statelessness
d. Client-server architecture
Cookie-based authentication
What does idempotence mean in the context of RESTful APIs?
a. The API produces different results with each request
b. The API can handle asynchronous requests
c. The API encrypts data for security
d. The API produces the same result no matter how many times the same request is made
The API produces the same result no matter how many times the same request is made
The core of the protocol is specified in ______?
a. RFC 7452
b. RFC 7252
c. RFC 7524
d. RFC 7254
RFC 7252
To receive a retained message?
a. You must keep the message.
b. You must subscribe with the retained message set.
c. You must subscribe to a topic that has been published with the retained message set.
d. You must subscribe with a QOS of 1 or 2
You must subscribe to a topic that has been published with the retained message set.