ITPEC IP April 2024 Question 33

Topic: Networks

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://srv01.itpec.org/abc.html splits into three parts:

  • •http — the scheme: the protocol used for the access
  • •srv01.itpec.org — the FQDN of the server: itpec.org is the domain name, and srv01 is the host name of one computer in that domain
  • •/abc.html — the path: the file requested on that server

DNS translates the full name srv01.itpec.org into the IP address of that computer.

Answer (d)

Why not others:

  • •(a) — nothing in the URL declares that itpec.org is a web service; srv01 names a machine, which could equally run a mail or file server
  • •(b) — the file name of the page is abc.html, at the end of the URL
  • •(c) — the protocol is given by the scheme before ://, here http, not by srv01

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.