Site Reliability Engineer Interview Questions
- 1of 1 vote
Answerswindowing in tcp
- logan July 05, 2018 in United States| Report Duplicate | Flag | PURGE
Adobe Site Reliability Engineer Network - 1of 1 vote
Answersstateful and stateless firewall
- logan July 05, 2018 in United States| Report Duplicate | Flag | PURGE
Adobe Site Reliability Engineer Network - 0of 0 votes
AnswersRead data from a API call that gives org structure data in JSON format and arrange that data in requested format
- logan July 05, 2018 in United States| Report Duplicate | Flag | PURGE
Linkedin Site Reliability Engineer Python - 0of 0 votes
Answerslog file parsing.
- logan July 05, 2018 in United States| Report Duplicate | Flag | PURGE
Linkedin Site Reliability Engineer Python - 0of 0 votes
Answersprint LinkedIn if a number is divisible by 4 and 6, Linked if it is divisible by 4 and in it is by 6.
- logan July 05, 2018 in United States| Report Duplicate | Flag | PURGE
Linkedin Site Reliability Engineer Python - 2of 2 votes
AnswersWrite a function that receives a position in 2 dimensional (x,y) array, which was initially initialized with 'o' (signals "water"), the function changes the value/state of that position to 'x' (signals "land") and returns the number of isles in the board.
- vesh February 08, 2017 in Irland
For example, for 3x3 board, it will initially look like the following:
o o o
o o o
o o o
After calling the function with the position (1,2), the board will look like the following:
o o x
o o o
o o o
and the functions returns 1
An isle is defined as 'x' surrounded horizontally and vertically with 'o'
In the following board there is only one isle
o o o
o x x
o x o| Report Duplicate | Flag | PURGE
Google Site Reliability Engineer Algorithm - 4of 4 votes
AnswersYou are given a scrambled input sentence. Each word is scrambled independently, and the results are concatenated. So:
- merlinme October 25, 2016
'hello to the world'
might become:
'elhloothtedrowl'
You have a dictionary with all words in it. Unscramble the sentence.| Report Duplicate | Flag | PURGE
Google Site Reliability Engineer String Manipulation - 0of 0 votes
AnswerI run ansible, but the remote machine suddenly down at the middle of the proccess? How do I fix it?
- maestrofx March 18, 2016 in United States| Report Duplicate | Flag | PURGE
xyz Site Reliability Engineer config management - 0of 0 votes
AnswersRunning ansible with my own script (say 1.0). But, for a month later, I've updated the ansible scripts more and more. And the remote machine need to orchestrate even provision again. How do I know that I can rollback to the state of ansible script version I used?
- maestrofx March 18, 2016 in United States| Report Duplicate | Flag | PURGE
xyz Site Reliability Engineer config management - 1of 1 vote
AnswersGiven a 2d array (say n*m), visit all elements faster than linear time (i.e. faster than m*n). (Assume not too big array. i.e. fits in memory etc.etc)
- AnonymousN December 08, 2015 in United States
I gave a solution: 4 pointers that start from 4 ends ((0,0), (0,n), (m,0), (m,n)) and walk the edges. Once done next inner rows and columns (i.e. (1,1), (1,n-1), (m-1,1), (m-1,n-1)). Easier to implement with just the indices and we can say 4 times faster. Another solution I gave was to use multithreading. He said no multithreading. But the interviewer was not convinced and he gave me a hint to use recursion (?). Couldn't get the solution that he wanted.| Report Duplicate | Flag | PURGE
Microsoft Site Reliability Engineer - 0of 0 votes
AnswersThere is a particular sequence that only uses numbers 1, 2, 3, 4 and no two adjacent numbers are the same.
- abc October 16, 2014 in India
Write a program that given n1 1s, n2 2s, n3 3s, n4 4s will output the number of such sequences using all these numbers.
Output your answer modulo 1000000007 (10^9 + 7).| Report Duplicate | Flag | PURGE
Linkedin Site Reliability Engineer Algorithm - 4of 4 votes
AnswersWhat happens when you type in shell
list=$(ls)
Interviewer expected the list of system-calls made, file-descriptors involved etc.
- Moony April 29, 2014 in United States| Report Duplicate | Flag | PURGE
Google Site Reliability Engineer Unix - -1of 1 vote
AnswerProgram to count all Response codes individually per database ( slideshare_backedn_fe01 is one db) in the given log file'
- swathi1243 March 09, 2014 in United States
output should like this
{
backend : backend name
{
200: 20
503: 3 where 3 is count of response codes 503
}
}
once again logfile looks like this
May 29 13:53:13 127.0.0.1 haproxy[27326]: 164.85.131.129:15592 [29/May/2013:13:53:13.671] slideshare slideshare_backend/fe01 1/0/1/106/296 200 451 - - --VN 1526/1526/837/402/0 0/0 {www.slideshare.net|Mozilla/5.0 (Windows NT 5.1; rv:10.0.4) Gecko/20100101 Firefox/10.0.4|http://www.slideshare.net/slideshow/embed_code/11959978?hostedIn=slideshare&referer=http://www.slideshare.net/goulart.sousa|} {2471317690|||pingback/embed_or_homepageplayerhits|s11959978/a8717995|} "GET /pingback/embed_or_homepageplayerhits/11959978?ref=http%3A%2F%2Fwww.slideshare.net
%2Fgoulart.sousa&_=1369853592559 HTTP/1.1"
May 29 13:53:13 127.0.0.1 haproxy[27326]: 217.129.26.81:50910 [29/May/2013:13:53:13.724] slideshare slideshare_backend/fe02 17/0/0/1/246 200 3291 - - --VN 1529/1529/839/435/0 0/0 {www.slideshare.net|Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)|http://www.slideshare.net/inexita/4|} {1098476889 1090975733|||||} "GET /images/fadedlogo.jpg?829e162373dc3b1cc145ba5b62aba32c8c804b67 HTTP/1.1"
May 29 13:53:13 127.0.0.1 haproxy[27326]: 79.154.237.97:50310 [29/May/2013:13:53:13.758] slideshare autosuggest_backend/solrsearch10_01 13/0/0/3/212 200 526 - - ---- 1528/1528/17/3/0 0/0 {autosuggest.slideshare.net|Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36|http://www.slideshare.net/faroviejo/las-10-ciudades-ms-grandes-del-mundo-y-la-paz-bcs|} {|||||} "GET /?q=las?10?ciudades?ma*&rows=5&wt=json&sort=frequency%20desc&fq=%2Bresults%3A%5B10%20TO%20*%5D&json.wrf=jQuery17209988682114053518_1369853526684&_=1369853590254 HTTP/1.1"| Report Duplicate | Flag | PURGE
Linkedin Site Reliability Engineer Algorithm - 2of 2 votes
AnswersGiven a set top box:
- chandeepsingh85 September 26, 2013 in United States
a, b, c, d, e,
f, g, h, i, j,
k, l, m, n, o
p, q, r, s, t
u, v, w, x, y
z
Write code to give the character sequence given a word, For example, if the word is "CON", the function will print this:
Right//now we're at B
Right//now we're at C
OK//to select C
Down
DOwn
Right
Right
OK//to select O
Left//now at N
OK//to select N
note: Be careful when you're at Z. if you go to the right, you will get stuck.
Afterwards, the interviewer adds a space to the right of 'Z' to test the code.| Report Duplicate | Flag | PURGE
Google Software Engineer / Developer Site Reliability Engineer String Manipulation Algorithm - 2of 2 votes
AnswersYou are trying to to daemonize an unknown, black-box binary executable. The binary executable returns no output to STDOUT or STDERR. Assume that the mystery binary return code is non-zero. What troubleshooting steps might you take to learn more about what the binary is supposed to do, and why it is failing?
- longbelly March 21, 2013 in United States| Report Duplicate | Flag | PURGE
Google Site Reliability Engineer Unix - 2of 2 votes
AnswersDuring boot, after the BIOS performs a successful power-on-self-test, describe everything that occurs until the console is presented to the user.
- longbelly March 21, 2013 in United States| Report Duplicate | Flag | PURGE
Google Site Reliability Engineer Computer Architecture & Low Level - 5of 5 votes
AnswersGiven a source string and a destination string write a program to display sequence of strings to travel from source to destination. Rules for traversing:
- Dee November 06, 2012 in United States
1. You can only change one character at a time
2. Any resulting word has to be a valid word from dictionary
Example: Given source word CAT and destination word DOG , one of the valid sequence would be
CAT -> COT -> DOT -> DOG
Another valid sequence can be
CAT -> COT - > COG -> DOG
One character can change at one time and every resulting word has be a valid word from dictionary| Report Duplicate | Flag | PURGE
Google Site Reliability Engineer - 1of 1 vote
AnswersGenerate a number is range (1,n) but not in a list (i,j)
- superffeng September 27, 2012 in United States for Site reliabilty
for example range is (1,1000), list is [2,3,5,9,199,200,344]| Report Duplicate | Flag | PURGE
Google Site Reliability Engineer Algorithm - 0of 0 votes
AnswersGiven a number represented as an array of digits, plus one to the number.
- superffeng September 27, 2012 in United States for Site reliabilty
ie. 1000 is [1,0,0,0] result is [1,0,0,1]| Report Duplicate | Flag | PURGE
Google Site Reliability Engineer Algorithm - 1of 1 vote
AnswersHow to check num is power of 2?
- superffeng September 27, 2012 in United States for Site reliabilty| Report Duplicate | Flag | PURGE
Google Site Reliability Engineer Algorithm - 1of 1 vote
AnswersGiven a BST, maximum and minimum value, find the sum of nodes with values between the above range
- bicepjai September 25, 2012 in United States for Google Engineering| Report Duplicate | Flag | PURGE
Google Site Reliability Engineer Algorithm - 0of 0 votes
AnswersWrite an algorithm to find the ‘next’ node (e.g., in-order successor) of a given node in a binary search tree where each node has a link to its parent.
- bicepjai September 25, 2012 in United States for Google Engineering| Report Duplicate | Flag | PURGE
Google Site Reliability Engineer Algorithm - 1of 1 vote
AnswersFind all unique pairs of element in an array that sum to S. For ex. If array = {2,4,6,4,6} and S = 8 then answer is {(2,6), (4,4)}
- irraju July 12, 2012 in United States| Report Duplicate | Flag | PURGE
Amazon Site Reliability Engineer Algorithm - 0of 0 votes
AnswersSuppose there is a linked list ,how to find it is circular and also find the node where it becomes circular..like say
1->3->4->6->8->0 | | 7->23->5->9
so here 4 is the head where circular linklist starts.
- sujita July 07, 2012 in United States for GGn| Report Duplicate | Flag | PURGE
Flipkart Site Reliability Engineer Algorithm - 0of 0 votes
Answer1.Explain Memory dumps in java
- sujita July 06, 2012 in India for GGN| Report Duplicate | Flag | PURGE
Oracle Site Reliability Engineer - 0of 0 votes
AnswersDesign/implement a Hashset class of your own.
- sujita July 06, 2012 in India for GGN| Report Duplicate | Flag | PURGE
Oracle Site Reliability Engineer Algorithm - 0of 0 votes
Answers1.sort array {0,1,1,0,1,0,1,0,0,1,1,1,0} of binary numbers in O(n) time complexity using property of binary numbers.(no counting here)
- sujita July 06, 2012 in India for GGN| Report Duplicate | Flag | PURGE
Oracle Labs247 Quality Assurance Engineer Site Reliability Engineer Arrays - 0of 0 votes
Answers1.Design one/two player tic-tac-toe,using Java.
- sujita July 06, 2012 in India for GGN| Report Duplicate | Flag | PURGE
Oracle Site Reliability Engineer Algorithm - 0of 0 votes
Answers1.Design a vending machine in java.takes coins of 2,3,7 ,using JAVA
- sujita July 06, 2012 in India for GGN| Report Duplicate | Flag | PURGE
Oracle Site Reliability Engineer Algorithm - 0of 0 votes
Answers
- sujita July 04, 2012 in India for noida1.Design a vending machine in java.takes coins of 2,3,7,JAVA 2.Design one/two player tic-tac-toe,Java. 3.sort array {0,1,1,0,1,0,1,0,0,1,1,1,0} of binary numbers in O(n) time complexity using property of binary numbers.(no counting here) 4.Design/implement a Hashset class of your own. 5.Memory dumps in java ....................................................................................
| Report Duplicate | Flag | PURGE
Oracle Site Reliability Engineer Java