Commvault Process Online Test Advanced Coding Round Technical Interview HR Interview
Commvault Online Test First Round Questions https://www.naukri.com/code360/interview-bundle/commvault
Advanced Coding Round
Advanecd Coding Rounds for Commvault They usually ask you to implement OS Concepts Study OS Concepts such as Process Scheduling, Memory Management and File Management
Design & Implementation of OS problems You will need to eecute these on Linux systems only. System calls need to be executed and you will need a Linux Virtual Machine running on the Windows environment The Oracle VM Box can be used. Learn how to set up a Linux VM on your system Please install a Linux VM using Oracle VM Box on your laptop
Some OS topics to prepare Scheduling algorithms implementation such as Round Robin, SJF, FCFS etc. Design & Implementation of the Linux Shell ( Command Interpreter ) Design & Implementation of Page Replacement Policies such as LRU, LFU
C Program to implement the Linux shell You need a thorough understanding of the fork(), exec() and pipe() system calls to implement the Linux Shell This will be an interesting assignment. Please go through the program in detail and understand the code in detail Make a note of the header files required https://www.geeksforgeeks.org/c/making-linux-shell-c/
C Program to implement the Linux shell The parent process ( shell ) waits for the user to type a command. When the command is typed the shell ( parent ) forks a child process which executes the exec system call to run the command. They ( parent and child ) communicate through the pipe ( inter process communication ) Pipes can only be used between related processes. If the processes are unrelated we have to use Message Queues or Shared Memory
How Heap Memory is managed and how Garbage collection works in Java https://opendsa-server.cs.vt.edu/ODSA/Books/CS2/html/HeapMem.html
Some OS topics to prepare Unix File System Implementation and De-duplication Engine have been asked several times. Prepare as much as possible on these. It is not just the design. They also want you to implement at least partially.
Advanced Coding Test Questions Unix File System implementation With operations such as : Create a virtual memory for a file (allocate virtual memory in blocks) Deleting a file. Recovering the old instances of a file based on time stamp value etc. After every hour looking at the progress few people were rejected straight away.. This unix file system question in round 2 is a traditional question asked in CommVault for years now.. People aspiring for Commvault do practice this question.
Intro to Unix File System https://mohitdtumce.medium.com/introduction-to-unix-file-system-b20fa74b36b5 https://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/12_FileSystemImplementation.html
Advanced Coding Test Questions De-duplication Engine They wanted us to create a de-duplication engine that acts as a file storage, retrieval, and handling system. It must take some files as inputs, take data from it in chunks of 8 byte size and store it in some efficient data structure of our choice. The data structure should be robust and must not store duplicate chunks. Instead, it has to make a reference to the original chunk that is repeated. They gave us 1 and half hour to come up with the most efficient design. Every 1 hour or so they kept sending off people whose design is not so good. They gave us some helper functions and header files as well. They kept helping us with the code and helped solving minor issues as well. They kept monitoring our performance throughout the round.
What is data de-duplication ? https://www.coursera.org/articles/deduplication https://www.ibm.com/think/topics/data-deduplication
LRU Cache Implementation C++/Java code available https://favtutor.com/articles/lru-cache-implementation/
Round Robin Scheduling Algorithm https://www.studytonight.com/cpp-programs/cpp-program-for-round-robin-scheduling-algorithm