|
3 | 3 |
|
4 | 4 | :information_source: This repository contains interview questions on various DevOps related topics
|
5 | 5 |
|
6 |
| -:bar_chart: There are currently **399** questions |
| 6 | +:bar_chart: There are currently **400** questions |
7 | 7 |
|
8 | 8 |
|
9 | 9 | :warning: You don't need to know how to answer all the questions in this repo. DevOps is not about knowing all :)
|
|
45 | 45 | <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>
|
46 | 46 | <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>
|
47 | 47 | <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> |
48 | 49 | </tr>
|
49 | 50 | </table>
|
50 | 51 | </center>
|
@@ -116,18 +117,6 @@ You may use one or all of the following:
|
116 | 117 | * architecture aspects - agent vs. agentless, master vs. masterless, etc.
|
117 | 118 | </b></details>
|
118 | 119 |
|
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 |
| - |
131 | 120 | <details>
|
132 | 121 | <summary>Explain mutable vs. immutable infrastructure</summary><br><b>
|
133 | 122 |
|
@@ -183,10 +172,6 @@ which follows the immutable infrastructure paradigm.
|
183 | 172 | <summary>How would you structure/implement CD for an application which depends on several other applications?</summary><br><b>
|
184 | 173 | </b></details>
|
185 | 174 |
|
186 |
| -<details> |
187 |
| -<summary>Explain what are design patterns. Which design patterns are you familiar with?</summary><br><b> |
188 |
| -</b></details> |
189 |
| - |
190 | 175 | <details>
|
191 | 176 | <summary>How do you measure your CI/CD quality? Are there any metrics you are using?</summary><br><b>
|
192 | 177 | </b></details>
|
@@ -1635,6 +1620,44 @@ Swarm management which means you can create new swarms in Docker Cloud.
|
1635 | 1620 | <summary>Do you know how to create a new user without using adduser/useradd command?</summary><br><b>
|
1636 | 1621 | </b></details>
|
1637 | 1622 |
|
| 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 | + |
1638 | 1661 | ## Python
|
1639 | 1662 |
|
1640 | 1663 | <a name="python-beginner"></a>
|
@@ -1959,11 +1982,6 @@ def reverse_string(string):
|
1959 | 1982 | ```
|
1960 | 1983 | </b></details>
|
1961 | 1984 |
|
1962 |
| - |
1963 |
| -<details> |
1964 |
| -<summary>Write a function to determine if a given string is a palindrome</summary><br><b> |
1965 |
| -</b></details> |
1966 |
| - |
1967 | 1985 | <details>
|
1968 | 1986 | <summary>How to sort a dictionary by values?</summary><br><b>
|
1969 | 1987 | </b></details>
|
@@ -2314,13 +2332,19 @@ If you want to get "101" you should use the package "strconv" and replace <code>
|
2314 | 2332 |
|
2315 | 2333 | <details>
|
2316 | 2334 | <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. |
2317 | 2340 | </b></details>
|
2318 | 2341 |
|
2319 | 2342 | <details>
|
2320 | 2343 | <summary>In what scenarios would you prefer to use NoSQL/Mongo over SQL?</summary><br><b>
|
2321 | 2344 |
|
2322 | 2345 | * Heterogeneous data which changes often
|
2323 | 2346 | * Data consistency and integrity is not top priority
|
| 2347 | + * Best if the database needs to scale rapidly |
2324 | 2348 | </b></details>
|
2325 | 2349 |
|
2326 | 2350 | <details>
|
@@ -2643,7 +2667,7 @@ Inner JOIN cat_food f <br>
|
2643 | 2667 | ON c.Customer_ID = f.Customer_ID <br>
|
2644 | 2668 | where c.Customer_ID in (Select Customer_ID from cat_food);
|
2645 | 2669 |
|
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 |
2647 | 2671 | a complex query needs to be run on a table before joining to another. With statements are nice,
|
2648 | 2672 | because you create a pseudo temp when running your query, instead of creating a whole new table.
|
2649 | 2673 |
|
|
0 commit comments