MIT License

项目介绍

rishiloyola/SRE-Interviews 是一个托管在 GitHub 上的开源项目,采用 MIT License 许可证,目前获得 410 个 Star、92 次 Fork。

仓库全名
rishiloyola/SRE-Interviews
开源许可证
MIT License
Star 数
410
Fork 数
92

README 摘要

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. 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. Practical Coding Questions: Design In-Memory File System LFU…

完整内容见 GitHub 原始 README 或本页 。

常见问题

SRE-Interviews 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 SRE-Interviews 的源码?

可以直接克隆仓库:git clone https://github.com/rishiloyola/SRE-Interviews.git,默认分支为 master;安装与运行步骤见仓库 README。

SRE-Interviews 最近还在维护吗?

仓库最近一次更新为 2022年8月17日,当前没有未关闭的 Issue;Star 数为 410,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Curated list of good SRE interview questions.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
612
价值分
275
活跃状态
活跃

贡献者

README

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. 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.

Practical Coding Questions:

Competitive Coding Questions:

  • Word Break
  • Question: Given a string with special character *. 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.
  • An array should be split into two halves such that sum of two arrays is same (order of elements should not be changed)

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.

  • 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?

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
  • What are the difference between external and internal kill command
  • What are the inbuilt Linux commands?
  • Difference between RSS and VSZ?

System Design

  • Design basic api rate limiter
  • How many machines do you need when you design an online photo uploading service?(Include SPOF, load balancer)
  • 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

Networking

  • Explain routing protocol. You can pick any routing protocol.

评论

暂无评论