Networking Flashcards

1
Q

Explain what is a LAN(Local Area Network).

A

A network of computing devices connected within a small geographical area, typically within the same building, such as a home, school or office.
Small number of connections and close proximity of devices allow for faster data transfer than other networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain what is a WAN(Wide Area Network).

A

A network of computing devices covering a large-scale geographical area, typically across multiple geographical locations.
Generally consists of multiple smaller networks such as LANs or MANs(Metropolitan Area Network).
Not limited to a single geographical location and can span long distances via long-range transmission media such as telephone lines, fibre optic cables or satellite links unlike LAN.
Can be either private or public.
Wan uses more expensive and high-speed technology than a LAN.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the intranet?

A

It is a private network based on internet (TCP/IP) protocols and services to share a company’s information with its employees.
Can have websites, FTP servers, interactive client/server applications.
But a firewall surrounds an intranet to fend off unauthorised access.
It provides greater speed, security and is platform independence.
A company’s internetwork is composed of many different networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the use for IP Addressing and DNS (Domain Name Server)?

A

The purpose of an IP address is to handle the connection between devices that send and receive information across a network. The IP address uniquely identifies every device on the internet. Without one, there’s no way to contact them. (Range from 0.0.0.0 to 255.255.255.255)
The DNS translates human readable domain names (for example www.amazon.com) to machine readable IP addresses (for example, 192.0.0.1).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How is data transmitted in a packet-switching network?

A

Data are sent in terms of packets (a unit of data). Headers are attached to identify their order. Packets travel through the network from node to node. They intermingles with packets of other conversations on the shared network. The packets then reassembled at the end.
Example: Computer to Computer communications postal system. Where the packets are like letters and is mixed with other letters.
It allows for the network to be fully utilised.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is data transmitted in a circuit switching network?

A

Establish a dedicated communication path through different network nodes between the source and destination. There are physical links between nodes. On each link, there is a logical channel dedicated to the connection. Data from the source transmitted through the dedicated link as soon as possible (aka quickly). Hence, there is no delay between reception and retransmission.
Example: The Telephone system, where there is a direct line between the 2 telephones dedicated to that connection. Users hear each other as they speak.
It is expensive as it does not allow people to share your connection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the Application Layer?

A

It sends and receives data for particular applications.
Protocols: HTTP, HTTPS, FTP
. It provides a service for the end user to send a request and get a response back from the server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the Transport Layer?

A

It provides communication session management between computers. It defines the level of service and status of the connection.
Protocols: TCP, UDP
TCP: Responsible for breaking up data into segments, reassembling them at the other end, resending data lost in transit, resequencing data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the Internet Layer?

A

Routes packets across networks.
Packages data into IP datagrams, containing source and destination address information.
Used to forward datagrams between hosts and across networks.
IP packets are handed over to a data link protocol, such as Ethernet, for the actual, physical transmission to the next node in the network path.
Protocols: IP
Where IP Addresses are used at.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the Link Layer?

A

Specifies how data is physically sent through the network.
Including how bits are electrically signalled by hardware devices that interface directly with a network medium.
Where MAC Addresses are used at.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Advantages of Packet Switching Network over Circuit Switching Network.

A

It is more efficient than circuit switching as data packets are able to find the destination without the use of a dedicated channel. It reduces lost data packets because packet switching allows for resending of packets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Advantages of Circuit Switching Network over Packet Switching Network.

A

It decreases the delay that user experience for real time communication like before and during phone calls. This is because the call is done with a steady bandwidth, dedicated channel and consistent data rate. Its packets are always delivered in the correct order.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Circuit Switching?

A

It establish a dedicated communication path through different network nodes between the source and destination.
There is a physical links between nodes. No delay between reception and retransmission.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Packet Switching?

A

There is no dedicated transmission capacity along a path.
Data are sent in terms of packets(a unit of data)
Headers are attached to identify them.
Packets travel through the network from node to node.
Intermingled with packers of other conversations on the shared network.
Packets reassembled at the end.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Explain the advantages of a client-server network compared to a peer-to-peer network.

