diff --git a/README.md b/README.md
index 3354353..416dace 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
:information_source: This repository contains interview questions on various DevOps related topics
-:bar_chart: There are currently **416** questions
+:bar_chart: There are currently **434** questions
:warning: You don't need to know how to answer all the questions in this repo. DevOps is not about knowing all :)
@@ -52,6 +52,9 @@
Puppet Beginner :baby: Advanced :star: |
OpenShift Beginner :baby:
|
+
+ Scenarios |
+
@@ -65,6 +68,27 @@
What is DevOps? What DevOps helps us to achieve?
+
+There are many good answers to this question. I like Amazon's description of DevOps:
+
+"DevOps is the combination of cultural philosophies, practices, and tools that increases an organization’s ability to deliver applications and services at high velocity: evolving and improving products at a faster pace than organizations using traditional software development and infrastructure management processes. This speed enables organizations to better serve their customers and compete more effectively in the market."
+
+You can find more details here: https://aws.amazon.com/devops/what-is-devops
+
+
+
+What are the benefits of DevOps? What it can help us to achieve?
+
+You should mention some or all of the following:
+
+ * Collaboration
+ * Improved delivery
+ * Security
+ * Speed
+ * Scale
+ * Reliability
+
+Detailed answer can be found here: https://aws.amazon.com/devops/what-is-devops
@@ -485,7 +509,15 @@ Stop the instance, the type of the instance to match the desired RAM and start t
-What is an IP address? What is a subnet?
+What is an IP address?
+
+
+
+Explain subnet mask and given an example
+
+
+
+What is a private IP address? What do we need it for?
@@ -500,6 +532,18 @@ Data link: provides a link between two directly connected nodes (MAC is here)
Physical: the electrical and physical spec the data connection (Bits are here)
+
+For each of the following determine to which OSI layer it belongs:
+
+ * Error correction
+ * Packets routing
+ * Cables and electrical signals
+ * MAC address
+ * IP address
+ * Sessions between applications
+ * 3 way handshake
+
+
What delivery schemes are you familiar with?
@@ -539,12 +583,20 @@ CSMA/CD algorithm:
What is NAT?
+
+What is a proxy? How it works? What do we need it for?
+
+
What is the difference between TCP and UDP?
TCP establishes a connection between the client and the server to guarantee the order of the packages, on the other hand, UDP does not establish a connection between client and server and doesn't handle package order. This makes UDP more lightweight than TCP and a perfect candidate for streaming services.
+
+Explain "default gateway"
+
+
How TCP works? What is the 3 way handshake?
@@ -713,6 +765,10 @@ Using the `chmod` command.
Explain what is setgid, setuid and sticky bit
+
+You try to delete a file but it fails. Name at least three different reason as to why it could happen
+
+
How to add a new user to the system without providing him the ability to log-in into the system?
@@ -823,7 +879,7 @@ I consider this as a good blog post to read more about it: https://shapeshed.com
-What is the different between a soft link and hard link?
+What is the difference between a soft link and hard link?
hard link is the same file, using the same inode.
soft link is a shortcut to another file, using a different inode.
@@ -832,6 +888,10 @@ soft links can be created between different file systems while
hard link can be created only within the same file system.
+
+What happens when you delete the original file in case of soft link and hard link?
+
+
What is a swap partition? What is it used for?
@@ -1035,6 +1095,19 @@ related to the file like its size, owner, permissions, etc.
How can you turn your Linux server into a router?
+
+What is a virtual IP? In what situation would you use it?
+
+
+
+Which port is used in each of the following protocols?:
+
+ * SSH
+ * HTTP
+ * DNS
+ * HTTPS
+
+
What is the routing table? How do you view it?
@@ -2829,6 +2902,10 @@ the pseudo table to retrieve the sum of the prices spent by each customer, then
#### :baby: Beginner
+
+Explain Azure's architecture
+
+
Explain availability sets and availability zones
@@ -2846,6 +2923,10 @@ the pseudo table to retrieve the sum of the prices spent by each customer, then
#### :baby: Beginner
+
+Explain GCP's architecture
+
+
What are the main components and services of GCP?
@@ -2970,7 +3051,33 @@ the pseudo table to retrieve the sum of the prices spent by each customer, then
-What is Privilege Restriction?
+Explain "Privilege Restriction"
+
+
+
+What is DDoS attach? How do you deal with it?
+
+
+
+Explain Man-in-the-middle attach
+
+
+
+Explain CVE and CVSS
+
+
+
+Describe how do you secure public repositories
+
+
+##### Containers
+
+
+What security measures are you taking when dealing with containers?
+
+
+
+Explain what is Docker Bench
## Puppet
diff --git a/images/scenarios.png b/images/scenarios.png
new file mode 100644
index 0000000..0d88c79
Binary files /dev/null and b/images/scenarios.png differ
diff --git a/scenarios/ansible_minikube_docker.md b/scenarios/ansible_minikube_docker.md
index 3ba3ae7..1ea4bfc 100644
--- a/scenarios/ansible_minikube_docker.md
+++ b/scenarios/ansible_minikube_docker.md
@@ -1,6 +1,6 @@
## Ansible, Minikube and Docker
-* Write a simple program in any language you want that outputs "I'm on "
+* Write a simple program in any language you want that outputs "I'm on %HOSTNAME%" (HOSTNAME should be the actual host name on which the app is running)
* Write a Dockerfile which will run your app
* Create the YAML files required for deploying the pods
* Write and run an Ansible playbook which will install Docker, Minikube and kubectl and then create a deployment in minikube with your app running.