🎓 BookMCQ
← Back to 30. Quality of Service

📝 Scheduling algorithms for QoS (30 MCQs)

📖 From Data Communication and Networks • 30. Quality of Service • 30 questions available

What is Scheduling algorithms for QoS?

Scheduling algorithms for QoS are router-based methods like Weighted Fair Queuing or Priority Queuing that determine the order in which packets are transmitted from output queues to meet specific delay and bandwidth guarantees for different traffic classes.

10
Easy
12
Medium
8
Hard

📝 All Scheduling algorithms for QoS MCQs

Q1. What does the acronym SIP stand for in VoIP communications?

A.Session Initiation Protocol ✅
B.Streaming Internet Protocol
C.Secure Identity Package
D.Simple Interaction Process
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: SIP stands for Session Initiation Protocol, which is the core signaling protocol used to create, modify, and terminate multimedia communication sessions such as voice and video calls over IP networks. Understanding this definition is fundamental for any discussion of VoIP technologies and their operation.

Q2. Which protocol is primarily responsible for providing timing and synchronization information for media streams?

A.RTCP ✅
B.RTP
C.SIP
D.TCP
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: The Real-time Transport Control Protocol (RTCP) works alongside RTP to convey statistics, timing, and synchronization data about media streams. By exchanging reports on packet loss, jitter, and delay, RTCP enables endpoints to monitor and adjust the quality of the ongoing transmission, making it essential for synchronized media delivery.

Q3. In a wireless environment, which OSI layer handles device mobility management?

A.Network ✅
B.Data Link
C.Physical
D.Transport
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: Mobility management, such as handling roaming and changing IP addresses, is performed at the Network layer (Layer 3) of the OSI model. This layer is responsible for routing decisions and ensures that devices can maintain connectivity when they move between different wireless access points or subnets.

Q4. When packet loss rises on a wireless link, which RTCP mechanism most directly causes the SIP session to adapt its media parameters?

A.Sender Report timing
B.Receiver Report loss statistics ✅
C.Source Description items
D.Application‑specific messages
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: Receiver Reports contain loss statistics that indicate how many RTP packets were not received. SIP implementations can use this feedback to trigger re‑negotiation of codecs or adjust bitrates, thereby adapting the media flow to compensate for the observed degradation.

Q5. Given that SIP often uses UDP for signaling, what inference can be made about the reliability of RTP/RTCP streams in a congested wireless environment?

A.They become more reliable than SIP
B.Reliability depends solely on TCP
C.RTP/RTCP may experience higher loss than SIP signaling ✅
D.Both rely on identical error‑correction mechanisms
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: Since SIP signaling over UDP does not guarantee delivery, RTP/RTCP streams, which also use UDP, are subject to the same or greater packet loss under congestion. Consequently, the quality of the media may deteriorate faster than the signaling, requiring additional mechanisms such as retransmission or redundancy.

Q6. If a user registers with SIP from both office and home, what logical deduction explains how the network selects the correct contact for an incoming call?

A.It chooses the first registration received
B.It selects the contact with the highest priority value ✅
C.It always prefers the home address
D.It randomly picks one of the contacts
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: SIP registration includes a priority parameter; the registrar stores multiple contacts with associated priorities. When an incoming INVITE arrives, the server selects the contact with the highest priority, ensuring that calls are routed to the most preferred location according to the user's configuration.

Q7. Assume the round‑trip time measured by RTCP increases by 150 ms when a mobile user moves from office to home. What can be deduced about the impact on SIP re‑INVITE timing?

A.Re‑INVITE will be sent immediately ✅
B.Re‑INVITE may be delayed to avoid congestion
C.Re‑INVITE timing is unaffected
D.Re‑INVITE will be canceled
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: An increase in RTT reported by RTCP indicates higher latency on the media path. SIP agents typically use this information to trigger a re‑INVITE promptly, allowing the session to renegotiate parameters such as codec or transport address to better suit the new network conditions.

Q8. When RTP packets are encrypted with SRTP, how does RTCP's ability to convey QoS metrics affect the scheduling decisions made by a SIP proxy?

A.QoS metrics become unusable
B.The proxy ignores SRTP encryption
C.RTCP still provides loss and jitter data, guiding proxy scheduling ✅
D.Encryption blocks all RTCP reports
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: Even when RTP payloads are protected by Secure RTP (SRTP), RTCP packets remain in clear text to allow receivers to report loss, jitter, and delay. A SIP proxy can use these metrics to prioritize or reshape traffic, ensuring that encrypted media still receives appropriate scheduling based on observed quality.

