Which among the following is used for a secure website?
The correct option is 2 i.e., HTTPS.
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+ StudentsThe 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+ StudentsThe 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+ StudentsLayer 4 firewall (device that can see all protocol headers up to the transport layer) cannot do which of the following?
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.
So, Layer 4 firewalls may not be able to perform tasks number 2 and 4 accurately. So correct answer both option 2 and 4.
India’s #1 Learning Platform Start Complete Exam Preparation Daily Live MasterClasses Practice Question Bank Mock Tests & Quizzes Trusted by 6.1 Crore+ StudentsA graphical HTML browser resident at a network client machine Q accesses a static HTML webpage from a HTTP server S. The static HTML page has exactly one static embedded image which is also at S. Assuming no caching, which one of the following is correct about the HTML webpage loading (including the embedded image)?
Option 2 : Q needs to send at least 2 HTTP requests to S, but a single TCP connection to server S is sufficient
Explanation:
Hence option 2 is the correct answer.
Share on Whatsapp
India’s #1 Learning Platform Start Complete Exam Preparation Daily Live MasterClasses Practice Question Bank Mock Tests & Quizzes Trusted by 6.1 Crore+ StudentsIn one of the pairs of protocols given below, both the protocols can use multiple TCP connections between the same client and the server. Which one is that?
HTTP: Multiple TCP connections can be used at client and server end.
FTP: For FTP also multiple connections can be used at the same time.
TELENT: Only one TCP connection is allowed at a time.
SMTP: SMTP also allows only one TCP connection at a time.
Share on Whatsapp
India’s #1 Learning Platform Start Complete Exam Preparation Daily Live MasterClasses Practice Question Bank Mock Tests & Quizzes Trusted by 6.1 Crore+ StudentsIdentify the correct order in which the following actions take place in an interaction between a web browser and a web server. 1. The web browser requests a webpage using HTTP. 2. The web browser establishes a TCP connection with the web server. 3. The web server sends the requested webpage using HTTP. 4. The web browser resolves the domain name using DNS.
The correct order in which the following actions take place in an interaction between a web browser and a web server
Step 1:
The web browser first needs to figure out IP address of site from URL using DNS. This is typically called domain name resolution.
Step 2:
TCP connection is established mostly at port 80.
Step 3:
Once the TCP connection is established, the browser sends an HTTP request using GET method.
Step 4:
Finally, web server responds with HTTP response that is, the page we requested.
Hence, the correct sequence of actions is 4, 2, 1, 3
Share on Whatsapp
India’s #1 Learning Platform Start Complete Exam Preparation Daily Live MasterClasses Practice Question Bank Mock Tests & Quizzes Trusted by 6.1 Crore+ StudentsThe correct answer is HyperText Transfer Protocol .
Key Points
Important Points
Share on Whatsapp
India’s #1 Learning Platform Start Complete Exam Preparation Daily Live MasterClasses Practice Question Bank Mock Tests & Quizzes Trusted by 6.1 Crore+ StudentsAssume that you have made a request for a web page through your web browser to a web server. Initially the browser cache is empty. Further, the browser is configured to send HTTP requests in non-persistent mode. The web page contains text and five very small images. The minimum number of TCP connections required to display the web page completely in your browser is _______.
Concept: HTTP requests are of two types: persistent and non- persistent. In persistent mode, a single TCP connection is required for the entire HTTP session and all the objects fetched in that session. However, in the non- persistent mode, one TCP connection is required for each object to be fetched from the web server. Explanation: The web page contains text and 5 small images, that is, total 6 objects. Therefore, in non- persistent mode, 6 TCP connections would be required. Important point: If in the question, term ‘persistent’ was used instead of ‘non-persistent’, only 1 TCP connection would have been needed.
Share on Whatsapp India’s #1 Learning Platform Start Complete Exam Preparation Daily Live MasterClasses Practice Question Bank Mock Tests & Quizzes Trusted by 6.1 Crore+ StudentsWhen a browser supporting HTTP 1.1 indicates it can decompress HTML files, a server will compress them for transport across the Internet, providing substantial aggregate savings in the amount of data that has to be transmitted.
Statement 1) True:- The HTTP GET request method is used to request a resource from the server. The GET request should only receive data (the server must not change its state). If we want to change data on the server, use POST, PUT, PATCH, or DELETE methods.
Statement 2):- True, In HTTP 1.1, all connections are considered persistent unless declared otherwise. The HTTP persistent connections do not use separate keepalive messages, they just allow multiple requests to use a single connection.
Statement 3):- True, HTTP works as a request-response protocol between a client and server. Example: A client (browser) sends an HTTP request to the server; then the server returns a response to the client. The response contains status information about the request and may also contain the requested content.
Statement 4) false:- The HTTP TRACE method performs a message loop-back test along the path to the target resource, providing a useful debugging mechanism.