📝 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.
📝 All Scheduling algorithms for QoS MCQs
Q1. What does the acronym SIP stand for in VoIP communications?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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.
📖 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?
📖 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.
📖 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.
📖 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?
📖 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.
📖 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?
📖 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?
📖 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.
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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.
📖 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.