Tuesday, August 5, 2014

networking interview questions for freshers


Networking Interview Questions

Share  Share on Google+ Share on Linked IN Share on Google+
51693 views, 354 found it useful

Learn and practice Technical Interview Prep, Interview Preparation, Networking Interview Questions questions and answers with explanation for interview,placement test,online test,competitive examination and entrance test

1. Define Network?
A network is a set of devices connected by physical media links. A network is recursively is a connection of two or more nodes by a physical link or two or more networks connected by one or more nodes.

2. What is Protocol?
A protocol is a set of rules that govern all aspects of information communication.

3. What is a Link?
At the lowest level, a network can consist of two or more computers directly connected by some physical medium such as coaxial cable or optical fiber. Such a physical medium is called as Link.

4. What is a node?
A network can consist of two or more computers directly connected by some physical medium such as coaxial cable or optical fiber. Such a physical medium is called as Links and the computer it connects is called as Nodes.

5. What is a gateway or Router?
A node that is connected to two or more networks is commonly called as router or Gateway. It generally forwards message from one network to another.

6.  Name the factors that affect the performance of the network?
a.Number of Users
b. Type of transmission medium
c. Hardware
d. Software

7. What is Round Trip Time?
The duration of time it takes to send a message from one end of a network to the other and back, is called RTT.

8.  List the layers of OSI
a. Physical Layer
b. Data Link Layer
c. Network Layer
d. Transport Layer
e. Session Layer
f. Presentation Layer
g. Application Layer

9.  Which layers are network support layers?
a. Physical Layer
b. Data link Layer and
c. Network Layers

10. Which layers are user support layers?
a. Session Layer
b. Presentation Layer and
c. Application Layer

11. What is Pipelining ?
In networking and in other areas, a task is often begun before the previous task has ended. This is known as pipelining.

12. What is Piggy Backing?
A technique called piggybacking is used to improve the efficiency of the bidirectional protocols. When a frame is carrying data from A to B, it can also carry control information about arrived (or lost) frames from B; when a frame is carrying data from B to A, it can also carry control information about the arrived (or lost) frames from A.

13.  What are the two types of transmission technology available?
(i) Broadcast and (ii) point-to-point

14. What is Bandwidth?
Every line has an upper limit and a lower limit on the frequency of signals it can carry. This limited range is called the bandwidth.

15. Explain RIP (Routing Information Protocol)
It is a simple protocol used to exchange information between the routers.

16. What is subnet?
A generic term for section of a large networks usually separated by a bridge or router.

17. What is MAC address?
The address for a device as it is identified at the Media Access Control (MAC) layer in the network architecture. MAC address is usually stored in ROM on the network adapter card and is unique.

18. What is multiplexing?
Multiplexing is the process of dividing a link, the phycal medium, into logical channels for better efficiency. Here medium is not changed but it has several channels instead of one.

19. What is simplex?
It is the mode of communication between two devices in which flow of data is unidirectional. i.e. one can transmit and other can receive.
E.g. keyboard and monitor.

20. What is half-duplex?
 It is the mode of communication between two devices in which flow of data is bi-directional but not at the same time. ie each station can transmit and receive but not at the same time.
E.g walkie-talkies are half-duplex system.

21.What is full duplex?
 It is the mode of communication between two devices in which flow of data is bi-directional and it occurs simultaneously. Here signals going in either direction share the capacity of the link.
E.g. telephone

22. What is sampling?
It is the process of obtaining amplitude of a signal at regular intervals.

23. What is Asynchronous mode of data transmission?
It is a serial mode of transmission.
In this mode of transmission, each byte is framed with a start bit and a stop bit. There may be a variable length gap between each byte.

24. What is Synchronous mode of data transmission?
It is a serial mode of transmission.In this mode of transmission, bits are sent in a continuous stream without start and stop bit and without gaps between bytes. Regrouping the bits into meaningful bytes is the responsibility of the receiver.

25. What are the different types of multiplexing?
Multiplexing is of three types. Frequency division multiplexing and wave division multiplexing is for analog signals and time division multiplexing is for digital signals.

26. What are the different transmission media?
The transmission media is broadly categorized into two types
i)Guided media(wired)
i)Unguided media(wireless)

