You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LICENSE
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS
3
3
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
4
4
5
5
1. Definitions
6
-
"Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
6
+
"Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("syncing") will be considered an Adaptation for the purpose of this License.
7
7
"Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
8
8
"Distribute" means to make available to the public the original and copies of the Work through sale or other transfer of ownership.
9
9
"Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
@@ -37,7 +37,7 @@ Voluntary License Schemes. The Licensor reserves the right to collect royalties,
37
37
Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation.
38
38
39
39
5. Representations, Warranties and Disclaimer
40
-
UNLESS OTHERWISE MUTUALLY AGREED BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
40
+
UNLESS OTHERWISE MUTUALLY AGREED BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
41
41
42
42
6. Limitation on Liability.
43
43
EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Copy-on-write (COW) is a resource management concept, with the goal to reduce unnecessary copying of information. It is a concept which is implemented for instance within the POSIX fork syscall, which creates a duplicate process of the calling process.
799
799
800
800
The idea:
801
-
1. If resources are shared between 2 or more entities (for example shared memory segments between 2 processes) the resources don't need to be copied for every entity, but rather every entity has a READ operation access permission on the shared resource. (the shared segements are marked as read-only)
801
+
1. If resources are shared between 2 or more entities (for example shared memory segments between 2 processes) the resources don't need to be copied for every entity, but rather every entity has a READ operation access permission on the shared resource. (the shared segments are marked as read-only)
802
802
(Think of every entity having a pointer to the location of the shared resource which can be dereferenced to read its value)
803
803
2. If one entity would perform a WRITE operation on a shared resource a problem would arise since the resource also would be permanently changed for ALL other entities sharing it.
804
-
(Think of a process modifying some variables on the stack, or allocatingy some data dynamically on the heap, these changes to the shared resource would also apply for ALL other processes, this is definetly an undesirable behaviour)
804
+
(Think of a process modifying some variables on the stack, or allocatingy some data dynamically on the heap, these changes to the shared resource would also apply for ALL other processes, this is definitely an undesirable behaviour)
805
805
3. As a solution only if a WRITE operation is about to be performed on a shared resource, this resource gets COPIED first and then the changes are applied.
806
806
</b></details>
807
807
@@ -1304,7 +1304,7 @@ Output: <code><br>
1304
1304
</code>
1305
1305
1306
1306
In `mod1` a is link, and when we're using `a[i]`, we're changing `s1` value to.
1307
-
But in `mod2`, `append`creats new slice, and we're changing only `a` value, not `s2`.
1307
+
But in `mod2`, `append`creates new slice, and we're changing only `a` value, not `s2`.
1308
1308
1309
1309
[Aritcle about arrays](https://golangbot.com/arrays-and-slices/),
1310
1310
[Blog post about `append`](https://blog.golang.org/slices)
@@ -1362,7 +1362,7 @@ Output: 3
1362
1362
<details>
1363
1363
<summary>What are the advantages of MongoDB? Or in other words, why choosing MongoDB and not other implementation of NoSQL?</summary><br><b>
1364
1364
1365
-
MongoDB advantages are as followings:
1365
+
MongoDB advantages are as following:
1366
1366
- Schemaless
1367
1367
- Easy to scale-out
1368
1368
- No complex joins
@@ -1403,7 +1403,7 @@ as key-value pair, document-oriented, etc.
1403
1403
<details>
1404
1404
<summary>What is better? Embedded documents or referenced?</summary><br><b>
1405
1405
1406
-
* There is no definitive answer to which is better, it depends on the specific use case and requirements. Some explainations : Embedded documents provide atomic updates, while referenced documents allow for better normalization.
1406
+
* There is no definitive answer to which is better, it depends on the specific use case and requirements. Some explanations : Embedded documents provide atomic updates, while referenced documents allow for better normalization.
1407
1407
</b></details>
1408
1408
1409
1409
<details>
@@ -2171,7 +2171,7 @@ This is where data is stored and also where different processing takes place (e.
2171
2171
<details>
2172
2172
<summary>What is a master node?</summary><br><b>
2173
2173
2174
-
Part of a master node responsibilites:
2174
+
Part of a master node responsibilities:
2175
2175
* Track the status of all the nodes in the cluster
2176
2176
* Verify replicas are working and the data is available from every data node.
2177
2177
* No hot nodes (no data node that works much harder than other nodes)
@@ -2183,7 +2183,7 @@ While there can be multiple master nodes in reality only of them is the elected
2183
2183
<summary>What is an ingest node?</summary><br><b>
2184
2184
2185
2185
A node which responsible for processing the data according to ingest pipeline. In case you don't need to use
2186
-
logstash then this node can recieve data from beats and process it, similarly to how it can be processed
2186
+
logstash then this node can receive data from beats and process it, similarly to how it can be processed
2187
2187
in Logstash.
2188
2188
</b></details>
2189
2189
@@ -2239,7 +2239,7 @@ As in NoSQL a document is a JSON object which holds data on a unit in your app.
2239
2239
<details>
2240
2240
<summary>You check the health of your elasticsearch cluster and it's red. What does it mean? What can cause the status to be yellow instead of green?</summary><br><b>
2241
2241
2242
-
Red means some data is unavailable in your cluster. Some shards of your indices are unassinged.
2242
+
Red means some data is unavailable in your cluster. Some shards of your indices are unassigned.
2243
2243
There are some other states for the cluster.
2244
2244
Yellow means that you have unassigned shards in the cluster. You can be in this state if you have single node and your indices have replicas.
2245
2245
Green means that all shards in the cluster are assigned to nodes and your cluster is healthy.
@@ -2600,7 +2600,7 @@ While automation focuses on a task level, Orchestration is the process of automa
2600
2600
</b></details>
2601
2601
2602
2602
<details>
2603
-
<summary>What is a Debuggger and how it works?</summary><br><b>
2603
+
<summary>What is a Debugger and how it works?</summary><br><b>
2604
2604
</b></details>
2605
2605
2606
2606
<details>
@@ -2789,7 +2789,7 @@ False. It doesn't maintain state for incoming request.
2789
2789
It consists of:
2790
2790
2791
2791
* Request line - request type
2792
-
* Headers - content info like length, enconding, etc.
2792
+
* Headers - content info like length, encoding, etc.
2793
2793
* Body (not always included)
2794
2794
</b></details>
2795
2795
@@ -3039,7 +3039,7 @@ CPU cache.
3039
3039
3040
3040
A memory leak is a programming error that occurs when a program fails to release memory that is no longer needed, causing the program to consume increasing amounts of memory over time.
3041
3041
3042
-
The leaks can lead to a variety of problems, including system crashes, performance degradation, and instability. Usually occuring after failed maintenance on older systems and compatibility with new components over time.
3042
+
The leaks can lead to a variety of problems, including system crashes, performance degradation, and instability. Usually occurring after failed maintenance on older systems and compatibility with new components over time.
3043
3043
</b></details>
3044
3044
3045
3045
<details>
@@ -3097,7 +3097,7 @@ Cons:
3097
3097
<details>
3098
3098
<summary>Explain File Storage</summary><br><b>
3099
3099
3100
-
- File Storage used for storing data in files, in a hierarchical sturcture
3100
+
- File Storage used for storing data in files, in a hierarchical structure
3101
3101
- Some of the devices for file storage: hard drive, flash drive, cloud-based file storage
3102
3102
- Files usually organized in directories
3103
3103
</b></details>
@@ -3275,7 +3275,7 @@ Given a text file, perform the following exercises
3275
3275
- "^\w+"
3276
3276
Bonus: extract the last word of each line
3277
3277
3278
-
- "\w+(?=\W*$)" (in most cases, depends on line formating)
3278
+
- "\w+(?=\W*$)" (in most cases, depends on line formatting)
Copy file name to clipboardExpand all lines: certificates/aws-cloud-practitioner.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ SAAS
24
24
* IAAS
25
25
* PAAS
26
26
* SAAS</summary><br><b>
27
-
- IAAS - Infrastructure As A Service is a cloud computing service where a cloud provider rents out IT infrastructure such as compute, networking resources and strorage over the internet.<br>
27
+
- IAAS - Infrastructure As A Service is a cloud computing service where a cloud provider rents out IT infrastructure such as compute, networking resources and storage over the internet.<br>
28
28
29
29
- PAAS - Platform As A Service is a cloud hosting platform with an on-demand access to ready-to-use set of deployment, application management and DevOps tools.<br>
30
30
@@ -432,7 +432,7 @@ False. Users can belong to multiple groups.
432
432
<summary>What are Roles?</summary><br><b>
433
433
434
434
A way for allowing a service of AWS to use another service of AWS. You assign roles to AWS resources.
435
-
For example, you can make use of a role which allows EC2 service to acesses s3 buckets (read and write).
435
+
For example, you can make use of a role which allows EC2 service to accesses s3 buckets (read and write).
Copy file name to clipboardExpand all lines: prepare_for_interview.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@ Be familiar with the company you are interviewing at. Some ideas:
112
112
113
113
From my experience, this is not done by many candidates but it's one of the best ways to deep dive into topics like operating system, virtualization, scale, distributed systems, etc.
114
114
115
-
In most cases, you will do fine without reading books but for the AAA interviews (hardest level) you'll want to read some books and overall if you inspire to be better DevOps Engineer, books (also articles, blog posts) is a great way devleop yourself :)
115
+
In most cases, you will do fine without reading books but for the AAA interviews (hardest level) you'll want to read some books and overall if you inspire to be better DevOps Engineer, books (also articles, blog posts) is a great way develop yourself :)
Copy file name to clipboardExpand all lines: topics/argo/README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ The answer is yes, it's possible. You can configure ArgoCD to sync to desired st
134
134
<details>
135
135
<summary>How cluster disaster recovery becomes easier with ArgoCD?</summary><br><b>
136
136
137
-
Imagine you have a cluster in the cloud, in one of the regions. Something happens to that cluster and it's either crashes or simply no longer opertional.
137
+
Imagine you have a cluster in the cloud, in one of the regions. Something happens to that cluster and it's either crashes or simply no longer operational.
138
138
139
139
If you have all your cluster configuration in a GitOps repository, ArgoCD can be pointed to that repository while be configured to use a new cluster you've set up and apply that configuration so your cluster is again up and running with the same status as o
140
140
</b></details>
@@ -335,7 +335,7 @@ There are multiple ways to deal with it:
335
335
<summary>What are some possible health statuses for an ArgoCD application?</summary><br><b>
336
336
337
337
* Healthy
338
-
* Missing: resource doesn't exist in the cluser
338
+
* Missing: resource doesn't exist in the cluster
339
339
* Suspended: resource is paused
340
340
* Progressing: resources isn't healthy but will become healthy or has the chance to become healthy
Copy file name to clipboardExpand all lines: topics/aws/exercises/sample_cdk/solution.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Initialize a CDK project and set up files required to build a CDK project.
9
9
#### Initialize a CDK project
10
10
11
11
1. Install CDK on your machine by running `npm install -g aws-cdk`.
12
-
2. Create a new directory named `sample` for your project and run `cdk init app --language typescript` to initialize a CDK project. You can choose lanugage as csharp, fsharp, go, java, javascript, python or typescript.
12
+
2. Create a new directory named `sample` for your project and run `cdk init app --language typescript` to initialize a CDK project. You can choose language as csharp, fsharp, go, java, javascript, python or typescript.
13
13
3. You would see the following files created in your directory:
14
14
1.`cdk.json`, `tsconfig.json`, `package.json` - These are configuration files that are used to define some global settings for your CDK project.
15
15
2.`bin/sample.ts` - This is the entry point for your CDK project. This file is used to define the stack that you want to create.
0 commit comments