C2005 MCQ Mock Practice Flashcards
Which DNS record does reverse lookup?
PTR record
Name 3 TCP header fields for reliability
Sequence #, Ack #, Window Size
Difference between mutex and semaphore?
Mutex=lock, Semaphore=counter
4 requirements for deadlock prevention?
1) Mutual Exclusion 2) Hold & Wait 3) No Preemption 4) Circular Wait
Compare AES vs RSA encryption
AES=Symmetric/fast, RSA=Asymmetric/key exchange
HTTP GET vs POST methods
GET=retrieve, POST=submit data
Which Wireshark filter shows only HTTP traffic?
http
What Linux command recursively deletes a directory?
rm -r
How to check open ports on Linux?
netstat -tuln or ss -tuln
Which command tests basic network connectivity?
ping
How to change file permissions to 755?
chmod 755 filename
Python socket programming uses which library?
socket
What three fields manage IPv4 fragmentation?
Identification, Fragment Offset, More Fragments flag
How does TCP congestion control handle packet loss?
1) Fast Retransmit (3 duplicate ACKs) 2) Timeout (halves cwnd)
What headers enable HTTP cache validation?
Last-Modified/If-Modified-Since + ETag/If-None-Match
How are monitors different from semaphores?
Monitors: Implicit locks, OOP-style. Semaphores: Explicit wait()/signal()
What checks are done for HTTPS cert validation?
1) Expiry 2) Domain match 3) Trust chain 4) Revocation