Skip to content

Commit 68cdc59

Browse files
author
abregman
committed
Add coding questions
Also removed a couple of questions I added in the past but didn't really like.
1 parent c5639e3 commit 68cdc59

File tree

2 files changed

+47
-23
lines changed

2 files changed

+47
-23
lines changed

README.md

Lines changed: 47 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
:information_source:  This repository contains interview questions on various DevOps related topics
55

6-
:bar_chart:  There are currently **399** questions
6+
:bar_chart:  There are currently **400** questions
77

88

99
:warning:  You don't need to know how to answer all the questions in this repo. DevOps is not about knowing all :)
@@ -45,6 +45,7 @@
4545
<td align="center"><a href="#openstack"><img src="images/openstack.png" width="75px;" height="75px;" alt="openstack"/><br /><b>OpenStack</b></a><br /><sub><a href="#openstack-beginner">Beginner :baby:</a></sub><br><sub><a href="#openstack-advanced">Advanced :star:</a></sub></td>
4646
<td align="center"><a href="#security"><img src="images/security.png" width="75px;" height="75px;" alt="security"/><br /><b>Security</b></a><br /><sub><a href="#security-beginner">Beginner :baby:</a></sub><br><sub></td>
4747
<td align="center"><a href="#puppet"><img src="images/puppet.png" width="75px;" height="75px;" alt="puppet"/><br /><b>Puppet</b></a><br /><sub><a href="#puppet-beginner">Beginner :baby:</a></sub><br><sub><a href="#puppet-advanced">Advanced :star:</a></sub></td>
48+
<td align="center"><a href="#coding"><img src="images/coding.png" width="75px;" height="75px;" alt="coding"/><br /><b>Coding</b></a><br /><sub><a href="#coding-beginner">Beginner :baby:</a></sub><br><sub><a href="#coding-advanced">Advanced :star:</a></sub></td>
4849
</tr>
4950
</table>
5051
</center>
@@ -116,18 +117,6 @@ You may use one or all of the following:
116117
* architecture aspects - agent vs. agentless, master vs. masterless, etc.
117118
</b></details>
118119

119-
<details>
120-
<summary>What the difference between VPN and VPS?</summary><br><b>
121-
</b></details>
122-
123-
<details>
124-
<summary>What scripting language are you familiar with? why specifically this one?</summary><br><b>
125-
</b></details>
126-
127-
<details>
128-
<summary>How long do you think it would take you to learn another language?</summary><br><b>
129-
</b></details>
130-
131120
<details>
132121
<summary>Explain mutable vs. immutable infrastructure</summary><br><b>
133122

@@ -183,10 +172,6 @@ which follows the immutable infrastructure paradigm.
183172
<summary>How would you structure/implement CD for an application which depends on several other applications?</summary><br><b>
184173
</b></details>
185174

186-
<details>
187-
<summary>Explain what are design patterns. Which design patterns are you familiar with?</summary><br><b>
188-
</b></details>
189-
190175
<details>
191176
<summary>How do you measure your CI/CD quality? Are there any metrics you are using?</summary><br><b>
192177
</b></details>
@@ -1635,6 +1620,44 @@ Swarm management which means you can create new swarms in Docker Cloud.
16351620
<summary>Do you know how to create a new user without using adduser/useradd command?</summary><br><b>
16361621
</b></details>
16371622

1623+
## Coding
1624+
1625+
<a name="coding-beginner"></a>
1626+
#### :baby: Beginner
1627+
1628+
<details>
1629+
<summary>What programming language do you prefer to use for DevOps related tasks? Why specifically this one?</summary><br><b>
1630+
</b></details>
1631+
1632+
<details>
1633+
<summary>What is Object Oriented Programming? Why is it important?</summary><br><b>
1634+
</b></details>
1635+
1636+
<details>
1637+
<summary>Explain recursion</summary<br><b>
1638+
</b></details>
1639+
1640+
<details>
1641+
<summary>Explain what are design patterns and describe three of them in detail</summary><br><b>
1642+
</b></details>
1643+
1644+
<details>
1645+
<summary>Explain big O notation</summary><br><b>
1646+
</b></details>
1647+
1648+
##### Strings
1649+
1650+
<details>
1651+
<summary>In any language you want, write a function to determine if a given string is a palindrome</summary><br><b>
1652+
</b></details>
1653+
1654+
<a name="coding-advanced"></a>
1655+
#### :star: Advanced
1656+
1657+
<details>
1658+
<summary>Name 3 design patterns. Do you know how to implement (= provide an example) these design pattern in any language you'll choose?</summary><br><b>
1659+
</b></details>
1660+
16381661
## Python
16391662

16401663
<a name="python-beginner"></a>
@@ -1959,11 +1982,6 @@ def reverse_string(string):
19591982
```
19601983
</b></details>
19611984

1962-
1963-
<details>
1964-
<summary>Write a function to determine if a given string is a palindrome</summary><br><b>
1965-
</b></details>
1966-
19671985
<details>
19681986
<summary>How to sort a dictionary by values?</summary><br><b>
19691987
</b></details>
@@ -2314,13 +2332,19 @@ If you want to get "101" you should use the package "strconv" and replace <code>
23142332

23152333
<details>
23162334
<summary>What is the difference between SQL and NoSQL?</summary><br><b>
2335+
2336+
The main difference is that SQL databases are structured (data is stored in the form of
2337+
tables with rows and columns - like an excel spreadsheet table) while NoSQL is
2338+
unstructured, and the data storage can vary depending on how the NoSQL DB is set up, such
2339+
as key-value pair, document-oriented, etc.
23172340
</b></details>
23182341

23192342
<details>
23202343
<summary>In what scenarios would you prefer to use NoSQL/Mongo over SQL?</summary><br><b>
23212344

23222345
* Heterogeneous data which changes often
23232346
* Data consistency and integrity is not top priority
2347+
* Best if the database needs to scale rapidly
23242348
</b></details>
23252349

23262350
<details>
@@ -2643,7 +2667,7 @@ Inner JOIN cat_food f <br>
26432667
ON c.Customer_ID = f.Customer_ID <br>
26442668
where c.Customer_ID in (Select Customer_ID from cat_food);
26452669

2646-
Although this was a simple statement, the "with" clause really shines is when
2670+
Although this was a simple statement, the "with" clause really shines when
26472671
a complex query needs to be run on a table before joining to another. With statements are nice,
26482672
because you create a pseudo temp when running your query, instead of creating a whole new table.
26492673

images/coding.png

6.48 KB
Loading

0 commit comments

Comments
 (0)