Q9. Compare the role of SIP and RTCP in establishing a VoIP call. Which statement best captures their primary functional difference?

A.Both handle media transport
B.SIP sets up signaling while RTCP monitors media quality ✅
C.RTCP initiates the call and SIP carries audio
D.SIP provides encryption and RTCP provides routing
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: SIP is responsible for the signaling aspects: locating participants, negotiating session parameters, and managing call state. RTCP, on the other hand, operates alongside RTP to deliver periodic reports on packet loss, jitter, and delay, thereby monitoring and influencing media quality after the call is established.

Q10. Contrast the behavior of a SIP registrar versus a SIP proxy in handling user location updates. Which option correctly identifies a key distinction?

A.Registrars forward calls, proxies store contacts
B.Proxies store contacts, registrars forward calls
C.Registrars store contact bindings, proxies route requests based on those bindings ✅
D.Both perform identical functions
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: A SIP registrar records the current location (contact URI) of a user and stores it in a database. A SIP proxy, using that stored information, routes incoming requests to the appropriate contact. Thus, the registrar maintains state while the proxy performs the routing function.

Q11. Evaluate the advantages of using combined RTP/RTCP with SIP over using SIP alone for adaptive bitrate streaming in a wireless network.

A.No advantage; SIP alone suffices ✅
B.RTP/RTCP provides real‑time media feedback enabling bitrate adaptation
C.SIP can adapt bitrate without RTCP data
D.Combined use increases latency without benefit
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: When RTP/RTCP is paired with SIP, the RTCP reports supply real‑time measurements of loss, jitter, and delay, which SIP can use to trigger re‑INVITE messages that adjust the bitrate. This feedback loop allows the system to adapt to fluctuating wireless conditions, an ability absent if only SIP signaling is employed.

Q12. Differentiate the impact of jitter buffering at the receiver versus network‑level scheduling by a SIP server. Which scenario yields lower end‑to‑end latency?

A.Receiver buffering always adds more delay
B.Network scheduling eliminates the need for buffering
C.A well‑tuned network scheduler combined with minimal receiver buffering provides the lowest latency ✅
D.Receiver buffering is irrelevant to latency
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: Network‑level scheduling can prioritize packets to reduce variation, but some jitter inevitably remains. A small, adaptive jitter buffer at the receiver smooths residual variation without adding excessive delay. The combination of proactive scheduling and modest buffering typically results in the smallest overall latency.

Q13. Assess the trade‑off between session reliability and overhead when choosing between TCP‑based SIP transport and UDP‑based SIP transport in a mobile environment.

A.TCP offers no reliability benefits
B.UDP reduces overhead but may cause lost signaling
C.TCP adds overhead but guarantees delivery, which is vital for session integrity
D.Both protocols provide identical reliability ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: TCP provides built‑in retransmission and ordering, ensuring that SIP messages reach their destination, which is important for establishing and maintaining sessions. However, this reliability incurs additional header overhead and connection‑setup latency. UDP incurs less overhead but lacks guaranteed delivery, making it susceptible to loss in mobile scenarios.

Q14. Analyze how SIP's call‑forwarding feature interacts with RTCP's congestion control feedback when the callee moves from office to a high‑latency home network.

A.Call‑forwarding ignores RTCP data
B.RTCP informs SIP to stop forwarding ✅
C.SIP forwards the call, while RTCP feedback may trigger a re‑INVITE to adjust media parameters
D.RTCP disables call‑forwarding entirely
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: When the callee changes location, RTCP reports increased delay and loss, which SIP can use to issue a re‑INVITE that renegotiates codecs or transport addresses. The call‑forwarding logic itself remains unchanged, but the media adaptation driven by RTCP ensures the call continues smoothly despite the new congestion conditions.

Q15. Compare the scheduling algorithms (e.g., round‑robin vs. weighted‑fair queuing) that could be applied within a SIP proxy to prioritize emergency calls. Which algorithm best ensures low‑delay for high‑priority traffic?

A.Round‑robin treats all calls equally
B.Weighted‑fair queuing can assign higher weight to emergency calls, guaranteeing lower queuing delay ✅
C.Both algorithms provide identical priority handling
D.Round‑robin inherently prioritizes emergency calls
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: Weighted‑fair queuing (WFQ) allows the proxy to allocate more bandwidth or lower queuing delay to flows with higher weights, such as emergency calls. This ensures that critical traffic experiences minimal latency, whereas round‑robin cycles through all flows equally and cannot guarantee preferential treatment.

Q16. Critically evaluate the security implications of exposing RTCP statistics to intermediate SIP proxies in a corporate wireless LAN.