27. What are the duties of data link layer?
Data link layer is responsible for carrying packets from one hop (computer or router) to the next. The duties of data link layer include packetizing, adderssing, error control, flow control, medium access control.

28. .What are the types of errors?
 Errors can be categorized as a single-bit error or burst error. A single bit error has one bit error per data unit. A burst error has two or more bits errors per data unit.

29. What do you mean by redundancy?
Redundancy is the concept of sending extra bits for use in error detection. Three common redundancy methods are parity check, cyclic redundancy check (CRC), and checksum.

30. Define parity check.
In parity check, a parity bit is added to every data unit so that the total number of 1s is even (or odd for odd parity).Simple parity check can detect all single bit errors. It can detect burst errors only if the total number of errors in each data unit is odd.In two dimensional parity checks, a block of bits is divided into rows and a redundant row of bits is added to the whole block.

31. Define cyclic redundancy check (CRC).
C RC appends a sequence of redundant bits derived from binary division to the data unit. The divisor in the CRC generator is often represented as an algebraic polynomial.

32. What is hamming code?
The hamming code is an error correction method using redundant bits. The number of bits is a function of the length of the data bits. In hamming code for a data unit of m bits, we use the formula 2r >= m+r+1 to determine the number of redundant bits needed. By rearranging the order of bit transmission of the data units, the hamming code can correct burst errors.

33.Define stop and wait ARQ.
 In stop and wait ARQ, the sender sends a frame and waits for an acknowledgement from the receiver before sending the next frame.

34. What do you mean by network control protocol?
Network control protocol is a set of protocols to allow the encapsulation of data coming from network layer protocol that requires the services of PPP

35. What do you mean by CSMA?
To reduce the possibility of collision CSMA method was developed. In CSMA each station first listen to the medium (Or check the state of the medium) before sending. It can’t eliminate collision.

36. What do you mean by Bluetooth?
 It is a wireless LAN technology designed to connect devices of different functions such as telephones, notebooks, computers, cameras, printers and so on.

37. What is IP address?
The internet address (IP address) is 32bits that uniquely and universally defines a host or router on the internet.The portion of the IP address that identifies the network is called netid. The portion of the IP address that identifies the host or router on the network is called hostid.

38. What do you mean by ALOHA ?
It is the method used to solve the channel allocation problem .It is used for:
i)ground based radio broadcasting
ii)In a network in which uncoordinated users are competing for the use of single channel.
It is of two types:
1.Pure aloha
2.Slotted aloha

39. What is Firewalls?
It is an electronic downbridge which is used to enhance the security of a network. It’s configuration has two components.
i)Two routers
ii)Application gateway
the packets traveling through the LAN are inspected here and packets meeting certain criteria are forwarded and others are dropped.

40. What is Repeaters ?
A receiver receives a signal before it becomes too weak or corrupted,regenerates the original bit pattern,and puts the refreshed copy back onto the link.It operates on phycal layer of OSI model.

41. What is Bridges?
They divide large network into smaller components.They can relay frames between two originally separated LANs.They provide security through partitioning traffic.They operate on physical and data link layer of OSI model.

42. What is ICMP?
ICMP is Internet Control Message Protocol, a network layer protocol of the TCP/IP suite used by hosts and gateways to send notification of datagram problems back to the sender. It uses the echo test / reply to test whether a destination is reachable and responding. It also handles both control and error messages.
.

43. What is FDM?
FDM is an analog technique that can be applied when the bandwidth of a link is greater than the combined bandwidths of the signals to be transmitted.

44.  What is WDM?
WDM is conceptually the same as FDM, except that the multiplexing and demultiplexing involve light signals transmitted through fiber optics channel.

45. What is TDM?
TDM is a digital process that can be applied when the data rate capacity of the transmission medium is greater than the data rate required by the sending and receiving devices.

46.  List the steps involved in creating the checksum.
a. Divide the data into sections
b. Add the sections together using 1's complement arithmetic
c. Take the complement of the final sum, this is the checksum.

47. Compare Error Detection and Error Correction:
The correction of errors is more difficult than the detection. In error detection, checks only any error has occurred. In error correction, the exact number of bits that are corrupted and location in the message are known. The number of the errors and the size of the message are important factors.

