From dc9886c289ef4a22126554add560a58253fd7ed7 Mon Sep 17 00:00:00 2001 From: abregman Date: Thu, 17 Oct 2019 09:58:08 +0300 Subject: [PATCH] Add a couple of new questions --- README.md | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 60 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bce9774..5d92185 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ :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 @@ -424,6 +424,10 @@ CSMA/CD algorithm: What is IPv6? Why should we consider using it if we have IPv4?
+
+What is VLAN?
+
+
What is MTU?
@@ -442,7 +446,8 @@ CSMA/CD algorithm: #### :baby: Beginner
-Explain what each of the following commands does and given an example on how to use it +Explain what each of the following commands does and given an example on how to use it: + * ls * rm * rmdir (can you achieve the same result by using rm?) @@ -472,6 +477,7 @@ The tasks are stored in a cron file.
What does the following permissions mean?: + * 777 * 644 * 750
@@ -483,6 +489,7 @@ The tasks are stored in a cron file.
What commands are you using for troubleshooting issues? specifically: + * Disk issues * Memory, CPU issues * Networking issues
@@ -500,6 +507,10 @@ The tasks are stored in a cron file. What is KVM?
+
+Explain redirection
+
+
What is an exit code? What exit codes are you familiar with?
@@ -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.
+
+What RAID is used for? Can you explain the differences between RAID 0, 1, 5 and 10?
+
+ +
+Fix the following commands: + + * sed "s/1/2/g' /tmp/myFile + * find . -iname \*.yaml -exec sed -i "s/1/2/g" {} ;
+
+ +
+Explain what is stored in each of the following paths and if there is anything unique about it:
+ + * /tmp + * /var/log + * /bin + * /proc + * /usr/local +
+
How to run a process in the background and why to do that in the first place?
@@ -615,11 +647,17 @@ related to the file like its size, owner, permissions, etc.
-DNS: What is A record?
+DNS: What is a "A record"?
-DNS: What is MX record?
+DNS: What is a PTR?
+ +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. +
+ +
+DNS: What is a MX record?
@@ -635,6 +673,22 @@ related to the file like its size, owner, permissions, etc. sed "s/\s*\w\+\s*$//" file
+
+When you run ip a you see there is a device called 'lo'. What is it and why do we need it?
+
+ +
+What traceroute command does? How it works?
+
+ +
+What is the routing table? How do you view it?
+
+ +
+What are cgroups? In what scenario would you use them?
+
+
How to create a file of a certain size?
@@ -963,7 +1017,7 @@ Swarm management which means you can create new swarms in Docker Cloud.
-How do you create users?
+How do you create users? Where user information is stored?
@@ -1113,7 +1167,7 @@ is currently pointing at.

-details> +
You would like to move forth commit to the top. How would you achieve that?
Using git rebase> command