ADVNET-DayBefore Flashcards

(75 cards)

1
Q

Does SLAAC provide a permanent address

A

No IPv6 SLAAC addresses can change and may use randomised values for privacy

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

What is stateless DHCPv6 used for

A

To provide extra config like DNS and NTP alongside SLAAC without assigning addresses

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

What does DORA stand for in DHCP

A

Discover Offer Request Acknowledge

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

What does DAD stand for in IPv6

A

Duplicate Address Detection

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

How many usable IPs in a /24 subnet

A

254 usable IPs

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

What does the /27 prefix mean

A

27 bits are network bits leaving 5 for hosts which gives 30 usable addresses

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

Why is the first IP in a subnet reserved

A

It represents the network address not assigned to any device

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

What is the broadcast address used for

A

To send a message to all devices in a subnet

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

What does PMTUD stand for

A

Path MTU Discovery

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

Do IPv6 routers fragment packets

A

No fragmentation is handled by the sender using Path MTU Discovery

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

How does IPv6 detect duplicate addresses

A

Using DAD Duplicate Address Detection

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

What is the difference between PMTUD and longest prefix match

A

PMTUD finds smallest packet size longest prefix match is used in routing

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

What is a recursive DNS query

A

A full query done by a client to a resolver expecting a complete answer

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

What is an iterative DNS query

A

A partial query where the resolver asks each server step by step

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

What does DNS TTL control

A

How long a DNS record is cached before rechecking

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

What is a glue record in DNS

A

An IP address given with a nameserver to prevent circular lookups

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

What is the Kaminsky attack

A

DNS cache poisoning using guessed 16-bit QIDs

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

How does DNS amplification work

A

Small queries generate big responses sent to a spoofed victim IP

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

What does DNSSEC protect against

A

Spoofing and cache poisoning by authenticating DNS records

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

What do DoH and DoT protect against

A

Eavesdropping and tampering by encrypting DNS traffic

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

Does TCP provide encryption

A

No encryption is added by TLS above TCP

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

Is HTTP stateless

A

Yes each request is independent unless session data is manually handled

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

Why is active FTP bad for NAT

A

Because the server opens a new connection back to the client which NAT often blocks

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

Why is passive FTP better for NAT

A

Because the client opens both control and data connections

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is the difference between FTP control and data channels
Control is for commands data is for file transfer
26
What ICMP error is sent in IPv4 for large packets
Type 3 Code 4 Fragmentation Needed and DF set
27
What ICMP error is sent in IPv6 for large packets
ICMPv6 Type 2 Packet Too Big
28
Are gateway IPs reserved
No they are assigned from usable IP addresses
29
What port does FTP use for control connection
Port 21
30
What port does FTP use for active data connection
Port 20
31
What is the purpose of the network address in a subnet
It defines the subnet and is not assignable to a host
32
What is the purpose of the broadcast address
To send traffic to all hosts on the subnet
33
IPv6 Link Local address range
fe80::/10
34
IPv6 Multicast address range
ff00::/8
35
IPv6 Unique Local address range
fc00::/7
36
IPv6 Loopback address
::1
37
IPv6 Unspecified address
::
38
IPv6 Global Unicast range
2000::/3
39
What are IP classes used for historically
They were used to divide the IPv4 address space into blocks of different sizes
40
Why was classful addressing wasteful
Class A gave 16 million IPs to each org Class B gave 65k IPs Most orgs didn’t need that many
41
Why did we move to CIDR
CIDR allows more efficient flexible address allocation instead of fixed size classes
42
Do I need to memorise exact class boundaries
No just know they existed and were inefficient
43
What are the class A B C default masks
Class A is slash 8 Class B is slash 16 Class C is slash 24
44
How can I remember class sizes
A is massive B is medium C is small like a coffee order
45
How were classes identified
By the starting bits Class A started with 0 B with 10 C with 110
46
Is classful addressing still used today
No it’s obsolete CIDR replaced it in the 90s
47
Why are there so few IPv4 addresses left
Because classful allocation was wasteful and IPv4 space is only 32 bits
48
What is classful addressing
An old method of dividing IPv4 addresses into fixed-size blocks called classes
49
How many main IP classes were used
Three main classes A B and C
50
What was the IP range for Class A
0.0.0.0 to 127.255.255.255
51
What subnet mask did Class A use by default
/8
52
How many hosts per Class A network
About 16 million
53
What was the IP range for Class B
128.0.0.0 to 191.255.255.255
54
What subnet mask did Class B use by default
/16
55
How many hosts per Class B network
About 65 thousand
56
What was the IP range for Class C
192.0.0.0 to 223.255.255.255
57
What subnet mask did Class C use by default
/24
58
How many hosts per Class C network
About 254
59
What is the problem with classful addressing
It wastes IP space because blocks were too large for most networks
60
Why was Class A wasteful
Each org got 16 million IPs even if they only needed 10
61
What replaced classful addressing
CIDR Classless Inter-Domain Routing
62
Why is CIDR better than classful
CIDR allows variable-length subnetting and more efficient address use
63
Is classful addressing still used today
No it is obsolete and replaced by CIDR
64
Do I need to memorise exact class boundaries
No just know they existed and were inefficient
65
What is VRRP and what problem does it solve
It lets multiple routers share a virtual IP so that if one fails another can take over without disruption
66
What is Multipath TCP used for
To allow one TCP connection to run over multiple interfaces like WiFi and 4G with seamless failover
67
Why is UPnP considered a security risk
It lets devices open NAT ports automatically without authentication which malware can exploit
68
Why is logging difficult with CGNAT
Multiple users share one public IP so NAT must log ports and timestamps but logs grow huge and get deleted quickly
69
Why does active FTP break with NAT
Because the server tries to open a new connection back to the client which NAT blocks
70
Why is passive FTP more NAT friendly
Because the client opens both connections to the server so NAT is not confused
71
Why is RTP used instead of TCP for media
Because RTP uses timestamps and sequence numbers and avoids retransmits for lower latency
72
What is DNS compression and why is it used
It saves space in DNS responses by replacing repeated domain names with binary pointers
73
What is stored in a UDP DNS message
A header a question and one or more answers plus optional authority and additional sections
74
What is an RRset in DNS
A group of DNS records with the same name and type like multiple A records for the same domain
75
Why must RRsets be cached as a whole
To ensure consistency and support load balancing and redundancy