48. What are the protocols in application layer ?
 The protocols defined in application layer are
• TELNET
• FTP
• SMTP
• DNS

49. What are the protocols in transport layer ?
The protocols defined in transport layer are
• TCP
• UDP

50. What do you mean by client server model ?
 In client server model ,the client runs a program to request a service and the server runs a program to provide the service.These two programs communicate with each other. One server program can provide services to many client programs.

51. What is TELNET ?
TELNET is a client –server application that allows a user to log on to a remote machine,giving the user access to the remote system. TELNET is an abbreviation of terminal
Network.

52. What is Hypertext Transfer Protocol(HTTP) ?
It is the main protocol used to access data on the World Wide Web .the protol transfers data in the form of plain text,hypertext,audio,video,and so on. It is so called because its efficiency allows its use in a hypertext environment where there are rapid jumps from one document to another.

53. What is World Wide Web ?
Ans: World Wide Web is a repository of information spread all over the world and linked together.It is a unique combination of flexibility,portability,and user-friendly features .The World Wide Web today is a distributed client-server service,in which a client using a browser can access a service using a server.The service provided is distributed over many locations called web sites.

54. What is Beaconing?
The process that allows a network to self-repair networks problems. The stations on the network notify the other stations on the ring when they are not receiving the transmissions. Beaconing is used in Token ring and FDDI networks.

55. What is RAID?
A method for providing fault tolerance by using multiple hard disk drives.

56. What is NETBIOS and NETBEUI?
NETBIOS is a programming interface that allows I/O requests to be sent to and received from a remote computer and it hides the networking hardware from applications.
NETBEUI is NetBIOS extended user interface. A transport protocol designed by microsoft and IBM for the use on small subnets.

57. What is difference between ARP and RARP?
The address resolution protocol (ARP) is used to associate the 32 bit IP address with the 48 bit physical address, used by a host or a router to find the physical address of another host on its network by sending a ARP query packet that includes the IP address of the receiver.
The reverse address resolution protocol (RARP) allows a host to discover its Internet address when it knows only its physical address.

58. What is the minimum and maximum length of the header in the TCP segment and IP datagram?
The header should have a minimum length of 20 bytes and can have a maximum length of 60 bytes.

59. What are major types of networks and explain?
Server-based network: provide centralized control of network resources and rely on server computers to provide security and network administration
Peer-to-peer network: computers can act as both servers sharing resources and as clients using the resources.

60. What are the important topologies for networks?
BUS topology: In this each computer is directly connected to primary network cable in a single line.
Advantages: Inexpensive, easy to install, simple to understand, easy to extend.

STAR topology: In this all computers are connected using a central hub.
Advantages: Can be inexpensive, easy to install and reconfigure and easy to trouble shoot physical problems.
RING topology: In this all computers are connected in loop.
Advantages: All computers have equal access to network media, installation can be simple, and signal does not degrade as much as in other topologies because each computer regenerates it.

61. What is mesh network?
A network in which there are multiple network links between computers to provide multiple paths for data to travel.

62. What is difference between baseband and broadband transmission?
In a baseband transmission, the entire bandwidth of the cable is consumed by a single signal. In broadband transmission, signals are sent on multiple frequencies, allowing multiple signals to be sent simultaneously.

63. What is packet filter?
Packet filter is a standard router equipped with some extra functionality. The extra functionality allows every incoming or outgoing packet to be inspected. Packets meeting some criterion are forwarded normally. Those that fail the test are dropped.

64.  What is traffic shaping?
One of the main causes of congestion is that traffic is often busy. If hosts could be made to transmit at a uniform rate, congestion would be less common. Another open loop method to help manage congestion is forcing the packet to be transmitted at a more predictable rate. This is called traffic shaping.

65. What is multicast routing?
Sending a message to a group is called multicasting, and its routing algorithm is called multicast routing.

66. What is Kerberos?
It is an authentication service developed at the Massachusetts Institute of Technology. Kerberos uses encryption to prevent intruders from discovering passwords and gaining unauthorized access to files.

67. What is passive topology?
When the computers on the network simply listen and receive the signal, they are referred to as passive because they don’t amplify the signal in any way. Example for passive topology - linear bus.

