Skip to content

davidr/sre-interview-review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

SRE Interview Prep

I've been in management for too long, and I wanted to remember why it was I actually liked working with Linux in the first place, so I'm keeping this list of interesting things that I may want to review before I interview next and some random notes.

Honestly, this is just a list of interesting things I come across and think could be useful someday. I'm not really sure why I named it interview prep other than that I got the idea to save it from looking at a couple of SRE interview prep repos.

Linux Internals

VM Subsystem

ELF, shared libraries, etc.

System Calls

I/O

Interesting Linux Interview Questions

There's a dearth of decent questions out there to ask candidates or to think about when prepping for an interview. Lots of the ones that are out there are either stupid and meaningless ("what's the best linux distro"), outdated ("what's LILO") or are ambiguous enough that there aren't any right answers ("what's the first thing you must do with a new Linux system"), so here are some fun questions I've asked or been asked, some classics, some just interesting.

General interest

  • How many ways can you think of to delete a file named "-f"?
  • How many ways can you think of to fix a system where something has removed the executable bits on /usr/bin/chmod binary's permissions?

Kernel stuff

  • The program you're strace-ing is doing nothing but brk()/sbrk() and mmap()/munmap() system calls. What's the most likely explanation for what it's doing under the hood?
  • Explain in as much detail as possible what happens once you type ls -l / into your shell and hit enter.

About

Random Links and Notes on SRE Interviewey Things

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published