Add a couple of new questions

This commit is contained in:
abregman 2019-10-17 09:58:08 +03:00
parent 1ccb3fea81
commit dc9886c289

View File

@ -6,7 +6,7 @@
:information_source:  This repository contains interview questions on various DevOps related topics :information_source:  This repository contains interview questions on various DevOps related topics
:bar_chart:  There are currently **151** interview questions :bar_chart:  There are currently **161** interview questions
:warning:  Some answers might be only partial and shouldn't be used as they are in interviews :warning:  Some answers might be only partial and shouldn't be used as they are in interviews
@ -424,6 +424,10 @@ CSMA/CD algorithm:
<summary>What is IPv6? Why should we consider using it if we have IPv4?</summary><br><b> <summary>What is IPv6? Why should we consider using it if we have IPv4?</summary><br><b>
</b></details> </b></details>
<details>
<summary>What is VLAN?</summary><br><b>
</b></details>
<details> <details>
<summary>What is MTU?</summary><br><b> <summary>What is MTU?</summary><br><b>
</b></details> </b></details>
@ -442,7 +446,8 @@ CSMA/CD algorithm:
#### :baby: Beginner #### :baby: Beginner
<details> <details>
<summary>Explain what each of the following commands does and given an example on how to use it <summary>Explain what each of the following commands does and given an example on how to use it:
* ls * ls
* rm * rm
* rmdir (can you achieve the same result by using <code>rm</code>?) * rmdir (can you achieve the same result by using <code>rm</code>?)
@ -472,6 +477,7 @@ The tasks are stored in a cron file.
<details> <details>
<summary>What does the following permissions mean?: <summary>What does the following permissions mean?:
* 777 * 777
* 644 * 644
* 750</summary><br><b> * 750</summary><br><b>
@ -483,6 +489,7 @@ The tasks are stored in a cron file.
<details> <details>
<summary>What commands are you using for troubleshooting issues? specifically: <summary>What commands are you using for troubleshooting issues? specifically:
* Disk issues * Disk issues
* Memory, CPU issues * Memory, CPU issues
* Networking issues</summary><br><b> * Networking issues</summary><br><b>
@ -500,6 +507,10 @@ The tasks are stored in a cron file.
<summary>What is KVM?</summary><br><b> <summary>What is KVM?</summary><br><b>
</b></details> </b></details>
<details>
<summary>Explain redirection</summary><br><b>
</b></details>
<details> <details>
<summary>What is an exit code? What exit codes are you familiar with?</summary><br><b> <summary>What is an exit code? What exit codes are you familiar with?</summary><br><b>
@ -536,6 +547,27 @@ soft links can be created between different file systems while
hard link can be created only within the same file system. hard link can be created only within the same file system.
</b></details> </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>
<details>
<summary>Fix the following commands:
* sed "s/1/2/g' /tmp/myFile
* find . -iname \*.yaml -exec sed -i "s/1/2/g" {} ;</summary><br><b>
</b></details>
<details>
<summary>Explain what is stored in each of the following paths and if there is anything unique about it:</summary><br><b>
* /tmp
* /var/log
* /bin
* /proc
* /usr/local
</b></details>
<details> <details>
<summary>How to run a process in the background and why to do that in the first place?</summary><br><b> <summary>How to run a process in the background and why to do that in the first place?</summary><br><b>
@ -615,11 +647,17 @@ related to the file like its size, owner, permissions, etc.
</b></details> </b></details>
<details> <details>
<summary>DNS: What is A record?</summary><br><b> <summary>DNS: What is a "A record"?</summary><br><b>
</b></details> </b></details>
<details> <details>
<summary>DNS: What is MX record?</summary><br><b> <summary>DNS: What is a PTR?</summary><br><b>
While an A record points a domain name to an IP address, a PTR record does the opposite and resolves the IP address to a domain name.
</b></details>
<details>
<summary>DNS: What is a MX record?</summary><br><b>
</b></details> </b></details>
<details> <details>
@ -635,6 +673,22 @@ related to the file like its size, owner, permissions, etc.
sed "s/\s*\w\+\s*$//" file sed "s/\s*\w\+\s*$//" file
</b></details> </b></details>
<details>
<summary>When you run <code>ip a</code> you see there is a device called 'lo'. What is it and why do we need it?</summary><br><b>
</b></details>
<details>
<summary>What <code>traceroute</code> command does? How it works?</summary><br><b>
</b></details>
<details>
<summary>What is the routing table? How do you view it?</summary><br><b>
</b></details>
<details>
<summary>What are cgroups? In what scenario would you use them?</summary><br><b>
</b></details>
<details> <details>
<summary>How to create a file of a certain size?</summary><br><b> <summary>How to create a file of a certain size?</summary><br><b>
@ -963,7 +1017,7 @@ Swarm management which means you can create new swarms in Docker Cloud.
</b></details> </b></details>
<details> <details>
<summary>How do you create users?</summary><br><b> <summary>How do you create users? Where user information is stored?</summary><br><b>
</b></details> </b></details>
@ -1113,7 +1167,7 @@ is currently pointing at.
</p> </p>
</b></details> </b></details>
details> <details>
<summary>You would like to move forth commit to the top. How would you achieve that?</summary><br><b> <summary>You would like to move forth commit to the top. How would you achieve that?</summary><br><b>
Using <code>git rebase></code> command Using <code>git rebase></code> command