Frequently Asked SSL (Secured Socket Layer) Interview Questions
Q – 1 Explain what is meant by Symmentric Multiprocessing (SMP)?
Ans- Symmetric Multiprocessing allows any processor to do work of another processor. SMP allows multiple processors to process programs that are a part of common OS and memory. Most common example of SMP is OLTP where many users access the same database in a relatively simple set of transactions. SMP efficiently balances the workload of the processors.
Q – 2 Do you know what are the two important TCP Socket classes?
Ans- The two most important socket Classes are:
Socket Class:
The Socket class provides enriched methods and properties for network communications. It allows both synchronous and asynchronous data transfer. Shutdown method should be used to end the Socket once the data transfer is complete. Using SetSocketOption the socket can be configured.
Declaration:
Public Class Socket _
Implements IDisposable
Server Socket Class:
The server Socket class is used to implement server sockets. Server sockets are used to respond to requests received over the network.
Q – 3 Do you know what are TP-Lite and TP-Heavy Monitors?
Ans- TP – Lite is an integration of TP Monitor functions in a database engine. TP-Heavy Monitor allows the machine to initiate some complex multi server transactions. TP Heavy monitors support client server architecture.
Q – 4 Can you explain what are the advantages and disadvantages of Java Sockets?
Ans- Advantages:
Flexible and powerful.
Cause low network traffic if efficiently used.
Only updated information can be sent.
Disadvantages:
The Java applets can establish communication only with the machine requested and not with any other machine on the network.
Sockets allow only raw data to be sent. This means that both client and server need to have mechanisms to interpret the data.
Q – 5 Tell me how do Sockets Work?
Ans- A socket is used to connect an application to a network protocol. A socket enables communication between a client and a server. The communication is started when the client is assigned a local port number, and binds a socket to it. The client writes on the socket and gets information from server by reading it. The Socket class is used to communicate.
It provides rich set of methods for both asynchronous and synchronous data transfer. ConnectAsynch is used to start an asynchronous connection. SendAsynch and ReceiveAsynch are used to send and receive data. Shutdown and close methods are used to shutdown and close the sockets.
Q – 6 Do you know what is a socket?
Ans- A socket is used to connect an application to a network protocol. A socket enables communication between a client and a server. The communication is started when the client is assigned a local port number, and binds a socket to it. The client writes on the socket and gets information from server by reading it.
Q – 7 Explain what is SSL?
Ans- SSL is Secured Socket Layer. SSL is used to establish a secured and an encrypted connection between a server and the browser. SSL is most commonly seen in payment and banking web sites. To create a SSL connection, a SSL certificate needs to be created. If the website has a SSL certificate installed, a small icon is displayed in the tool bar to make customers confident that the site is secured.
Q – 8 What is Server Socket Class?
Ans- The server Socket class is used to implement server sockets. Server sockets are used to respond to requests received over the network.
Q – 9 What is Socket Class?
Ans- The Socket class provides enriched methods and properties for network communications. It allows both synchronous and asynchronous data transfer. Shutdown method should be used to end the Socket once the data transfer is complete. Using SetSocketOption the socket can be configured.
Declaration:
Public Class Socket _
Implements IDisposable
Q – 10 Can you explain what is race condition? How does the race condition occur?
Ans- A race condition occurs when there are two or more processes trying to access the same data concurrently or performing the same operation concurrently. Output of the operation depends on the sequence of requests of the operations.
In networking, a race condition occurs when two or more try to access the same channel. This usually occurs in networks having lag times.
In a computer memory, a race condition occurs when a request to read and write data is received at the same time.
In logic gates, a race condition occurs when some inputs encounter conflicts.