68. What are the advantages of Distributed Processing?
a. Security/Encapsulation
b. Distributed database
c. Faster Problem solving
d. Security through redundancy
e. Collaborative Processing

69.  Name the factors that affect the reliability of the network?
a. Frequency of failure
b. Recovery time of a network after a failure

70. When a switch is said to be congested?
It is possible that a switch receives packets faster than the shared link can accommodate and stores in its memory, for an extended period of time, then the switch will eventually run out of buffer space, and some packets will have to be dropped and in this state is said to congested state.

Networking interview questions and answers

When were OSI model developed and why its standard called 802.XX and so on?

OSI model was developed in February1980 that why these also known as 802.XX Standard (Notice 80 means ==> 1980, 2means ==> February)

What is Full form of ADS?

Active Directory Structure

How will you register and activate windows?

If you have not activated windows XP, you can do so at any time by clicking the windows Activation icon in the system tray to initiate activation. Once you have activated windows XP, this icon disappears from the system tray. 
For registration 
Start ==> Run ==> regwiz /r

Where do we use cross and standard cable?

Computer to computer ==> cross 
Switch/hub to switch/hub ==>cross 
Computer to switch/hub ==>standard

How many pins do serial ports have?

In computer it's known as com port and could be available in 9pin or 25 pin. On router it have 60 pins.

How will check ip address on 98?

Start ==> Run ==> command ==> winipcfg

How will you make partition after installing windows?

My computer ==> right click ==> manage ==> disk management ==> 
select free space ==> right click ==> New partition

What is IP?

It's a unique 32 bits software address of a node in a network.

What is private IP?

Three ranges of IP addresses have been reserved for private address and they are not valid for use on the Internet. If you want to access internet with these address you must have to use proxy server or NAT server (on normal cases the role of proxy server is played by your ISP.).If you do decide to implement a private IP address range, you can use IP addresses from any of the following classes: 
Class A 10.0.0.0 10.255.255.255 
Class B 172.16.0.0 172.31.255.255 
Class C 192.168.0.0 192.168.255.255

What is public IP address?

A public IP address is an address leased from an ISP that allows or enables direct Internet communication.

What's the benefit of subnetting?

Reduce the size of the routing tables. 
Reduce network traffic. Broadcast traffic can be isolated within a single logical network. 
Provide a way to secure network traffic by isolating it from the rest of the network.

What are the differences between static ip addressing and dynamic ip addressing?

With static IP addressing, a computer (or other device) is configured to always use the same IP address. With dynamic addressing, the IP address can change periodically and is managed by a centralized network service

What is APIPA?

Automatic private IP addressing (APIPA) is a feature mainly found in Microsoft operating systems. APIPA enables clients to still communicate with other computers on the same network segment until an IP address can be obtained from a DHCP server, allowing the machine to fully participate on the network. The range of these IP address are the 169.254.0.1 to 169.254.255.254 with a default Class B subnet mask of 255.255.0.0.

What are the LMHOSTS files?

The LMHOSTS file is a static method of resolving NetBIOS names to IP addresses in the same way that the HOSTS file is a static method of resolving domain names into IP addresses. An LMHOSTS file is a text file that maps NetBIOS names to IP addresses; it must be manually configured and updated.

What is DHCP scope?

A scope is a range, or pool, of IP addresses that can be leased to DHCP clients on a given subnet.

What is FQDN?

An FQDN contains (fully qualified domain name) both the hostname and a domain name. It uniquely identifies a host within a DNS hierarchy

What is the DNS forwarder?

DNS servers often must communicate with DNS servers outside of the local network. A forwarder is an entry that is used when a DNS server receives DNS queries that it cannot resolve locally. It then forwards those requests to external DNS servers for resolution.

Which command will you use to find out the name of the pc in networks?

NSLOOKUP [192.168.0.1] 
[Ip of target computer]

How will enable sound service in 2003?

By default this service remain disable to enable this service
Start ==> administrative tools ==> service ==> windows audio ==> start up type ==> automatic

How will enable CD burning service in 2003?

By default this service remain disable to enable this service
Start ==> administrative tools ==> service ==> IMAPI CD burning com service ==> start up type ==> automatic

