diff --git a/README.md b/README.md index fc0ba4f..9dd0e90 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 **450** questions +:bar_chart:  There are currently **461** questions :warning:  You don't need to know how to answer all the questions in this repo. DevOps is not about knowing all :) @@ -493,6 +493,29 @@ Stop the instance, the type of the instance to match the desired RAM and start t True or False? objects are cached for the life of TTL
+##### Load Balancers + +
+What types of load balancers are supported in EC2 and what are they used for?
+ + * Application LB - layer 7 traffic + * Network LB - ultra-high performances or static IP adress + * Classic LB - low costs, good for test or dev environments +
+ +#### Databases + +
+What is RDS?
+
+ +
+What are some features or benefits of using RDS?
+ +1. Multi AZ - great for Disaster Recovery +2. Read Replicas - for better performences +
+ ## Network @@ -1796,6 +1819,10 @@ Re-install the OS IS NOT the right answer :) In any language you want, write a function to determine if a given string is a palindrome
+
+In any language you want, write a function to determine if two strings are Anagrams
+
+ #### :star: Advanced @@ -2015,7 +2042,15 @@ for char in 'pizza': >> 'azzip' ``` + +
+How to extract the unique characters from a string? for example given the input "itssssssameeeemarioooooo" the output will be "mrtisaoe"
+ +``` +x = "itssssssameeeemarioooooo" +y = ''.join(set(x)) +```
@@ -2040,6 +2075,20 @@ def return_sum(): How to merge two sorted lists into one sorted list?
+
+How to merge two dictionries?
+
+ +
+How do you swap values between two variables?
+ +x, y = y, x +
+ +
+How to check if all the elements in a given lists are unique? so [1, 2, 3] is unique but [1, 1, 2, 3] is not unique but we 1 twice
+
+
What _ is used for in Python?
@@ -2048,6 +2097,10 @@ def return_sum(): 3. As a general purpose "throwaway" variable name. For example: x, y, _ = get_data() (x and y are used but since we don't care about third variable, we "threw it away").
+
+How to check how much time it took to execute a certain script or block of code?
+
+ ##### Algorithms Implementation
@@ -2177,6 +2230,10 @@ def reverse_string(string): How to reverse a list?
+
+How to combine list of strings into one string with spaces between the strings
+
+
What empty return returns?
@@ -2253,6 +2310,13 @@ def reverse_string(string): Explain monitoring. What is it? What its goal?
+
+What is wrong with the old approach of watching for a specific value and trigger an email/phone alert while value is exceeded?
+ +This approach require from a human to always check why the value exceeded and how to handle it while today, it is more effective to notify people only when they need to take an actual action. +If the issue doesn't require any human intervention, then the problem can be fixed by some processes running in the relevant environment. +
+
What types of monitoring outputs are you familiar with and/or used in the past?