Housing.com interview experience Real time questions & tips from candidates to crack your interview

Devops Engineer

Housing.com
upvote
share-icon
2 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Confidence, Database, Programming, Linux
Tip
Tip

Tip 1 : You should be updated with what's going on with latest devops developments.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application process
Where: Referral
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date20 Oct 2015
Coding problem4

First round was skype based technical interview.
You are connected through screen on the terminal and basic to advanced shell scripting is asked.
They will ask basic to advanced shell commands, some shell scripting tasks and about linux kernel.
Tips: You have to be really sure in a skype interview that you know the question being asked, as you can't take much time.

1. OS Question

What is a process in linux?

Problem approach

An instance of a running program is called a process. Every time you run a shell command, a program is run and a process is created for it. Each process in Linux has a process id (PID) and it is associated with a particular user and group account.

2. OS Question

How does a linux boot?

Problem approach

Stages : 
The machine’s BIOS or boot microcode hundreds and runs a boot loader.
Boot loader finds the kernel image on the disk and loads it into memory, to start the system.
The kernel initializes the devices and their drivers.
The kernel mounts the basis filesystem.
The kernel starts a program referred to as init with a method ID zero
init sets the remainder of the system processes in motion.
For some purpose, init starts a method permitting you to log in, typically at the top or close to the top of the boot sequence.

3. OS Question

How will you monitor file change in linux ?

Problem approach

inotifywait from inotify-tools is useful if you want to run a command every time a file (or any files in a directory) change.
For example:
inotifywait -r -m -e modify /var/log | 
while read path _ file; do 
echo $path$file modified
done

4. Shell Scripting Question

How will you kill all java process in one command ?

Problem approach

Use jps to list running java processes. The command returns the process id along with the main class. You can use kill command to kill the process with the returned id or use following one liner script.

kill $(jps | grep | awk '{print $1}')
MainClass is a class in your running java program which contains the main method.

02
Round
Medium
Video Call
Duration60 minutes
Interview date22 Oct 2015
Coding problem3

This round was also on skype.
This round was more DevOps tools oriented and language programming.
They asked me about Chef, Ansible and some other tools used for configuration management and deployment.
They ask if your familiar with AWS and other cloud services.
Also you will get to show that you can code in any scripting languages like ruby or python.
Also some database related things.
Tips: Only mention the tools you really know inside out in the resume.

1. Technical Question

Ruby Program to check if a directory exists or not

Problem approach

Ruby provides File.directory?() method to check whether a directory exists or not. This function returns TRUE if the directory exists, otherwise, it returns FALSE.

#Ruby function to check directory existence
if(File.directory?('arjun')) 
puts 'Directory exists'
else
puts 'Directory not found'
end

2. DBMS Question

SQL Query Optimisation Techniques

Problem approach

1. LIMIT command
The limit command is used to control the number of rows to be displayed from the result set. The result set needs to display only those rows that are required. Therefore, one must use limit with the production dataset and provide an on-demand computation of rows for the production purpose

2. Inner joins vs WHERE clause
We should use inner join for merging two or more tables rather than using the WHERE clause. WHERE clause creates the CROSS join/ CARTESIAN product for merging tables. CARTESIAN product of two tables takes a lot of time.

3.Indexing
An index is a data structure used to provide quick access to the table based on a search key. It helps in minimizing the disk access to fetch the rows from the database. An indexing operation can be a scan or a seek. An index scan is traversing the entire index for matching criteria whereas index seek is filtering rows on a matching filter.

3. Technical Question

Use cases for Chef and why is it needed

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
Software Engineer
4 rounds | 12 problems
Interviewed by Housing.com
1469 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 7 problems
Interviewed by Housing.com
1392 views
0 comments
0 upvotes
company logo
Lead Software Engineer
4 rounds | 4 problems
Interviewed by Housing.com
1250 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3501 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Devops Engineer
3 rounds | 3 problems
Interviewed by Amazon
0 views
0 comments
0 upvotes
company logo
Devops Engineer
4 rounds | 7 problems
Interviewed by Amazon
2094 views
0 comments
0 upvotes
company logo
Devops Engineer
2 rounds | 3 problems
Interviewed by Optum
541 views
0 comments
0 upvotes