Preguntas de entrevista de Devops engineer
6 mil
Preguntas de entrevista para Devops Engineer compartidas por los candidatosPrincipales preguntas de entrevista

How do you know how much memory your java application is taking on Linux?
6 respuestas↳
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. Menos

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 respuestas↳
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); } } Menos
↳
num = 0 for char in list('AZA'): num = num + ord(char) - ord('A') + 1 return num Menos


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 respuestas↳
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: " < Menos
↳
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. Menos
↳
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 Menos

How do you stay organized? Describe tools and techniques.
3 respuestas↳
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. Menos
↳
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. Menos
↳
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. Menos

Describe the difference between TCP and UDP.
3 respuestas↳
I described the difference between TCP and UDP.
↳
Stateless and stateful..
↳
Stateless and stateful..

I was asked to to participate in several thought experiments. They were cleverly designed for you to showcase your skillset.
2 respuestas↳
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. Menos
↳
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 Menos

If you could have one superpower...
2 respuestas↳
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. Menos
↳
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 Menos

How would you design a presence (ie: friends online list) system?
2 respuestas↳
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 Menos
↳
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... prepfully.com/practice-interviews Menos

Interview question were fair with modern technical question for the Devops profile.
2 respuestas↳
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. Menos
↳
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 Menos