ITPEC IP April 2024 Question 33
When a web page with URL “http://srv01.itpec.org/abc.html” is accessed on the Internet, what does “srv01” in the URL stand for?
Explanation
The host name of a computer in the domain itpec.org — in a URL the part after the scheme is the host's name, and its leftmost label names the computer.
The URL http: splits into three parts:
- •
http— the scheme: the protocol used for the access - •
srv01.— the FQDN of the server:itpec. org itpec.is the domain name, andorg srv01is the host name of one computer in that domain - •
/abc.— the path: the file requested on that serverhtml
DNS translates the full name srv01. into the IP address of that computer.
Answer (d)
Why not others:
- •(a) — nothing in the URL declares that
itpec.is a web service;org srv01names a machine, which could equally run a mail or file server - •(b) — the file name of the page is
abc., at the end of the URLhtml - •(c) — the protocol is given by the scheme before
://, herehttp, not bysrv01
Key rule: Read a URL as scheme :// host name . domain name / path; the domain names the organisation, the label in front of it names a computer there.
Networks · AI-written, may contain errors
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.