Q. What does the acronym URI stand for in the context of web protocols?
-
A.
Uniform Resource Identifier
-
B.
Universal Resource Indicator
-
C.
Uniform Resource Interface
-
D.
Universal Resource Identifier
Solution
URI stands for Uniform Resource Identifier, which is a string used to identify a resource on the Internet.
Correct Answer:
A
— Uniform Resource Identifier
Learn More →
Q. What is the default port number for HTTP?
Solution
The default port number for HTTP is 80.
Correct Answer:
C
— 80
Learn More →
Q. What is the main function of the HTTP header?
-
A.
To encrypt data
-
B.
To provide metadata about the request or response
-
C.
To establish a connection
-
D.
To route packets
Solution
The HTTP header provides metadata about the request or response, such as content type and length.
Correct Answer:
B
— To provide metadata about the request or response
Learn More →
Q. What is the main purpose of the HTTP protocol?
-
A.
To send emails
-
B.
To transfer web pages
-
C.
To manage network devices
-
D.
To establish VPN connections
Solution
The main purpose of the HTTP protocol is to transfer web pages and resources over the internet.
Correct Answer:
B
— To transfer web pages
Learn More →
Q. What is the primary purpose of HTTP methods like GET and POST?
-
A.
Data encryption
-
B.
Data retrieval and submission
-
C.
Session management
-
D.
Error handling
Solution
HTTP methods like GET and POST are used for data retrieval and submission between clients and servers.
Correct Answer:
B
— Data retrieval and submission
Learn More →
Q. What layer of the OSI model does HTTP operate on?
-
A.
Application
-
B.
Transport
-
C.
Network
-
D.
Data Link
Solution
HTTP operates at the Application layer of the OSI model, which is responsible for providing network services to end-user applications.
Correct Answer:
A
— Application
Learn More →
Q. Which HTTP status code indicates that a resource was not found?
-
A.
200
-
B.
301
-
C.
404
-
D.
500
Solution
The HTTP status code 404 indicates that a resource was not found on the server.
Correct Answer:
C
— 404
Learn More →
Q. Which of the following headers is used to specify the type of content being sent in an HTTP response?
-
A.
Content-Length
-
B.
Content-Type
-
C.
User-Agent
-
D.
Accept
Solution
The Content-Type header is used to specify the media type of the resource being sent in an HTTP response.
Correct Answer:
B
— Content-Type
Learn More →
Q. Which of the following is a secure version of HTTP?
-
A.
FTP
-
B.
HTTPS
-
C.
SMTP
-
D.
IMAP
Solution
HTTPS (Hypertext Transfer Protocol Secure) is the secure version of HTTP, using encryption to protect data.
Correct Answer:
B
— HTTPS
Learn More →
Q. Which protocol is commonly used to transfer web pages over the Internet?
-
A.
FTP
-
B.
SMTP
-
C.
HTTP
-
D.
SNMP
Solution
HTTP (Hypertext Transfer Protocol) is the protocol used to transfer web pages over the Internet.
Correct Answer:
C
— HTTP
Learn More →
Showing 1 to 10 of 10 (1 Pages)