diff --git a/README.md b/README.md index e6a4faf..2a2e95e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ :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 @@ -58,6 +58,7 @@ HR
HR
+ Testing
Testing
Databases
Databases
Design
Design
you
Questions you ask
@@ -2798,6 +2799,14 @@ SOLID is: Explain recursion
+
+Explain Inversion of Control
+
+ +
+Explain Dependency Injection
+
+
Explain what are design patterns and describe three of them in detail
@@ -2946,6 +2955,8 @@ There are many other characteristics but these are the main ones that every pyth
What is mutability? Which of the built-in types in Python are mutable? How can you show that a certain data type is mutable?
+Mutability determines whether you can modify an object of specific type. + The mutable data types are: List @@ -3145,11 +3156,25 @@ Generally, every compiling process have a two steps.
-Explain the @property decorator
+What is Lambda? How is it used?
+
+ +#### Properties + +
+Are there private variables in Python? How would you make an attribute of a class, private?
-What is Lambda? How is it used?
+Explain the following: + +* getter +* setter +* deleter
+
+ +
+Explain what is @property
@@ -3160,6 +3185,13 @@ x, y = y, x ```
+
+Explain the following object's magic variables: + + * __dict__ +
+
+
Write a function to return the sum of one or more numbers. The user will decide how many numbers to use
@@ -4018,6 +4050,11 @@ a = f() ```
+ +
+Write a decorator that calculates the execution time of a function
+
+
Write a script which will determine if a given host is accessible on a given port
@@ -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.
+## Testing + +
+What types of tests would you run for web application?
+
+ +
+What are unit tests?
+
+ +
+Explain test harness?
+
+ +
+What is A/B testing?
+
+ +
+What is network simulation and how do you perform it?
+
+ +
+What types of performances tests are you familiar with?
+
+ +
+Explain the following types of tests: + + * Load Testing + * Stress Testing + * Capacity Testing + * Volume Testing + * Endurance Testing +
+
+ ## Databases
@@ -6003,6 +6077,23 @@ Instead of working in "push mode", the consumers can pull tasks only when they a How would you scale the architecture from the previous question to hundreds of users?
+#### Migrations + +
+How you prepare for a migration? (or plan a migration)
+ +You can mention: + +roll-back & roll-forward +cut over +dress rehearsals +DNS redirection +
+ +
+Explain "Branch by Abstraction" technique
+
+ ## Exercises Exercises are all about: diff --git a/credits.md b/credits.md index 8fc7878..0a17767 100644 --- a/credits.md +++ b/credits.md @@ -13,3 +13,4 @@ Mongo logo is a trademark of Mongo®
Distributed logo by Flatart
Challenge icon by Elizabeth Arostegui in Technology Mix "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) diff --git a/images/testing.png b/images/testing.png new file mode 100644 index 0000000..0a1bfe1 Binary files /dev/null and b/images/testing.png differ