Devops Engineer Interview Questions

DevOps is a quickly growing space for tech companies. Employers hiring DevOps engineers are looking for candidates with strong programming abilities, a knowledge of re-engineering processes and great communication skills to fast-track projects between IT professionals and software engineers. Expect to answer various technical questions that will evaluate your knowledge of tech tools and processes such as HTTP. Experience in software engineering or a related field is expected.

6,522 Devops Engineer interview questions shared by candidates

Top DevOps Engineer Interview Questions & How to Answer

Here are three of the top questions asked in DevOps engineer interviews and tips on how to answer them:

Question No. 1: What are the top DevOps tools, and which ones have you worked with before?

How to answer: This open-ended question is designed to showcase your knowledge and experience with a variety of available DevOps tools. Share any tools you have specific experience with and how you have used them to develop good quality software. If you have generalised knowledge of many tools, you can easily refer to how to use them. If you have limited experience with DevOps tools, you can share that you specialise in those tools and how you have used them.

Question No. 2: What is the need for DevOps?

How to answer: This open-ended question allows you to demonstrate and communicate your knowledge of the advantages of using DevOps. This question also lets you share examples of companies who have used DevOps to achieve levels of performance that far exceeded expectations. You can attest to the benefits of DevOps and how these companies need it to continue to expand.

Question No. 3: What are the most important things that DevOps help achieve?

How to answer: This open-ended question is used to understand your perception of what is important when it comes to DevOps. Share the positive effects of DevOps and its relation to customer satisfaction, clearer communication and better collaboration. When possible, share examples from your previous experience that demonstrate these important aspects of DevOps.

Top Interview Questions

Sort: Relevance|Popular|Date
Devops Engineer was asked...15 September 2014

How do you know how much memory your java application is taking on Linux?

6 Answers

jps |awk "{print $1}" | xargs -L 1 ps -ef -o %mem

ps aux | grep -i

pmap or top is probably the simplest. Just be sure not to confuse virtual memory with physical. Less

Show more responses

A programming question ? Related to excel spread sheet. The question goes this way. columns will go infinitely : A , B.......................Z,AA,AB............AZ,AAA................ZZZZ so interviewer wanted me to choose a programming language of choice and pass the column name and print corresponding column number. A - 1 B- 2 Z - 26 AA - 27 1 + 26 AZA - 1 + 26 + 26 +

3 Answers

I tried solving it with python I gave some solution it didn't worked well.

public class Column { static int getColumnPosition(String cell) { int columnposition = 1; int row = 0; int j = 0; char[] cellAsArray = cell.toCharArray(); char column = cellAsArray[cellAsArray.length - 1]; for (int i=0; i = 'A' && letter <= 'Z') { letterPosition += 1 + letter - 'A'; } return letterPosition; } public static void main(String[] args) { int position = getColumnPosition("ZZ"); System.out.println("Position is " +position); } } Less

num = 0 for char in list('AZA'): num = num + ord(char) - ord('A') + 1 return num Less

Capital One

Are you willing to work on 3AM Production Support without hesitation ?

3 Answers





Q1: You have been given an Array of Strings and you have to find out which string occurrence is maximum. If there is a tie then take the last string. For eg: input = {cat, dog, lion, cat, lion, dog, hen, cat, dog} then output = dog Q2: You have been given a error log file and you have to output the ERROR logs in between any two dates of the month. Q3: you have been given a text file: a) replace word Amazon with Andy in first 50 lines. b) replace word Amazon with Andy from 50th line till the last line. Q4: You have been given a table name world where you would have to output from table city if city is not null else output the table country.

3 Answers

Q1. You have been given an Array of Strings and you have to find out which string occurrence is maximum. If there is a tie then take the last string. For eg: input = {cat, dog, lion, cat, lion, dog, hen, cat, dog} then output = dog Code: #include using namespace std; int main() { string input[] = {"cat", "dog", "lion", "cat", "lion", "dog", "hen", "cat", "dog"}; int n= sizeof(input) / sizeof(input[0]); int freq=0; string res; for(int i=0; i= freq) { res=input[i]; freq= count; } } //end of i loop cout<<"Element is: " < Less