A.No security risk exists ✅
B.RTCP data can reveal call quality and user location, aiding traffic analysis
C.Exposing RTCP improves encryption strength
D.RTCP statistics are always encrypted by default
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: RTCP packets are typically sent in clear text, allowing intermediate devices to observe loss, jitter, and delay metrics. While these statistics do not contain payload content, they can be leveraged for traffic analysis, enabling potential attackers to infer call patterns or user locations, thus presenting a privacy concern that must be mitigated through encryption or access control.

Q17. Given two SIP endpoints, one supporting video and one audio‑only, how does the combined RTP/RTCP session negotiate media capabilities? Which option correctly describes the negotiation process?

A.Video endpoint forces video regardless of the other side
B.Audio‑only endpoint downgrades to audio after receiving a NACK
C.Both sides exchange SDP offers via SIP; the intersection determines the final media set
D.Negotiation occurs after the media stream has started ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: During call setup, each endpoint includes an SDP (Session Description Protocol) offer within the SIP INVITE that lists its supported media types. The receiving endpoint replies with an answer indicating the common subset. This SDP exchange, not RTCP, decides whether video, audio, or both will be used for the session.

Q18. Apply the principle of least privilege to SIP registration in a wireless office. Which practice best embodies this principle?

A.Granting full admin rights to all devices
B.Limiting registration to only required user agents with minimal permissions
C.Allowing any device to register without authentication ✅
D.Disabling authentication entirely
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: Limiting registration to only the necessary user agents and assigning them the minimal set of permissions needed to perform their functions embodies the principle of least privilege. This reduces the attack surface by ensuring that compromised devices cannot gain excessive rights within the SIP infrastructure.

Q19. Explain how the concept of 'stateless' versus 'stateful' SIP proxies affects call scheduling decisions in a mobile network.

A.Stateless proxies store call state for better scheduling
B.Stateful proxies do not retain any information ✅
C.Stateless proxies forward requests without storing session data, reducing processing delay, while stateful proxies retain call state, enabling more informed scheduling decisions based on ongoing session information
D.Both proxy types behave identically
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: Stateless SIP proxies forward messages without retaining any session information, which minimizes processing overhead and latency but limits their ability to make nuanced scheduling choices. Stateful proxies keep track of ongoing calls, allowing them to prioritize or reshape traffic based on current session characteristics, which can be advantageous in mobile environments where conditions change rapidly.

Q20. Synthesize a scenario where SIP's presence information combined with RTCP's receiver reports can be used to dynamically route a call to the user's most suitable device. Which description correctly illustrates this synthesis?

A.Presence info alone determines routing; RTCP is ignored ✅
B.RTCP reports trigger immediate call termination
C.SIP presence indicates device availability, while RTCP loss metrics guide the proxy to select the device with the best current media quality, enabling dynamic routing
D.Only RTCP data is used for routing decisions
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: In this scenario, the SIP server monitors the user's presence status to know which devices are online. Simultaneously, RTCP receiver reports from each device convey real‑time loss and jitter statistics. By combining both data sources, the proxy can route the call to the device that is both available and currently offering the highest media quality.

Q21. Apply the concept of QoS classes to prioritize SIP signaling over RTP media in a congested Wi‑Fi network. Which classification would most likely achieve this?

A.Best‑effort for both SIP and RTP
B.Voice‑priority for RTP and background for SIP
C.Signaling‑priority class for SIP and video‑priority for RTP
D.Dedicated class for SIP signaling with higher precedence than media traffic ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: Creating a dedicated QoS class that assigns higher precedence to SIP signaling packets ensures that call setup and control messages traverse the network before media packets. This approach prevents signaling delays that could otherwise stall call establishment, even when the Wi‑Fi link is heavily loaded with RTP traffic.

Q22. Explain the relationship between SIP's re‑INVITE method and RTCP's periodic reports when a user changes network interface. Which statement best captures this relationship?

A.Re‑INVITE is sent only after RTCP stops reporting
B.RTCP reports trigger a re‑INVITE to renegotiate session parameters reflecting the new interface
C.Re‑INVITE and RTCP operate independently without interaction ✅
D.RTCP replaces the need for re‑INVITE entirely
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: When a user switches interfaces, RTCP continues to send periodic reports that reflect the new path characteristics (delay, loss). SIP may choose to issue a re‑INVITE based on these reports, but the two mechanisms are not directly coupled; the re‑INVITE is a separate signaling action that can be prompted by, but does not depend on, RTCP feedback.

Q23. Design a scheduling mechanism that uses RTCP's Receiver Report loss percentages to trigger SIP call‑transfer to an alternative endpoint. Which algorithmic step is essential?

