From 58147b3bf9c885e7c6c6911841e8ee85bbeb39df Mon Sep 17 00:00:00 2001 From: abregman Date: Fri, 18 Oct 2019 23:13:56 +0300 Subject: [PATCH] Add a couple of questions Reached 200 questions :D --- README.md | 43 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 767a211..a21c582 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 **170** interview questions +:bar_chart:  There are currently **200** interview questions :warning:  Some answers might be only partial and shouldn't be used as they are in interviews @@ -495,6 +495,10 @@ The tasks are stored in a cron file. * 750
+
+Explain what is setgid, setuid and sticky bit
+
+
How to add a new user to the system without providing him the ability to log-in into the system?
@@ -534,6 +538,27 @@ Can you explain when are you using each one?
Explain redirection
+
+What are wildcards? Can you give an example of how to use them?
+
+ +
+What do we grep for in each of the following commands?: + + * grep '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' some_file + * grep -E "error|failure" some_file + * grep '[0-9]$' some_file +
+ +1. An IP address +2. The word "error" or "failure" +3. Lines which end with a number +
+ +
+Tell me everything you know about Linux boot process
+
+
What is an exit code? What exit codes are you familiar with?
@@ -546,10 +571,6 @@ Each number has different meaning, based on how the application was developed. I consider this as a good blog post to read more about it: https://shapeshed.com/unix-exit-codes
-
-How to grep two strings?
-
-
What is the different between a soft link and hard link?
@@ -560,6 +581,18 @@ soft links can be created between different file systems while hard link can be created only within the same file system.
+
+What do you know about LVM?
+
+ +
+Explain the following in regards to LVM: + + * PV + * VG + * LV
+
+
What RAID is used for? Can you explain the differences between RAID 0, 1, 5 and 10?