FliQi Education App Download
प्रश्न-बैंक · Programmer Network

Application layer protocol — प्रश्न और उत्तर

Programmer Network · 91 जाँचे हुए (verified) प्रश्न

  • 91 जाँचे हुए प्रश्न
  • हिंदी + English

पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 20 के उत्तर और हल FliQi Question Bank app में।

भाषा
प्रश्न 1उत्तर + हल
इनमें से कौन client को अपना IP पता बदलने पर DNS entry ख़ुद बदल लेने देता है?
Which one of the following allows a client to update its DNS entry as its IP address changes?
  1. Adynamic DNS
  2. Bmail transfer agent
  3. Cauthoritative name server
  4. Dइनमें से कोई नहींnone of the mentioned

सही उत्तर / Answer: (A)

हल / Solution
घर और दफ़्तर के बहुत से connection पर IP पता तय नहीं रहता, वह समय-समय पर बदलता है। ऐसे में dynamic DNS काम आता है — नया पता मिलते ही client उसे DNS में अपने आप दर्ज करा देता है, इसलिए नाम वही रहता है और पता चुपचाप बदल जाता है। authoritative name server सिर्फ़ अपने zone के record रखता है, यह सुविधा उसकी नहीं। mail transfer agent तो mail ढोने का काम करता है।
Many home and office connections do not have a fixed IP address; it changes from time to time. Dynamic DNS exists for exactly that case: as soon as the client receives a new address it registers the change in DNS on its own, so the name stays the same while the address quietly changes. An authoritative name server merely holds the records of its zone, and a mail transfer agent only carries mail.
प्रश्न 2उत्तर + हल
अगर किसी server को यह पता ही न हो कि किसी hostname का address कहाँ मिलेगा, तो क्या होता है?
If a server has no clue about where to find the address for a hostname, then _______
  1. Aserver, root server से पूछता हैthe server asks the root server
  2. Bserver, अपने पड़ोसी server से पूछता हैthe server asks its adjacent server
  3. Cअनुरोध निपटाया ही नहीं जाताthe request is not processed
  4. Dइनमें से कोई नहींnone of the mentioned

सही उत्तर / Answer: (A)

हल / Solution
DNS का ढाँचा पेड़ जैसा है और उसकी जड़ पर root server बैठे हैं। किसी name server को नाम का पता न हो तो वह root server से पूछता है, क्योंकि root हर top level domain के server का ठिकाना जानता है। वहाँ से com या in जैसे TLD server का पता मिलता है, और उससे उस domain के अधिकारिक server का। पड़ोसी से पूछने की कोई व्यवस्था DNS में नहीं है, और अनुरोध अधूरा भी नहीं छोड़ा जाता।
DNS is arranged like a tree and the root servers sit at its top. When a name server does not know where an address can be found, it asks a root server, because the root knows the server for every top level domain. From there it learns the TLD server for com or in, and from that the authoritative server for the domain. DNS has no scheme of asking a neighbour, and the request is not dropped.
प्रश्न 3उत्तर + हल
DNS database में क्या-क्या रहता है?
A DNS database contains _______
  1. Aname server के recordname server records
  2. Bhostname से address जोड़ने वाले recordhostname-to-address records
  3. Chostname के दूसरे नामhostname aliases
  4. Dये सभीall of the mentioned

सही उत्तर / Answer: (D)

हल / Solution
DNS सिर्फ़ नाम से IP बताने वाला कोष नहीं है। उसमें कई तरह के record रहते हैं — A और AAAA record नाम को IP पते से जोड़ते हैं, NS record बताते हैं कि उस zone का अधिकारिक name server कौन है, और CNAME record किसी नाम का दूसरा नाम दर्ज करते हैं। MX record mail server का पता देते हैं। तीनों दिए गए प्रकार DNS में मिलते हैं, इसलिए चौथा विकल्प सही है।
DNS is not merely a lookup table from names to addresses. It stores several kinds of records: A and AAAA records bind a name to an IP address, NS records name the authoritative server for a zone, and CNAME records hold an alias for a name. MX records point to mail servers. All three kinds listed in the question do exist in DNS, so the fourth option is the correct answer.
प्रश्न 4उत्तर + हल
कोई name server दूसरे domain के लिए आए अनुरोध कैसे निपटाता है?
A server handles requests for other domains _______
  1. Aसीधे ख़ुदdirectly
  2. Bदूर के DNS server से संपर्क करकेby contacting a remote DNS server
  3. Cयह संभव ही नहीं हैit is not possible
  4. Dइनमें से कोई नहींnone of the mentioned

