पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 20 के उत्तर और हल FliQi Question Bank app में।
भाषा
प्रश्न 1उत्तर + हल
मान लीजिए एक नेटवर्क व्यवस्थापक टोकन बकेट को 500 टोकन प्रति सेकंड की दर और 1000 टोकन की क्षमता पर लगाता है। bucket शुरू में ख़ाली है, तो उसे भरने में कितना समय लगेगा?
Suppose a network administrator configures a Token Bucket with a token rate of 500 tokens per second and a bucket capacity of 1000 tokens. If the bucket is initially empty, how long does it take to fill the bucket?
A1 सेकंड1 second
B2 सेकंड2 seconds
C3 सेकंड3 seconds
D4 सेकंड4 seconds
सही उत्तर / Answer: (B)
हल / Solution
टोकन तय दर से जमा होते हैं, इसलिए समय = क्षमता ÷ टोकन दर। यहाँ 1000 ÷ 500 = 2 सेकंड। मान यह है कि इस बीच कोई पैकेट नहीं भेजा जा रहा, वरना जाते हुए पैकेट टोकन खाते और bucket भरने में और देर लगती। 1 सेकंड में सिर्फ़ 500 टोकन बनते हैं, यानी bucket आधी भरती है। 3 और 4 सेकंड में टोकन 1500 और 2000 हो जाते, पर क्षमता 1000 से ऊपर जमा होते ही नहीं।
Tokens pile up at a fixed rate, so the time is capacity divided by token rate. Here 1000 divided by 500 gives 2 seconds. The assumption is that no packet is being sent meanwhile, otherwise the departing packets would keep eating tokens and filling would take longer. In one second only 500 tokens are made, so the bucket is just half full. In 3 or 4 seconds the count would pass the capacity, and tokens above 1000 are never stored.
प्रश्न 2उत्तर + हल
एक नेटवर्क व्यवस्थापक टोकन बकेट को 1000 टोकन प्रति सेकंड की दर और 500 टोकन की क्षमता पर लगाता है। टोकन बकेट से अधिकतम कितना burst जा सकेगा?
If a network administrator configures a Token Bucket with a token rate of 1000 tokens per second and a bucket capacity of 500 tokens, what is the maximum burst size allowed by the Token Bucket?
A500 पैकेट500 packets
B1000 पैकेट1000 packets
C5000 पैकेट5000 packets
D10000 पैकेट10000 packets
सही उत्तर / Answer: (A)
हल / Solution
burst की हद bucket की क्षमता से बँधी है, क्योंकि जमा टोकन उससे ज़्यादा हो ही नहीं सकते। एक टोकन एक पैकेट भेजने देता है, इसलिए भरी bucket से एक साथ 500 पैकेट निकल सकते हैं। टोकन दर 1000 प्रति सेकंड लंबी अवधि की औसत दर तय करती है, एक बार का burst नहीं — इसीलिए दूसरा विकल्प ग़लत है। 5000 और 10000 पैकेट क्षमता से कई गुना हैं, उनके लिए टोकन कहीं से आएँगे ही नहीं।
The burst limit is tied to the bucket capacity, because the saved tokens can never be more than that. One token lets one packet go, so a full bucket can release 500 packets together. The token rate of 1000 per second decides the long run average rate and not a single burst, which is why the second option is wrong. The figures 5000 and 10000 are far above the capacity, so the tokens for them never exist.
प्रश्न 3उत्तर + हल
ट्रैफ़िक पुलिसिंग के लिए लीकी बकेट एल्गोरिथ्म चल रहा है, जिसमें bucket की क्षमता 100 पैकेट और टोकन दर 10 पैकेट प्रति सेकंड है। रिसाव शुरू होने पर भरी हुई bucket पूरी ख़ाली होने में कितना समय लेगी?
In a network using the Leaky Bucket algorithm for traffic policing, if the bucket capacity is 100 packets and the token rate is 10 packets per second, how long does it take for the bucket to be fully emptied once it starts leaking?
A10 सेकंड10 seconds
B20 सेकंड20 seconds
C100 सेकंड100 seconds
D200 सेकंड200 seconds
सही उत्तर / Answer: (A)
हल / Solution
लीकी बकेट एक जैसी दर पर निकालती है, इसलिए समय निकालने का सूत्र सीधा है — क्षमता ÷ दर। यहाँ 100 ÷ 10 = 10 सेकंड। मान यह है कि रिसाव के दौरान कोई नया पैकेट भीतर नहीं आ रहा, वरना ख़ाली होने में और देर लगती। 20 सेकंड तब आता जब दर 5 पैकेट प्रति सेकंड हो, और 100 सेकंड तब जब दर 1 पैकेट प्रति सेकंड रह जाए। 200 सेकंड का कोई आधार ही नहीं बनता।
A leaky bucket drains at a steady rate, so the time follows a simple formula, capacity divided by rate. Here 100 divided by 10 gives 10 seconds. The assumption is that no fresh packet arrives while it is leaking, otherwise emptying would take longer. The answer 20 seconds would need a rate of 5 packets per second and 100 seconds a rate of only one packet per second, while 200 seconds has no basis at all.
प्रश्न 4उत्तर + हल
ट्रैफ़िक शेपिंग में टोकन बकेट एल्गोरिथ्म का मुख्य काम क्या है?
What is the primary purpose of the Token Bucket algorithm in traffic shaping?
Aदर की तय सीमा लागू करनाEnforcing rate limits
Bअनुप्रयोग के प्रकार के हिसाब से ट्रैफ़िक को प्राथमिकता देनाPrioritizing traffic based on application type
Cपैकेट का नुक़सान रोकनाPreventing packet loss
Dनेटवर्क की हालत देखकर ट्रैफ़िक का प्रवाह बदलनाRegulating the flow of traffic based on network conditions
सही उत्तर / Answer: (A)
हल / Solution
टोकन बकेट का काम दर की सीमा लागू करना है। टोकन तय दर से बनते हैं और पैकेट तभी जाता है जब उसके लिए टोकन हो, इसलिए लंबी अवधि में औसत दर टोकन दर से ऊपर कभी नहीं जाती; एक बार का burst bucket की क्षमता तक ही सीमित रहता है। प्राथमिकता देना कतार का काम है। यह युक्ति ओपन-लूप है — नेटवर्क की हालत देखकर नहीं बदलती, इसलिए चौथा विकल्प ग़लत है, और पैकेट बचाना इसका मक़सद नहीं।
The job of a token bucket is to enforce a rate limit. Tokens are created at a fixed rate and a packet leaves only when a token is available, so over a long period the average rate never crosses the token rate, while a single burst is capped by the bucket size. Prioritizing is the work of a queue. The algorithm is open-loop and does not change with the state of the network, so the fourth option is wrong.
प्रश्न 5उत्तर + हल
ATM नेटवर्क में ट्रैफ़िक शेपिंग के लिए आम तौर पर कौन-सा एल्गोरिथ्म काम आता है?
Which of the following algorithms is commonly used for traffic shaping in ATM networks?
Aटोकन बकेट (token bucket)Token Bucket
Bलीकी बकेट (leaky bucket)Leaky Bucket
Cशॉर्टेस्ट पाथ फ़र्स्ट (SPF)Shortest Path First (SPF)
Dराउंड रॉबिनRound Robin
सही उत्तर / Answer: (A)
हल / Solution
ATM में हर connection का एक समझौता (traffic contract) होता है, जिसमें औसत दर और burst की छूट लिखी रहती है। टोकन बकेट ठीक यही करती है — ख़ाली समय में टोकन जमा होते हैं और ज़रूरत पर burst एक साथ निकल जाता है, फिर भी औसत दर टोकन दर से ऊपर नहीं जाती। लीकी बकेट burst की छूट नहीं देती, इसलिए पुलिसिंग में लगती है।
In ATM every connection has a traffic contract that states an average rate together with an allowed burst. A token bucket does exactly this work: tokens pile up while the source is idle and that saved burst can leave together when needed, yet the long run average never crosses the token rate. A leaky bucket allows no burst and sends at one strict rate, so it is used for policing. SPF is routing and round robin is a queue order.
प्रश्न 6उत्तर + हल
ट्रैफ़िक पुलिसिंग और शेपिंग में ट्रैफ़िक की दर काबू करने के लिए आम तौर पर कौन-सा पैरामीटर लिया जाता है?
Which parameter is typically used to control the rate of traffic in traffic policing and shaping?
Aविंडो का आकारWindow size
Bराउंड-ट्रिप टाइमRound-trip time
Cटोकन दर (token rate)Token rate
Dकतार की लंबाईQueue length
सही उत्तर / Answer: (C)
हल / Solution
टोकन दर तय करती है कि एक सेकंड में कितने टोकन बनेंगे, और पैकेट उतने ही जा सकते हैं जितने टोकन हाथ में हों। इसलिए लंबी अवधि की औसत दर इसी पैरामीटर से बँधती है, और bucket की क्षमता बस यह बताती है कि एक बार में कितना burst जा सकेगा। विंडो का आकार और राउंड-ट्रिप टाइम TCP के सिरे-से-सिरे नियंत्रण के पैरामीटर हैं। कतार की लंबाई सिर्फ़ बताती है कि कतार कितनी भरी है, दर तय नहीं करती।
The token rate decides how many tokens are generated each second, and a packet can go out only when a token is in hand. So the long run average rate is tied to this parameter, while the bucket size only says how large a single burst may be. Window size and round trip time are parameters of TCP's end to end control. Queue length merely reports how full a queue is and does not set any rate.
प्रश्न 7उत्तर + हल
ट्रैफ़िक शेपिंग में आम तौर पर कौन-सी तकनीक काम आती है?
Which of the following is a common technique used in traffic shaping?
शेपिंग पैकेट गिराती नहीं, उन्हें कतार में रोककर तय दर और तय क्रम से छोड़ती है — इसलिए इसका असली औज़ार कतार ही है। प्राथमिकता कतार में ज़्यादा ज़रूरी प्रवाह पहले निकलता है और बाक़ी ठहरकर जाता है, जिससे निकलने वाला ट्रैफ़िक सहमति के साँचे में आ जाता है। शॉर्टेस्ट पाथ रूटिंग रास्ता चुनने की विधि है, त्रुटि-सुधार बिगड़े बिट ठीक करता है, और टोकन पासिंग रिंग नेटवर्क में बारी तय करने का तरीक़ा है।
Shaping does not drop packets; it holds them in a queue and releases them at a set rate and in a set order, so the queue itself is its real tool. In priority queuing the more important flow leaves first while the rest waits, and the departing traffic is brought into the agreed shape. Shortest path routing chooses a route, error correction repairs damaged bits, and token passing decides whose turn it is on a ring.
प्रश्न 8उत्तर + हल
कंजेशन नियंत्रण में ट्रैफ़िक शेपिंग का मक़सद क्या है?
What is the purpose of traffic shaping in congestion control?
Aअनुप्रयोग के प्रकार के हिसाब से ट्रैफ़िक को प्राथमिकता देनाPrioritizing traffic based on application type
Bनेटवर्क में अनधिकृत पहुँच रोकनाPreventing unauthorized access to the network
Cट्रैफ़िक के प्रवाह को इस तरह नियंत्रित करना कि वह तय मानकों पर आ जाएRegulating the flow of traffic to meet desired parameters
Dसुरक्षित भेजने के लिए डेटा का कूटलेखन करनाEncrypting data for secure transmission
सही उत्तर / Answer: (C)
हल / Solution
शेपिंग का काम प्रवाह को उस साँचे में ढालना है जिस पर ग्राहक और नेटवर्क की सहमति हुई है — औसत दर, सबसे ऊँची दर और burst की हद। झटकों में आया ट्रैफ़िक कतार में रोककर तय दर पर छोड़ा जाता है, जिससे राउटर की कतारें अचानक नहीं भरतीं। अनधिकृत पहुँच रोकना और कूटलेखन सुरक्षा के काम हैं। किस अनुप्रयोग को पहले भेजा जाए, यह प्राथमिकता कतार तय करती है; शेपिंग का मक़सद दर सँभालना है।
The job of shaping is to force the flow into the shape agreed between the customer and the network: the average rate, the peak rate and the burst limit. Bursty traffic is held in a queue and released at the agreed rate, so the router queues do not fill up all at once. Stopping unauthorized access and encrypting data are security jobs, and deciding which application goes first is the work of priority queuing.
प्रश्न 9उत्तर + हल
नेटवर्किंग में ट्रैफ़िक पुलिसिंग के लिए आम तौर पर कौन-सी युक्ति काम आती है?
Which mechanism is commonly used for traffic policing in networking?
Aटोकन बकेट (token bucket)Token Bucket
Bलीकी बकेट (leaky bucket)Leaky Bucket
CFIFO कतारFIFO Queuing
Dशॉर्टेस्ट पाथ रूटिंगShortest Path Routing
सही उत्तर / Answer: (B)
हल / Solution
लीकी बकेट में नीचे छेद वाली बाल्टी मान ली जाती है — भीतर ट्रैफ़िक झटकों में आए, बाहर वह एक जैसी दर पर ही निकलता है, और बाल्टी भरी हो तो आया पैकेट वहीं गिरा दिया जाता है। तय दर लागू करके सीमा से बाहर का ट्रैफ़िक गिराना ही पुलिसिंग है। टोकन बकेट जमा टोकन के बल पर burst जाने देती है, इसलिए वह शेपिंग की ओर है। FIFO सिर्फ़ कतार का क्रम है और रूटिंग रास्ता चुनती है।
A leaky bucket is imagined as a bucket with a hole at the bottom: traffic may pour in bursts but it leaves at one steady rate, and a packet arriving at a full bucket is dropped there itself. Enforcing a fixed rate and dropping whatever goes beyond it is exactly what policing means. A token bucket lets a burst through on saved tokens, so it leans towards shaping. FIFO is only a queue order and routing picks a path.
प्रश्न 10उत्तर + हल
कंजेशन नियंत्रण में ट्रैफ़िक शेपिंग (traffic shaping) का सही वर्णन कौन करता है?
Which of the following accurately describes traffic shaping in congestion control?
Aट्रैफ़िक को तय सीमा से ऊपर जाने देनाAllowing traffic to exceed specified limits
Bट्रैफ़िक की दर की सीमा सख़्ती से लागू करनाEnforcing traffic rate limits strictly
Cट्रैफ़िक की भीड़ को अनदेखा करनाIgnoring traffic congestion
Dज़्यादा बैंडविड्थ वाले अनुप्रयोगों को पहले भेजनाPrioritizing high-bandwidth applications
सही उत्तर / Answer: (B)
हल / Solution
ट्रैफ़िक शेपिंग ऊबड़-खाबड़ ट्रैफ़िक को बराबर कर देती है। ज़रूरत से ज़्यादा आए पैकेट गिराए नहीं जाते, कतार में रोक लिए जाते हैं और तय दर पर एक-एक निकाले जाते हैं, इसलिए नेटवर्क में जाने वाला प्रवाह दर की सीमा से बाहर कभी नहीं जाता। सीमा से ऊपर जाने देना इसका उलटा है, और भीड़ को अनदेखा करना तो मक़सद ही ख़त्म कर देता। किस अनुप्रयोग को पहले भेजा जाए, यह प्राथमिकता कतार का फ़ैसला है, शेपिंग की परिभाषा नहीं।
Traffic shaping smooths out bursty traffic. Packets that arrive too fast are not dropped but held in a queue and released one by one at the agreed rate, so the flow entering the network never goes beyond its rate limit. Letting traffic exceed the limit is the opposite of this, and ignoring congestion would defeat the purpose. Which application goes first is a decision of priority queuing, not part of the definition of shaping.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
TCP में कौन-सा एल्गोरिथ्म भेजने की दर धीरे-धीरे बढ़ाकर कंजेशन कोलैप्स से बचाता है, और भीड़ पकड़ में आने तक यही करता रहता है?
Which TCP congestion control algorithm is commonly used to avoid congestion collapse by gradually increasing the sending rate until congestion is detected?
Go-Back-N विंडो में किसी पैकेट का timer ख़त्म होने पर कई पैकेट दोबारा भेजने पड़ते हैं, चाहे उनमें कुछ सही-सलामत पहुँच चुके हों। इसके उलट Selective Repeat विंडो में भेजने वाला क्या दोबारा भेजता है?
In a Go-Back-N window, when the timer of a packet times out, several packets have to be resent even though some may have arrived safely. In a Selective Repeat window, the sender resends ___________
Aवे पैकेट जो खोए ही नहीं हैंPackets which are not lost
Bसिर्फ़ वे पैकेट जो खो गए या बिगड़ गएOnly those packets which are lost or corrupted