Thursday, January 21, 2016

Interview Questions


OM
1.How ping works?How Trace route works?
2.How a box decide whether to switch or route upon receiving a packet?
3.What is watchdog timer in GDB? Why we need it?
4.What are flags available in TCP header? Why we need PSH and URG(difference b/w them)?
5.TCP ack. No and seq. Num .. Explain.
6.What is SYN flood?what happens if SYN attack happens on a server?how to protect server from such attacks?
7.What is Firewall? What is ACL?What is NAT? Difference b/w Firewall and ACL?
8.In a sorted array we have numbers 1-10 and another variable a=5. Get two elements form array print if addition of those two elements are equal to variable a(=5).
9.What is priority Inversion/dead lock/spin lock/page trashing/Page fault?
10.Any idea about pinned pages(Linux)?
11.Difference amoung Interrupt ,Signal and Exception?
12.What is system call and why we need those?
13.Printing address of a variable in Kernel mode will gives Physical address or virtual address?
14.How Routing decision taken by a router(data structures lookup used)?
15.What is buffer corruption/overflow?
16.C memory layout? Why we need BSS?
17.How DPDK differ with my normal packet processing? (Questions about current proj)
18.How can we identify whether ping is failed on fwd path or reverse path?in case of fail?
19.Conditions for IP pak fragment and reassemble?
20. Socket programming sys_calls()?
21.Memcpy vs memmov() vs strcpy()?