सही उत्तर / Answer: (B)

हल / Solution
हर name server के पास सिर्फ़ अपने zone का ब्योरा रहता है। किसी दूसरे domain का नाम पूछा जाए तो वह जवाब ख़ुद से नहीं दे सकता, इसलिए दूसरे DNS server से पूछता है — पहले root server, फिर उस domain का TLD server, और अंत में अधिकारिक name server। उत्तर मिलने पर वह पूछने वाले को लौटा देता है और कुछ समय cache में रखता है। इसलिए दूसरा विकल्प सही है।
A name server holds records only for its own zone. If it is asked about a name in some other domain, it cannot answer from its own data, so it queries other DNS servers: first a root server, then the TLD server for that domain, and finally the authoritative name server. It then returns the answer to the client and caches it for a while. So the second option is correct.
प्रश्न 5उत्तर + हल
DNS के client को क्या कहा जाता है?
A DNS client is called _________
  1. ADNS updater
  2. BDNS resolver
  3. CDNS handler
  4. Dइनमें से कोई नहींnone of the mentioned

सही उत्तर / Answer: (B)

हल / Solution
जब किसी program को नाम से IP पता चाहिए होता है, तो वह operating system के उस हिस्से से पूछता है जिसे resolver कहते हैं। यही DNS का client है — वह प्रश्न बनाकर name server को भेजता है, उत्तर लेता है और कुछ समय के लिए उसे cache में रख भी लेता है। updater और handler जैसे नाम DNS की शब्दावली में आते ही नहीं, इसलिए सही उत्तर DNS resolver है।
When a program needs the IP address behind a name, it asks the part of the operating system known as the resolver. That is the DNS client: it frames the query, sends it to a name server, takes the reply and also keeps it in a cache for some time. The names updater and handler do not exist in DNS terminology, so DNS resolver is the correct answer here.
प्रश्न 6उत्तर + हल
पूरे hostname में अधिकतम कितने अक्षर हो सकते हैं?
The entire hostname has a maximum of ___________
  1. A255 अक्षर255 characters
  2. B127 अक्षर127 characters
  3. C63 अक्षर63 characters
  4. D31 अक्षर31 characters

सही उत्तर / Answer: (A)

हल / Solution
DNS में नाम बिंदु से अलग किए गए हिस्सों में बँटा होता है। हर हिस्सा यानी label अधिकतम 63 अक्षर का हो सकता है, और सारे label मिलाकर पूरा hostname 255 अक्षर से बड़ा नहीं होता। प्रश्न पूरे नाम की सीमा पूछ रहा है, इसलिए उत्तर 255 है। 63 वाला विकल्प जान-बूझकर रखा गया है, क्योंकि वह एक label की सीमा है। 127 और 31 का यहाँ कोई आधार नहीं।
A DNS name is split into parts separated by dots. Each part, called a label, may be at most 63 characters long, and all the labels together make a hostname that never exceeds 255 characters. The question asks about the whole name, so the answer is 255. The option 63 is placed there on purpose, because that is the limit for a single label. The numbers 127 and 31 have no basis here.
प्रश्न 7उत्तर + हल
SMTP संदेश किस तक नहीं पहुँचाता?
SMTP is not used to deliver messages to ______
  1. Aउपयोगकर्ता का terminala user's terminal
  2. Bउपयोगकर्ता का mailboxa user's mailbox
  3. Cउपयोगकर्ता का word processora user's word processor
  4. Dउपयोगकर्ता का email clienta user's email client

सही उत्तर / Answer: (C)

