You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+94-3Lines changed: 94 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
:information_source: This repo contains questions and exercises on various technical topics, sometimes related to DevOps and SRE :)
4
4
5
-
:bar_chart: There are currently **819** questions
5
+
:bar_chart: There are currently **834** questions
6
6
7
7
:warning: These are not interview questions and most of them shouldn't be used as interview questions. Please read [Q&A](common-qa.md) for more details
<summary>Explain what are design patterns and describe three of them in detail</summary><br><b>
2803
2812
</b></details>
@@ -2946,6 +2955,8 @@ There are many other characteristics but these are the main ones that every pyth
2946
2955
<details>
2947
2956
<summary>What is mutability? Which of the built-in types in Python are mutable? How can you show that a certain data type is mutable?</summary><br><b>
2948
2957
2958
+
Mutability determines whether you can modify an object of specific type.
2959
+
2949
2960
The mutable data types are:
2950
2961
2951
2962
List
@@ -3145,11 +3156,25 @@ Generally, every compiling process have a two steps.
3145
3156
</b></details>
3146
3157
3147
3158
<details>
3148
-
<summary>Explain the @property decorator</summary><br><b>
3159
+
<summary>What is Lambda? How is it used?</summary><br><b>
3149
3160
</b></details>
3150
3161
3162
+
#### Properties
3163
+
3151
3164
<details>
3152
-
<summary>What is Lambda? How is it used?</summary><br><b>
3165
+
<summary>Are there private variables in Python? How would you make an attribute of a class, private?</summary><br><b>
3166
+
</b></details>
3167
+
3168
+
<details>
3169
+
<summary>Explain the following:
3170
+
3171
+
* getter
3172
+
* setter
3173
+
* deleter</summary><br><b>
3174
+
</b></details>
3175
+
3176
+
<details>
3177
+
<summary>Explain what is @property</summary><br><b>
3153
3178
</b></details>
3154
3179
3155
3180
<details>
@@ -3160,6 +3185,13 @@ x, y = y, x
3160
3185
```
3161
3186
</b></details>
3162
3187
3188
+
<details>
3189
+
<summary>Explain the following object's magic variables:
3190
+
3191
+
*__dict__
3192
+
</summary><br><b>
3193
+
</b></details>
3194
+
3163
3195
<details>
3164
3196
<summary>Write a function to return the sum of one or more numbers. The user will decide how many numbers to use</summary><br><b>
3165
3197
@@ -4018,6 +4050,11 @@ a = f()
4018
4050
```
4019
4051
4020
4052
</b></details>
4053
+
4054
+
<details>
4055
+
<summary>Write a decorator that calculates the execution time of a function</summary><br><b>
4056
+
</b></details>
4057
+
4021
4058
<details>
4022
4059
<summary>Write a script which will determine if a given host is accessible on a given port</summary><br><b>
4023
4060
</b></details>
@@ -5892,6 +5929,43 @@ you can show how you'd be able to mitigate that problem.
5892
5929
Not only this will tell you what is expected from you, it will also provide big hint on the type of work you are going to do in the first months of your job.
5893
5930
</b></details>
5894
5931
5932
+
## Testing
5933
+
5934
+
<details>
5935
+
<summary>What types of tests would you run for web application?</summary><br><b>
5936
+
</b></details>
5937
+
5938
+
<details>
5939
+
<summary>What are unit tests?</summary><br><b>
5940
+
</b></details>
5941
+
5942
+
<details>
5943
+
<summary>Explain test harness?</summary><br><b>
5944
+
</b></details>
5945
+
5946
+
<details>
5947
+
<summary>What is A/B testing?</summary><br><b>
5948
+
</b></details>
5949
+
5950
+
<details>
5951
+
<summary>What is network simulation and how do you perform it?</summary><br><b>
5952
+
</b></details>
5953
+
5954
+
<details>
5955
+
<summary>What types of performances tests are you familiar with?</summary><br><b>
5956
+
</b></details>
5957
+
5958
+
<details>
5959
+
<summary>Explain the following types of tests:
5960
+
5961
+
* Load Testing
5962
+
* Stress Testing
5963
+
* Capacity Testing
5964
+
* Volume Testing
5965
+
* Endurance Testing
5966
+
</summary><br><b>
5967
+
</b></details>
5968
+
5895
5969
## Databases
5896
5970
5897
5971
<details>
@@ -6003,6 +6077,23 @@ Instead of working in "push mode", the consumers can pull tasks only when they a
6003
6077
<summary>How would you scale the architecture from the previous question to hundreds of users?</summary><br><b>
6004
6078
</b></details>
6005
6079
6080
+
#### Migrations
6081
+
6082
+
<details>
6083
+
<summary>How you prepare for a migration? (or plan a migration)</summary><br><b>
6084
+
6085
+
You can mention:
6086
+
6087
+
roll-back & roll-forward
6088
+
cut over
6089
+
dress rehearsals
6090
+
DNS redirection
6091
+
</b></details>
6092
+
6093
+
<details>
6094
+
<summary>Explain "Branch by Abstraction" technique</summary><br><b>
0 commit comments