A
  1. Client server has centralised management of the shared data resulting in better security as it can determine who have access rights and what kind for the shared data. As all the information is stored on a server, it is easier to secure data and setting of permissions on the server. Client-server network is more secure as it contains a list of usernames and passwords for authentication. On a peer-to-peer network, data can be distributed across many computers that is acting as both a client and a server so it is much harder to ensure data security across many computers.
  2. Since it is a centralised system, it can be easy to add more resources and clients.
  3. In a client-server network, each peer has only has to service local processing demands while requests for data are rooted to a dedicated server. Resources of P2P are divided between local activities and servicing network requests from other peers, this makes allows the clients to be faster in CS than P2P as less processing power is required for clients in client-server.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Explain the the advantage of peer-to-peer network over a client-server network.

A
  1. Client-server network is more expensive to implement. It usually requires faster and more reliable and robust hardware that costs more. Specialised software like network operating system and systems administrator to configure and oversee the network are other cost incurred that is not incurred on a peer to peer network.
  2. Failure of the server on a client-server network will cripple the whole network. Resources will not be accessible during the downtime and work cannot be done. Unlike a peer to peer where a single failure does not affect all computer.
17
Q

Advantage and disadvantage of a circuit-switched network.

A

Advantage: 1. No need to store and retransmit information. 2. Dedicated transmission path. 3. Bandwidth is guaranteed. 4. Low overhead
Disadvantage: 1. Sender and receiver must both be ready before transmission can occur. 2. If transmission path is cut, transmission is interrupted. 3. Low utilisation, prioritisation not possible.

18
Q

Problems and solution of packet switching.

A

Problem: 1. Packets might arrive in different sequence. 2. No dedicated path for transmission. 3. Multiple retransmission may result in data corruption. 4. Some overhead(extra space/processing) involved with every packet sent.
Solution: 1. Packets have headers to identify them. 2. Packets take the shortest available path. 3. Additional bits for error detection and correction.

19
Q

Explain the need for communication protocols in a network.

A

Communication protocols are a set of rules for both sender and receiver to follow when exchanging information. Without it, both parties would not be able to understand each other.

20
Q

Explain the client-server architecture.

A

Client-server model is one where services are provided by computers called servers and requested by computers called clients. A client initiates the communication by sending a request to the server, and the server sends a response containing server back to the client.

21
Q

Why is IPv6 better than IPv4?

A

The Internet Protocol version 6 (IPv6) is more advanced and has better features compared to IPv4. It has the capability to provide an almost infinite number of addresses. It is replacing IPv4 to accommodate the growing number of networks worldwide and help solve the IP address exhaustion problem.

22
Q

TCP vs UDP

A

TCP is more reliable than UDP as it establishes connection between client and server before sending the data. TCP is more ordered as their messages arrives in sequence while the the messages of the UDP can arrive in any order.
UDP is faster as they do not need to wait for a response on whether the data packets have been received or not.

23
Q

Range of port number for free use.

A

0-1023

24
Q

Advantages and disadvantages of moving to cloud hosting.

A

Advantage:
a) save money /
b) simpler management / bigger company has more resources for security /
c) less staff training needed for MapsG
Disadvantage:
a) difficult to audit/investigate if cloud provider has properly implemented security measures /
b) less control over data, backup, archival, deletion /
c) cloud provider data policies may change, affecting ability to abide by PDPA

25
Q

Explain the sequence when user send request to the domain.

A

Client checks in DNS cache for IP address.
if not found, client sends DNS request to DNS server, forwarded recursively to DNS root nameserver {13 root servers worldwide}
DNS root nameserver directs DNS server to TLD server {for the domain: .com, .org, etc}, which provides details about the authoritative nameserver
authoritative nameserver returns IP address (which is stored in DNS cache)

26
Q

Express the purpose of HTTP and explain how the protocol works.

A

HTTP gives users a way to interact with web resources such as HTML files by transmitting hypertext messages (GET/POST/RESPONSE) between clients and servers.