Internet and Web Technologies MCQs

Computer

Internet and Web Technologies MCQs

Practice Internet MCQs covering WWW, browsers, search engines, URL, HTTP, HTTPS, email and web technologies with answers and explanations.

461
Total Questions

Practice Questions

Page 11 of 24
Question #201
What is the role of a web-based application firewall (WAF)?
A. To filter and monitor HTTP traffic to protect web applications
B. To provide load balancing
C. To manage DNS
D. To accelerate content delivery

Correct Answer: Option A


Explanation:
A WAF specifically monitors and filters HTTP traffic, blocking malicious requests, and protecting against common web vulnerabilities.

This question belongs to: Computer Internet and Web Technologies
Question #202
Which of the following is a common port used for MySQL database connections?
A. 1433
B. 3306
C. 1521
D. 5432

Correct Answer: Option B


Explanation:
Port 3306 is the default for MySQL. Port 5432 is PostgreSQL, 1521 is Oracle, 1433 is Microsoft SQL Server.

This question belongs to: Computer Internet and Web Technologies
Question #203
What is the purpose of the 'HTTP/2' protocol?
A. To replace HTTPS
B. To add encryption
C. To improve performance over HTTP/1.1
D. To simplify HTTP

Correct Answer: Option C


Explanation:
HTTP/2 is a major revision that improves performance with multiplexing, header compression, etc., while maintaining compatibility.

This question belongs to: Computer Internet and Web Technologies
Question #204
Which of the following is a tool used for web debugging and network analysis?
A. Chrome DevTools
B. Wireshark
C. All of the above
D. Fiddler

Correct Answer: Option C


Explanation:
Wireshark, Fiddler, and Chrome DevTools are all used for inspecting network traffic and debugging web applications.

This question belongs to: Computer Internet and Web Technologies
Question #205
What is the function of the 'ping' command in relation to a web domain?
A. To trace the route
B. To measure page load time
C. To retrieve the IP address
D. To test DNS resolution and connectivity

Correct Answer: Option D


Explanation:
Ping resolves the domain to an IP and sends ICMP packets to test reachability, thus checking connectivity and DNS.

This question belongs to: Computer Internet and Web Technologies
Question #206
Which of the following is an example of a static web page?
A. A page with a login form
B. A page that shows user-specific data
C. A page that displays the same content every time
D. A page that updates automatically

Correct Answer: Option C


Explanation:
A static web page is delivered exactly as stored and does not change based on user interaction or server-side processing.

This question belongs to: Computer Internet and Web Technologies
Question #207
What is the purpose of the 'Content-Encoding' header in HTTP?
A. To set the language
B. To define the MIME type
C. To indicate the compression algorithm used on the response body
D. To specify the character encoding

Correct Answer: Option C


Explanation:
Content-Encoding tells the client how the response body is encoded (e.g., gzip, deflate) so it can decompress it.

This question belongs to: Computer Internet and Web Technologies
Question #208
Which of the following is a protocol for real-time communication over HTTP?
A. Server-Sent Events (SSE)
B. All of the above
C. Long Polling
D. WebRTC

Correct Answer: Option B


Explanation:
WebRTC, SSE, and Long Polling are all techniques or protocols that enable real-time or near-real-time communication over HTTP.

This question belongs to: Computer Internet and Web Technologies
Question #209
What does the term 'SEO' stand for?
A. Site Engine Optimization
B. Search Evaluation Operation
C. Search Engine Optimization
D. Simple Engine Optimization

Correct Answer: Option C


Explanation:
SEO stands for Search Engine Optimization, the practice of improving a website's visibility in search engine results.

This question belongs to: Computer Internet and Web Technologies
Question #210
Which of the following is a common technique to reduce the size of web resources for faster loading?
A. All of the above
B. Compression (Gzip)
C. Image optimization
D. Minification

Correct Answer: Option A


Explanation:
Minification, compression, and image optimization are all effective methods to reduce resource size and improve load times.

This question belongs to: Computer Internet and Web Technologies
Question #211
What is the function of the 'Referrer-Policy' HTTP header?
A. To block referrer information
B. To set a custom referrer
C. To enable cross-origin requests
D. To control how much referrer information is sent with requests

Correct Answer: Option D


Explanation:
Referrer-Policy defines the amount of referrer information (URL of previous page) that should be included in requests, for privacy and security.

This question belongs to: Computer Internet and Web Technologies
Question #212
Which of the following is a web-based API architecture that uses HTTP methods?
A. All of the above
B. GraphQL
C. REST
D. SOAP

Correct Answer: Option C


Explanation:
REST is specifically designed around HTTP methods (GET, POST, etc.) and resources. SOAP and GraphQL are also web APIs but not solely based on HTTP verbs.

This question belongs to: Computer Internet and Web Technologies
Question #213
What is the purpose of the 'noscript' tag in HTML?
A. To embed server-side code
B. To provide alternative content for browsers that do not support JavaScript
C. To hide elements
D. To disable scripts

Correct Answer: Option B


Explanation:
The tag defines content to be displayed if the user's browser does not support or has disabled JavaScript.

This question belongs to: Computer Internet and Web Technologies
Question #214
Which of the following is a common character encoding used on the web?
A. ISO-8859-1
B. ASCII
C. UTF-8
D. All of the above

Correct Answer: Option D


Explanation:
UTF-8, ASCII, and ISO-8859-1 are all character encodings, but UTF-8 is the most universally used on the web today.

This question belongs to: Computer Internet and Web Technologies
Question #215
What is the role of a web proxy in network security?
A. To hide the user's IP address
B. All of the above
C. To cache content
D. To filter and monitor web traffic

Correct Answer: Option B


Explanation:
A web proxy can serve multiple purposes: filtering, anonymity, caching, and content acceleration.

This question belongs to: Computer Internet and Web Technologies
Question #216
Which of the following is a mechanism for websites to request permission to access user's location, camera, etc.?
A. Cookies
B. HTTP headers
C. Web API (Permissions API)
D. URL parameters

Correct Answer: Option C


Explanation:
The Permissions API allows websites to request permissions for sensitive features like geolocation, camera, microphone, etc.

This question belongs to: Computer Internet and Web Technologies
Question #217
What is the function of the 'canonical' link tag in SEO?
A. To set the language
B. To define the site's sitemap
C. To indicate the preferred URL when multiple URLs point to the same content
D. To specify the character encoding

Correct Answer: Option C


Explanation:
The canonical tag helps search engines know which URL is the master copy of a page, preventing duplicate content issues.

This question belongs to: Computer Internet and Web Technologies
Question #218
Which of the following is a popular web server developed by Microsoft?
A. IIS
B. Tomcat
C. Apache
D. Nginx

Correct Answer: Option A


Explanation:
IIS (Internet Information Services) is a web server developed by Microsoft for Windows servers.

This question belongs to: Computer Internet and Web Technologies
Question #219
What is the purpose of the 'If-Modified-Since' HTTP header?
A. To set the last modified time
B. To check for updates
C. To request a conditional GET if the resource has been modified since the date
D. To specify cache expiration

Correct Answer: Option C


Explanation:
If-Modified-Since allows the client to request the resource only if it has been modified since the specified date, saving bandwidth.

This question belongs to: Computer Internet and Web Technologies
Question #220
Which of the following is an example of a web-based social media platform?
A. Instagram
B. All of the above
C. Facebook
D. Twitter

Correct Answer: Option B


Explanation:
Twitter, Facebook, and Instagram are all web-based social media platforms accessible via browsers.

This question belongs to: Computer Internet and Web Technologies