Devops engineer Interview Questions

4K

Devops Engineer interview questions shared by candidates

Top Interview Questions

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

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

6 Answers

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

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

ps aux | grep -i

Show More Responses
H2O.ai

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

Yes

Yea

Yes

Intuit

How do you stay organized? Describe tools and techniques.

3 Answers

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

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

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

Cloudreach

Describe the difference between TCP and UDP.

3 Answers

I described the difference between TCP and UDP.

Stateless and stateful..

Stateless and stateful..

Galvanize

I was asked about network protocols and linux commands. Never been my plan to know that by heart.

3 Answers

Bring your network-system bible with you. Or learn it by heart :-)

If you went to a doctor to remove your brain tumor and he goes on google to research the different types of brain tumor so he could would you want him to do the op on you? Less

you don't know your linux commands? then run this on your production server, you'll get recognized for it. trust me [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" Less

Doctor.com

Write the Binary Search Algorithm

2 Answers

I was not prepared to answer that question seeing as the job announcement was very geared towards sys admin and server management. I wasn't initially asked any questions based off the job requirements I had to initiate it Less

I'm sorry that you had a bad experience! We were definitely a little slow on that span of interviews - and for that I can only apologize. We are definitely working to improve our processes. As to the coding challenge - that was sometimes offered to candidates who seemed like they might be low in experience for the specific role we were seeking to fill, but with some potential for one of our developer roles. Good luck on any future endeavors! 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

Elinvar

How can you have 3 usable IPs in a /30 subnet

2 Answers

cancel the BC and use MAC table

32-30=2, 2^2=4, 4-2=2, the answer is no, max. 2 addresses

Imgur

I was asked to to participate in several thought experiments. They were cleverly designed for you to showcase your skillset.

2 Answers

I really just provided honest input during the thought experiments, and this demonstrated my proficiency with the concepts and software involved in the thought experiments. Less

Through questions like this, interviewers are mostly trying to test your skillset (and its relevance to the role) as robustly as possible, so be prepared for multiple offshoots and followups. It could be a useful exercise to do mocks with friends or colleagues in Imgur to get a real sense of what the interview is actually like. Alternatively Prepfully has a ton of Imgur Senior DevOps Engineer experts who provide mock interviews for a pretty reasonable amount. prepfully.com/practice-interviews Less

Viewing 1 - 10 of 4,411 Interview Questions

See Interview Questions for Similar Jobs