ch 14 fcs Flashcards

1
Q

Network

A

computer network connects computing devices, called ‘network nodes’, together to enable the exchange of data and access to shared peripherals

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

Opposite of a network

A

standalone computer.

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

use of networks

A

share data and resources, internet services and to communicate with each other.

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

Networks models

A

outline rules and standards about how communications should take place over a network and between networks

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

2 types of Network models

A

1 TCP/IP 2.OSI

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

Data Encapsulation

A

This process adds extra information (protocol
details) to the data at each layer of the OSI or
TCP/IP model. These added features ensure
secure and reliable data transmission

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

Data De-encapsulation

A

encapsulated data is de-encapsulated. This means the added information (headers and trailers) is removed to reveal the original data.

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

what happens at the application layer

A

user enters URL The browser sends a DNS query to resolve the domain name into an IP address

The browser prepares an HTTP request to the server.

The HTTP request is handed over to the Transport Layer (Layer 4) via TCP.

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

what happens at the transport layer

A

It establishes a TCP connection between the client (browser) and the server using a three-way handshake.

It segments data into smaller chunks, assigns sequence numbers, and adds checksums for error checking.

It ensures reliable delivery by retransmitting lost or corrupted segments.

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

What is the three-way handshake in TCP?

A

SYN: The client sends a “synchronize” message to the server.

SYN-ACK: The server replies with a “synchronize-acknowledge” message.

ACK: The client sends an “acknowledge” message to complete the connection.

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

What information does TCP add to the data segments?

A

Source port : Identifies the client application.

Destination port (e.g., 80 for HTTP or 443 for HTTPS): Identifies the server application.

Sequence numbers and checksums for error detection and reliable delivery.

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

What happens at the Network Layer?

A

The TCP segments are encapsulated into IP packets.

Each packet includes:

Source IP address: The client’s local IP (e.g., 192.168.1.5).

Destination IP address: The server’s IP (e.g., 93.184.216.34).

The IP packet is forwarded to the Data Link Layer (Layer 2) for further processing.

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

What is DNS, and why is it used?

A

DNS (Domain Name System) translates human-readable domain names (e.g., www.example.com) into machine-readable IP addresses (e.g., 93.184.216.34).

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

What is the purpose of the three-way handshake in TCP?

A

It ensures a reliable connection is established between the client and server before data is transmitted.

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

What is the difference between a source port and a destination port?

A

Source port: Identifies the application on the client side (e.g., 12345).

Destination port: Identifies the application on the server side (e.g., 80 for HTTP or 443 for HTTPS).

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

What happens to the IP packet at the Data Link Layer (Layer 2

A

The IP packet is encapsulated into an Ethernet frame.

17
Q

What is the purpose of the Data Link Layer (Layer 2)

A

It handles the packaging of data into frames and ensures reliable communication within the same local network (LAN).

18
Q

What is the source MAC address in the Ethernet frame?

A

It’s the MAC address of the client’s Network Interface Card (NIC)

19
Q

What is the destination MAC address in the Ethernet frame?

A

It’s the MAC address of the default gateway/router

20
Q

What is a MAC address?

A

A unique identifier assigned to a device’s Network Interface Card (NIC) for communication on a local network.

21
Q

encapsulation at the Data Link Layer

A

wrapping the IP packet with a header and trailer to create an Ethernet frame.

22
Q

What happens at the Physical Layer (Layer 1)

A

The Ethernet frame is converted into bits and transmitted as electrical signals (via Ethernet cables or Wi-Fi) to the router.

23
Q

What does the router do when it receives an Ethernet frame?

A

It takes off the Ethernet header and looks at the IP packet.

24
Q

What happens if the IP packet is too large for the outgoing network?

A

The router fragments the packet to fit the Maximum Transmission Unit (MTU).

25
Q

How does the router determine where to send the IP packet?

A

It checks the destination IP address and uses its routing table to find the next hop.

26
Q

What happens after the router determines the next hop?

A

The packet is forwarded to the next router or the destination server through various hops.

27
Q

What does the final router in the destination network do?

A

It creates a new Ethernet frame with the server’s MAC address and sends it to the server’s NIC.

28
Q

What does the server’s NIC do when it receives the Ethernet frame?

A

It checks the destination MAC address, confirms it’s for the server, and passes the frame to the Network Layer (Layer 3).

29
Q

What happens at the server’s IP Layer (Layer 3)

A

It checks the destination IP address, strips off the IP header, and hands the packet to the Transport Layer (Layer 4).

30
Q

What does the server’s Transport Layer (Layer 4) do

A

It reassembles fragmented segments, checks the destination port number , and verifies data integrity using checksums.

31
Q

What happens if the data at the Transport Layer is incorrect?

A

The segment is discarded, and the client is asked to resend the data.

32
Q

What happens at the server’s Application Layer (Layer 7)?

A

The HTTP request is processed, and the server generates an HTTP response

33
Q

How does the HTTP response travel back to the client?

A

It passes down through the server’s layers (Application → Transport → Network → Data Link → Physical) and travels through the network to the client.

34
Q

What happens when the HTTP response reaches the client’s router?

A

It is passed up through the client’s layers (Physical → Data Link → Network → Transport → Application).

35
Q

What is the purpose of the checksum at the Transport Layer?

A

To verify the integrity of the data and ensure it wasn’t corrupted during transmission.