Q2: You have been given a error log file and you have to output the ERROR logs in between any two dates of the month. $cat file_name | grep "error" | sed -n '/pattern1/ , /pattern2/p' eg: cat abc.log | grep "ERROR" | sed -n '/Oct 13 10:10:10/ , /Oct 15 11:11:11/p' I hope it helps. Less

Q3: you have been given a text file: a) replace word Amazon with Andy in first 50 lines. b) replace word Amazon with Andy from 50th line till the last line. a. $ head -50 file_name | sed 's/Amazon/Andy/' > new_file_Name file_path b. $ tail -n +50 file_name | sed 's/Amazon/Andy/' >> new_file_Name file_path Less


How do you stay organized? Describe tools and techniques.

3 Answers

Trello for managing/limiting work in progress; focusing on one task at a time. Don't use email at all if you can help it. Use Slack for team communication as it links with Trello effectively. Keep all of your code in GitHub and commit+push often to track changes. Don't be someone responsible for releasing software; be someone who enables teams to release via services or automation you provide. Work hard to keep from being a bottleneck or gatekeeper of environments. Don't keep secrets or build silos of knowledge. The mindset you adopt will enable you to uplift others and enable better communication across your team and organization. Less

I use Outlook for email, contacts, calendar, and tasks in the work environment, and I use OneNote to collect and search through important notes. With my smartphone I use Google's calendar, gmail, and search. Less

Choose carefully what you put your attention on and resist the urge to multitask. Choose your top 2 or 3 skill areas and focus on cultivating them. Tools like Outlook are not helpful for DevOps. Shut it off for long periods of time each day. Less


Describe the difference between TCP and UDP.

3 Answers

I described the difference between TCP and UDP.

Stateless and stateful..

Stateless and stateful..


Interview question were fair with modern technical question for the Devops profile.

2 Answers

After completing all the 3 rounds. they told me that they've a cultural check round. which infact was more like a technical discussion again. And finally HR mailed saying you've passed all the tests and discussed about CTC process and asked for the formal documents. Then the process of regular follow-up starts. And HR told me they want to have one more hangouts round which never happened. Less

Yes....I have the same experience .they are not sure of how many rounds should they have . And how to conclude. They lack aquisition process Less

Blue Nile

If a developer came up to you and just said "Oh this is broken and I'm not sure what's wrong with it, can you help me," how would you begin troubleshooting?

2 Answers

Given the ambiguity of the problem I would first specifically ask for additional details that will help me determine what I need to do. First thing would be - is this happening on a server? If it is I'd need to gather hostname or IP. Afterwards I'd ask for some specifics as to what application or service is having a problem and if it is something custom built. If it is custom built then I would ask what the application is trying to do and at what point is failure happening? Hopefully the interviewer would provide additional details as to what exactly is broken what the application is and essentially answer all these questions Less

I would first wonder why there is not proper logging the developer cannot access to narrow down the issue. This would be a major action item from this issue. I would narrow down whether the issue is code, server, or networking. First thought is what changed recently and when was the last time it was working. Is the issue isolated or spans multiple items. Deduce the problem 1 thing at a time. But definitely drive change. Test driven development, proper logging/monitoring, and automate the human hands out of the picture. Less


If you could have one superpower...

2 Answers

Be clever when responding. Whether it's the ability to fly, see into the future or leap over tall buildings in a single bound, you should always make a connection to your professional contributions. The superpower you choose need to relate back to an organization or how your skills would benefit others. For example, the ability to read someone's mind can help you create better solutions for a client. Less

Meh. These questions always freak me out a little bit. I don't think it was considered seriously, instead looking for someone with a little bit of life in them. Typical programmer trap though - flying is a subset of teleportation :P Less


How would you design a presence (ie: friends online list) system?

2 Answers

K/V stores, queues, distributed systems, etc etc. If you don't have an opinion on this, you haven't been on-call for a chat system before :P Less

In these sorts of interviews you really need to drill down and understand what the interviewer is looking for. A good way to simulate a real interview experience is to do a mock with one of the Imgur Devops Engineer experts on Prepfully, rated super strongly on TrustPilot... Less

Viewing 1 - 10 of 6,522 interview questions

See Interview Questions for Similar Jobs

devops managerlinux administratordevops architectsystems engineeraws engineercloud architectsite reliability engineerrelease engineerlinux systems administrator

Glassdoor has 6,522 interview questions and reports from Devops engineer interviews. Prepare for your interview. Get hired. Love your job.