diff --git a/README.md b/README.md index 32806c5..47317c0 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 **291** questions +:bar_chart:  There are currently **300** questions :warning:  You don't need to know how to answer all the questions in this repo. DevOps is not about knowing all :) @@ -50,6 +50,10 @@ #### :baby: Beginner +
+What is DevOps? What DevOps helps us to achieve?
+
+
What is Continuous Integration?
@@ -66,10 +70,6 @@ Each piece of code (change/patch) is verified, to make the change is safe to mer What is Continuous Delivery?
-
-What DevOps helps us to achieve?
-
-
What do you consider as best practices for CI/CD?
@@ -108,18 +108,10 @@ You may use one or all of the following: * architecture aspects - agent vs. agentless, master vs. masterless, etc.
-
-What is the difference between SQL and NoSQL?
-
-
What the difference between VPN and VPS?
-
-What is the difference between SSH and SSL?
-
-
What scripting language are you familiar with? why specifically this one?
@@ -633,6 +625,9 @@ The tasks are stored in a cron file. dstat -t is great for identifying network and disk issues. netstat -tnlaup can be used to see which processes are running on which ports. lsof -i -P can be used for the same purpose as netstat. +ngrep -d any metafilter for matching regex against paylods of packets. +tcpdump for capturing packets +wireshark same concept as tcpdump but with GUI (optional).
@@ -648,11 +643,20 @@ The tasks are stored in a cron file. strace is great for understanding what your program does. It prints every system call your program executed.
+
+What are you using for debugging CPU related issues?
+ +top will show you how much CPU percentage each process consumes +perf is a great choice for sampling profiler and in general, figuring out what your CPU cycles are "wasted" on +flamegraphs is great for CPU consumption visualization (http://www.brendangregg.com/flamegraphs.html) +
+
You get a call saying "my system is slow" - how would you deal with it?
1. Check with top if anything consumes your CPU or RAM. 2. Run dstat -t to check if it's related to disk or network. +3. Check I/O stats with iostat
@@ -663,6 +667,14 @@ The tasks are stored in a cron file. What is KVM?
+
+What is the difference between SSH and SSL?
+
+ +
+What is SSH port forwarding?
+
+
Explain redirection
@@ -714,6 +726,10 @@ hard link can be created only within the same file system. What is a swap partition? What is it used for?
+
+You are trying to create a new file but you get "Filesystem is full". You check with df for free space and you see you used only 20% of the space. What could be the problem?
+
+
What do you know about LVM?
@@ -755,6 +771,10 @@ hard link can be created only within the same file system. What can you find in /etc/services
+
+What is chroot?
+
+ ##### Processes
@@ -787,6 +807,10 @@ SIGKILL - a signal which cannot caught or ignored To view all available signals run `kill -l`
+
+What is a trap?
+
+
What happens when you press ctrl + c?
@@ -943,6 +967,10 @@ While an A record points a domain name to an IP address, a PTR record does the o RPM: explain the spec format(what it should and can include)
+
+How do you list the content of a package?
+
+ #### :star: Advanced @@ -966,6 +994,10 @@ read(5, "file content") those are system calls for reading the file /my/file and 5 is the file descriptor number. +
+What is the difference between a process and a thread?
+
+ ##### Network
@@ -1467,10 +1499,15 @@ Swarm management which means you can create new swarms in Docker Cloud. What is kubconfig? What do you use it for?
+##### Users +
How do you create users? Where user information is stored?
+
+Do you know how to create a new user without using adduser/useradd command?
+
## Python @@ -1580,6 +1617,10 @@ Shortest way is: my_string[::-1] but it doesn't mean it's the most How to sort a dictionary by keys?
+
+Explain data serialization and how do you perform it with Python
+
+
Explain what is GIL
@@ -1820,6 +1861,10 @@ func main() { #### :baby: Beginner +
+What is the difference between SQL and NoSQL?
+
+
In what scenarios would you prefer to use NoSQL/Mongo over SQL?