Directi Interview | Set 10 (On-Campus)
DirectI came to my college for DevOps profile. The day started with PPT( pre-placement talk) and i was impressed with the work they are doing. So, I decided to give a shot.
The whole process consists of : MCQ round, Coding round and 3 face to face interviews.
In this round they gave 20 MCQs. We have to solve them in 30 min. The questions are solvable but few of them are difficult. The questions are from OS, CN, Algorithms and Data Structure, and general aptitude. One can solve them in 30 min but the catch is that each wrong answer carry negative marks(1/5 th).
In this round they gave one coding problem which contain three sub parts and one bonus part.We have solve this problem in 2 hours.This question is based on client – server model. You can use any language of your choice they will provide you the required documentation. DirectI people are so helpful and gave lot of support while solving the problem.
a) Write a client server programs that use tcp connection to communicate and transfer a text file from client to the server.
b) Client will send the file name and directory. The server has to create file name in that particular directory and save the data in the file.
c) The user at the client end dynamically update the file like deleting the whole content of the file or appending more data at the end of the file. The client can able to adopt accordingly to send the data.
Example: Suppose in.txt contains 3 lines of data and the client has already sent first 2 lines, if a user opens the file suddenly and delete the whole data, then client should stop sending data. Instead of deleting the data if the user append 4 more lines then the client should sent the remaining 5 lines.
d)Bonus: If the user suddenly press ctr+C then the client should print the total number of bytes that it has sent to the server, before it get terminated.
3.Face To Face:
This is pure technical round. It lasted for almost 40 min. In this round they asked more questions on OS, CN and few on linux. They are looking for practical answers rather than text book based answers. It will be more effective if you can answer them based on your experience. Interviewer asked me to select any one of them and i chose OS so he started with OS.
- What is the difference between process and thread. Why we need threads?
- What is deadlock and give one example?
- What is semaphore and mutex?
- Can you list all cpu scheduling algorithms that you know? What is your favorite algorithm and why? can you come up with new algorithm and explain how it works?
- What is DNS and why we need it? Can you explain whole DNS message exchange process to convert url to IP address.
- What is TCP and can you explain three way handshaking? what is man in middle attack and how it can happen in this handshaking process.
- Since we have MAC, why we need IP address?
- What is UDP, can you name few applications where UDP is used and why not TCP?
- What is the method to find the MAC address of PC in the same LAN(I told them using ARP Table we can find the MAC)
- what is the use of Ifconfig
4.Face To Face:
This round is purely based on resume. They asked me about my projects that i mentioned in the resume and the challenges that i faced during that time.This round lasted almost 30min.
- Can you draw the tcp/ip protocal stack and explain the functionality of each layer.
- I did a project on randomized algorithm to mine frequent item-sets. So they asked me how my approach improve mining task.
- I had one year work ex so they asked me about my role and the challenges that i faced in that period.
4.Face To Face:
This round is more focused on distributed systems and infrastructure. They asked me about infra planning and load balancing. Few more questions on my resume. There was no HR round so they asked hr related questions in this round. are you really interested in DevOps profile. My resume contained algorithms related stuff so it might be reason for this question.
The whole process went very smoothly and the directI people were really helpful and encouraging.
Thanks GeeksforGeeks Team and continue your amazing journey.
If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
My Personal Notes arrow_drop_up
Please Login to comment...