हल / Solution
SMTP संदेश को वहीं तक पहुँचाता है जहाँ mail रखी या दिखाई जाती है — mailbox तक, उपयोगकर्ता के email client तक, और पुराने तंत्रों में सीधे terminal तक भी। word processor का mail से कोई नाता नहीं; वह दस्तावेज़ लिखने का program है और mail तंत्र में उसका कोई पता ही नहीं होता। इसलिए तीसरा विकल्प सही उत्तर है और बाक़ी तीनों जगह संदेश पहुँच सकता है।
SMTP delivers a message only to places where mail is stored or shown: a mailbox, a user's email client, and on older systems even straight to a terminal. A word processor has nothing to do with mail; it is a program for writing documents and has no address in the mail system. So the third option is the correct answer, while a message can indeed reach the other three.
प्रश्न 8उत्तर + हल
ऐसा SMTP server जिसे इस तरह सजाया गया हो कि internet पर कोई भी उससे e-mail भेज सके, क्या कहलाता है?
Which one of the following is an SMTP server configured in such a way that anyone on the internet can send e-mail through it?
  1. Aopen mail relay
  2. Bwide mail reception
  3. Copen mail reception
  4. Dshort mail reception

सही उत्तर / Answer: (A)

हल / Solution
जब कोई SMTP server यह जाँचे बिना mail आगे बढ़ा देता है कि भेजने वाला उसका अपना उपयोगकर्ता है या नहीं, तो उसे open mail relay कहते हैं। शुरुआती internet पर यही आम था, पर spam भेजने वाले इसी का दुरुपयोग करने लगे, इसलिए अब server पहले प्रमाणीकरण माँगते हैं। बाक़ी तीन नाम इस क्षेत्र में चलते ही नहीं, वे सिर्फ़ भटकाने के लिए रखे गए हैं।
An SMTP server that forwards mail without first checking whether the sender is one of its own users is called an open mail relay. Such servers were common on the early internet, but spammers began to abuse them, so servers now demand authentication before relaying. The other three names are not used in this field at all and are present only as distractors, so the first option is right.
प्रश्न 9उत्तर + हल
SMTP किसे तय करता है?
SMTP defines _______
  1. Aसंदेश का परिवहनmessage transport
  2. Bसंदेश का encryptionmessage encryption
  3. Cसंदेश की अंतर्वस्तुmessage content
  4. Dसंदेश का passwordmessage password

सही उत्तर / Answer: (A)

हल / Solution
SMTP का काम इतना ही है कि संदेश भेजने वाले से पाने वाले के mail server तक पहुँच जाए। वह आदेश, उत्तर और पतों का क्रम तय करता है, यानी परिवहन का तरीक़ा। संदेश के भीतर क्या लिखा है और उसका ढाँचा कैसा है, यह MIME तथा संदेश-रूप तय करते हैं। encryption की व्यवस्था TLS या PGP जैसी अलग परत करती है, और password की बात यहाँ आती ही नहीं।
The job of SMTP is only to carry a message from the sender to the receiver's mail server. It fixes the commands, the replies and the order of addresses, that is, the method of transport. What the message contains and how it is structured is settled by MIME and the message format. Encryption is handled by a separate layer such as TLS or PGP, and passwords do not come into this at all.
प्रश्न 10उत्तर + हल
एक SMTP session में निम्नलिखित में से क्या नहीं हो सकता?
An SMTP session may not include _______
  1. Aशून्य SMTP transactionzero SMTP transaction
  2. Bएक SMTP transactionone SMTP transaction
  3. Cएक से ज़्यादा SMTP transactionmore than one SMTP transaction
  4. Dएक HTTP transactionone HTTP transaction

सही उत्तर / Answer: (D)

