Skip to content

Commit a7d23b9

Browse files
authored
Fix/word correction (bregman-arie#193)
* New questions and spell check (bregman-arie#181) Added new questions related with KVM, Libvirt and DNF * Correct some spell errors
1 parent 023cf57 commit a7d23b9

File tree

9 files changed

+32
-32
lines changed

9 files changed

+32
-32
lines changed

exercises/ansible/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| My First Playbook | Playbooks | [Exercise](my_first_playbook.md) | [Solution](solutions/my_first_playbook.md)
1010

1111

12-
### Ansible Self Assesment
12+
### Ansible Self Assessment
1313

1414
<details>
1515
<summary>Describe each of the following components in Ansible, including the relationship between them:
@@ -47,7 +47,7 @@ Ansible is:
4747
<summary>True or False? Ansible follows the mutable infrastructure paradigm</summary><br><b>
4848

4949
True. In immutable infrastructure approach, you'll replace infrastructure instead of modifying it.<br>
50-
Ansible rather follows the mutable infrastructure paradigm where it allows you to change the configuration of different components, but this approach is not perfect and has its own disadvantges like "configuration drift" where different components may reach different state for different reasons.
50+
Ansible rather follows the mutable infrastructure paradigm where it allows you to change the configuration of different components, but this approach is not perfect and has its own disadvantages like "configuration drift" where different components may reach different state for different reasons.
5151
</b></details>
5252

5353
<details>
@@ -353,7 +353,7 @@ A full list can be found at [PlayBook Variables](https://docs.ansible.com/ansib
353353
</b></details>
354354

355355
<details>
356-
<summary>Explain the Diffrence between Forks and Serial & Throttle.</summary><br><b>
356+
<summary>Explain the Difference between Forks and Serial & Throttle.</summary><br><b>
357357

358358
`Serial` is like running the playbook for each host in turn, waiting for completion of the complete playbook before moving on to the next host. `forks`=1 means run the first task in a play on one host before running the same task on the next host, so the first task will be run for each host before the next task is touched. Default fork is 5 in ansible.
359359

@@ -464,7 +464,7 @@ Gotenks = 32
464464
<summary>True or False? By default, Ansible will execute all the tasks in play on a single host before proceeding to the next host</summary><br><b>
465465

466466
False. Ansible will execute a single task on all hosts before moving to the next task in a play. As for today, it uses 5 forks by default.<br>
467-
This behaviour is described as "strategy" in Ansible and it's configurable.
467+
This behavior is described as "strategy" in Ansible and it's configurable.
468468
</b></details>
469469

470470
<details>
@@ -507,7 +507,7 @@ If your group has 8 hosts. It will run the whole play on 4 hosts and then the sa
507507
</b></details>
508508

509509
<details>
510-
<summary>You run Ansibe tests and you get "idempotence test failed". What does it mean? Why idempotence is important?</summary><br><b>
510+
<summary>You run Ansible tests and you get "idempotence test failed". What does it mean? Why idempotence is important?</summary><br><b>
511511
</b></details>
512512

513513
#### Ansible - Debugging

exercises/aws/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ Let's take for example the following instance type: m5.large
272272
<details>
273273
<summary>True or False? The following are instance types available for a user in AWS:
274274

275-
* Compute optimizied
276-
* Network optimizied
275+
* Compute optimized
276+
* Network optimized
277277
* Web optimized</summary><br><b>
278278

279279
False. From the above list only compute optimized is available.
@@ -331,7 +331,7 @@ True.
331331
* Convertible Reserved Instances
332332
* Scheduled Reserved Instances</summary><br><b>
333333

334-
* Convertible Reserved Instances: used for long running workloads but used when instance type might change during the period of time it's resreved
334+
* Convertible Reserved Instances: used for long running workloads but used when instance type might change during the period of time it's reserved
335335
* Scheduled Reserved Instances: when you need to reserve an instance for a long period but you don't need it continuously (so for example you need it only in the morning)
336336
</b></details>
337337

exercises/cicd/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ A complete different answer or CI process, can describe how a developer pushes c
5050
<details>
5151
<summary>What is Continuous Delivery?</summary><br><b>
5252

53-
A development strategy used to frequently deliver code to QA and Ops for testing. This entails having a staging area that has production like features where changes can only be accepted for production after a manual review. Because of this human entanglement there is usually a time lag between release and review making it slower and error prone as compared to continous deployment.
53+
A development strategy used to frequently deliver code to QA and Ops for testing. This entails having a staging area that has production like features where changes can only be accepted for production after a manual review. Because of this human entanglement there is usually a time lag between release and review making it slower and error prone as compared to continuous deployment.
5454

5555
For more info please read [here](https://www.atlassian.com/continuous-delivery/continuous-deployment)
5656
</b></details>
@@ -129,7 +129,7 @@ This might be considered to be an opinionated answer:
129129
* Old fashioned dashboards with not many options to customize it
130130
* Containers readiness (this has improved with Jenkins X)
131131
* By itself, it doesn't have many features. On the other hand, there many plugins created by the community to expand its abilities
132-
* Managing Jenkins and its piplines as a code can be one hell of a nightmare
132+
* Managing Jenkins and its pipelines as a code can be one hell of a nightmare
133133
</b></details>
134134

135135
<details>
@@ -141,7 +141,7 @@ This might be considered to be an opinionated answer:
141141
- Node or Worker
142142
- Executor</summary><br><b>
143143
- Job is an automation definition = what and where to execute once the user clicks on "build"
144-
- Build is a running instance of a job. You can have one or more builds at any given point of time (unless limited by confiugration)
144+
- Build is a running instance of a job. You can have one or more builds at any given point of time (unless limited by configuration)
145145
- A worker is the machine/instance on which the build is running. When a build starts, it "acquires" a worker out of a pool to run on it.
146146
- An executor is variable of the worker, defining how many builds can run on that worker in parallel. An executor value of 3 means, that 3 builds can run at any point on that executor (not necessarily of the same job. Any builds)
147147
</b></details>

exercises/containers/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
|Containerize an application | Containerization |[Exercise](containerize_app.md)|[Solution](solutions/containerize_app.md)
1313
|Multi-Stage Builds|Multi-Stage Builds|[Exercise](multi_stage_builds.md)|[Solution](solutions/multi_stage_builds.md)
1414

15-
### Containers Self Assesment
15+
### Containers Self Assessment
1616

1717
<details>
1818
<summary>What is a Container?</summary><br><b>
@@ -506,7 +506,7 @@ Docker/Podman daemon redirects output from container to Docker CLI which redirec
506506

507507
<details>
508508
<summary>Describe difference between cgroups and namespaces </summary><br><b>
509-
cgroup: Control Groups provide a mechanism for aggregating/partitioning sets of tasks, and all their future children, into hierarchical groups with specialized behaviour.
509+
cgroup: Control Groups provide a mechanism for aggregating/partitioning sets of tasks, and all their future children, into hierarchical groups with specialized behavior.
510510
namespace: wraps a global system resource in an abstraction that makes it appear to the processes within the namespace that they have their own isolated instance of the global resource.
511511

512512
In short:

exercises/devops/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Things to think about:
115115
<details>
116116
<summary>What is Version Control?</summary><br><b>
117117

118-
* Version control is the sytem of tracking and managing changes to software code.
118+
* Version control is the system of tracking and managing changes to software code.
119119
* It helps software teams to manage changes to source code over time.
120120
* Version control also helps developers move faster and allows software teams to preserve efficiency and agility as the team scales to include more developers.
121121
</b></details>
@@ -281,7 +281,7 @@ Read about Chaos Engineering [here](https://en.wikipedia.org/wiki/Chaos_engineer
281281
<details>
282282
<summary>What is "infrastructure as code"? What implementation of IAC are you familiar with?</summary><br><b>
283283

284-
IAC (infrastructure as code) is a declerative approach of defining infrastructure or architecture of a system. Some implementations are ARM templates for Azure and Terraform that can work across multiple cloud providers.
284+
IAC (infrastructure as code) is a declarative approach of defining infrastructure or architecture of a system. Some implementations are ARM templates for Azure and Terraform that can work across multiple cloud providers.
285285
</b></details>
286286

287287
<details>
@@ -346,7 +346,7 @@ This situation might lead to bugs which hard to identify and reproduce.
346346

347347
<details>
348348
<summary>How to deal with a configuration drift?</summary><br><b>
349-
Configuration drift can be avoided with desired state configuration (DSC) implementation. Desired state configuration can be a declarative file that defined how a system should be. There are tools to enforce desired state such a terraform or azure dsc. There are incramental or complete strategies.
349+
Configuration drift can be avoided with desired state configuration (DSC) implementation. Desired state configuration can be a declarative file that defined how a system should be. There are tools to enforce desired state such a terraform or azure dsc. There are incremental or complete strategies.
350350
</b></details>
351351

352352
<details>

exercises/kubernetes/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
| Operating ReplicaSets | ReplicaSet | [Exercise](replicaset_02.md) | [Solution](solutions/replicaset_02_solution.md)
1616
| ReplicaSets Selectors | ReplicaSet | [Exercise](replicaset_03.md) | [Solution](solutions/replicaset_03_solution.md)
1717

18-
### Kubernetes Self Assesment
18+
### Kubernetes Self Assessment
1919

2020
<details>
2121
<summary>What is Kubernetes? Why organizations are using it?</summary><br><b>
@@ -58,7 +58,7 @@ metadata, kind and apiVersion
5858
</b></details>
5959

6060
<details>
61-
<summary>What actions or operations you consider as best practices when it comes to Kuberentes?</summary><br><b>
61+
<summary>What actions or operations you consider as best practices when it comes to Kubernetes?</summary><br><b>
6262

6363
- Always make sure Kubernetes YAML files are valid. Applying automated checks and pipelines is recommended.
6464
- Always specify requests and limits to prevent situation where containers are using the entire cluster memory which may lead to OOM issue
@@ -749,7 +749,7 @@ It specifies what do with an incoming request to the Kubernetes cluster that isn
749749
<details>
750750
<summary>How to configure a default backend?</summary><br><b>
751751

752-
Create Service resource that specifies the name of the default backend as reflected in `kubectl desrcibe ingress ...` and the port under the ports section.
752+
Create Service resource that specifies the name of the default backend as reflected in `kubectl describe ingress ...` and the port under the ports section.
753753
</b></details>
754754

755755
<details>
@@ -967,7 +967,7 @@ In simpler words, Network Policies specify how pods are allowed/disallowed to co
967967
<summary>What are some use cases for using Network Policies?</summary><br><b>
968968
969969
- Security: You want to prevent from everyone to communicate with a certain pod for security reasons
970-
- Controling network traffic: You would like to deny network flow between two specific nodes
970+
- Controlling network traffic: You would like to deny network flow between two specific nodes
971971
</b></details>
972972
973973
<details>
@@ -1054,7 +1054,7 @@ When using the default namespace alone, it becomes hard over time to get an over
10541054
10551055
Namespaces can also be useful for managing Blue/Green environments where each namespace can include a different version of an app and also share resources that are in other namespaces (namespaces like logging, monitoring, etc.).
10561056
1057-
Another use case for namespaces is one cluster, multiple teams. When multiple teams use the same cluster, they might end up stepping on each others toes. For example if they end up creating an app with the same name it means one of the teams overriden the app of the other team because there can't be too apps in Kubernetes with the same name (in the same namespace).
1057+
Another use case for namespaces is one cluster, multiple teams. When multiple teams use the same cluster, they might end up stepping on each others toes. For example if they end up creating an app with the same name it means one of the teams overridden the app of the other team because there can't be too apps in Kubernetes with the same name (in the same namespace).
10581058
</b></details>
10591059
10601060
<details>
@@ -1729,7 +1729,7 @@ Scale the number of pods automatically on observed CPU utilization.
17291729
</b></details>
17301730
17311731
<details>
1732-
<summary>Describe how you one proceeds to run a containerised web app in K8s, which should be reachable from a public URL.</summary><br><b>
1732+
<summary>Describe how you one proceeds to run a containerized web app in K8s, which should be reachable from a public URL.</summary><br><b>
17331733
</b></details>
17341734
17351735
<details>

exercises/perl/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ foreach (@numbers) {
9595
# Output: 12345
9696
9797
98-
# "$#" returns the max index of an array. That's the reason because we can iterate accesing to the array from the index 0 to the max index.
98+
# "$#" returns the max index of an array. That's the reason because we can iterate accessing to the array from the index 0 to the max index.
9999
for my $i (0..$#numbers) {
100100
print($numbers[$i]);
101101
}
@@ -148,7 +148,7 @@ while(my ($city, $country) = each %capital_cities) {
148148
<details>
149149
<summary>What is a Perl subroutine? How to define it?</summary><br><b>
150150

151-
It's the perl model for user defined functions (this is also called function like other programming languages). We can define a subroute with the keyword `sub`.
151+
It's the perl model for user defined functions (this is also called function like other programming languages). We can define a subroutine with the keyword `sub`.
152152

153153
```
154154
sub hello {
@@ -172,7 +172,7 @@ sub power {
172172
&power(2, 3);
173173
```
174174

175-
- Individual assigment: We should access to every element of the `@_` array. It starts from zero.
175+
- Individual assignment: We should access to every element of the `@_` array. It starts from zero.
176176

177177
```
178178
sub power {
@@ -480,7 +480,7 @@ use parent -norequire, 'A';
480480
481481
sub new { return bless {}, shift; };
482482
483-
# Instance class `B` allows call the inherated method
483+
# Instance class `B` allows call the inherited method
484484
my $b = B->new();
485485
$b->printA();
486486
```

exercises/security/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Read about it [here](https://owasp.org/www-project-top-ten)
203203
<details>
204204
<summary>What is XSS?</summary><br><b>
205205

206-
Cross Site Scripting (XSS) is an type of a attack when the attacker inserts browser executable code within a HTTP response. Now the injected attack is not stored in the web application, it will only affact the users who open the maliciously crafted link or third-party web page. A successful attack allows the attacker to access any cookies, session tokens, or other sensitive information retained by the browser and used with that site 
206+
Cross Site Scripting (XSS) is an type of a attack when the attacker inserts browser executable code within a HTTP response. Now the injected attack is not stored in the web application, it will only affect the users who open the maliciously crafted link or third-party web page. A successful attack allows the attacker to access any cookies, session tokens, or other sensitive information retained by the browser and used with that site 
207207

208208
You can test by detecting user-defined variables and how to input them. This includes hidden or non-obvious inputs such as HTTP parameters, POST data, hidden form field values, and predefined radio or selection values. You then analyze each found vector to see if their are potential vulnerabilities, then when found you craft input data with each input vector. Then you test the crafted input and see if it works.
209209

@@ -214,7 +214,7 @@ You can test by detecting user-defined variables and how to input them. This inc
214214

215215
SQL injection is an attack consists of inserts either a partial or full SQL query through data input from the browser to the web application. When a successful SQL injection happens it will allow the attacker to read sensitive information stored on the database for the web application. 
216216

217-
You can test by using a stored procedure, so the application must be sanitize the user input to get rid of the tisk of code injection. If not then the user could enter bad SQL, that will then be executed within the procedure
217+
You can test by using a stored procedure, so the application must be sanitize the user input to get rid of the risk of code injection. If not then the user could enter bad SQL, that will then be executed within the procedure
218218

219219
</b></details>
220220

exercises/terraform/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ True
103103

104104
- Arguments: resource specific configurations
105105
- Attributes: values exposed by the resource in a form of `resource_type.resource_name.attribute_name`. They are set by the provider or API usually.
106-
- Meta-arguments: Functions of Terraform to change resource's behaviour
106+
- Meta-arguments: Functions of Terraform to change resource's behavior
107107
</b></details>
108108

109109
#### Terraform - Providers
@@ -197,7 +197,7 @@ It doesn't show its value when you run `terraform apply` or `terraform plan` but
197197
</b></details>
198198

199199
<details>
200-
<summary>True or Fales? If an expression's result depends on a sensitive variable, it will be treated as sensitive as well</summary><br><b>
200+
<summary>True or False? If an expression's result depends on a sensitive variable, it will be treated as sensitive as well</summary><br><b>
201201

202202
True
203203
</b></details>
@@ -209,7 +209,7 @@ True
209209
- Environment variable
210210
- Using `-var` or `-var-file`
211211

212-
According to varaible precedence, which source will be used first?</summary><br><b>
212+
According to variable precedence, which source will be used first?</summary><br><b>
213213

214214
The order is:
215215

@@ -409,7 +409,7 @@ The Terraform Registry provides a centralized location for official and communit
409409
<details>
410410
<summary>What is Terraform import?</summary><br><b>
411411

412-
Terraform import is used to import existing infrastucture. It allows you to bring resources created by some other means (eg. manually launched cloud resources) and bring it under Terraform management.
412+
Terraform import is used to import existing infrastructure. It allows you to bring resources created by some other means (eg. manually launched cloud resources) and bring it under Terraform management.
413413
</b></details>
414414

415415
<details>

0 commit comments

Comments
 (0)