I am preparing the list of interview questions for SRE/PE role in this repository to help others to prepare for their interviews. Most of these questions are seen before during my interviews.
Please feel free to provide any suggestions either through the pull-request or an issue. Please feel free to add your interview questions in this repo.
*. Replace all the stars in the given string by all the characters and generate all possible strings. Example:
ab*d. Now generate strings like ab1d, ab2d, etc.
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.
Someone started forkbomb on your system how would you stop it?
How would you troubleshoot network communication between two servers?
Question: You are trying to run the command but it says no more PIDs available. What can be the reason? How will you solve the issue?
Try to think about it from every aspects. There can be following cases 1) ulimit for your user/group is set to very low. You can't create processes more than ulimit range. 2) Someone started fork bomb. There are no PIDs available actually. 3) All PIDs have specific fd in the file system. You are running out of inodes.
Unable to boot OS. What can be the issue?