Correct Answer: Message Queuing Telemetry Transport
Explanation:
MQTT stands for Message Queuing Telemetry Transport.
Incorrect! Try again.
2Which communication model is primarily used by MQTT?
Message Queue Telemetry Transport
Easy
A.Peer-to-peer video streaming
B.Circuit-switched communication
C.Client-to-client file sharing
D.Publish/subscribe messaging
Correct Answer: Publish/subscribe messaging
Explanation:
MQTT uses a publish/subscribe model in which clients exchange messages through a broker.
Incorrect! Try again.
3What is the main role of an MQTT broker?
Message Queue Telemetry Transport
Easy
A.To encrypt every network packet
B.To provide electrical power to devices while also storing all sensor measurements permanently
C.To manufacture IoT sensors
D.To route messages between clients
Correct Answer: To route messages between clients
Explanation:
The MQTT broker receives published messages and forwards them to clients subscribed to the relevant topics.
Incorrect! Try again.
4In MQTT, what is a topic?
Message Queue Telemetry Transport
Easy
A.A device battery setting
B.A named channel for messages
C.A physical sensor component
D.A wireless encryption key
Correct Answer: A named channel for messages
Explanation:
An MQTT topic is a named channel used to organize and route published messages.
Incorrect! Try again.
5Which protocol is generally designed to be lightweight for constrained IoT devices?
MQTT versus AMQP
Easy
A.SMTP
B.MQTT
C.FTP
D.AMQP
Correct Answer: MQTT
Explanation:
MQTT has a small message header and low overhead, making it suitable for constrained IoT devices.
Incorrect! Try again.
6What does AMQP stand for?
MQTT versus AMQP
Easy
A.Application Messaging Quality Profile
B.Advanced Mobile Queue Procedure
C.Automated Machine Query Process
D.Advanced Message Queuing Protocol
Correct Answer: Advanced Message Queuing Protocol
Explanation:
AMQP stands for Advanced Message Queuing Protocol.
Incorrect! Try again.
7Compared with MQTT, AMQP commonly provides which characteristic?
MQTT versus AMQP
Easy
A.More advanced message-queuing features
B.Operation without any network connection
C.Lower protocol complexity in every implementation
D.Direct electrical control of connected sensors
Correct Answer: More advanced message-queuing features
Explanation:
AMQP commonly offers richer queuing, routing, and delivery features, while MQTT emphasizes lightweight communication.
Incorrect! Try again.
8What is the purpose of session initiation in an IoT system?
Session initiation for the Internet of Things
Easy
A.To replace all application messages with network-routing tables maintained by every connected device
B.To physically assemble an IoT device
C.To establish a communication session
D.To permanently delete device firmware
Correct Answer: To establish a communication session
Explanation:
Session initiation establishes communication between IoT endpoints before they exchange session data.
Incorrect! Try again.
9Which information may be negotiated during IoT session initiation?
Session initiation for the Internet of Things
Easy
A.Device casing color
B.Sensor manufacturing date
C.Building ownership records
D.Communication parameters
Correct Answer: Communication parameters
Explanation:
Endpoints may negotiate parameters such as media type, format, address, or transport settings during initiation.
Incorrect! Try again.
10What is a major advantage of the publish/subscribe model?
Advantages and disadvantages of the publish/subscribe model
Easy
A.Messages can be delivered only when every subscriber is connected at exactly the same moment
B.All devices must use identical hardware
C.Every publisher must know each subscriber directly
D.Publishers and subscribers are loosely coupled
Correct Answer: Publishers and subscribers are loosely coupled
Explanation:
Publishers and subscribers communicate through topics or a broker, so they do not need direct knowledge of each other.
Incorrect! Try again.
11What is a possible disadvantage of broker-based publish/subscribe communication?
Advantages and disadvantages of the publish/subscribe model
Easy
A.Each sensor must contain a complete database server with permanent storage and administrative tools
B.Publishers must always use wired networks
C.The broker may become a failure point
D.Subscribers cannot receive topic messages
Correct Answer: The broker may become a failure point
Explanation:
If a system relies on one broker, broker failure can interrupt message delivery unless redundancy is provided.
Incorrect! Try again.
12Why can publish/subscribe systems scale well?
Advantages and disadvantages of the publish/subscribe model
Easy
A.One publication can reach many subscribers
B.All publishers must wait for direct replies
C.Every subscriber becomes a physical router
D.Each message is limited to one receiver
Correct Answer: One publication can reach many subscribers
Explanation:
A broker can distribute one published message to multiple interested subscribers.
Incorrect! Try again.
13Why are lightweight sessions useful in IoT environments?
Lightweight Sessions in the IoT
Easy
A.They increase the physical size of sensors
B.They require unlimited processing capacity
C.They reduce resource and communication overhead
D.They make every constrained device run a full desktop operating system with all services enabled
Correct Answer: They reduce resource and communication overhead
Explanation:
Lightweight sessions conserve bandwidth, memory, processing power, and energy on constrained devices.
Incorrect! Try again.
14Which device is most likely to benefit from a lightweight session protocol?
Lightweight Sessions in the IoT
Easy
A.A data-center storage server
B.A high-end desktop workstation
C.A battery-powered temperature sensor
D.A dedicated video-editing computer
Correct Answer: A battery-powered temperature sensor
Explanation:
A battery-powered sensor has limited energy and processing resources, so low-overhead sessions are beneficial.
Incorrect! Try again.
15What is the primary goal of a constrained session-initiation protocol?
A protocol for constrained session initiation
Easy
A.To maximize message size during setup
B.To establish sessions with low overhead
C.To require every endpoint to maintain extensive multimedia records throughout the device lifetime
D.To replace sensors with cloud servers
Correct Answer: To establish sessions with low overhead
Explanation:
A constrained session-initiation protocol minimizes signaling and resource use while establishing a session.
Incorrect! Try again.
16Which feature is desirable in a protocol for constrained session initiation?
A protocol for constrained session initiation
Easy
A.Continuous desktop-class processing
B.Compact signaling messages
C.High memory consumption
D.Large mandatory headers
Correct Answer: Compact signaling messages
Explanation:
Compact signaling reduces bandwidth, processing, memory, and energy requirements.
Incorrect! Try again.
17What normally happens first in session initiation?
Session initiation
Easy
A.Both endpoints erase their configurations
B.An endpoint sends a session request
C.Every network device downloads and installs a new operating system before any request is transmitted
D.The active session is immediately terminated
Correct Answer: An endpoint sends a session request
Explanation:
Session initiation commonly begins when one endpoint sends a request to establish communication.
Incorrect! Try again.
18What does a successful response to a session-initiation request indicate?
Session initiation
Easy
A.The device battery has been removed
B.The network has permanently failed
C.The requesting endpoint must delete its identity
D.The session can be established
Correct Answer: The session can be established
Explanation:
A successful response indicates that the request was accepted and the session can proceed.
Incorrect! Try again.
19What is the purpose of session tear-down?
Session tear-down
Easy
A.To preserve every allocated communication resource indefinitely even after both endpoints have finished
B.To end a communication session
C.To increase the sensor sampling rate
D.To begin a new device-manufacturing process
Correct Answer: To end a communication session
Explanation:
Session tear-down closes an active session and allows associated resources to be released.
Incorrect! Try again.
20Which action is an example of session modification?
Session modification
Easy
A.Ending the session without requesting any change
B.Replacing the entire physical network
C.Changing an active session parameter
D.Destroying the communicating devices
Correct Answer: Changing an active session parameter
Explanation:
Session modification changes parameters, capabilities, or settings while the session remains active.
Incorrect! Try again.
21A battery-powered sensor sends readings over an unreliable wireless link. Every reading must reach the broker at least once, and occasional duplicates are acceptable. Which MQTT QoS level should be used?
Message Queue Telemetry Transport
Medium
A.QoS 1
B.QoS 0
C.QoS 3
D.QoS 2
Correct Answer: QoS 1
Explanation:
QoS 1 provides at-least-once delivery. It retries unacknowledged messages, so duplicates can occur.
Incorrect! Try again.
22A device publishes a retained message containing the latest room temperature. What happens when a new subscriber later subscribes to that topic?
Message Queue Telemetry Transport
Medium
A.It requests the value directly from the device
B.It waits until the publisher reconnects
C.It receives the retained temperature immediately
D.It receives only future temperature values
Correct Answer: It receives the retained temperature immediately
Explanation:
The broker stores the most recent retained message and sends it to new subscribers when they subscribe.
Incorrect! Try again.
23A monitoring application subscribes to factory/+/temperature. Which published topic will match this MQTT subscription?
Message Queue Telemetry Transport
Medium
A.factory/zone1/temperature
B.factory/temperature
C.office/zone1/temperature
D.factory/zone1/motor/temperature
Correct Answer: factory/zone1/temperature
Explanation:
The + wildcard matches exactly one topic level, so zone1 can occupy the level between factory and temperature.
Incorrect! Try again.
24An MQTT client needs the broker to notify subscribers if the client disconnects unexpectedly. Which feature should the client configure?
Message Queue Telemetry Transport
Medium
A.Topic alias
B.Last Will and Testament
C.Retained subscription
D.Keep-alive response
Correct Answer: Last Will and Testament
Explanation:
A Last Will message is registered during connection and published by the broker after an unexpected client disconnection.
Incorrect! Try again.
25A small environmental sensor has limited memory and transmits short telemetry messages. Which protocol is generally the more suitable starting choice?
MQTT versus AMQP
Medium
A.MQTT with a lightweight client
B.AMQP with complex routing rules
C.AMQP with broker-side transactions
D.MQTT with exactly-once delivery only
Correct Answer: MQTT with a lightweight client
Explanation:
MQTT has a small header and a simple publish/subscribe model, making it well suited to constrained telemetry devices.
Incorrect! Try again.
26A financial backend requires transactions, flexible queue routing, and enterprise messaging semantics. Which protocol is generally more appropriate?
MQTT versus AMQP
Medium
A.AMQP
B.SIP
C.CoAP
D.MQTT
Correct Answer: AMQP
Explanation:
AMQP is designed for feature-rich enterprise messaging, including queues, exchanges, routing, acknowledgments, and transactions.
Incorrect! Try again.
27Why might MQTT consume fewer network resources than AMQP for simple sensor reporting?
MQTT versus AMQP
Medium
A.MQTT guarantees zero retransmissions
B.MQTT always uses UDP transport
C.MQTT uses smaller control headers
D.MQTT avoids using a broker
Correct Answer: MQTT uses smaller control headers
Explanation:
MQTT uses compact control packets and simpler messaging semantics. It normally operates over TCP and may retransmit messages.
Incorrect! Try again.
28A temperature sensor publishes data without knowing which dashboards or alert services will consume it. Which publish/subscribe advantage does this demonstrate?
Advantages and disadvantages of the publish/subscribe model
Medium
A.Direct addressing
B.Payload encryption
C.Ordered execution
D.Space decoupling
Correct Answer: Space decoupling
Explanation:
Space decoupling means publishers and subscribers do not need to know each other's network identities.
Incorrect! Try again.
29A broker fails, causing communication to stop for every publisher and subscriber connected only to that broker. Which disadvantage is illustrated?
Advantages and disadvantages of the publish/subscribe model
Medium
A.A direct device dependency
B.A mandatory polling delay
C.A fixed payload format
D.A central point of failure
Correct Answer: A central point of failure
Explanation:
A single broker can become a failure point unless redundancy, clustering, or failover mechanisms are provided.
Incorrect! Try again.
30A publisher sends data while a subscriber is temporarily offline. Which mechanism most directly helps the subscriber receive the missed data after reconnecting?
Advantages and disadvantages of the publish/subscribe model
Medium
A.Stateless subscriptions without storage
B.Frequent publisher address changes
C.Shorter topic names with wildcards
D.Persistent sessions with queued messages
Correct Answer: Persistent sessions with queued messages
Explanation:
A persistent session allows the broker to preserve subscription state and queue eligible messages for an offline subscriber.
Incorrect! Try again.
31Before establishing an IoT communication session, two devices must determine whether they support compatible media formats and transport parameters. What is this process called?
Session initiation for the Internet of Things
Medium
A.Topic retention
B.Capability negotiation
C.Payload sampling
D.Queue replication
Correct Answer: Capability negotiation
Explanation:
Capability negotiation allows endpoints to agree on compatible formats, transports, and other session parameters before communication begins.
Incorrect! Try again.
32Why can a conventional session initiation mechanism be inefficient for a constrained IoT node?
Session initiation for the Internet of Things
Medium
A.Its sessions cannot be modified after establishment
B.Its signaling may require excessive bytes and processing
C.Its messages cannot identify communication endpoints
Correct Answer: Its signaling may require excessive bytes and processing
Explanation:
Verbose signaling and complex parsing can consume scarce bandwidth, memory, energy, and processing capacity on constrained nodes.
Incorrect! Try again.
33A sleeping IoT node wakes briefly to exchange data and then returns to sleep. Which session design best conserves its energy?
Lightweight Sessions in the IoT
Medium
A.Frequent renegotiation of every parameter
B.Repeated discovery before every packet
C.Continuous signaling with permanent state
D.Minimal signaling with short-lived state
Correct Answer: Minimal signaling with short-lived state
Explanation:
Reducing message exchanges and stored session state limits radio activity, processing time, and energy consumption.
Incorrect! Try again.
34A constrained device reconnects frequently because its wireless connection is intermittent. Which technique most directly reduces repeated session setup overhead?
Lightweight Sessions in the IoT
Medium
A.Session resumption using saved parameters
B.New device identities for every session
C.Full negotiation after every disconnection
D.Larger payloads during each reconnection
Correct Answer: Session resumption using saved parameters
Explanation:
Session resumption reuses previously negotiated information, reducing communication rounds and computation during reconnection.
Incorrect! Try again.
35A constrained session initiation protocol runs over an unreliable datagram transport. Which mechanism is needed to improve signaling reliability?
A protocol for constrained session initiation
Medium
A.Topic wildcards with retained publications
B.Queue exchanges with transactional commits
C.Message identifiers with timed retransmissions
D.Permanent connections with no acknowledgments
Correct Answer: Message identifiers with timed retransmissions
Explanation:
Identifiers help detect matching responses and duplicates, while timers trigger retransmission when signaling messages are lost.
Incorrect! Try again.
36Which design change would most effectively reduce the signaling size of a session initiation protocol for constrained devices?
A protocol for constrained session initiation
Medium
A.Encode each parameter as descriptive prose
B.Repeat all headers in every response
C.Use compact fields and omit optional metadata
D.Add multiple acknowledgments per request
Correct Answer: Use compact fields and omit optional metadata
Explanation:
Compact encoding and removal of unnecessary metadata reduce packet size, transmission time, and parsing work.
Incorrect! Try again.
37An endpoint receives a session invitation and accepts the proposed parameters. What should happen next to confirm that both endpoints recognize the established session?
Session initiation
Medium
A.A retained message should restart negotiation
B.A new broker should replace the endpoint
C.A confirmation message should complete the exchange
D.A teardown request should release the resources
Correct Answer: A confirmation message should complete the exchange
Explanation:
A final confirmation completes the initiation handshake and ensures both endpoints agree that the session is established.
Incorrect! Try again.
38A sensor has finished streaming data and intentionally ends its session. Why is an explicit tear-down message preferable to simply becoming silent?
Session tear-down
Medium
A.It automatically creates a replacement communication path
B.It preserves the session indefinitely without stored state
C.It guarantees that all future packets use less bandwidth
D.It allows both sides to release session resources promptly
Correct Answer: It allows both sides to release session resources promptly
Explanation:
Explicit tear-down informs the peer that the session has ended, allowing timers, buffers, and other state to be released immediately.
Incorrect! Try again.
39A device loses power before sending a session tear-down message. Which mechanism should the remote endpoint use to avoid retaining the session forever?
Session tear-down
Medium
A.A retained publication
B.A wildcard subscription
C.An inactivity timeout
D.A capability advertisement
Correct Answer: An inactivity timeout
Explanation:
An inactivity timeout removes stale session state when an endpoint disappears without completing the normal tear-down exchange.
Incorrect! Try again.
40During an active video-monitoring session, available bandwidth decreases. What is the most appropriate session modification?
Session modification
Medium
A.Renegotiate a lower data rate
B.Repeat the original parameters unchanged
C.Create unrelated topic names
D.Disable all session identifiers
Correct Answer: Renegotiate a lower data rate
Explanation:
Session modification can adapt negotiated parameters, such as data rate or media quality, without establishing an entirely new session.
Incorrect! Try again.
41An MQTT 5.0 publisher sends a QoS 1 message with a Message Expiry Interval of 30 seconds. A matching subscriber has a persistent session but remains disconnected for 45 seconds. What should the broker do with the queued message?
Message Queue Telemetry Transport
Hard
A.Deliver the message immediately when the subscriber reconnects
B.Discard the message when its expiry interval elapses
C.Reset the expiry interval when the subscriber reconnects
D.Convert the message to QoS 0 and retain it
Correct Answer: Discard the message when its expiry interval elapses
Explanation:
The broker may queue QoS 1 messages for a persistent session, but it must remove an undelivered application message after its Message Expiry Interval reaches zero.
Incorrect! Try again.
42A publisher sends an MQTT message at QoS 2, while a matching subscription was created with maximum QoS 1. At what QoS is the message delivered to that subscriber?
Message Queue Telemetry Transport
Hard
A.QoS 1 because delivery is capped by the subscription
B.QoS 2 with a QoS 1 acknowledgment sequence
C.QoS 2 because the publisher selected exactly-once delivery
D.QoS 0 because QoS levels cannot be translated
Correct Answer: QoS 1 because delivery is capped by the subscription
Explanation:
The broker delivers using the lower applicable QoS. A QoS 2 publication therefore reaches a subscription capped at QoS 1 using QoS 1.
Incorrect! Try again.
43An MQTT client reconnects with the same Client Identifier after losing its connection midway through a QoS 2 exchange. Which configuration best allows the exchange to continue without treating the client as a new session?
Message Queue Telemetry Transport
Hard
A.Clean Start set to 0 with Message Expiry Interval 0
B.Clean Start set to 0 with a nonzero Session Expiry Interval
C.Clean Start set to 1 with Receive Maximum set to 1
D.Clean Start set to 1 with Session Expiry Interval 0
Correct Answer: Clean Start set to 0 with a nonzero Session Expiry Interval
Explanation:
Clean Start 0 requests reuse of the stored session, while a nonzero Session Expiry Interval permits session state and incomplete QoS exchanges to survive disconnection.
Incorrect! Try again.
44A device publishes retained state ON to plant/pump/state, then later publishes a retained message with a zero-byte payload to the same topic. What is the resulting broker behavior?
Message Queue Telemetry Transport
Hard
A.The retained state remains ON until its session expires
B.The retained state is removed from the broker
C.The retained state becomes an empty retained publication
D.The retained state is delivered only to existing subscribers
Correct Answer: The retained state is removed from the broker
Explanation:
In MQTT, a retained publication with a zero-byte payload deletes the retained message for that topic. It does not establish a persistent empty value.
Incorrect! Try again.
45An IoT backend requires broker-enforced routing based on multiple message headers, transactional grouping, and interoperable link-level flow control between heterogeneous vendors. Which protocol is the stronger direct fit?
MQTT versus AMQP
Hard
A.AMQP, because it eliminates acknowledgments on constrained links
B.AMQP, because its model includes rich routing and link semantics
C.MQTT, because topic filters encode arbitrary header predicates
D.MQTT, because retained messages provide transactional grouping
Correct Answer: AMQP, because its model includes rich routing and link semantics
46A battery-powered sensor sends small telemetry records over a high-latency link and requires only topic-based routing with modest protocol overhead. Which design choice is generally most appropriate?
MQTT versus AMQP
Hard
A.MQTT, because QoS 2 guarantees application-level uniqueness
B.MQTT, because its compact control packets reduce overhead
C.AMQP, because sessions are unnecessary for reliable delivery
D.AMQP, because every transfer uses a shorter fixed header
Correct Answer: MQTT, because its compact control packets reduce overhead
Explanation:
MQTT was designed for lightweight telemetry and uses compact control packets. QoS 2 controls protocol-level duplicate delivery but does not by itself guarantee application-level uniqueness.
Incorrect! Try again.
47A gateway must apply explicit receiver credit so that a fast producer cannot send more transfers than a downstream consumer has authorized. Which protocol mechanism directly expresses this requirement?
MQTT versus AMQP
Hard
A.AMQP message annotations
B.AMQP link credit
C.MQTT topic aliases
D.MQTT subscription identifiers
Correct Answer: AMQP link credit
Explanation:
AMQP link credit is a receiver-driven flow-control mechanism that limits how many transfers a sender may issue. MQTT does not expose an equivalent consumer-credit model.
Incorrect! Try again.
48A publisher emits an event while no subscribers are connected. The system must guarantee later delivery to an already registered consumer. Which additional property is essential beyond basic publish/subscribe decoupling?
Advantages and disadvantages of the publish/subscribe model
Hard
A.Durable subscription state with persistent message storage
B.Anonymous publishing with broker-side topic discovery
C.Wildcard matching with hierarchical topic names
D.Retained delivery restricted to currently online consumers
Correct Answer: Durable subscription state with persistent message storage
Explanation:
Basic publish/subscribe does not guarantee delivery to offline consumers. The broker must preserve the consumer's subscription state and store eligible messages until reconnection.
Incorrect! Try again.
49Two subscribers independently consume every event from the same topic and each updates the same non-idempotent database record. Which publish/subscribe disadvantage is most directly exposed?
Advantages and disadvantages of the publish/subscribe model
Hard
A.Fan-out can cause duplicated application-side effects
D.Publishers must know every subscriber's network address
Correct Answer: Fan-out can cause duplicated application-side effects
Explanation:
Publish/subscribe intentionally distributes an event to multiple matching subscribers. If their side effects overlap and are not idempotent, one event can produce duplicate business changes.
Incorrect! Try again.
50A safety controller requires a command response within 50 ms and must know immediately whether a specific actuator accepted the command. Why can pure publish/subscribe be a poor fit without extra conventions?
Advantages and disadvantages of the publish/subscribe model
Hard
A.It prevents actuators from publishing acknowledgment messages
B.It requires all commands to use exactly-once broker delivery
C.It decouples endpoints and lacks an inherent request-response contract
D.It prohibits commands from carrying correlation identifiers
Correct Answer: It decouples endpoints and lacks an inherent request-response contract
Explanation:
Publish/subscribe does not inherently identify one responsible receiver or define correlated responses and deadlines. Those semantics must be added using reply topics, identifiers, and timeout handling.
Incorrect! Try again.
51A constrained camera and a monitoring client must establish a session, but they support several incompatible media encodings. Which initiation function is necessary before resources are committed?
Session initiation for the Internet of Things
Hard
A.Negotiating a mutually supported session description
B.Disabling capability discovery to reduce message count
C.Assigning identical transport ports to both endpoints
D.Retaining the latest media packet at the broker
Correct Answer: Negotiating a mutually supported session description
Explanation:
Session initiation must negotiate compatible capabilities and parameters. Establishing transport state without an agreed encoding could create a session that cannot carry usable media.
Incorrect! Try again.
52An IoT session setup request is retransmitted after its response is lost. The server has already allocated the requested session. Which design property best prevents the retransmission from creating a second session?
Session initiation for the Internet of Things
Hard
A.A new resource path generated for every network attempt
B.A different endpoint identifier on every retransmission
C.A shorter session lifetime than the retransmission timer
D.A stable transaction identifier with duplicate detection
Correct Answer: A stable transaction identifier with duplicate detection
Explanation:
The retransmission must be recognizable as the same transaction. Stable identifiers and cached outcomes allow the server to repeat the response without repeating session allocation.
Incorrect! Try again.
53A sleepy IoT node communicates through a gateway and wakes only once per hour. Which session design minimizes energy use while preserving enough continuity to resume work?
Lightweight Sessions in the IoT
Hard
A.Keep all radio bearers active until explicit remote termination
B.Maintain continuous transport keepalives from the sleeping node
C.Repeat complete capability negotiation for every application packet
D.Store compact resumable state at the gateway with bounded lifetime
Correct Answer: Store compact resumable state at the gateway with bounded lifetime
Explanation:
Delegating limited session state to an available gateway avoids frequent radio wakeups. A bounded lifetime also prevents abandoned sessions from consuming resources indefinitely.
Incorrect! Try again.
54A lightweight session protocol replaces periodic keepalives with a long inactivity timeout. What is the most important resource-management risk introduced by this change?
B.Active sessions are forced to renegotiate every packet
C.Stale session state may occupy memory for much longer
D.Endpoint addressing can no longer use constrained formats
Correct Answer: Stale session state may occupy memory for much longer
Explanation:
Long inactivity timeouts reduce signaling and radio usage, but failures may leave state allocated until timeout. Constrained servers must therefore bound or reclaim stale sessions.
Incorrect! Try again.
55A constrained session-initiation protocol runs over an unreliable datagram transport. A client sends a non-idempotent session-creation request, but the response is lost. Which protocol feature is most critical for safe retries?
A protocol for constrained session initiation
Hard
A.Duplicate suppression tied to a request token
B.Unconditional allocation before request validation
C.Independent session creation for each retransmission
D.Randomized payload encoding on every retry
Correct Answer: Duplicate suppression tied to a request token
Explanation:
A request token lets the server recognize retransmissions and return the prior result. Without duplicate suppression, retries of non-idempotent creation can allocate multiple sessions.
Incorrect! Try again.
56A constrained protocol compresses session descriptions by replacing common parameter names with numeric codes. Under which condition does this optimization remain interoperable?
A protocol for constrained session initiation
Hard
A.Unknown codes are interpreted as mandatory defaults
B.Numeric values are reused freely across protocol versions
C.Each endpoint assigns codes independently at connection time
D.Codes are defined by a shared and versioned registry
Correct Answer: Codes are defined by a shared and versioned registry
Explanation:
Compression remains interoperable only when both endpoints map codes to identical semantics. A shared, versioned registry also enables controlled extension and unknown-code handling.
Incorrect! Try again.
57During session establishment, an offer lists codecs in preference order C1, C2, C3; the answerer supports only C2 and C3 but selects C4. What is the correct outcome?
Session initiation
Hard
A.Use C3 because it is the lowest common capability
B.Establish the session with C4 as the answerer's preference
C.Use C1 because the offerer's ordering always takes precedence
D.Reject or correct the answer because C4 was not offered
Correct Answer: Reject or correct the answer because C4 was not offered
Explanation:
An answer must select parameters compatible with the offer. Choosing an unoffered codec violates negotiation even if the answerer supports that codec locally.
Incorrect! Try again.
58Endpoint A sends a session tear-down request, releases its local resources, and then receives a duplicate copy of the same request from the network. What behavior best supports robust tear-down?
Session tear-down
Hard
A.Allocate a new session identifier for the duplicate request
B.Recreate the session so that it can be terminated again
C.Interpret the duplicate as a session modification request
D.Treat the duplicate idempotently and confirm termination
Correct Answer: Treat the duplicate idempotently and confirm termination
Explanation:
Tear-down should be idempotent. A duplicate request must not recreate resources or cause a new state transition; the endpoint can confirm that the session is already terminated.
Incorrect! Try again.
59A constrained endpoint loses connectivity permanently without sending an explicit session tear-down. Which mechanism most reliably prevents the peer from retaining resources forever?
Session tear-down
Hard
A.A permanent transport binding indexed by endpoint address
B.A lease or inactivity timer that expires session state
C.A retained publication containing the original offer
D.An unlimited retransmission loop for the last session message
Correct Answer: A lease or inactivity timer that expires session state
Explanation:
Explicit tear-down cannot be assumed after crashes or network loss. A lease or inactivity timeout provides eventual resource reclamation when signaling never arrives.
Incorrect! Try again.
60Two endpoints simultaneously send incompatible session-modification offers for the same active session. Which strategy best avoids ending with divergent session state?
Session modification
Hard
A.Create a second session under the original identifier
B.Accept each local offer without waiting for confirmation
C.Use versioning and reject or serialize conflicting updates
D.Apply both offers locally in their arrival order
Correct Answer: Use versioning and reject or serialize conflicting updates
Explanation:
Version numbers or equivalent concurrency controls detect modifications based on stale state. Conflicting updates can then be rejected, retried, or serialized through a defined negotiation rule.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →