You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+82-11Lines changed: 82 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
5
5
:bar_chart: There are currently **1035** questions
6
6
7
+
:busts_in_silhouette: [Join](https://www.facebook.com/groups/538897960007080) our [Facebook group](https://www.facebook.com/groups/538897960007080) for additional daily exercises, articles and more resources on DevOps
8
+
7
9
:warning: You can use these for preparing for an interview but most of the questions and exercises don't represent an actual interview. Please read [Q&A](common-qa.md) for more details
8
10
9
11
:thought_balloon: If you wonder "How to prepare for a DevOps interview?", you might want to read some of my suggestions [here](prepare_for_interview.md)
@@ -481,6 +483,8 @@ SAAS
481
483
* Public
482
484
* Hybrid
483
485
* Private</summary><br><b>
486
+
487
+
* Hybrid - combination of public and private clouds
484
488
</b></details>
485
489
486
490
<details>
@@ -709,6 +713,7 @@ A transport solution which was designed for transferring large amounts of data (
709
713
<details>
710
714
<summary>What is the difference between Site-to-Site VPN and Client VPN?</summary><br><b>
711
715
</b></details>
716
+
712
717
<details>
713
718
<summary>True or False? AWS Inspector can perform both network and host assessments</summary><br><b>
714
719
@@ -809,6 +814,10 @@ Cost Explorer
809
814
Trusted Advisor
810
815
</b></details>
811
816
817
+
<details>
818
+
<summary>What is the Trusted Advisor?</summary><br><b>
819
+
</b></details>
820
+
812
821
<details>
813
822
<summary>What service allows you to transfer large amounts (Petabytes) of data in and out of the AWS cloud?</summary><br><b>
814
823
@@ -1054,8 +1063,6 @@ TCP establishes a connection between the client and the server to guarantee the
A default gateway serves as an access point or IP router that a networked computer uses to send information to a computer in another network or the internet.
1057
-
1058
-
1059
1066
</b></details>
1060
1067
1061
1068
<details>
@@ -1064,8 +1071,6 @@ A default gateway serves as an access point or IP router that a networked comput
1064
1071
ARP stands for Address Resolution Protocol. When you try to ping an IP address on your local network, say 192.168.1.1, your system has to turn the IP address 192.168.1.1 into a MAC address. This involves using ARP to resolve the address, hence its name.
1065
1072
1066
1073
Systems keep an ARP look-up table where they store information about what IP addresses are associated with what MAC addresses. When trying to send a packet to an IP address, the system will first consult this table to see if it already knows the MAC address. If there is a value cached, ARP is not used.
1067
-
1068
-
1069
1074
</b></details>
1070
1075
1071
1076
<details>
@@ -1209,7 +1214,6 @@ An open question. Answer based on your real experience. You can highlight one or
1209
1214
* rm
1210
1215
* rmdir (can you achieve the same result by using <code>rm</code>?)
1211
1216
* grep
1212
-
* wc
1213
1217
* touch
1214
1218
* whoami
1215
1219
* man
@@ -1221,7 +1225,6 @@ An open question. Answer based on your real experience. You can highlight one or
1221
1225
* rm - remove files and directories. You should mention -r for recursive removal
1222
1226
* rmdir - remove directories but you should mention it's possible to use rm for that
1223
1227
* grep - print lines that match patterns. Could be nice to mention -v, -r, -E flags
1224
-
* wc - print newline, word, and byte counts
1225
1228
* touch - update timestamps but common usage is to create files
1226
1229
* whoami - current logged-in user
1227
1230
* man - reference manuals
@@ -1685,6 +1688,19 @@ True
1685
1688
* /usr/local
1686
1689
</b></details>
1687
1690
1691
+
<details>
1692
+
<summary>What is stored in each of the following logs?</summary><br><b>
1693
+
1694
+
* /var/log/messages
1695
+
* /var/log/boot.log
1696
+
</b></details>
1697
+
1698
+
<details>
1699
+
<summary>True or False? both /tmp and /var/tmp cleared upon system boot</summary><br><b>
1700
+
1701
+
False. /tmp is cleared upon system boot while /var/tmp is cleared every a couple of days or not cleared at all (depends on distro).
1702
+
</b></details>
1703
+
1688
1704
#### Processes
1689
1705
1690
1706
<details>
@@ -2145,6 +2161,13 @@ lsblk
2145
2161
ls, wc, dd, df, du, ps, ip, cp, cd ...
2146
2162
</b></details>
2147
2163
2164
+
<details>
2165
+
<summary>What ways are there for creating a new empty file?</summary><br><b>
2166
+
2167
+
* touch new_file
2168
+
* echo "" > new_file
2169
+
</b></details>
2170
+
2148
2171
<details>
2149
2172
<summary>How `cd -` works? How does it knows the previous location?</summary><br><b>
2150
2173
@@ -2163,6 +2186,10 @@ $OLDPWD
2163
2186
<summary>What is '|'? What is it used for?</summary><br><b>
2164
2187
</b></details>
2165
2188
2189
+
<details>
2190
+
<summary>How to count the number of lines in a file? What about words?</summary><br><b>
2191
+
</b></details>
2192
+
2166
2193
<details>
2167
2194
<summary>You define x=2 in /etc/bashrc and x=6 ~/.bashrc you then login to the system. What would be the value of x?</summary><br><b>
2168
2195
</b></details>
@@ -5912,8 +5939,6 @@ the pseudo table to retrieve the sum of the prices spent by each customer, then
5912
5939
<summary>Explain availability sets and availability zones</summary><br><b>
5913
5940
5914
5941
An availability set is a logical grouping of VMs that allows Azure to understand how your application is built to provide redundancy and availability. It is recommended that two or more VMs are created within an availability set to provide for a highly available application and to meet the 99.95% Azure SLA.
5915
-
5916
-
5917
5942
</b></details>
5918
5943
5919
5944
<details>
@@ -5972,6 +5997,37 @@ Azure AD is a cloud-based identity service. You can use it as a standalone servi
5972
5997
<summary>What components are part of Azure ATP?</summary><br><b>
5973
5998
</b></details>
5974
5999
6000
+
<details>
6001
+
<summary>Where logs are stored in Azure Monitor?</summary><br><b>
6002
+
</b></details>
6003
+
6004
+
<details>
6005
+
<summary>Explain Azure Site Recovery</summary><br><b>
6006
+
</b></details>
6007
+
6008
+
<details>
6009
+
<summary>Explain what the advisor does</summary><br><b>
6010
+
</b></details>
6011
+
6012
+
<details>
6013
+
<summary>Explain VNet peering</summary><br><b>
6014
+
</b></details>
6015
+
6016
+
<details>
6017
+
<summary>Which protocols are available for configuring health probe</summary><br><b>
6018
+
</b></details>
6019
+
6020
+
<details>
6021
+
<summary>Explain Azure Active</summary><br><b>
6022
+
</b></details>
6023
+
6024
+
<details>
6025
+
<summary>What is a subscription? What types of subscriptions are there?</summary><br><b>
6026
+
</b></details>
6027
+
6028
+
<details>
6029
+
<summary>Explain what is a blob storage service</summary><br><b>
6030
+
</b></details>
5975
6031
5976
6032
## GCP
5977
6033
@@ -7119,6 +7175,17 @@ In general the process is as follows:
7119
7175
* The user is happy :D
7120
7176
</b></details>
7121
7177
7178
+
<details>
7179
+
<summary>Explain the resolution sequence of: www.site.com</summary><br><b>
7180
+
7181
+
It's resolved in this order:
7182
+
7183
+
1) .
7184
+
2) .com
7185
+
3) site.com
7186
+
4)www.site.com
7187
+
</b></details>
7188
+
7122
7189
<details>
7123
7190
<summary>What types of DNS records are there?</summary><br><b>
7124
7191
@@ -7131,7 +7198,6 @@ In general the process is as follows:
7131
7198
<details>
7132
7199
<summary>What is a A record?</summary><br><b>
7133
7200
7134
-
7135
7201
A (Address) Maps a host name to an IP address. When a computer has multiple adapter cards and IP addresses, it should have multiple address records.
7136
7202
</b></details>
7137
7203
@@ -7150,7 +7216,6 @@ While an A record points a domain name to an IP address, a PTR record does the o
7150
7216
<details>
7151
7217
<summary>What is a MX record?</summary><br><b>
7152
7218
MX (Mail Exchange) Specifies a mail exchange server for the domain, which allows mail to be delivered to the correct mail servers in the domain.
7153
-
7154
7219
</b></details>
7155
7220
7156
7221
<details>
@@ -7431,6 +7496,12 @@ TODO: explain what is actually a Cookie
7431
7496
<summary>Are you familiar with "Creative Commons"? What do you know about it?</summary><br><b>
7432
7497
</b></details>
7433
7498
7499
+
<details>
7500
+
<summary>Explain the differences between copyleft and permissive licenses</summary><br><b>
7501
+
7502
+
In Copyleft, any derivative work must use the same licensing while in permissive licensing there are no such condition. GPL-3 is an example of copyleft license while BSD is an example of permissive license.
0 commit comments