हल / Solution
SMTP session के भीतर सिर्फ़ SMTP के ही transaction चलते हैं। client जुड़कर बिना कोई संदेश भेजे QUIT कर सकता है, तब transaction शून्य रहते हैं; वह एक संदेश भेज सकता है; या एक ही connection पर कई संदेश भेज सकता है। इसलिए पहले तीनों विकल्प संभव हैं। HTTP बिलकुल अलग protocol है और उसका transaction port 80 वाले अपने connection पर चलता है, SMTP session के भीतर नहीं।
Only SMTP transactions can take place inside an SMTP session. A client may connect and quit without sending anything, which leaves zero transactions; it may send one message; or it may send several messages over the same connection. So the first three options are all possible. HTTP is an entirely different protocol and its transaction runs on its own connection to port 80, never inside an SMTP session.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
App खोलिए
प्रश्न 12उत्तर app में
on-demand mail relay (ODMR) क्या है?
What is on-demand mail relay (ODMR)?
  1. ASMTP की सुरक्षा का protocola protocol for SMTP security
  2. BSMTP का एक extensionan SMTP extension
  3. Cweb पृष्ठों का protocola protocol for web pages
  4. Dतेज़ mail भेजने का protocola protocol for faster mail transfer
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 14उत्तर app में
user agent निम्नलिखित में से कौन-सा काम नहीं करता?
A user agent does not support this ___________
  1. Aसंदेश लिखनाComposing messages
  2. Bसंदेश पढ़नाReading messages
  3. Cसंदेश का उत्तर देनाReplying to messages
  4. Dसंदेश का routing करनाRouting messages
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 15उत्तर app में
जब e-mail भेजने वाला और पाने वाला अलग-अलग system पर हों, तब कम से कम किसकी ज़रूरत पड़ती है?
When the sender and the receiver of an email are on different systems, we need ___
  1. Aएक MTAOne MTA
  2. Bदो UATwo UAs
  3. Cदो UA और एक MTATwo UAs and one MTA
  4. Dदो UA और दो MTATwo UAs and two MTAs
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 17उत्तर app में
एक SMTP session में कितने SMTP transaction हो सकते हैं?
An SMTP session may include ________
  1. Aशून्य या उससे अधिकZero or more SMTP transactions
  2. Bठीक एकExactly one SMTP transaction
  3. Cहमेशा एक से ज़्यादाAlways more than one SMTP transaction
  4. Dगिनती तय ही नहीं की जा सकतीA number of SMTP transactions that cannot be determined
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 19उत्तर app में
internet mail हर object को कहाँ रखता है?
Internet mail places each object in _________
  1. Aहर object के लिए अलग संदेश मेंSeparate messages for each object
  2. Bएक ही संदेश मेंOne message
  3. Cobject की संख्या के हिसाब से बदलता रहता हैIt varies with the number of objects
  4. Dहर object के लिए कई संदेशों मेंMultiple messages for each object
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 20उत्तर app में
SMTP के बारे में कौन-सा कथन ग़लत है?
Choose the statement which is wrong in case of SMTP.
  1. Aइसे संदेश 7 bit ASCII रूप में चाहिएIt requires the message to be in 7 bit ASCII format
  2. Bयह pull protocol हैIt is a pull protocol
  3. Cयह एक mail server से दूसरे mail server तक file पहुँचाता हैIt transfers files from one mail server to another mail server
  4. Dinternet पर mail भेजने की ज़िम्मेदारी SMTP की हैSMTP is responsible for the transmission of the mail through the internet
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 28उत्तर app में
control connection पर client से server को जाते आदेश और server से client को आते उत्तर कितने bit वाले ASCII रूप में भेजे जाते हैं?
The commands, from client to server, and replies, from server to client, are sent across the control connection in ________ bit ASCII format.
  1. A8
  2. B7
  3. C3
  4. D5
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 29उत्तर app में
FTP server के बारे में क्या सही है?
An FTP server _____________
  1. Aवह state सूचना सँभालकर रखता हैMaintains state information
  2. Bवह stateless होता हैIs stateless
  3. Cfile भेजने के लिए उसके पास एक ही TCP connection होता हैHas a single TCP connection for a file transfer
  4. Dfile भेजने के लिए वह UDP connection बनाता हैHas a UDP connection for file transfer
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 30उत्तर app में
FTP के बारे में कौन-सा कथन ग़लत है?
Identify the incorrect statement regarding FTP.
  1. AFTP का पूरा नाम File Transfer Protocol हैFTP stands for File Transfer Protocol
  2. BFTP दो समानांतर TCP connection इस्तेमाल करता हैFTP uses two parallel TCP connections
  3. CFTP अपनी control सूचना in-band भेजता हैFTP sends its control information in-band
  4. DFTP एक data connection पर ठीक एक file भेजता हैFTP sends exactly one file over the data connection
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
Application layer protocol के सभी 91 प्रश्न — उत्तर, हल और अभ्यास

FliQi Question Bank app में topic-वार अभ्यास, कठिनाई-स्तर और आपकी प्रगति।

  • पहला test मुफ़्त
  • हिंदी + English
  • जाँचे हुए उत्तर और हल

यह topic किन परीक्षाओं में आता है

Programmer Network के दूसरे topics

सभी topics