|
1 |
| -# DevOps Interview Questions |
| 1 | +# DevOps Questions & Exercises |
2 | 2 |
|
3 |
| -:information_source: This repository contains questions on various DevOps and SRE related topics |
| 3 | +: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 **804** questions |
| 5 | +:bar_chart: There are currently **819** questions |
6 | 6 |
|
7 |
| -:warning: The purpose of this repo is to help you test your knowledge and prepare for interviews. It doesn't represents a DevOps interview. Please read [Q&A](common-qa.md) for more details |
| 7 | +:warning: These are not interview questions and most of them shouldn't be used as interview questions. Please read [Q&A](common-qa.md) for more details |
8 | 8 |
|
9 |
| -:thought_balloon: If you wonder how to prepare to your DevOps Interview, we added a couple of suggestions [here](prepare_for_interview.md) |
| 9 | +: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) |
10 | 10 |
|
11 |
| -:pencil: You can add more questions & answers by submitting pull requests :) You can read more about it [here](CONTRIBUTING.md) |
12 |
| - |
13 |
| -:cn: You can find a [中文](README-zh_CN.md) Chinese translation right [here](README-zh_CN.md) |
| 11 | +:pencil: You can add more questions and exercises by submitting pull requests :) You can read more about it [here](CONTRIBUTING.md) |
14 | 12 |
|
15 | 13 | ****
|
16 | 14 |
|
|
63 | 61 | <td align="center"><a href="#databases"><img src="images/databases.png" width="75px;" height="75px;" alt="Databases"/><br /><b>Databases</b></a></td>
|
64 | 62 | <td align="center"><a href="#design"><img src="images/design.png" width="110px;" height="75px;" alt="Design"/><br /><b>Design</b></a></td>
|
65 | 63 | <td align="center"><a href="#questions-you-ask"><img src="images/you.png" width="110px;" height="75px;" alt="you"/><br /><b>Questions you ask</b></a></td>
|
66 |
| - <td align="center"><a href="#challenges"><img src="images/challenges.png" width="110px;" height="75px;" alt="Challenges"/><br /><b>Challenges</b></a></td> |
| 64 | + <td align="center"><a href="#exercises"><img src="images/exercises.png" width="110px;" height="75px;" alt="Exercises"/><br /><b>Exercises</b></a></td> |
67 | 65 | </tr>
|
68 | 66 | </table>
|
69 | 67 | </center>
|
@@ -1853,18 +1851,36 @@ wait() is used by a parent process to wait for the child process to finish execu
|
1853 | 1851 | If wait is not used by a parent process then a child process might become a zombie process.
|
1854 | 1852 | </b></details>
|
1855 | 1853 |
|
| 1854 | +<details> |
| 1855 | +<summary>What execve() does?</summary><br><b> |
| 1856 | + |
| 1857 | +Executes a program. The program is passed as a filename (or path) and must be a binary executable or a script. |
| 1858 | +</b></details> |
| 1859 | + |
1856 | 1860 | <details>
|
1857 | 1861 | <summary>What happens when you execute <code>ls -l</code>?</summary><br><b>
|
1858 | 1862 |
|
1859 | 1863 | * Shell reads the input using getline() which reads the input file stream and stores into a buffer as a string
|
1860 | 1864 | * The buffer is broken down into tokens and stored in an array this way: {"ls", "-l", "NULL"}
|
1861 | 1865 | * Shell checks if an expansion is required (in case of ls *.c)
|
| 1866 | + |
| 1867 | +* Once the program in memory, its execution starts. First by calling readdir() |
| 1868 | + |
| 1869 | +Notes: |
| 1870 | + |
| 1871 | +* getline() originates in GNU C library and used to read lines from input stream and stores those lines in the buffer |
1862 | 1872 | </b></details>
|
1863 | 1873 |
|
1864 | 1874 | <details>
|
1865 | 1875 | <summary>What happens when you execute <code>ls -l *.log</code>?</summary><br><b>
|
1866 | 1876 | </b></details>
|
1867 | 1877 |
|
| 1878 | +<details> |
| 1879 | +<summary>What readdir() system call does?</summary><br><b> |
| 1880 | + |
| 1881 | + |
| 1882 | +</b></details> |
| 1883 | + |
1868 | 1884 | #### Linux Filesystem & Files
|
1869 | 1885 |
|
1870 | 1886 | <details>
|
@@ -5987,31 +6003,30 @@ Instead of working in "push mode", the consumers can pull tasks only when they a
|
5987 | 6003 | <summary>How would you scale the architecture from the previous question to hundreds of users?</summary><br><b>
|
5988 | 6004 | </b></details>
|
5989 | 6005 |
|
5990 |
| -## Challenges |
| 6006 | +## Exercises |
5991 | 6007 |
|
5992 |
| -Challenges require you one of the following: |
| 6008 | +Exercises are all about: |
5993 | 6009 |
|
5994 |
| - * Set up environments |
5995 |
| - * Write scripts |
5996 |
| - * Design and/or develop infrastructure projects |
5997 |
| - * Fix existing applications |
| 6010 | + * Setting up environments |
| 6011 | + * Writing scripts |
| 6012 | + * Designing and/or developing infrastructure apps |
| 6013 | + * Fixing existing applications |
5998 | 6014 |
|
5999 |
| -These type of questions usually given as an home task to the candidate and they can combine several topics together. |
6000 |
| -Below you can find several challenges: |
| 6015 | +Below you can find several exercises |
6001 | 6016 |
|
6002 |
| -* [Writing a Dockerfile and running a container](challenges/write_dockerfile_run_container.md) |
6003 |
| -* [Elasticsearch & Kibana on AWS](challenges/elk_kibana_aws.md) |
6004 |
| -* [Ansible, Minikube and Docker](challenges/ansible_minikube_docker.md) |
6005 |
| -* [Cloud Slack bot](challenges/cloud_slack_bot.md) |
6006 |
| -* [Jenkins: writing scripts](challenges/jenkins_scripts.md) |
6007 |
| -* [Jenkins: writing pipelines](challenges/jenkins_pipelines.md) |
6008 |
| -* [CI for open source project](challenges/ci_for_open_source_project.md) |
6009 |
| -* [Flask, Containers and CI](challenges/flask_container_ci/README.md) |
| 6017 | +* [Writing a Dockerfile and running a container](exercises/write_dockerfile_run_container.md) |
| 6018 | +* [Elasticsearch & Kibana on AWS](exercises/elk_kibana_aws.md) |
| 6019 | +* [Ansible, Minikube and Docker](exercises/ansible_minikube_docker.md) |
| 6020 | +* [Cloud Slack bot](exercises/cloud_slack_bot.md) |
| 6021 | +* [Jenkins: writing scripts](exercises/jenkins_scripts.md) |
| 6022 | +* [Jenkins: writing pipelines](exercises/jenkins_pipelines.md) |
| 6023 | +* [CI for open source project](exercises/ci_for_open_source_project.md) |
| 6024 | +* [Flask, Containers and CI](exercises/flask_container_ci/README.md) |
6010 | 6025 |
|
6011 | 6026 |
|
6012 | 6027 | ## Credits
|
6013 | 6028 |
|
6014 |
| -Thanks to all of our amazing [contributors](https://github.com/bregman-arie/devops-interview-questions/graphs/contributors) who make it easy for everyone to learn and prepare to their interviews. |
| 6029 | +Thanks to all of our amazing [contributors](https://github.com/bregman-arie/devops-exercises/graphs/contributors) who make it easy for everyone to learn and prepare to their interviews. |
6015 | 6030 |
|
6016 | 6031 | Logos credits can be found [here](credits.md)
|
6017 | 6032 |
|
|
0 commit comments