Add testing questions
This commit is contained in:
parent
d43ec162f0
commit
d441029162
97
README.md
97
README.md
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
:information_source: This repo contains questions and exercises on various technical topics, sometimes related to DevOps and SRE :)
|
:information_source: This repo contains questions and exercises on various technical topics, sometimes related to DevOps and SRE :)
|
||||||
|
|
||||||
:bar_chart: There are currently **819** questions
|
:bar_chart: There are currently **834** questions
|
||||||
|
|
||||||
: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
|
: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
|
||||||
|
|
||||||
@ -58,6 +58,7 @@
|
|||||||
<td align="center"><a href="#HR"><img src="images/HR.png" width="110px;" height="75px;" alt="HR"/><br /><b>HR</b></a></td>
|
<td align="center"><a href="#HR"><img src="images/HR.png" width="110px;" height="75px;" alt="HR"/><br /><b>HR</b></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td align="center"><a href="#testing"><img src="images/testing.png" width="75px;" height="75px;" alt="Testing"/><br /><b>Testing</b></a></td>
|
||||||
<td align="center"><a href="#databases"><img src="images/databases.png" width="75px;" height="75px;" alt="Databases"/><br /><b>Databases</b></a></td>
|
<td align="center"><a href="#databases"><img src="images/databases.png" width="75px;" height="75px;" alt="Databases"/><br /><b>Databases</b></a></td>
|
||||||
<td align="center"><a href="#design"><img src="images/design.png" width="110px;" height="75px;" alt="Design"/><br /><b>Design</b></a></td>
|
<td align="center"><a href="#design"><img src="images/design.png" width="110px;" height="75px;" alt="Design"/><br /><b>Design</b></a></td>
|
||||||
<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>
|
<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>
|
||||||
@ -2798,6 +2799,14 @@ SOLID is:
|
|||||||
<summary>Explain recursion</summary><br><b>
|
<summary>Explain recursion</summary><br><b>
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Explain Inversion of Control</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Explain Dependency Injection</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Explain what are design patterns and describe three of them in detail</summary><br><b>
|
<summary>Explain what are design patterns and describe three of them in detail</summary><br><b>
|
||||||
</b></details>
|
</b></details>
|
||||||
@ -2946,6 +2955,8 @@ There are many other characteristics but these are the main ones that every pyth
|
|||||||
<details>
|
<details>
|
||||||
<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>
|
<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>
|
||||||
|
|
||||||
|
Mutability determines whether you can modify an object of specific type.
|
||||||
|
|
||||||
The mutable data types are:
|
The mutable data types are:
|
||||||
|
|
||||||
List
|
List
|
||||||
@ -3145,11 +3156,25 @@ Generally, every compiling process have a two steps.
|
|||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Explain the @property decorator</summary><br><b>
|
<summary>What is Lambda? How is it used?</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
|
#### Properties
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Are there private variables in Python? How would you make an attribute of a class, private?</summary><br><b>
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>What is Lambda? How is it used?</summary><br><b>
|
<summary>Explain the following:
|
||||||
|
|
||||||
|
* getter
|
||||||
|
* setter
|
||||||
|
* deleter</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Explain what is @property</summary><br><b>
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
@ -3160,6 +3185,13 @@ x, y = y, x
|
|||||||
```
|
```
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Explain the following object's magic variables:
|
||||||
|
|
||||||
|
* __dict__
|
||||||
|
</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<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>
|
<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>
|
||||||
|
|
||||||
@ -4018,6 +4050,11 @@ a = f()
|
|||||||
```
|
```
|
||||||
|
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Write a decorator that calculates the execution time of a function</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Write a script which will determine if a given host is accessible on a given port</summary><br><b>
|
<summary>Write a script which will determine if a given host is accessible on a given port</summary><br><b>
|
||||||
</b></details>
|
</b></details>
|
||||||
@ -5892,6 +5929,43 @@ you can show how you'd be able to mitigate that problem.
|
|||||||
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.
|
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.
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
|
## Testing
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>What types of tests would you run for web application?</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>What are unit tests?</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Explain test harness?</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>What is A/B testing?</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>What is network simulation and how do you perform it?</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>What types of performances tests are you familiar with?</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Explain the following types of tests:
|
||||||
|
|
||||||
|
* Load Testing
|
||||||
|
* Stress Testing
|
||||||
|
* Capacity Testing
|
||||||
|
* Volume Testing
|
||||||
|
* Endurance Testing
|
||||||
|
</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
## Databases
|
## Databases
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
@ -6003,6 +6077,23 @@ Instead of working in "push mode", the consumers can pull tasks only when they a
|
|||||||
<summary>How would you scale the architecture from the previous question to hundreds of users?</summary><br><b>
|
<summary>How would you scale the architecture from the previous question to hundreds of users?</summary><br><b>
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
|
#### Migrations
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>How you prepare for a migration? (or plan a migration)</summary><br><b>
|
||||||
|
|
||||||
|
You can mention:
|
||||||
|
|
||||||
|
roll-back & roll-forward
|
||||||
|
cut over
|
||||||
|
dress rehearsals
|
||||||
|
DNS redirection
|
||||||
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Explain "Branch by Abstraction" technique</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
## Exercises
|
## Exercises
|
||||||
|
|
||||||
Exercises are all about:
|
Exercises are all about:
|
||||||
|
@ -13,3 +13,4 @@ Mongo logo is a trademark of <a href="www.mongodb.com">Mongo®</a><br>
|
|||||||
Distributed logo by <a href="https://www.iconfinder.com/Flatart">Flatart</a><br>
|
Distributed logo by <a href="https://www.iconfinder.com/Flatart">Flatart</a><br>
|
||||||
Challenge icon by Elizabeth Arostegui in Technology Mix
|
Challenge icon by Elizabeth Arostegui in Technology Mix
|
||||||
"Question you ask" (man raising hand) and "Database" icons by [Webalys](https://www.iconfinder.com/webalys)
|
"Question you ask" (man raising hand) and "Database" icons by [Webalys](https://www.iconfinder.com/webalys)
|
||||||
|
Testing logo by [Flatart](https://www.iconfinder.com/Flatart)
|
||||||
|
BIN
images/testing.png
Normal file
BIN
images/testing.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
Loading…
Reference in New Issue
Block a user