From 69180fd18f5ece0e78aa46cc02aa68529d3e51d8 Mon Sep 17 00:00:00 2001 From: abregman Date: Wed, 18 Dec 2019 22:38:43 +0200 Subject: [PATCH] Add a couple of Linux and Security questions --- README.md | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 54 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 93fe0cb..cc84d18 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ :information_source:  This repository contains questions on various DevOps and SRE related topics -:bar_chart:  There are currently **640** questions +:bar_chart:  There are currently **650** questions :books:  To learn more about DevOps check the resources in [DevOpsBit.com](https://devopsbit.com) @@ -207,6 +207,20 @@ Stateful applications depend on the storage to save state and data, typically da Describe me the architecture of service/app/project/... you designed and/or implemented
+
+What types of tests are you familiar with?
+ +Styling, unit, functional, API, integration, smoke, scenario, ... + +You should be able to explain those that you mention. +
+ +
+You need to install periodically the same package on different operating systems (Ubuntu, RHEL, ...). How would you do it?
+ +It can be as simple as one Ansible (or other CM tool) task that runs periodically with Cron. In more advanced cases, perhaps a CI system. +
+ ##### SRE
@@ -1071,6 +1085,14 @@ Hardware -> Kernel -> Daemons, System Libraries, Server Display. What is a Linux kernel module and how do you load a new module?
+
+Explain user space and kernel space
+
+ +
+Wildcards are implemented on user or kernel space?
+
+
What is KVM?
@@ -1383,7 +1405,7 @@ This is a great article on the topic: https://www.computerhope.com/jargon/f/file Explain Kernel OOM
-##### Security +##### Linux Security
What is chroot? In what scenarios would you consider using it?
@@ -1561,6 +1583,14 @@ Re-install the OS IS NOT the right answer :) What is sudo? How do you set it up?
+##### Random and Strange :) + +
+Give 5 commands which are two letters long
+ +ls, wc, dd, df, du, ps, ip, ... +
+ #### :star: Advanced @@ -1584,6 +1614,14 @@ read(5, "file content") These system calls are reading the file /my/file and 5 is the file descriptor number.
+
+What system call is used for listing files?
+
+ +
+What system call is used for creating a new process?
+
+
What is the difference between a process and a thread?
@@ -3710,6 +3748,12 @@ Using the keyword read so for example read x will wait Write a script which will list the differences between two directories
+##### Practical + +
+Write a script to determine whether a host is up or down
+
+ #### Advanced @@ -4152,9 +4196,16 @@ the pseudo table to retrieve the sum of the prices spent by each customer, then What is DNS Spoofing? How to prevent it?
+
+What can you tell me about Stuxnet?
+
+ +
+What can you tell me about Spectre?
+
+
Explain OAuth
-