Skip to content

Curated list of good SRE interview questions.

License

Notifications You must be signed in to change notification settings

ChickenMomos/SRE-Interviews

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

SRE-Interviews

I am preparing the list of interview questions for SRE/PE role in this repository to help others to prepare for their interviews.

Please feel free to provide any suggestions either through the pull-request or an issue.

Practical Coding Questions:

Competitive Coding Questions:

Linux troubleshooting

  • CPU is under high I/O. How to find the issue?
  • What can go wrong in the filesystem?
  • What if the system has no more inodes available?
  • How to increase your I/O?
  • How to tune I/O?
  • You can’t see your mounted filesystem. What can be the issue? etc.
  • You are trying to create a new process but it says no more process ids what can be the issue? (fork bomb, reached to ulimit etc)
  • How would you troubleshoot network communication between two servers?
  • Question: You are seeing the high workload on your CPU. How would you identify the problem?
    Now there can be two cases:
    1) It is happening because of CPU intensive processes
    2) Or it may be due to high I/O.
    Next you need to narrow down these cases by using various tools. Use top command to check I/O WA time. Checkout utime command. Find out which process is causing this trouble. Then use strace or perf command to find out which function is causing the problem. Then check out which system calls this function is generating. This problem was because of the RAID in the file system. RAID performs sync operation after a specific duration and during that it freezes all read/write operations, From the system call list, you can find out the file system path. Use mount command to find out filesystem type. Now check the configurations and solve it.
    

System Internals

  • How do fork and exec work?
  • Linux booting process
  • What is swap memory?
  • Process memory layout
  • What is virtual memory?
  • Types of processes
  • What (really) happens when you type ls -l in the shell

System Design

  • Design basic api rate limiter
  • How many machines do you need when you design an online photo uploading service?(Include SPOF)
  • Design message passing system like kafka
  • Design distributed key-value pair system.
  • How would you shard SQL databases
  • Design storage system for tiny url website

Home Assignment

About

Curated list of good SRE interview questions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published