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
:information_source: This repo contains questions and exercises on various technical topics, sometimes related to DevOps and SRE :)
4
4
5
-
:bar_chart: There are currently **1013** questions
5
+
:bar_chart: There are currently **1035** questions
6
6
7
7
: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
<summary>How do you change/set the password of a user?</summary><br><b>
2047
2068
</b></details>
2048
2069
2070
+
<details>
2071
+
<summary>Which file stores users passwords? Is it visible for everyone?</summary><br><b>
2072
+
</b></details>
2073
+
2049
2074
<details>
2050
2075
<summary>Do you know how to create a new user without using adduser/useradd command?</summary><br><b>
2051
2076
</b></details>
2052
2077
2053
2078
<details>
2054
-
<summary>What information is stored in /etc/passwd?</summary><br><b>
2079
+
<summary>What information is stored in /etc/passwd? explain each field</summary><br><b>
2055
2080
</b></details>
2056
2081
2057
2082
<details>
@@ -2068,6 +2093,10 @@ su command.
2068
2093
Use su - to switch to root
2069
2094
</b></details>
2070
2095
2096
+
<details>
2097
+
<summary>What is the UID the root user? What about a regular user?</summary><br><b>
2098
+
</b></details>
2099
+
2071
2100
<details>
2072
2101
<summary>What can you do if you lost/forogt the root password?</summary><br><b>
2073
2102
@@ -2078,6 +2107,10 @@ Re-install the OS IS NOT the right answer :)
2078
2107
<summary>What is sudo? How do you set it up?</summary><br><b>
2079
2108
</b></details>
2080
2109
2110
+
<details>
2111
+
<summary>What is /etc/skel?</summary><br><b>
2112
+
</b></details>
2113
+
2081
2114
<details>
2082
2115
<summary>How to see a list of who logged-in to the system?</summary><br><b>
2083
2116
@@ -2297,7 +2330,7 @@ These system calls are reading the file <code>/my/file</code> and 5 is the file
2297
2330
<summary>You found there is a server with high CPU load but you didn't find a process with high CPU. How is that possible?</summary><br><b>
2298
2331
</b></details>
2299
2332
2300
-
##### Linux Networking
2333
+
##### Linux Advanced - Networking
2301
2334
2302
2335
<details>
2303
2336
<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>
@@ -6027,7 +6060,7 @@ startap-script
6027
6060
* Manage virtual instances
6028
6061
</summary><br><b>
6029
6062
6030
-
* Glance - Copy or snapshot instances
6063
+
* Glance - Images Service. Also used for copying or snapshot instances
6031
6064
* Horizon - GUI for viewing and modifying resources
6032
6065
* Cinder - Block Storage
6033
6066
* Nova - Manage virtual instances
@@ -6065,8 +6098,16 @@ startap-script
6065
6098
<summary>How do you debug OpenStack compute issues? (tools, logs, ...)</summary><br><b>
6066
6099
</b></details>
6067
6100
6101
+
#### OpenStack Deployment & TripleO
6102
+
6103
+
<details>
6104
+
<summary>Have you deployed OpenStack in the past? If yes, can you describe how you did it?</summary><br><b>
6105
+
</b></details>
6106
+
6068
6107
<details>
6069
-
<summary>Are you familiar with TripleO? How is it different from Devstack?</summary><br><b>
6108
+
<summary>Are you familiar with TripleO? How is it different from Devstack or Packstack?</summary><br><b>
6109
+
6110
+
You can read about TripleO right [here](https://docs.openstack.org/tripleo-docs/latest)
6070
6111
</b></details>
6071
6112
6072
6113
#### OpenStack Compute
@@ -6122,6 +6163,20 @@ startap-script
6122
6163
* neutron-server - exposes networking API and passes requests to other plugins if required
6123
6164
</b></details>
6124
6165
6166
+
<details>
6167
+
<summary>Explain these network types:
6168
+
6169
+
* Management Network
6170
+
* Guest Network
6171
+
* API Network
6172
+
* External Network</summary><br><b>
6173
+
6174
+
* Management Network - used for internal communication between OpenStack components. Any IP address in this network is accessible only within the datacetner
6175
+
* Guest Network - used for communication between instances/VMs
6176
+
* API Network - used for services API communication. Any IP address in this network is publicly accessible
6177
+
* External Network - used for public communication. Any IP address in this network is accessible by anyone on the internet
6178
+
</b></details>
6179
+
6125
6180
<details>
6126
6181
<summary>What is a provider network?</summary><br><b>
6127
6182
</b></details>
@@ -6154,6 +6209,80 @@ startap-script
6154
6209
<summary>How do you debug OpenStack networking issues? (tools, logs, ...)</summary><br><b>
6155
6210
</b></details>
6156
6211
6212
+
#### OpenStack - Glance
6213
+
6214
+
<details>
6215
+
<summary>Explain Glance in detail</summary><br><b>
6216
+
6217
+
* Glance is the OpenStack image service
6218
+
* It handles requests related to instances disks and images
6219
+
* Glance also used for creating snapshots for quick instances backups
6220
+
* Users can use Glance to create new images or upload existing ones
* glance-api - responsible for handling image API calls such as retrieval and storage. It consists of two APIs: 1. registry-api - responsible for internal requests 2. user API - can be accessed publicly
6227
+
* glance-registry - responsible for handling image metadata requests (e.g. size, type, etc). This component is private which means it's not available publicly
6228
+
* metadata definition service - API for custom metadata
6229
+
* database - for storing images metadata
6230
+
* image repository - for storing images. This can be a filesystem, swift object storage, HTTP, etc.
6231
+
</b></details>
6232
+
6233
+
#### OpenStack - Swift
6234
+
6235
+
<details>
6236
+
<summary>Explain Swift in detail</summary><br><b>
6237
+
6238
+
* Swift is Object Store service and is an highly available, distributed and consistent store designed for storing a lot of data
6239
+
* Swift is distributing data across multiple servers while writing it to multiple disks
6240
+
* One can choose to add additional servers to scale the cluster. All while swift maintaining integrity of the information and data replications.
6241
+
</b></details>
6242
+
6243
+
<details>
6244
+
<summary>Can users store by default an object of 100GB in size?</summary><br><b>
6245
+
6246
+
Not by default. Object Storage API limits the maximum to 5GB per object but it can be adjusted.
6247
+
</b></details>
6248
+
6249
+
<details>
6250
+
<summary>Explain the following in regards to Swift:
6251
+
6252
+
* Container
6253
+
* Account
6254
+
* Object </summary><br><b>
6255
+
6256
+
* Container - Defines a namespace for objects.
6257
+
* Account - Defines a namespace for containers
6258
+
* Object - Data content (e.g. image, document, ...)
6259
+
</b></details>
6260
+
6261
+
<details>
6262
+
<summary>True or False? there can be two objects with the same name in the same container but not in two different containers</summary><br><b>
6263
+
6264
+
False. Two objects can have the same name if they are in different containers.
6265
+
</b></details>
6266
+
6267
+
#### OpenStack - Swift
6268
+
6269
+
<details>
6270
+
<summary>Explain Cinder in detail</summary><br><b>
6271
+
6272
+
* Cinder is OpenStack Block Storage service
6273
+
* It basically provides used with storage resources they can consume with other services such as Nova
6274
+
* One of the most used implementations of storage supported by Cinder is LVM
6275
+
* From user perspective this is transparent which means the user doesn't know where, behind the scenes, the storage is located or what type of storage is used
0 commit comments