6
6
7
7
:information_source :   ; This repository contains interview questions on various DevOps related topics
8
8
9
- :bar_chart :   ; There are currently ** 161 ** interview questions
9
+ :bar_chart :   ; There are currently ** 172 ** interview questions
10
10
11
11
:warning :   ; Some answers might be only partial and shouldn't be used as they are in interviews
12
12
36
36
<td align="center"><a href="#git"><img src="images/git.png" width="75px;" height="75px;" alt="Git"/><br /><b>Git</b></a><br /><sub><a href="#git-beginner">Beginner :baby:</a></sub><br><sub><a href="#git-advanced">Advanced :star:</a></sub></td>
37
37
<td align="center"><a href="#go"><img src="images/go.png" width="75px;" height="75px;" alt="Go"/><br /><b>Go</b></a><br /><sub><a href="#go-beginner">Beginner :baby:</a></sub><br><sub></td>
38
38
<td align="center"><a href="#mongo"><img src="images/mongo.png" width="75px;" height="75px;" alt="Mongo"/><br /><b>Mongo</b></a><br /><sub><a href="#mongo-beginner">Beginner :baby:</a></sub><br><sub></td>
39
+ <td align="center"><a href="#openshift"><img src="images/openshift.png" width="75px;" height="75px;" alt="OpenShift"/><br /><b>OpenShift</b></a><br /><sub><a href="#openshift-beginner">Beginner :baby:</a></sub><br><sub></td>
39
40
</tr >
40
41
</table >
41
42
</center >
@@ -92,7 +93,6 @@ Each piece of code (change/patch) is verified, to make the change is safe to mer
92
93
* Code review
93
94
* Code coverage
94
95
* Tests</summary ><br ><b >
95
-
96
96
* CI/CD - Jenkins, Circle CI, Travis
97
97
* Provisioning infrastructure - Terraform, CloudFormation
98
98
* Configuration Management - Ansible, Puppet, Chef
@@ -226,6 +226,11 @@ This situation might lead to bugs which hard to identify and reproduce.
226
226
227
227
<a name =" jenkins-beginner " ></a >
228
228
#### :baby : Beginner
229
+
230
+ <details >
231
+ <summary >Why are you using Jenkins? What are the advantages of Jenkins over its competitors?</summary ><br ><b >
232
+ </b ></details >
233
+
229
234
<details >
230
235
<summary >What is a plugin?</summary ><br ><b >
231
236
</b ></details >
@@ -242,10 +247,9 @@ This situation might lead to bugs which hard to identify and reproduce.
242
247
</b ></details >
243
248
244
249
<details >
245
- <summary >Explain CI/CD and how you implemented in Jenkins</summary ><br ><b >
250
+ <summary >Explain CI/CD and how you implemented it in Jenkins</summary ><br ><b >
246
251
</b ></details >
247
252
248
-
249
253
<details >
250
254
<summary >What type of jobs there are? what is the advantage of each type?</summary ><br ><b >
251
255
</b ></details >
@@ -258,13 +262,29 @@ This situation might lead to bugs which hard to identify and reproduce.
258
262
<summary >How to secure Jenkins?</summary ><br ><b >
259
263
</b ></details >
260
264
265
+ ##### Writing pipelines
266
+
267
+ <details >
268
+ <summary >Can you write a pipeline which will run unit tests upon git push to a certain repository?</summary ><br ><b >
269
+ </b ></details >
270
+
261
271
<a name =" jenkins-advanced " ></a >
262
272
#### :star : Advanced
263
273
264
274
<details >
265
275
<summary >Write a script to remove all the jobs which include the string "REMOVE_ME"</summary ><br ><b >
266
276
</b ></details >
267
277
278
+ ##### Writing pipelines
279
+
280
+ <details >
281
+ <summary >Can you write a pipeline which will do to the following?:
282
+
283
+ * Provision an instance (can also be a container)
284
+ * Configure the instance as Apache web server
285
+ * Deploy a web application on the provisioned instance</summary ><br ><b >
286
+ </b ></details >
287
+
268
288
269
289
## AWS
270
290
@@ -990,6 +1010,10 @@ you with more options/features compared to Docker Hub. One example is
990
1010
Swarm management which means you can create new swarms in Docker Cloud.
991
1011
</b ></details >
992
1012
1013
+ <details >
1014
+ <summary >Explain image layers</summary ><br ><b >
1015
+ </b ></details >
1016
+
993
1017
## Kubernetes
994
1018
995
1019
<details >
@@ -1171,7 +1195,7 @@ is currently pointing at.
1171
1195
<summary >You would like to move forth commit to the top. How would you achieve that?</summary ><br ><b >
1172
1196
1173
1197
Using <code >git rebase></code > command
1174
- </b ></summary >
1198
+ </b ></details >
1175
1199
1176
1200
<details >
1177
1201
<summary >In what situations are you using <code >git rebase</code >?</summary ><br ><b >
@@ -1266,6 +1290,39 @@ func main() {
1266
1290
<summary >What is an aggregator?</summary ><br ><b >
1267
1291
</b ></details >
1268
1292
1293
+ ## OpenShift
1294
+
1295
+ <a name =" openshift-beginner " ></a >
1296
+ #### :baby : Beginner
1297
+
1298
+ <details >
1299
+ <summary >What is OpenShift? Did you use it? If yes, how?</summary ><br ><b >
1300
+ </b ></details >
1301
+
1302
+ <details >
1303
+ <summary >Can you explain the difference between OpenShift and Kubernetes?</summary ><br ><b >
1304
+ </b ></details >
1305
+
1306
+ <details >
1307
+ <summary >Define Pods and explain what are stateful pods</summary ><br ><b >
1308
+ </b ></details >
1309
+
1310
+ <details >
1311
+ <summary >What types of build strategies are you familiar with?</summary ><br ><b >
1312
+ </b ></details >
1313
+
1314
+ <details >
1315
+ <summary >Explain what are labels and what they are used for</summary ><br ><b >
1316
+ </b ></details >
1317
+
1318
+ <details >
1319
+ <summary >Explain what are annotations and how they are different from labels</summary ><br ><b >
1320
+ </b ></details >
1321
+
1322
+ <details >
1323
+ <summary >Explain what is Downward API</summary ><br ><b >
1324
+ </b ></details >
1325
+
1269
1326
1270
1327
## Scenarios
1271
1328
0 commit comments