Devops Interview Questions

13,094 devops interview questions shared by candidates

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 +
avatar

Devops Engineer

Interviewed at H2O.ai

3.1
18 Dec 2019

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 +

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.
avatar

Devops Engineer

Interviewed at Amazon

3.5
17 July 2022

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.

Viewing 1 - 10 interview questions

Glassdoor has 13,094 interview questions and reports from Devops interviews. Prepare for your interview. Get hired. Love your job.