Week 4 Tutorial Flashcards

1
Q

What is the structure of an IPv4 address?

A

a 32-bit number that uniquely identifies a network interface on a machine

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

What is the prefix of an IPv4 address?

A

dotted decimal netmask, this defines where it goes

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

What is the subnet mask?

A

the bitmask that when applied by a bitwise AND operation to any IP address in the network, yields the routing prefix.

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

What is the TTL for a DNS?

A

setting for each DNS record that specifies how long a resolver is supposed to cache the query before it expires and a new one needs to be done

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

Why is caching DNS results close to client useful?

A

resolver uses record from cache instead of querying the server again

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

What is the iterative mode of a DNS server?

A

a DNS server is queried and it returns answer without querying other DNS servers even if it cannot produce an answer

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

What is the recursive mode of a DNS server?

A

takes website name or URL request from user and checks the records attained from DNS servers for assosiated IP. Might also query other servers for answer.

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

How are the 2 modes of DNS servers used?

A

recursive has a lot of security issues, but iterative only queries the one server so the two have drawbacks. As both have different advantages and disadvantages adds scalability and distribution

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

why can the UdpClient1 program can run and transmit even when UdpServer1
program is not running

A

as it is connectionless, so does not rely on a connection to set up to do processes

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

why cant the TdpClient1 program can run and transmit even when TdpServer1
program is not running

A

it is connection orientated

connection must be in place before anything can happen

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

How does multicast IP address differ to a unicast IP address?

A

multicast sends IP packets to a group of hosts on a network, whereas unicast sends to a singular host

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