Skip to content

Commit

Permalink
Add a couple of questions and answers
Browse files Browse the repository at this point in the history
  • Loading branch information
abregman committed Oct 16, 2019
1 parent b41797c commit 5b4afd3
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 5 deletions.
57 changes: 52 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

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

:bar_chart:  There are currently **124** interview questions
:bar_chart:  There are currently **133** interview questions

:warning:  Some answers might be only partial and shouldn't be used as they are in interviews

Expand Down Expand Up @@ -35,6 +35,7 @@
<td align="center"><a href="#prometheus"><img src="images/prometheus.png" width="75px;" height="75px;" alt="Prometheus"/><br /><b>Prometheus</b></a><br /><sub><a href="#prometheus-beginner">Beginner :baby:</a></sub><br></td>
<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>
<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>
<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>
</tr>
</table>
</center>
Expand Down Expand Up @@ -147,6 +148,14 @@ to a server will result in a new server instead of updating it. Terraform is an
which follows the mutable infrastructure paradigm.
</b></details>

<details>
<summary>What ways are you familiar with to deliver a software?</summary><br><b>

* Archive - collect all your app files into one archive (e.g. tar) and deliver it to the user.
* Package - depends on the OS, you can use your OS package format (e.g. in RHEL/Fefodra it's RPM) to deliver your software with a way to install, uninstall and update it using the standard packager commands
* Images - Either VM or container images where your package is included with everything it needs in order to run successfully.
</b></details>


<a name="devops-advanced"></a>
#### :star: Advanced
Expand Down Expand Up @@ -505,6 +514,18 @@ For each file (and directory) in Linux there is an inode, a data structure which
related to the file like its size, owner, permissions, etc.
</b></details>

<details>
<summary>DNS: What is A record?</summary><br><b>
</b></details>

<details>
<summary>DNS: What is MX record?</summary><br><b>
</b></details>

<details>
<summary>DNS: </summary><br><b>
</b></details>

<a name="linux-advanced"></a>
#### :star: Advanced

Expand Down Expand Up @@ -992,6 +1013,12 @@ is currently pointing at.
</p>
</b></details>

details>
<summary>You would like to move forth commit to the top. How would you achieve that?</summary><br><b>

Using <code>git rebase></code> command
</b></summary>

<details>
<summary>In what situations are you using <code>git rebase</code>?</summary><br><b>
</b></details>
Expand Down Expand Up @@ -1036,12 +1063,20 @@ This is a great article about Octopus merge: http://www.freblogg.com/2016/12/git
* Fast compile times
* Built-in concurrency
* Garbage collected
* Platform independant
* Platform independent
* Compile to standalone binary - anything you need to run your app will be compiled into one binary. Very useful for version management in run-time.

Go also has good community.
</b></details>

<details>
<summary>What is the difference between <code>var x int = 2</code> and <code>x := 2</code>?</summary><br><b>

The result is the same, a variable with the variable 2.

with <code>var x int = 2</code> we are setting the variable type to integer while with <code>x := 2</code> we are letting Go figure out by itself the type.
</b></details>

<details>
<summary>What libraries of Go have you used?</summary><br><b>

Expand All @@ -1056,16 +1091,28 @@ This should be answered based on your usage but some examples are:
```
package main
import {
"fmt"
}
import "fmt"
func main() {
fmt.Println("Hello World")
}
```
</b></details>

## Mongo

<a name="mongo-beginner"></a>
#### :baby: Beginner

<details>
<summary>What is a document? What is a collection?</summary><br><b>
</b></details>

<details>
<summary>What is an aggregator?</summary><br><b>
</b></details>


## Scenarios

Scenarios are questions which combine several subjects together. Some scenarios will
Expand Down
Binary file added images/mongo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5b4afd3

Please sign in to comment.