SAN Engineer Interview Questions | Glassdoor

SAN Engineer Interview Questions

6

SAN engineer interview questions shared by candidates

Top Interview Questions

Sort: Relevance Popular Date

Repetitive questions on Selenium. Both the QA Manager and the Engineer were not sure about what they were asking.

1. Kmalloc/vmalloc 2. Memory Barriers. Types of memory barriers 3. C-program to traverse an array of integers that hold 0's or 1's, only once and sort them with all zeros on one end and all ones on another end of the array. Each element has to be traversed only once. 4. Volatile. What will be the behavior if an integer declared as int is typecasted to volatile while accessing. 5. How traceroute works 6. How do you implement a spin lock. 7. What happens if a transmitted TCP FIN packet is lost. I am sure he has a wrong answer in his mind for this. Hence you can't beat him. 8. How is printf implemented with variable length arguments. How are parameters passed to stack. 9. Familiarity with PCI and USB drivers if you have experience. 10. Bottom halves. What are the differences between softirqs, tasklets and workqueues. What happens if a tasklet/softirq is not able to schedule as the other one is holding a lock. 11. Print a given number as a power of 2. For ex: 15 = 2^0 + 2^1 + 2^2 + 2^3. Take care of corner cases. 12. C program to multiply two given numbers without using a " * ". 13. A 64 bit number is expressed as two 32 bit integers with hi and low as shown below typedef struct uint64_s { uint32 hi; uint32 low; } uint64_t; Write a program to add two 64 bit numbers. 14. Multi processor question: In a multi-processor environment, how does the packet pick only one processor ? 15. What does the program do ? What is the necessity of if statement ? Does it work for all data sets ? unsigned int n; n--; n |= n >> 1; n |= n >> 2; n |= n >> 4; n |= n >> 8; n |= n >> 16; if(sizeof(n) > 4) n |= n >> 32; n++; Ans: Given a number, program outputs the next largest power of 2. If input is a power of 2 itself, then output is same as input. This is because the number is decremented before performing the logic.

None, I was very thoroughly prepped on what kind of questions would be asked, and coached on how to answer.

Use of Static type in C &C++ (static Variable, Static Function) 2) What work we can do in C++ that we cannot do in C? 3) Difference between struct and class in terms of Data members as well as Function members? 4)) Difference between TCP and UDP? 5) Flow control mechanism in TCP? (Like windowing, etc) 6) What do u learn in wireless communications course? 7) What is 802.11 a/b/c/ad?

1. Kmalloc/vmalloc 2. Memory Barriers. Types of memory barriers 3. C-program to traverse an array of integers that hold 0's or 1's, only once and sort them with all zeros on one end and all ones on another end of the array. Each element has to be traversed only once. 4. Volatile. What will be the behavior if an integer declared as int is typecasted to volatile while accessing. 5. How traceroute works 6. How do you implement a spin lock. 7. What happens if a transmitted TCP FIN packet is lost. I am sure he has a wrong answer in his mind for this. Hence you can't beat him. 8. How is printf implemented with variable length arguments. How are parameters passed to stack. 9. Familiarity with PCI and USB drivers if you have experience. 10. Bottom halves. What are the differences between softirqs, tasklets and workqueues. What happens if a tasklet/softirq is not able to schedule as the other one is holding a lock. 11. Print a given number as a power of 2. For ex: 15 = 2^0 + 2^1 + 2^2 + 2^3. Take care of corner cases. 12. C program to multiply two given numbers without using a " * ". 13. A 64 bit number is expressed as two 32 bit integers with hi and low as shown below typedef struct uint64_s { uint32 hi; uint32 low; } uint64_t; Write a program to add two 64 bit numbers. 14. Given an array of integers. Given a number, print all the pairs in the array that have a sum equal to the given number. Ex: array: 7,2,9,1,6,7,13,0,5,5. Given number is 10. Output: 9,1 ; 5,5 ; 15. Multi processor questions. In a multiprocessor environment, how does a receiving packet gets processed by only one processor ? How does it pick the processor ? 16. What does this program do ? What do we need a if statement ? Does it work for all data sets ? unsigned int n; n--; n |= n >> 1; n |= n >> 2; n |= n >> 4; n |= n >> 8; n |= n >> 16; if(sizeof(n) > 4) n |= n >> 32; n++; Ans: Given a number, this program gives the next highest power of 2. If input is a power of 2, output is same as input as the number is decremented by one before performing the logic.

16 of 6 Interview Questions