Add a couple of questions

This commit is contained in:
abregman 2019-12-23 18:37:33 +02:00
parent adef3b9154
commit e6f38a5476
2 changed files with 33 additions and 3 deletions

View File

@ -2,7 +2,7 @@
:information_source:  This repository contains questions on various DevOps and SRE related topics
:bar_chart:  There are currently **701** questions
:bar_chart:  There are currently **704** questions
:books:  To learn more about DevOps check the resources in [DevOpsBit.com](https://devopsbit.com)
@ -4625,12 +4625,21 @@ From the official docs:
<details>
<summary>Explain Shards</summary><br><b>
An index is split into shards and documents are hashed to a particular shard. Each shard may be on a different node in a cluster and each one of the shards is a self contained index.<br>
This allows Elasticsearch to scale to an entire cluster of servers.
</b></details>
<details>
<summary>Explain Replicas</summary><br><b>
</b></details>
<details>
<summary>Can you explain Term Frequency & Document Frequency?</summary><br><b>
Term Frequency is how often a term appears in a given document and Document Frequency is how often a term appears in all documents. They both are used for determining the relevance of a term by calculating Term Frequency / Document Frequency.
</b></details>
##### Query DSL
<details>
@ -4779,11 +4788,15 @@ While an A record points a domain name to an IP address, a PTR record does the o
## Distributed
<details>
<summary>Explain Distributed Computing</summary><br><b>
<summary>Explain Distributed Computing (or Distributed System)</summary><br><b>
According to Martin Kleppmann:
"Many processes running on many machines...only message-passing via an unreliable network with variable delays, and the system may suffer from partial failures, unreliable clocks, and process pauses."
</b></details>
<details>
<summary>Do you know what is CAP theorem" (aka as Brewer's theorem)</summary><br><b>
<summary>Do you know what is "CAP theorem"? (aka as Brewer's theorem)</summary><br><b>
According to the CAP theorem, it's not possible for a distributed data store to provide more than two of the following at the same time:
@ -4792,6 +4805,12 @@ According to the CAP theorem, it's not possible for a distributed data store to
* Partition tolerance: Even if some the data is lost/dropped, the system keeps running
</b></details>
<details>
<summary>What is "Shared-Nothing" architecture?</summary><br><b>
It's an architecture in which data is and retrieved from a single, non-shared, source usually exclusively connected to one node as opposed to architectures where the request can get to one of many nodes and the data will be retrieved from one shared location (storage, memory, ...).
</b></details>
## General
##### HTTP
@ -4896,6 +4915,12 @@ TODO: explain what is actually a Cookie
<summary>What is an Application Load Balancer?</summary><br><b>
</b></details>
#### General Misc
<details>
<summary>How a search engine works?</summary><br><b>
</b></details>
## HR
Although the following questions are not DevOps related, they are still quite common and part of the DevOps interview process so it's better to prepare for them as well.

5
scripts/run_ci.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
# These are the same steps we are running in Travis CI
python tests/syntax_checker.py
flake8 --max-line-length=100 . && echo "PEP8 Passed"