BOOTP helps a diskless workstation boot. How does it get a message to the network looking for its IP address and the location of its operating system boot files?

BOOTP sends a UDP message with a subnet work broadcast address and waits for a reply from a server that gives it the IP address. The same message might contain the name of the machine that has the boot files on it. If the boot image location is not specified, the workstation sends another UDP message to query the server.

What is a DNS resource record?

resource record is an entry in a name server's database. There are several types of resource records used, including name-to-address resolution information. Resource records are maintained as ASCII files.

What protocol is used by DNS name servers?

DNS uses UDP for communication between servers. It is a better choice than TCP because of the improved speed a connectionless protocol offers. Of course, transmission reliability suffers with UDP.

What is the difference between interior and exterior neighbor gateways?

Interior gateways connect LANs of one organization, whereas exterior gateways connect the organization to the outside world.

What is the HELLO protocol used for?

The HELLO protocol uses time instead of distance to determine optimal routing. It is an alternative to the Routing Information Protocol.

What are the three type of routing tables and What are the advantages and disadvantages of these?

The three types of routing tables are fixed, dynamic, and fixed central. 
A fixed table must be manually modified every time there is a change. 
A dynamic table changes its information based on network traffic, reducing the amount of manual maintenance. 
A fixed central table lets a manager modify only one table, which is then read by other devices. The fixed central table reduces the need to update each machine's table, as with the fixed table. Usually a dynamic table causes the fewest problems for a network administrator, although the table's contents can change without the administrator being aware of the change.

What is source route?

It is a sequence of IP addresses identifying the route a datagram must follow. A source route may optionally be included in an IP datagram header.

What is RIP (Routing Information Protocol)?

It is a simple protocol used to exchange information between the routers.

What is SLIP (Serial Line Interface Protocol)?

It is a simple protocol used for transmission of IP datagrams across a serial line.

What is Proxy ARP?

It is using a router to answer ARP requests. This will be done when the originating host believes that a destination is local, when in fact is lies beyond router.

What is OSPF?

It is an Internet routing protocol that scales well, can route traffic along multiple paths, and uses knowledge of an Internet's topology to make accurate routing decisions.

What is Kerberos?

It is an authentication service developed at the Massachusetts Institute of Technology. Kerberos uses encryption to prevent intruders from discovering passwords and gaining unauthorized access to files.

What is a Multi-homed Host?

It is a host that has a multiple network interfaces and that requires multiple IP addresses is called as a Multihomed Host.

What is NVT (Network Virtual Terminal)?

It is a set of rules defining a very simple virtual terminal interaction. The NVT is used in the start of a Telnet session.

What is Gateway-to-Gateway protocol?

It is a protocol formerly used to exchange routing information between Internet core routers.

What is BGP (Border Gateway Protocol)?

It is a protocol used to advertise the set of networks that can be reached with in an autonomous system. BGP enables this information to be shared with the autonomous system. This is newer than EGP (Exterior Gateway Protocol).

What is autonomous system?

It is a collection of routers under the control of a single administrative authority and that uses a common Interior Gateway Protocol.

What is EGP (Exterior Gateway Protocol)?

t is the protocol the routers in neighboring autonomous systems use to identify the set of networks that can be reached within or via each autonomous system.

What is IGP (Interior Gateway Protocol)?

It is any routing protocol used within an autonomous system.

What is Mail Gateway?

It is a system that performs a protocol translation between different electronic mail delivery protocols.

What is wide-mouth frog?

Wide-mouth frog is the simplest known key distribution center (KDC) authentication protocol.

What is silly window syndrome?

It is a problem that can ruin TCP performance. This problem occurs when data are passed to the sending TCP entity in large blocks, but an interactive application on the receiving side reads 1 byte at a time.

What is region?

When hierarchical routing is used, the routers are divided into what we call regions, with each router knowing all the details about how to route packets to destinations within its own region, but knowing nothing about the internal structure of other regions.

What is multicast routing?

Sending a message to a group is called multicasting, and its routing algorithm is called multicast routing.

What is traffic shaping?

One of the main causes of congestion is that traffic is often busy. If hosts could be made to transmit at a uniform rate, congestion would be less common. Another open loop method to help manage congestion is forcing the packet to be transmitted at a more predictable rate. This is called traffic shaping.

