What is the function of the 'User-Agent' string sent inside an HTTP request header to a remote web server? MCQ with Answer and Explanation

What is the function of the 'User-Agent' string sent inside an HTTP request header to a remote web server?
A. To specify the physical routing coordinates of the local ISP link
B. To transmit the user's encrypted master system password
C. To identify the specific browser application, version, and operating system of the client to the server
D. To check local hardware device temperature metrics
Answer: Option C
Solution (By JKSSB Mock Tests)
The User-Agent header string acts as a technical badge, telling the web server what browser software and operating system the client is using so it can tailor content compatibility.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
Which of the following is a common method to prevent clickjacking?
A. Content-Security-Policy with frame-ancestors
B. SameSite cookie attribute
C. X-Frame-Options header
D. Both A and B

Correct Answer: Option D


Explanation:
Both X-Frame-Options and CSP's frame-ancestors directive can be used to control iframe embedding, preventing clickjacking.

This question belongs to: Computer Internet and Web Technologies
Question #2
What technology is primarily used to build structures and arrange textual information on a webpage?
A. SQL
B. CSS
C. HTML
D. JavaScript

Correct Answer: Option C


Explanation:
HTML (Hypertext Markup Language) is the baseline markup framework used to define the core structural layout of web content.

This question belongs to: Computer Internet and Web Technologies
Question #3
What is the primary operational task of a 'Mail Transfer Agent' (MTA) component within internet email routing infrastructures?
A. To convert plain text lines into graphic layouts natively
B. To forward and route electronic mail messages between different server networks using SMTP rules until they reach their destination
C. To clear old tracking cookies off terminal units
D. To provide a user interface to display images inside messages

Correct Answer: Option B


Explanation:
The Mail Transfer Agent (MTA) is software that transfers electronic mail messages from one computer server to another using SMTP.

This question belongs to: Computer Internet and Web Technologies