Which HTTP header is used to indicate the type of content being sent in the response body? MCQ with Answer and Explanation

Which HTTP header is used to indicate the type of content being sent in the response body?
A. Content-Length
B. Content-Type
C. User-Agent
D. Host
Answer: Option B
Solution (By JKExamLibrary)
The Content-Type header indicates the media type (MIME type) of the resource, e.g., text/html, application/json.

This question belongs to: Computer Internet and Web Technologies

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1 Report Error
What kind of network attack redirects a user from a legitimate website to a fraudulent one by altering the local DNS cache or host records?
A. Phishing
B. Pharming
C. DDoS
D. Spamming

Correct Answer: Option B


Explanation:
Pharming is a cyberattack intended to redirect a website's traffic to another fake site by spoofing DNS records or host configuration settings.

This question belongs to: Computer Internet and Web Technologies
Question #2 Report Error
Which protocol provides a secure method for executing command-line instructions, managing servers, and tunneling network configurations over an encrypted connection on the internet?
A. Telnet
B. HTTP
C. FTP
D. SSH (Secure Shell)

Correct Answer: Option D


Explanation:
SSH (Secure Shell) provides a secure, encrypted channel for running remote terminal commands and managing network systems safely over public paths.

This question belongs to: Computer Internet and Web Technologies
Question #3 Report Error
Which of the following is a content delivery network (CDN) service?
A. Dropbox
B. AWS S3
C. CloudFlare
D. Google Drive

Correct Answer: Option C


Explanation:
CloudFlare is a CDN and reverse proxy service that distributes content from geographically distributed servers to improve speed and security.

This question belongs to: Computer Internet and Web Technologies