1
0
mirror of https://github.com/bregman-arie/devops-exercises.git synced 2024-11-27 08:30:52 +02:00

Add a couple of questions

Reached 200 questions :D
This commit is contained in:
abregman 2019-10-18 23:13:56 +03:00
parent 538f1b382f
commit 58147b3bf9

View File

@ -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</summary><br><b>
</b></details>
<details>
<summary>Explain what is setgid, setuid and sticky bit</summary><br><b>
</b></details>
<details>
<summary>How to add a new user to the system without providing him the ability to log-in into the system?</summary><br><b>
</b></details>
@ -534,6 +538,27 @@ Can you explain when are you using each one?</summary><br><b>
<summary>Explain redirection</summary><br><b>
</b></details>
<details>
<summary>What are wildcards? Can you give an example of how to use them?</summary><br><b>
</b></details>
<details>
<summary>What do we grep for in each of the following commands?:
* <code>grep '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' some_file</code>
* <code>grep -E "error|failure" some_file</code>
* <code>grep '[0-9]$' some_file</code>
</summary><br><b>
1. An IP address
2. The word "error" or "failure"
3. Lines which end with a number
</b></details>
<details>
<summary>Tell me everything you know about Linux boot process</summary><br><b>
</b></details>
<details>
<summary>What is an exit code? What exit codes are you familiar with?</summary><br><b>
@ -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
</b></details>
<details>
<summary>How to grep two strings?</summary><br><b>
</b></details>
<details>
<summary>What is the different between a soft link and hard link?</summary><br><b>
@ -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.
</b></details>
<details>
<summary>What do you know about LVM?</summary><br><b>
</b></details>
<details>
<summary>Explain the following in regards to LVM:
* PV
* VG
* LV</summary><br><b>
</b></details>
<details>
<summary>What RAID is used for? Can you explain the differences between RAID 0, 1, 5 and 10?</summary><br><b>
</b></details>