Add a couple of questions
This commit is contained in:
parent
adef3b9154
commit
e6f38a5476
31
README.md
31
README.md
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
:information_source: This repository contains questions on various DevOps and SRE related topics
|
: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)
|
:books: To learn more about DevOps check the resources in [DevOpsBit.com](https://devopsbit.com)
|
||||||
|
|
||||||
@ -4625,12 +4625,21 @@ From the official docs:
|
|||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Explain Shards</summary><br><b>
|
<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>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Explain Replicas</summary><br><b>
|
<summary>Explain Replicas</summary><br><b>
|
||||||
</b></details>
|
</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
|
##### Query DSL
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
@ -4779,11 +4788,15 @@ While an A record points a domain name to an IP address, a PTR record does the o
|
|||||||
## Distributed
|
## Distributed
|
||||||
|
|
||||||
<details>
|
<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>
|
</b></details>
|
||||||
|
|
||||||
<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:
|
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
|
* Partition tolerance: Even if some the data is lost/dropped, the system keeps running
|
||||||
</b></details>
|
</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
|
## General
|
||||||
|
|
||||||
##### HTTP
|
##### HTTP
|
||||||
@ -4896,6 +4915,12 @@ TODO: explain what is actually a Cookie
|
|||||||
<summary>What is an Application Load Balancer?</summary><br><b>
|
<summary>What is an Application Load Balancer?</summary><br><b>
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
|
#### General Misc
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>How a search engine works?</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
## HR
|
## 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.
|
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
5
scripts/run_ci.sh
Executable 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"
|
Loading…
Reference in New Issue
Block a user