Top Networking Interview Questions (2024) - InterviewBit
Top Networking Interview Questions (2024) - InterviewBit
Have you ever heard of the Internet or the NET? I guess you have, as you
are already reading this article on Interviewbit surfing the internet. But,
have you ever thought about the internet? The Internet is a network of a
network connecting all different network-enabled devices which enable
data and information sharing between them and that makes computer
networks a core part of our life and technical interviews.
Network Types
Create A Free
Personalised Study
Plan
Get into your dream companies
Create
with expert guidance My
Plan
Real-Life Prep for Custom
Target Plan
Problems Roles Duration
Type Description
MAN
It connects and covers the whole city.
(Metropolitan
E.g. TV Cable connection over the city
Area Network)
VPN encrypts the internet traffic and disguises the online identity.
Link: A link or edge refers to the connectivity between two nodes in the
network. It includes the type of connectivity (wired or wireless) between
the nodes and protocols used for one node to be able to communicate
with the other.
Nodes and Links
Real-Life Detailed
Problems reports
Bus Topology:
Bus Topology
All the nodes are connected using the central link known as the bus.
If the main cable gets damaged, it will damage the whole network.
Star Topology:
Star Topology
All the nodes are connected to one single node known as the central
node.
It is more robust.
Easy to troubleshoot.
Mainly used in home and office networks.
Ring Topology:
Ring Topology
If one of the nodes are damaged, it will damage the whole network
Mesh Topology
A 0.0.0.0 127.255.255.255
B 128.0.0.0 191.255.255.255
C 192.0.0.0 223.255.255.255
D 224.0.0.0 239.255.255.255
E 240.0.0.0 255.255.255.254
Also, check out Scaler topics' Free Computer Networks course with
certification to learn the fundamentals of computer networking.
11. What are Private and Special IP addresses?
Private Address: For each class, there are specific IPs that are reserved
specifically for private use only. This IP address cannot be used for
devices on the Internet as they are non-routable.
IPv4 Class Private IPv4 Start Address Private IPv4 E
A 10.0.0.0 10.255.255.25
B 172.16.0.0 172.31.255.25
C 192.168.0.0 192.168.255.2
The OSI model has seven layers. The principles used to arrive at the
seven layers can be summarized briefly as below:
bits over a
communication
channel.
Chooses which
type of
transmission
mode is to be
selected for the
transmission.
The available
transmission
modes are
Simplex, Half
Duplex and Full
Duplex.,
transmission
errors.
It also allows
detecting
damaged
packets using
the CRC
(Cyclic
Redundancy
Check) error-
detecting, code.
When more
than one node
is connected to
a shared link,
Data Link Layer
protocols are
required to
determine
which device
has control
over the link at
a given time.
It is
implemented by
Layer Unit Exchanged Description
protocols like
CSMA/CD,
CSMA/CA,
ALOHA, and
Token Passing.
It controls the
operation of the
subnet.
The network
Network Packet layer takes care
of feedback
messaging
through ICMP
messages.
layer, and
ensure that all
the pieces
arrive correctly
at the other
end.
The Transport
Layer takes
care of
Segmentation
and
Reassembly.
Dialogue
control is using
the full-duplex
link as half-
Layer Unit Exchanged Description
duplex. It sends
out dummy
packets from
the client to the
server when
the client is
ideal.
The
presentation
layer is
concerned with
the syntax and
semantics of
the information
PPDU -
Presentation transmitted.
Presentation
Protocol Data It translates a
Unit
message from
a common form
to the encoded
format which
will be
understood by
the receiver.
Layer Unit Exchanged Description
It contains a
variety of
protocols that
are commonly
APDU - needed by
Application
Application users.
Protocol Data
Unit The application
layer sends
data of any size
to the transport
layer.
Layer Description
TCP/IP UDP
Connection-Oriented
Connectionless Protocol
Protocol
ARP Protocol
It is embedded with
It is obtained from the network
NIC
Subnet
Hub Switch
Full-Duplex transmission
Half-Duplex transmission mode
mode
ipconfig ifconfig
Internet Protocol
Interface Configuration
Configuration
Command used in
Command used in MAC,
Microsoft operating
Linux, UNIX operating
systems to view and
systems to view and
configure network
configure network interfaces
interfaces
Firewall
14. What are Unicasting, Anycasting, Multicasting and
Broadcasting?
Unicasting: If the message is sent to a single node from the source
then it is known as unicasting. This is commonly used in networks to
establish a new connection.
Check the browser cache first if the content is fresh and present in
cache display the same.
If not, the browser checks if the IP of the URL is present in the cache
(browser and OS) if not then request the OS to do a DNS lookup
using UDP to get the corresponding IP address of the URL from the
DNS server to establish a new TCP connection.
A new TCP connection is set between the browser and the server
using three-way handshaking.
The web servers running on the Servers handle the incoming HTTP
request and send the HTTP response.
The browser process the HTTP response sent by the server and may
close the TCP connection or reuse the same for future requests.