r/devops • u/Dubinko Dad and Engineer • Apr 09 '24
had DevOps interview at Google ... Here are the questions
Hi Guys, couple months ago I had an interview at Google for Senior Site Reliability Engineer, SE (system engineering) position.
It took me some time to recall questions and write them plus I added some additional relevant questions that I used for preparation. Before the interview I received a pdf "Google Interview Prep Guide Site Reliability Engineering" with areas to prepare and books to read (if somebody needs this pdf dm me and I will forward it)... nevertheless interview was still quite tough and not the typical DevOps interview I was used to.
I'm posting it on https://prepare.sh/interviews/devops
I create this website to help our community with interview prep
If you liked it, please share with your friends so I could do more of devops content, thank you
14
u/Classic_Handle_9818 Apr 09 '24
So i post these as well, mostly community driven for interview questions that i do for work
1
1
174
u/dragons_fire77 DevOps Architect Apr 09 '24 edited Apr 09 '24
I had three different 'devops' interviews with Google over the past 12 years and it was vastly different each time and twice the job posting was NOT in line with what the interviewer asked. It's the one piece of advice I give to people going into devops interviews: sometimes the job listing doesn't actually match what the interviewer is looking for and you may walk away disappointed and it's okay.
Edit: Should probably add that it seems to be a large company thing more than a small company thing. I got the feeling during these situations that the hiring manager asked the job posting team for a 'devops engineer' post and wires got crossed on the posting. I've seen similar, but on a lesser scale, at some medium-sized companies as well.
34
u/langenoirx Apr 10 '24
When I interviewed at Amazon, the tech review asked me either things that I rated myself low on their scorecard or things that weren't in the job description. Then when I didn't do well, he started asking me questions for things that were actually listed on my resume, and when I answered those correctly, he literally said to me that he wasn't sure if I was lying on my resume and just wanted to be sure...
6
u/cyclone_engineer Apr 10 '24
Feel like Iām missing something, what if you did well on the stuff that you rated yourself low on as well? What difference would that make if he jumped straight to questions related to your CV?
Was it an online interview and he was benchmarking a negative in case you might be cheating?
7
u/langenoirx Apr 10 '24
I don't know what he would have done if I had hypothetically answered the questions I rated as low on their scorecard well. The thing is however that he asked me a number of questions for things that were not in my wheelhouse of self assessment nor were in my understanding of the job description and then he asked me questions that were about technology that was on my resume in black and white which I answered and then basically called me a liar.
3
1
u/davy_crockett_slayer Apr 10 '24
Did you get the job?
13
u/langenoirx Apr 10 '24 edited Apr 10 '24
No I went through two rounds and after that interview they told me they weren't moving forward. Was contacted again the following year, didn't get that interviewer, passed the tech screen, then had another six interviews with "star" questions, well architected framework, Amazon leadership principles, etc, so something like 7 or 8 interviews at this point, and still came up with no offer. They contacted me again the following year and I declined to interview, which was probably the right call because the following year, they started doing the RTO and layoffs.
4
u/mikeslominsky Apr 10 '24
Wow. Thatās brutal. At least you got more interview experience.
4
u/langenoirx Apr 10 '24
I never wanted to work for a FAANG, but that is the truth. It definitely made me consider how I looked at the systems around me, for better or worse.
4
u/FourierEnvy Apr 10 '24
Yeahhh fuck FAANG. They're not worth the headache IMO.
3
u/langenoirx Apr 10 '24
Exactly. I was thinking get in, get a couple years (if I could stand it) on my resume, then retire to some cushy 9 to 5 where I just have to focus on doing good job and not "re-inventing the internet" every quarter. Honestly, I'm tired of working for big tech entirely.
2
u/klipseracer Apr 11 '24
There's other big impact roles out there if you don't mind startups and small companies. I work in the AI industry and deliver a product that will affect myself in my daily life that I can see and touch and be a customer of which is pretty neat.
The down side, is that I work for a startup, which is a never ending abyss of work and you pay with your mental health.
Needless to say once I've got a few of these products over the finish line I'll be feeling the market. The market isn't good right now but I still get recruiters contacting me once every week or two for 'senior' roles.
1
u/AMadRam Apr 14 '24
FAANG/Big tech interviews are an absolute pain but there is a reason why they hire the best of the best.
45
u/ReidZB SRE Apr 09 '24
Google hires for the role (SRE-SWE or SRE-SE), not specific positions, even though job listings are often for specific positions :/
Interviewers are drawn from across the org, and just about the only thing they're told is e.g. "This person is interviewing for L5 SRE-SE, please evaluate them on {Linux Internals, Networking, NALSD, ...}". Even if you're applying for "Cloud SRE", you will most likely get interviewed by folks in Ads, Cloud, Search, YouTube, etc.
Interviewers also have broad latitude to ask their own questions in their own way. They're encouraged to use standard question banks, but I absolutely have colleagues who've developed "their question" and carefully honed it over time - sometimes using a standard question as a base, sometimes not!
But in general, it's sound advice. "DevOps" is an overloaded term and means different things to different people.
-23
5
Apr 10 '24
This can be a deliberate strategy, those type of companies are especially looking how you cope with situations where you are not fully in your comfort zone and have to deal with something you have not to much knowledge of, this will test your analytical skills instead your pure knowledge and or experience. They are not interested in guys who are very good in a subject, they want people that can solve problems on an unorthodox and creative way. Experts are just a commodity for them.
5
0
Apr 10 '24
[deleted]
1
u/Defiant-One-695 Apr 11 '24
Any coding questions? If so what were they like?
0
Apr 11 '24
[deleted]
1
u/NoConcern4176 May 08 '24
It made sense when you mentioned California. Most of that money gets eaten up by their taxes
126
u/Sinnedangel8027 DevOps Apr 09 '24
As someone who has worked at google, these are just the screening questions. Later interviews get much more difficult and technical.
Back when I worked there years ago (2014 - 2016), it went like this. Each interview will be about an hour. They'll start with a screening interview from a recruiter or a junior-ish person like OP's sample questions. Assuming you pass, you'll have 2 or 3 more phone/video screenings with other engineers of various skill levels. Assuming you pass those, you'll move on to an onsite battery of interviews. These will consist of 4 or 5 interviews about an hour each, with a lunch break. These interviews can be brutal, so pucker your butthole. You'll normally interview with more senior members of the teams.
There's not really a way to arbitrarily prepare for the interviews and role. You either know your stuff or don't. You can read cracking the code, do practice exams, etc. Google uses a lot of in-house tools, but they'll ask more general questions regarding software, implementation, technologies, etc. The whole interview process just feels like a knowledge flex, and it's something I hated about interviewing people and being interviewed.
If you're looking to target google. Take a good few of the GCP practice exams and pass them with flying colors, dig deep on linux and the cli, and dig deep on python and/or go. That'll get you over the finish line. Although there is a personality thing to watch for. You are graded on your "googlyness," aka how well you culturally fit with the team and primarily the interviewer. So don't be abrasive or too odd, be confident but not cocky, be humble but don't lack a spine, relax, etc.
And just because it happens every time I mention that I worked at google. Don't dm me, I can't help you pass or get a job.
49
u/lupinegray Apr 09 '24
If you're looking to target google. Take a good few of the GCP practice exams
Do they have any plans to migrate to AWS?
11
1
14
u/ReidZB SRE Apr 09 '24
If you're truly targeting Google, it helps to know the interview structure - ask your recruiter, especially prior to the "virtual onsite" round (I hate that term). Assuming it hasn't changed, for SRE-SE, it'll be something like 1 NALSD, 1 Unix & Linux Internals, 1 Troubleshooting, 1 Programming, and 1 Googlyness & Leadership.
Unix & Linux Internals is somewhat controversial; many interviewers have decided to assess it through troubleshooting, so you may end up with two slightly different troubleshooting interviews. Also, I believe it can be swapped out depending on your background (e.g., Networking instead of Linux Internals).
NALSD has a chapter in Google's SRE workbook.
Programming tends to be "more practical" for SRE-SE. Think real-world(-ish) problems you might actually need to solve in the day-to-day.
14
1
u/SuperQue Apr 10 '24
Looking at the post, this seems like more a first phone screen than a recruiter screening. At least when I was there, the screeners only asked 3 basic questions.
The depth of those questions seems like more a first technical phone screen.
But I left goog in 2013, so it's been a while since I was familiar with the process.
1
u/johny_james Apr 10 '24
What do you mean harder?
OPs questions are literally portraying what questions sre asked during the SRE interviews...
I've seen multiple Google SREs mention exactly the same type of interview process and category of questions.
And they are really not the usual type of work for an SRE in other companies.
0
Apr 09 '24
[deleted]
28
u/BaconSpinachPancakes Apr 10 '24 edited Apr 10 '24
my first mentor as an intern was an asshole. He would regularly make fun of ppl that didnāt know as much or if they made mistakes. He clearly had an ego problem. And⦠is now at Google lol
10
u/SuperQue Apr 10 '24
Which is sad, because it was pretty great for a long time. I worked there in 2005 and it was fantastic.
When I left for a startup, it was a the height of the Google Plus bullshit, but it was still a great place overall.
My former coworkers would ask "When are you coming back?" every year or so up until about 2018-2019. The culture shift was underway.
I know very few people from those days that are still there. Most have left, some got laid off in the last couple years. The rest are just there for the golden handcuffs.
3
u/gowithflow192 May 12 '24
Similar for me. I know a big bully, worst guy I ever worked with, everyone at work knew and joked how much of a firebrand he was. He ended up at Google. So much for their hiring process.
25
Apr 09 '24
I don't think I could answer all of these off the top of my head tbh.
3
u/Phate1989 Apr 10 '24
I think I can do 4 of them well, and 2 or 3 pretty ok, that's about it though.
Im not super great with bash, but I can check disk space and proc usage for sure.
1
10
u/kobumaister Apr 10 '24
Great guide. I'll never understand these linux questions... No, I can't remember awk commands, and I'll never do as I have a very bad memory, or route... F, I have to look at man every time I make a tar file...
On the other hand, those design questions are hard... "Design Netflix"...
Great post, thanks!
27
u/DustOk6712 Apr 09 '24
Realistically, at a company like Google would you as an engineer seriously 'awk' http logs? Surely they have logging systems. I genuinely don't understand why ask edge case scenario questions.
5
u/ph34r Apr 09 '24
That's what caught me by surprise as well. Didn't expect these types of questions since they seem like they'd be seldom used at Google's scale.
9
u/ReidZB SRE Apr 09 '24
Ideally, interviews select people who could be successful at Google. Prior experience at Google-scale isn't necessary.
That said, personally I think the awk question is really bad unless your interviewer lets you arbitrarily search for awk references, stackoverflow, etc.... unless you for some reason explicitly listed awk expertise on your resume, in which case fair game I suppose.
Like for me, if someone asked me that, I'd sit there for a few seconds and then respond "so, uh, can I write that in Python instead?"
1
u/johny_james Apr 10 '24
Prior experience at Google-scale isn't necessary.
Google literally designs their interview to find candidates who worked on high scale projects.
6
u/MarquisDePique Apr 09 '24
Not every log of every system goes into elk or splunk et al.
Think about it. company the size of google - logging every http get or put request? No this is something you do a debugging situation, so you're likely just grabbing logs out of a http damon temporarily - on the cli using awk
14
u/SuperQue Apr 10 '24
Yes, Google logs every user request. If it's a user action, it's logged.
Most system to system stuff is also logged, but with less retention.
Source: Former Google Logs SRE.
-7
u/MarquisDePique Apr 10 '24
A user request within the scope of an application is a much higher level concept than every http request hitting an endpoint.
Eg before I have made a user request to search - just loading the google homepage is 40+ http requests.
Typing something in the box and hitting search, that turns it into another 110+ requests.
I believe they log the fact that someone hit the page, what they typed, what was offered in terms of autocomplete - etc. This data has value.
If you're claiming that every single time someone hits a google sponsored http endpoint that they're individually logging for each of those 150 requests - the method, the url, the headers, the client ip, the protocol, the cookie, the ssl etc - you're dreaming. This data is expansive and has next to no value other than in aggregate for statistical purposes.
9
u/SuperQue Apr 10 '24
Yup, all 150+ of those are logged.
This data is expansive and has next to no value other than in aggregate for statistical purposes.
lol, this is Google we're talking about. They very much use these logs for pretty deep analytical processing.
you're dreaming
You underestimate the massive amounts of Exabytes of storage Google has these days. Even when I was there over a decade ago, we had many hundreds of PiB of logs stored.
Google is well known to be a crazy user data hoarder, and it's not a lie.
You're arguing with someone who was there, and worked on logs storage systems.
-10
u/MarquisDePique Apr 10 '24
You're arguing with someone who was there, and worked on logs storage systems
Yet curiously you're seemingly misunderstanding googles scale and architecture. I'll leave it there.
5
u/SmellsLikeAPig Apr 09 '24
We are hardly Google and have all logs in Loki.
-5
u/MarquisDePique Apr 10 '24
Show me a company that really has all their logs in an aggregator and I'll show you a company paying way too much for storage.
All is a relative term, because everyone's logging requirements are different. Do you log all your TCP flow traffic? Do you log the debug level output of all your operating system and their damons, all your applications? All your hardware if you're on prem or all your cloud control plane? Every auth attempt success/failure, every SMB transaction?
No my friend, I highly doubt you have all your logs and anything back from that is a shades of grey that are different for everyone's environment and use case.
1
u/poolpog Apr 10 '24
I actually think that yes, at a company like Google, engineers do indeed "awk" text data more often than you think. This stuff (i.e. file-based, log-like, colmnar, text data) shows up extremely often.
I work for a media streaming company with petabyte-scale streams and I use awk or awk-like tools all the time. In addition to logging systems and APM, etc.
1
u/danakil74 Apr 11 '24
I agree in some case but if you are connected directly to the system because troubleshooting, itās way faster to go for the combo like grep | awk | sort | uniq -c.
17
Apr 09 '24
[removed] ā view removed comment
13
u/SmellsLikeAPig Apr 09 '24
Chances are I can then use documentation to get up to speed instead of wasting memory space on mostly useless stuff...
6
5
5
Apr 10 '24
While studying these questions, I just realized ip forwarding value is 1 on my machine. I haven't touched it I think. Should I be concerned? I use Linux Mint with dual boot.
3
u/mezbot Apr 10 '24
On your personal machine? If so, there are tons of āhardeningā configs that you donāt have which are implemented on a business network. Most are due to the fact that you would have hundreds or thousands of devices that can potentially be exploited by hopping between them as they are on the same network.
It doesnāt hurt to harden your personal devices but many of the ācorporate networkā practices arenāt exploitable, or there is no value in exploiting them, on your personal network.
1
1
1
u/waste2muchtime Apr 10 '24
Well, at least now I know I won't be able to work at Google cause I would stumble on 9/10 questions.
1
u/Dubinko Dad and Engineer Apr 10 '24
We all prepare for those interviews mate, whoever claims that this is Too easy is either genius or lying. It is like an exam and they have specific books they ask you to read before the interview.
1
1
u/OhMyForm Apr 10 '24
It suggests to submit a PR in some of your replies does that mean theres a git source somewhere?
2
u/Dubinko Dad and Engineer Apr 10 '24
yes, I'm releasing source code of front-end (articles) in 1-2 days and will be posting an update.
1
1
Apr 11 '24
Is it really supposed to be implemented in bash or are those examples? Meta when I did interviews with them let me use whatever language I wanted.
2
3
3
3
u/smikkelhut Apr 10 '24
Some of those questions look like an old style RHCE 5 or 6 exam by Red Hat lol
4
11
u/115v Apr 09 '24
No way this was for a senior role
21
u/Defiant-One-695 Apr 09 '24
It could have been an initial screening interview.
17
u/tamale Apr 09 '24
This is the case. This is just the screener
5
2
13
1
1
u/too_afraid_to_regex Apr 09 '24 edited Apr 09 '24
I was thinking the same thing and will probably be downvoted into oblivion, but these seem too easy for a senior role, early round I guess.
1
u/theyellowbrother Apr 10 '24
awk is pretty straightforward. Especially for your typical linux sysadmin. I did grep, awk, sed early in my career and something you use everyday. I'd get a request like grep out the http logs for this IP address or look at Postfix logs for outgoing mail to these domains.
0
u/SuperQue Apr 10 '24
Yup, these are the screener questions given to the recruiter. It doesn't even count as an actual interview round.
7
Apr 09 '24
Doesnāt seem to bad, a few things like the awk command might take me a couple minutes to figure out since I donāt use it a lot, but overall not too challenging with a little prep time
2
u/MoreCowbellMofo Apr 09 '24
Thanks for posting. Iāve just picked up the book for SRE. Look forward to seeing how much of this stuff is covered in there now Iāve read this
1
u/CyberSpaceJunkie Apr 10 '24
Which book?
1
u/MoreCowbellMofo Apr 10 '24
Site reliability engineering published by OReilly but it seems the content is from within Google
2
u/hades20122 Apr 10 '24
Am i a fault that I can't evenly self answer any question in writing bash script ? System monitor using bash ? oh god, can I use google to interview to google, please?
2
2
u/Sidzure Apr 10 '24
Great. Can you please share pdf document, sent to you. I'm preparing for the Google, wanted to work for it once in my career.
2
u/MartinBaun Apr 11 '24
Someone's said these are way too easy and get even more technical and I just...
2
u/Dangerous_Object3286 Apr 17 '24
No "how does traceroute work"? I had an interview with them years ago and it was very scholastic. Being largely self taught and having learned stuff on the job, I struggled with some of their questions
2
u/ForeverYonge Apr 10 '24
And itās a bunch of command line trivia. Iām disappointed but not surprised, the Google people actually were proud to work for is long gone.
1
Apr 10 '24
Man reading those questions Iād have no clue, just when I think Iām doing pretty good in my DevOps career I see stuff Iāve never heard off :( awesome site, very helpful!
1
u/No-Sandwich-2997 Apr 10 '24
!RemindMe
1
u/RemindMeBot Apr 10 '24
Defaulted to one day.
I will be messaging you on 2024-04-11 08:30:53 UTC to remind you of this link
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Info Custom Your Reminders Feedback
1
1
u/mothzilla Apr 10 '24
Haha suck it Google I know your questions I'll be CTO before the year is out.
1
u/poolpog Apr 10 '24
the responses here are funny to me because the only section I am highly confident in is the linux section with the Awk question. I use awk probably daily. It is super useful. I think y'all should legitimately consider learning, really learning, that "log analysis with awk" question. I do that sort of task all the time and it isn't like my logs aren't in a collector/aggregator/analysis tool (i.e. they are)
1
u/Grouchy-Friend4235 Apr 10 '24
Some of these test specific knowledge instead of ability. That's silly. I know companies do that, yet it has no value to eg know specific awk syntax or iproute etc. What you need to know are concepts and how to solve problems.
1
u/thifirstman Apr 10 '24
An interview at google seems like an interview in a parallel world where there is no such thing as google.
1
1
Apr 11 '24
Hard questions but this is what I would expect from senior sre.
Would have to specifically prepare for them, but see absolutely no point as chatgpt is my new āmanualā with examples.
1
0
u/G-SRE Apr 12 '24
Sorry but as a Senior SRE and interviewer at Google, I really donāt like that you shared the exact questions you were asked, especially for the NALSD and coding/scripting topics.. We specifically ask you not to do this, because once the questions are posted online we have to blacklist them and change up our question sets. Now I canāt use these questions for future interviews at any level.
-1
u/msacks_ Apr 10 '24
Who would want to work at Google anyway? They don't even have their own custom instruction set architecture like AWS does except for their Queefdom Computer (Quantum Computer).
-5
u/ipromiseimcool DevOps Apr 10 '24 edited Apr 10 '24
Wow this is heavily Linux based. I get Linux use is standard for pretty much every DevOps role but thatās a lot of Linux for the technical screen.
Edit: Damn guys thereās other things in a DevOps engineers life besides debugging a kernel crash thatās all Iām saying.
9
7
1
0
0
-2
-2
-2
-2
u/MrScotchyScotch Apr 10 '24
Honestly, not a bad set of questions, but I kind of expected a lot more for a senior position. I'm hoping the rest were just left out. Or maybe I'm just too old...
-49
u/theyellowbrother Apr 09 '24
seriously? I can do that in my sleep. Looks really easy.
16
2
u/devopszorbing Apr 09 '24
this is just the screening, this was not the real interview
-2
u/theyellowbrother Apr 09 '24
I figure but the title said interview. screeners are design to give core competency questions to guage if they move to the next round
3
0
Apr 09 '24
[deleted]
52
u/derprondo Apr 09 '24
You just described every publicly traded tech company. I've come to terms with it and I'm ok with it, the pay makes up for it.
3
91
Apr 09 '24
[removed] ā view removed comment
65
u/insaneroadrage Apr 09 '24
You and me both. Like, Iāve touched every piece of these questions, but f me if I remember awk or ip routing commands at the top of my head. Am I to believe a senior SRE isnāt seriously going to be like⦠āI forgot the syntax, let me āgoogleā that?ā And is also at the same time, designing the next youtube, and a new CDN service? Come onā I guess this is also why Iām not making 200k+ š
66
u/zoddrick Apr 09 '24
I'm making 200k+ and I still couldn't answer most of these without googling them. The point of experience isn't to know every answer from memory. It's to understand problems and which solution fits your parameters. Such as time, money, and performance.
I'll take engineers who are good at that over those who can memorize answers.
18
u/sedition Apr 10 '24
"How fast can you learn something new in your field of expertise?"
9
u/zoddrick Apr 10 '24
Yeah and are you willing to learn. I had a college professor that said - Do you sip from the fountain of knowledge or did you drink.
6
u/thekingofcrash7 Apr 10 '24
Unfortunately that is difficult to interview for
5
u/zoddrick Apr 10 '24
It's hard to interview for at scale. If you need 10000 clones of a specific type of engineer then it's damn near impossible. But if you're building a team more organically then you can work out who has experience and who doesn't and who can learn on the fly.
3
u/NeverMindToday Apr 10 '24
Maybe something like: "you need to solve x" or "you need to do y"... "what do you search for?". A lot of experience is knowing where to look - what kinds of starting points you can use or existing knowledge you can leverage etc.
1
u/Defiant-One-695 Apr 10 '24
It depends how much they help you focus you're preperation. If they narrow it down, it's not terrible.
3
u/Defiant-One-695 Apr 10 '24
DevOps is a very broad church. Many engineers aren't using awk on a regular basis because it's been abstracted away with tools like splunk.
2
u/zoddrick Apr 10 '24
I use awk all the time but im not using it in conjunction with looping over data and printing out specific cells. i just wouldnt write something like that using awk. I would probably write some go or python really quick to do that because it would be much cleaner and easier to understand.
7
u/GauntletWizard Apr 10 '24
The point of these questions isn't to see that you know all of them. It's to find one or two of them that you do have deep knowledge of, or have recently worked with and can talk more on.
Source: I was an SRE interviewer at Google
6
u/Lyesh Apr 10 '24
TBF, I'd expect a senior SRE to be able to work from documentation and/or manpages for questions like, "which of the million ps flags shows that?" There's also less concern with people just googling the answer to the interview q directly if those are the resources they have access to.
2
u/Independent_Hyena495 Apr 11 '24
The first questions, I didnt use those tools for like 20 years? I used them when I studied... design a real time video streaming service?
Yo, you got two hours?
1
2
u/Drauren Apr 10 '24
You could literally ask chatgpt to write a script for you to do these and it would probably get you 90% of the way there.
1
Apr 11 '24
Thats the point those questions make no sense now. The tools we work with changed and memorising stuff is no longer as required as being able to ask good questions and grow good conclusions.
I c industry did not catch up yet.
5
79
u/No_Weakness_6058 Apr 09 '24
This is incredible promotion for prepare.sh kudos