C2005 MCQ Mock Practice Flashcards

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

Which DNS record does reverse lookup?

A

PTR record

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

Name 3 TCP header fields for reliability

A

Sequence #, Ack #, Window Size

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

Difference between mutex and semaphore?

A

Mutex=lock, Semaphore=counter

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

4 requirements for deadlock prevention?

A

1) Mutual Exclusion 2) Hold & Wait 3) No Preemption 4) Circular Wait

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

Compare AES vs RSA encryption

A

AES=Symmetric/fast, RSA=Asymmetric/key exchange

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

HTTP GET vs POST methods

A

GET=retrieve, POST=submit data

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

Which Wireshark filter shows only HTTP traffic?

A

http

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

What Linux command recursively deletes a directory?

A

rm -r

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

How to check open ports on Linux?

A

netstat -tuln or ss -tuln

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

Which command tests basic network connectivity?

A

ping

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

How to change file permissions to 755?

A

chmod 755 filename

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

Python socket programming uses which library?

A

socket

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

What three fields manage IPv4 fragmentation?

A

Identification, Fragment Offset, More Fragments flag

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

How does TCP congestion control handle packet loss?

A

1) Fast Retransmit (3 duplicate ACKs) 2) Timeout (halves cwnd)

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

What headers enable HTTP cache validation?

A

Last-Modified/If-Modified-Since + ETag/If-None-Match

17
Q

How are monitors different from semaphores?

A

Monitors: Implicit locks, OOP-style. Semaphores: Explicit wait()/signal()

18
Q

What checks are done for HTTPS cert validation?

A

1) Expiry 2) Domain match 3) Trust chain 4) Revocation