What is packet filter?

Packet filter is a standard router equipped with some extra functionality. The extra functionality allows every incoming or outgoing packet to be inspected. Packets meeting some criterion are forwarded normally. Those that fail the test are dropped.

What are the difference between hub and switch?

Hub is a layer 1 device. It will out the signal from all of its port except the one from where its insert. It is unable to detect the collision. It works on single collision and single broadcast domain. 
Switch is layer 2 device. It maintains a CAM table that store the MAC address of devices attached on its port. CAM table is used to make the forwarding decision. It works on per port collision and single broadcast domain.

What is layer?

Layer is a completely logical partition of PDU (protocol data unit) process. That define how the information is travel form one computer to other over the network.

What is TCP/IP?

It is combination of two protocols TCP and IP. It is used for reliable data transfer.

What is operating system?

An operating system (sometimes abbreviated as "OS") is the program that, after being initially loaded into the computer by a boot program, manages all the other programs in a computer. It provides a platform to application software.

What is package software?

The collection of mostly used software released in package Form Company. For Example Ms-Office that contain word, power point, Excel, etc.

Full form of .co.in, .com

  • COM - ".com" stands for "commercial".
  • NET - ".net" stands for "network"
  • ORG - ".org" stands for "organization"
  • INFO - ".info" stands for "information"
  • BIZ - ".biz" stands for "business".
  • IN - 'IN' stands for India. The 'IN' is a 2-letter country code for India.

What is ring topology?

In a ring topology, device one connects to device two, device two connects to device three, and so on to the last device, which connects back to device one.

Which cable is used in LAN?

Generally coaxial and TP media is used in LAN networking.

What are Difference between STP and UTP?

STP cable is mostly used by IBM; it has an extra cover over each pair. 
UTP cable is used in star topology. It has a single cover over all pair.

What is IEEE?

The Institute of Electrical and Electronics Engineers or IEEE (read eye-triple-e) is an international non-profit, professional organization for the advancement of technology related to electricity. It has the most members of any technical professional organization in the world, with more than 365,000 members in around 150 countries.

What is 802.3?

IEEE 802.3 is a collection of IEEE standards defining the physical layer and the media access control (MAC) of the data link layer of wired Ethernet. Physical connections are made between nodes and infrastructure devices hubs, switches and routers by various types of copper or fiber cable.

Full form of ping.

PING stand for Packet Internet Grouper

What are the minimum requirements for xp installation?

64MB RAM
1.5GB free HDD space
233MHz minimum processor.

What are 10Base2, 10Base5 and 10BaseT Ethernet LANs?

10Base2— An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband signaling, with a contiguous cable segment length of 100 meters and a maximum of 2 segments. 
10Base5—An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband signaling, with 5 continuous segments not exceeding 100 meters per segment. 
10BaseT—An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband signaling and twisted pair cabling.

What is the difference between an unspecified passive open and a fully specified passive open?

An unspecified passive open has the server waiting for a connection request from a client. 
A fully specified passive open has the server waiting for a connection from a specific client.

Explain the function of Transmission Control Block

A TCB is a complex data structure that contains a considerable amount of information about each connection.

What is a Management Information Base (MIB)?

A Management Information Base is part of every SNMP-managed device. Each SNMP agent has the MIB database that contains information about the device's status, its performance, connections, and configuration. The MIB is queried by SNMP.

What is anonymous FTP and why would you use it?

Anonymous FTP enables users to connect to a host without using a valid login and password. Usually, anonymous FTP uses a login called anonymous or guest, with the password usually requesting the user's ID for tracking purposes only. Anonymous FTP is used to enable a large number of users to access files on the host without having to go to the trouble of setting up logins for them all. Anonymous FTP systems usually have strict controls over the areas an anonymous user can access.

What is a pseudo tty?

A pseudo tty or false terminal enables external machines to connect through Telnet or rlogin. Without a pseudo tty, no connection can take place.

What does the Mount protocol do?

The Mount protocol returns a file handle and the name of the file system in which a requested file resides. The message is sent to the client from the server after reception of a client's request

What is External Data Representation?

External Data Representation is a method of encoding data within an RPC message, used to ensure that the data is not system-dependent.