HTTP MCQ Quiz - Objective Question with Answer for HTTP - Download Free PDF

Which among the following is used for a secure website?

  1. FTP
  2. HTTPS
  3. SMTP
  4. More than one of the above
  5. None of the above

Answer (Detailed Solution Below)

Option 2 : HTTPS India's Super Teachers for all govt. exams Under One Roof Demo Classes Available* Enroll For Free Now

HTTP Question 1 Detailed Solution

The correct option is 2 i.e., ​HTTPS.

India’s #1 Learning Platform Start Complete Exam Preparation Daily Live MasterClasses Practice Question Bank Mock Tests & Quizzes Trusted by 6.1 Crore+ Students

HTTP Question 2:

What is the port number for the HTTP?
  1. 80
  2. 20/21
  3. 25
  4. More than one of the above
  5. None of the above

Answer (Detailed Solution Below)

Option 1 : 80

HTTP Question 2 Detailed Solution

The correct answer is option 1.

Concept:

Hypertext Transfer Protocol:

HTTP stands for Hypertext Transfer Protocol and is mostly used to access data on the internet, i.e. (WWW). HTTP primarily serves as a mix of FTP (File Transfer Protocol) and SMTP (Simple Mail Transfer Protocol) (Simple Mail Transfer Protocol).

Hence the correct answer is 80.

India’s #1 Learning Platform Start Complete Exam Preparation Daily Live MasterClasses Practice Question Bank Mock Tests & Quizzes Trusted by 6.1 Crore+ Students

HTTP Question 3:

How many TCP connections does FTP use?
  1. One
  2. Two
  3. Three
  4. More than one of the above
  5. None of the above

Answer (Detailed Solution Below)

Option 2 : Two

HTTP Question 3 Detailed Solution

The correct answer is Two

Key Points FTP (File Transfer Protocol) uses two TCP connections to maintain a clear separation of data commands and file data.

The reason for keeping these two connection types separate is to allow for clean, uninterrupted control commands while simultaneously allowing for the transmission of file data.

India’s #1 Learning Platform Start Complete Exam Preparation Daily Live MasterClasses Practice Question Bank Mock Tests & Quizzes Trusted by 6.1 Crore+ Students

HTTP Question 4:

How many TCP connections does FTP use?

Answer (Detailed Solution Below)

Option 2 : Two

HTTP Question 4 Detailed Solution

The correct answer is Two

Key Points FTP (File Transfer Protocol) uses two TCP connections to maintain a clear separation of data commands and file data.

The reason for keeping these two connection types separate is to allow for clean, uninterrupted control commands while simultaneously allowing for the transmission of file data.

India’s #1 Learning Platform Start Complete Exam Preparation Daily Live MasterClasses Practice Question Bank Mock Tests & Quizzes Trusted by 6.1 Crore+ Students

HTTP Question 5:

Layer 4 firewall (device that can see all protocol headers up to the transport layer) cannot do which of the following?

  1. Preventing all ICMP traffic
  2. Stopping all HTTP traffic from 9pm to 5am
  3. Do not allow traffic to come from an IP address but let it go to that address
  4. Stopping any one user in TCP traffic from 9 pm to 5 am in multiuser system

Answer (Detailed Solution Below)

Option 2 : Stopping all HTTP traffic from 9pm to 5am

HTTP Question 5 Detailed Solution

The correct answer is Stopping all HTTP traffic from 9pm to 5am

Key Points

Layer 4 firewalls, also known as transport layer firewalls, operate up to the transport layer of the OSI (Open Systems Interconnection) model. They can filter traffic based on IP addresses, ports, and some protocol-specific features, but they do not have visibility into the contents of the traffic beyond this.