diff --git a/README.md b/README.md
index e497526..d84f614 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 **1344** questions
+:bar_chart: There are currently **1353** questions
:busts_in_silhouette: [Join](https://www.facebook.com/groups/538897960007080) our [Facebook group](https://www.facebook.com/groups/538897960007080) for additional exercises, articles and more resources on DevOps
@@ -75,6 +75,9 @@
HR |
Exercises |
+
+ Redis |
+
@@ -213,6 +216,16 @@ Stateless applications don't store any data in the host which makes it ideal for
Stateful applications depend on the storage to save state and data, typically databases are stateful applications.
+
+What is Reliability? How does it fit DevOps?
+
+Reliability, when used in DevOps context, is the ability of a system to recover from infrastructure failure or disruption. Part of it is also being able to scale based on your organization or team demands.
+
+
+
+What "Availability" means? What means are there to track Availability of a service?
+
+
Describe the workflow of setting up some type of web server (Apache, IIS, Tomcat, ...)
@@ -238,19 +251,17 @@ You should be able to explain those that you mention.
-You need to install periodically the same package on different operating systems (Ubuntu, RHEL, ...). How would you do it?
+You need to install periodically a package (unless it's already exists) on different operating systems (Ubuntu, RHEL, ...). How would you do it?
-It can be as simple as one Ansible (or other CM tool) task that runs periodically with Cron. In more advanced cases, perhaps a CI system.
+There are multiple ways to answer this question (there is no right and wrong here):
+
+* Simple cron job
+* Pipeline with configuration management technology (such Puppet, Ansible, Chef, etc.)
+...
-What is Reliability? How does it fit DevOps?
-
-Reliability, when used in DevOps context, is the ability of a system to recover from infrastructure failure or disruption. Part of it is also being able to scale based on your organization or team demands.
-
-
-
-Compare SRE to DevOps
+What are the differences between SRE and DevOps?
@@ -272,9 +283,6 @@ One can argue whether it's per company definition or a global one but at least a
-
-What is a post-mortem meeting?
-
What is "infrastructure as code"? What implementation of IAC are you familiar with?
@@ -314,12 +322,15 @@ One can argue whether it's per company definition or a global one but at least a
-Is it right to say implementing or practicing DevOps leads to more secure software?
+What do you think about the following sentence?: "implementing or practicing DevOps leads to more secure software"
+
+Do you know what is a "post-mortem meeting"? What is your opinion on that?
+
-Tell me how you perform plan capacity for your CI/CD resources (e.g. servers, storage, etc.)
+How do you perform plan capacity for your CI/CD resources? (e.g. servers, storage, etc.)
@@ -364,7 +375,6 @@ Note: cross-dependency is when you have two or more changes to separate projects
## Jenkins
-
What is Jenkins? What have you used it for?
@@ -3402,8 +3412,10 @@ Notes:
What readdir() system call does?
+
-
+
+What exactly the command alias x=y
does?
#### Linux Filesystem & Files
@@ -4473,6 +4485,12 @@ False. A Kubernetes cluster consists of at least 1 master and 0 or more workers.
* etcd - stores cluster configuration
+
+True or False? The API server is the only component which communicates directly with etcd
+
+True
+
+
What are the components of a worker node?
@@ -4649,15 +4667,15 @@ kubectl create quota some-quota --hard-cpu=2,pods=2
```
cat << EOF | kubectl create -f -
-> apiVersion: v1
-> kind: Pod
-> metadata:
-> name: nginx
-> spec:
-> containers:
-> - name: nginx
-> image: nginx
-> EOF
+apiVersion: v1
+kind: Pod
+metadata:
+ name: nginx
+spec:
+ containers:
+ - name: nginx
+ image: nginx
+EOF
```
@@ -4718,11 +4736,17 @@ kubectl delete pods --field-selector=status.phase!='Running'
-How to display the resources usages of pods?
+How to display the resources usages of pods?
kubectl top pod
+
+What kubectl get componentstatus
does?
+
+Outputs the status of each of the control plane components.
+
+
What is Minikube?
@@ -5152,7 +5176,7 @@ 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?
+What is mutability? Which of the built-in types in Python are mutable?
Mutability determines whether you can modify an object of specific type.
@@ -5169,8 +5193,6 @@ The immutable data types are:
Bool
Tuple
Frozenset
-
-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).
@@ -5204,7 +5226,7 @@ You can usually use the function hash() to check an object mutability. If an obj
-What is the result of `bool("")`? What about `bool(" ")`?
+What is the result of `bool("")`? What about `bool(" ")`? Explain
bool("") -> evaluates to False
bool(" ") -> evaluates to True
@@ -5241,7 +5263,12 @@ if lower(input("Insert a character: ")[0]) in "aieou": # Takes care of multiple
How to define a function with Python?
-Using the `def` keyword
+Using the `def` keyword. For Examples:
+
+```
+def sum(a, b):
+ return (a + b)
+```
@@ -5258,7 +5285,6 @@ def my_function():
You can then assign a function to a variables like this `x = my_function` or you can return functions as return values like this `return my_function`
-
Explain inheritance and how to use it in Python
@@ -5443,6 +5469,14 @@ For more details about errors and exceptions follow this [https://docs.python.or
What is the difference between repr function and str?
+
+What is the __call__ method?
+
+
+
+Do classes has the __call__ method as well? What for?
+
+
What _ is used for in Python?
@@ -5787,7 +5821,7 @@ set([food for bro in x for food in bro['food']])
```
-#### Dictionaries
+#### Python Dictionaries
How to create a dictionary?
@@ -5800,7 +5834,7 @@ my_dict = dict([('x', 1), ('y', 2)])
-How to remove an item from a dictionary?
+How to remove a key from a dictionary?
del my_dict['some_key']
you can also use `my_dict.pop('some_key')` which returns the value of the key.
@@ -6270,7 +6304,7 @@ PEP8 is a list of coding conventions and style guidelines for Python
#### Flask
-You wrote you have experience with Django/Flask. Can you describe what is Django/Flask and how you have used it? Why Flask and not Djano? (or vice versa)
+Can you describe what is Django/Flask and how you have used it? Why Flask and not Djano? (or vice versa)
@@ -6278,7 +6312,11 @@ PEP8 is a list of coding conventions and style guidelines for Python
-How do you manage DB integration?
+What is a blueprint in Flask?
+
+
+
+What is a template?
#### zip
@@ -7146,6 +7184,12 @@ as key-value pair, document-oriented, etc.
Can you explain the difference between OpenShift and Kubernetes?
+
+True or False? OpenShift is a IaaS (infrastructure as a service) solution
+
+False. OpenShift is a PaaS (platform as a service) solution.
+
+
Define Pods and explain what are stateful pods
@@ -8584,6 +8628,16 @@ CPDoS or Cache Poisoned Denial of Service. It poisons the CDN cache. By manipula
+#### Security - Threats
+
+
+Explain "Advanced persistent threat (APT)"
+
+
+
+What is a "Backdoor" in information security?
+
+
## Puppet
@@ -9616,6 +9670,14 @@ Not only this will tell you what is expected from you, it will also provide big
## Databases
+
+What is sharding?
+
+Sharding is a horizontal partitioning.
+
+Are you able to explain what is it good for?
+
+
What is a connection pool?
@@ -9925,6 +9987,15 @@ Raspberry Pi
What types of storage are there?
+## Redis
+
+
+What is Redis?
+
+* In memory data structure store
+* Open Source
+
+
## Big Data