Skip to content

Commit 8638107

Browse files
author
abregman
committed
Add a couple of questions
1 parent 7c2a922 commit 8638107

File tree

5 files changed

+76
-2
lines changed

5 files changed

+76
-2
lines changed

README.md

Lines changed: 75 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
:information_source:  This repository contains questions on various DevOps and SRE related topics
44

5-
:bar_chart:  There are currently **770** questions
5+
:bar_chart:  There are currently **781** questions
66

77
:books:  To learn more about DevOps check the resources in [DevOpsBit.com](https://devopsbit.com)
88

@@ -63,6 +63,7 @@
6363
</tr>
6464
<tr>
6565
<td align="center"><a href="#design"><img src="images/design.png" width="110px;" height="75px;" alt="Design"/><br /><b>Design</b></a></td>
66+
<td align="center"><a href="#questions-you-ask"><img src="images/you.png" width="110px;" height="75px;" alt="you"/><br /><b>Questions you ask</b></a></td>
6667
<td align="center"><a href="#challenges"><img src="images/challenges.png" width="110px;" height="75px;" alt="Challenges"/><br /><b>Challenges</b></a></td>
6768
</tr>
6869
</table>
@@ -1308,7 +1309,7 @@ Each number has different meaning, based on how the application was developed.
13081309
I consider this as a good blog post to read more about it: https://shapeshed.com/unix-exit-codes
13091310
</b></details>
13101311

1311-
##### Storage, Filesystem
1312+
##### Storage & Filesystem
13121313

13131314
<details>
13141315
<summary>What's an inode?</summary><br><b>
@@ -1404,6 +1405,10 @@ True
14041405
<summary>What is lazy umount?</summary><br><b>
14051406
</b></details>
14061407

1408+
<details>
1409+
<summary>What is tmpfs?</summary><br><b>
1410+
</b></details>
1411+
14071412
<details>
14081413
<summary>Fix the following commands:
14091414

@@ -1896,6 +1901,15 @@ This is a good article about the topic: https://ops.tips/blog/how-linux-creates-
18961901
<summary>You executed a script and while still running, it got accidentally removed. Is it possible to restore the script while it's still running?</summary><br><b>
18971902
</b></details>
18981903

1904+
#### Memory
1905+
1906+
<details>
1907+
<summary>What is the difference between MemFree and MemAvailable in /proc/meminfo?</summary><br><b>
1908+
1909+
MemFree - The amount of unused physical RAM in your system
1910+
MemAvailable - The amount of available memory for new workloads (without pushing system to use swap) based on MemFree, Active(file), Inactive(file), and SReclaimable.
1911+
</b></details>
1912+
18991913
## Operating System
19001914

19011915
<a name="operating-system-beginner"></a>
@@ -1961,6 +1975,15 @@ False. It was true in the past but today's operating systems perform lazy loadin
19611975
<summary>Explain what is Semaphore and what its role in operating systems</summary><br><b>
19621976
</b></details>
19631977

1978+
#### Memory
1979+
1980+
<details>
1981+
<summary>What is cache? What is buffer?</summary><br><b>
1982+
1983+
Buffer: Reserved place in RAM which is used to hold data for temporary purposes
1984+
Cache: Cache is usually used when processes reading and writing to the disk to make the process faster by making similar data used by different programs easily accessible.
1985+
</b></details>
1986+
19641987
## Virtualization
19651988

19661989
<a name="virtualization-beginner"></a>
@@ -2775,6 +2798,10 @@ The immutable data types are:
27752798
You can usually use the function hash() to check an object mutability. If an object is hashable, it is immutable (although this does not always work as intended as user defined objects might be mutable and hashable).
27762799
</b></details>
27772800

2801+
<details>
2802+
<summary>Explain set and frozenset types. What would you use them for?</summary><br><b>
2803+
</b></details>
2804+
27782805
<details>
27792806
<summary>In Python, functions are first-class objects. What does it mean?</summary><br><b>
27802807

@@ -2956,6 +2983,10 @@ Generally, every compiling process have a two steps.
29562983
<summary>Explain what is GIL</summary><br><b>
29572984
</b></details>
29582985

2986+
<details>
2987+
<summary>Explain the @property decorator</summary><br><b>
2988+
</b></details>
2989+
29592990
<details>
29602991
<summary>What is Lambda? How is it used?</summary><br><b>
29612992
</b></details>
@@ -3022,6 +3053,20 @@ some_list[:3]
30223053
```
30233054
</b></details>
30243055

3056+
<details>
3057+
<summary>How to sort list be the length of items?</summary><br><b>
3058+
3059+
```
3060+
sorted_li = sorted(li, key=len)
3061+
```
3062+
3063+
Or without creating a new list:
3064+
3065+
```
3066+
li.sort(key=len)
3067+
```
3068+
</b></details>
3069+
30253070
<details>
30263071
<summary>Do you know what is the difference between list.sort() and sorted(list)?</summary><br><b>
30273072

@@ -4991,6 +5036,10 @@ Authorization is the process of identifying what level of access the service or
49915036
<summary>What is air-gapped network (or air-gapped environment)? What its advantages and disadvantages?</summary><br><b>
49925037
</b></details>
49935038
5039+
<details>
5040+
<summary>Explain what is Buffer Overflow</summary><br><b>
5041+
</b></details>
5042+
49945043
##### Containers
49955044
49965045
<details>
@@ -5462,6 +5511,12 @@ TODO: explain what is actually a Cookie
54625511
<summary>What is faster than RAM?</summary><br><b>
54635512
</b></details>
54645513
5514+
<details>
5515+
<summary>What is the C10K problem? Is it relevant today?</summary><br><b>
5516+
5517+
https://idiallo.com/blog/c10k-2016
5518+
</b></details>
5519+
54655520
## HR
54665521
54675522
Although the following questions are not DevOps related, they are still quite common and part of the DevOps interview process so it's better to prepare for them as well.
@@ -5569,6 +5624,8 @@ You can use and elaborate on one or all of the following:
55695624
55705625
## Questions you CAN ask
55715626
5627+
<a name="questions-you-ask"></a>
5628+
55725629
A list of questions you as a candidate can ask the interviewer during or after the interview.
55735630
These are only a suggestion, use them carefully. Not every interviewer will be able to answer these (or happy to) which should be perhaps a red flag warning for your regarding working in such place but that's really up to you.
55745631
@@ -5632,6 +5689,22 @@ Vertical Scaling is the process of adding resources to increase power of existin
56325689
Horizontal Scaling is the process of adding more resources that will be able handle requests as one unit
56335690
</b></details>
56345691
5692+
<details>
5693+
<summary>How would you update each of the services in the following drawing without having app (foo.com) downtime?<br>
5694+
<img src="images/design/cdn-no-downtime.png" width="200x;" height="300px;"/>
5695+
</summary><br><b>
5696+
</b></details>
5697+
5698+
<details>
5699+
<summary>Users report that there is huge spike in process time when adding little bit more data to process as an input. What might be the problem?<br>
5700+
<img src="images/design/input-process-output.png" width="300x;" height="200px;"/>
5701+
</summary><br><b>
5702+
</b></details>
5703+
5704+
<details>
5705+
<summary>How would you scale the architecture from the previous question to hundreds of users?</summary><br><b>
5706+
</b></details>
5707+
56355708
## Challenges
56365709
56375710
Challenges require you one of the following:

credits.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ Linux, Kubernetes and Prometheus logos are trademarks of The Linux Foundation®<
1212
Mongo logo is a trademark of <a href="www.mongodb.com">Mongo®</a><br>
1313
Distributed logo by <a href="https://www.iconfinder.com/Flatart">Flatart</a><br>
1414
Challenge icon by Elizabeth Arostegui in Technology Mix
15+
"Question you ask" icon (man raising hand) by [Webalys](https://www.iconfinder.com/webalys)

images/design/cdn-no-downtime.png

22.9 KB
Loading
15.8 KB
Loading

images/you.png

8.04 KB
Loading

0 commit comments

Comments
 (0)