A.Continuously monitor loss and, when it exceeds a threshold, invoke a SIP REFER to the alternate endpoint
B.Ignore loss values and rely on fixed timers ✅
C.Only use Sender Reports for transfer decisions
D.Transfer occurs without any loss monitoring
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: An essential step is to continuously monitor the loss percentage reported in RTCP Receiver Reports and, upon exceeding a predefined threshold, initiate a SIP REFER (or re‑INVITE) to transfer the call to an alternative endpoint that may offer better network conditions.

Q24. Integrate the concept of adaptive jitter buffers with SIP's session timer. How does adjusting the timer based on RTCP feedback improve call continuity?

A.It does not affect continuity ✅
B.Increasing the timer length whenever RTCP reports high jitter prevents premature session expiration, allowing the jitter buffer to absorb variation and maintain the call
C.Reducing the timer eliminates jitter
D.Timer adjustment is unrelated to jitter buffers
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: By extending the SIP session timer when RTCP indicates elevated jitter, the system gives the adaptive jitter buffer additional time to smooth out packet timing variations. This prevents the session from being terminated prematurely due to transient network issues, thereby enhancing overall call continuity.

Q25. Propose a method for using SIP's OPTIONS request together with RTCP's delay metrics to pre‑emptively select the optimal path for a VoIP call. Which approach correctly implements this method?

A.Send OPTIONS after the call starts and ignore RTCP data
B.Use OPTIONS to probe potential destinations, then select the path with the lowest RTCP‑reported delay before establishing the call
C.Rely solely on RTCP without sending OPTIONS
D.Options and RTCP cannot be combined ✅
💡 Difficulty: hard | ✅ Correct: D

📖 Explanation: The method involves issuing SIP OPTIONS requests to candidate endpoints to verify their availability, while concurrently collecting RTCP delay measurements from each path. The caller then selects the destination with the smallest reported delay, ensuring the chosen route offers the best latency before the actual INVITE is sent.

Q26. Apply the principle of end‑to‑end encryption to both SIP signaling and RTP media in a wireless scenario. Which combination ensures confidentiality and integrity?

A.TLS for SIP and SRTP for RTP
B.Plain SIP with SRTP only ✅
C.TLS for SIP and plain RTP
D.No encryption is needed
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Transport Layer Security (TLS) encrypts SIP signaling, protecting call setup information from eavesdropping, while Secure RTP (SRTP) encrypts the media payload, guaranteeing confidentiality and integrity of the voice/video data. Using both together provides comprehensive protection across the entire communication chain.

Q27. Explain why a SIP user agent might prefer using TCP for signaling when operating over a high‑loss Wi‑Fi link. Which reason is most accurate?

A.TCP reduces latency compared to UDP ✅
B.TCP provides reliable delivery through retransmission, reducing the chance of lost signaling messages in a lossy environment
C.TCP eliminates the need for RTCP
D.TCP is always faster than UDP
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: TCP incorporates built‑in acknowledgment and retransmission mechanisms, ensuring that SIP messages reach their destination even when the underlying wireless link experiences high packet loss. This reliability is critical for call setup and teardown, making TCP a preferable transport for signaling under adverse network conditions.

Q28. If a SIP INVITE is sent using UDP and the network drops the packet, what logical outcome follows for the call setup?

A.The call is established instantly
B.The call fails after a timeout and may be retried ✅
C.The INVITE is automatically converted to TCP
D.The call proceeds without any impact
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: When a UDP‑based SIP INVITE is lost, the sender does not receive a response, leading to a retransmission timeout. After several retries without acknowledgment, the caller concludes that the request has failed and may either abort the attempt or retry using an alternative transport method.

Q29. When RTCP reports an increase in jitter, what logical effect does this have on SIP's timer for session refresh?

A.The timer is shortened to refresh more often ✅
B.The timer remains unchanged
C.The timer is extended to allow more buffering
D.The timer is disabled entirely
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Higher jitter indicates greater variability in packet arrival times. To maintain session stability, SIP may shorten its session‑refresh timer, prompting more frequent re‑INVITE or UPDATE messages that can renegotiate buffering parameters and help accommodate the increased jitter.

Q30. Deduce which contact SIP will select when both office and home registrations have equal priority values.

A.It will always choose the office contact
B.It will always choose the home contact
C.It will use the contact with the earliest registration timestamp ✅
D.Selection is random among the equal‑priority contacts
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: When priority values are identical, SIP registrars typically fall back to the registration timestamp to resolve the tie, selecting the contact that was registered first. This deterministic approach ensures consistent routing behavior when multiple contacts share the same priority.

🔗 Related Topics (MCQs)