diff --git a/README.md b/README.md index 1b9bc9d..61d9d19 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 **230** questions +:bar_chart: There are currently **250** questions :warning: You don't need to know how to answer all the questions in this repo. DevOps is not about knowing all :) @@ -24,7 +24,7 @@
split
command this way: split -l 25 some_file
What is a file descriptor? What file descriptors are you familiar with?
-
+Kerberos
File descriptor, also known as file handler, is a unique number which identifies an open file in the operating system.
In Linux (and Unix) the first three file descriptors are:
@@ -776,6 +822,10 @@ related to the file like its size, owner, permissions, etc.
What is SELiunx?
+
+What is Kerberos?
+
+
What is nftables?
@@ -784,6 +834,16 @@ related to the file like its size, owner, permissions, etc.
What firewalld daemon is responsible for?
+##### Network
+
+
+How can you turn your Linux server into a router?
+
+
+
+What is the routing table? How do you view it?
+
+
##### DNS
@@ -829,6 +889,8 @@ While an A record points a domain name to an IP address, a PTR record does the o
How processes are being created?
+##### Network
+
When you run ip a
you see there is a device called 'lo'. What is it and why do we need it?
@@ -838,7 +900,7 @@ While an A record points a domain name to an IP address, a PTR record does the o
-What is the routing table? How do you view it?
+What is network bonding? What types are you familiar with?
@@ -880,6 +942,9 @@ This is a good article about the topic: https://ops.tips/blog/how-linux-creates-
## Ansible
+
+#### :baby: Beginner
+
Describe each of the following components in Ansible, including the relationship between them:
@@ -899,6 +964,10 @@ Playbook – One or more plays. Each play can be executed on the same or differe
Role – Ansible roles allows you to group resources based on certain functionality/service such that they can be easily reused. In a role, you have directories for variables, defaults, files, templates, handlers, tasks, and metadata. You can then use the role by simply specifying it in your playbook.
+
+What are some of Ansible best practices?
+
+
What is an inventory file and how you define one?
@@ -1085,6 +1154,10 @@ The benefits of Terraform over the other tools:
You use it this way: variable “my_var” {}
+
+Give an example of several Terraform best practices
+
+
## Docker
@@ -1300,6 +1373,10 @@ Shortest way is: my_string[::-1]
but it doesn't mean it's the most
Explain what is GIL
+
+What is a generator? Why using generators?
+
+
#### :star: Advanced
@@ -1327,13 +1404,18 @@ Shortest way is: my_string[::-1]
but it doesn't mean it's the most
Explain Descriptors
+
+You create a web page where a user can upload a document. But the function which reads the uploaded files, runs for a long time, based on the document size. How can you overcome this?
+
+
## Prometheus
Describe the following Prometheus components:
- - Prometheus server
- - Push Gateway
- - Alert Manager
+
+ * Prometheus server
+ * Push Gateway
+ * Alert Manager
Prometheus server responsible for scraping the storing the data
Push gateway is used for short-lived jobs
@@ -1601,6 +1683,9 @@ Depends on the language and settings used but in Bash for example, by default th
How do you check variable length?
+
+What is the difference between single and double quotes?
+
#### Advanced
@@ -1613,6 +1698,18 @@ Depends on the language and settings used but in Bash for example, by default th
+
+Can you give an example to some Bash best practices?
+
+
+
+What is the ternary operator? How do you use it in bash?
+
+A short way of using if/else. An example:
+
+[[ $a = 1 ]] && b="yes, equal" || b="nope"
+
+
## Scenarios
Scenarios are questions which don't have verbal answer and require you one of the following: