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: certificates/aws-cloud-practitioner.md
+52-28
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,15 @@ A summary of what you need to know for the exam can be found [here](https://aws.
8
8
<summary>What is cloud computing?</summary><br><b>
9
9
10
10
[Wikipedia](https://en.wikipedia.org/wiki/Cloud_computing): "Cloud computing is the on-demand availability of computer system resources, especially data storage (cloud storage) and computing power, without direct active management by the user"
11
+
12
+
Cloud computing also allows you to scale resources up or down as needed, paying only for what you use.
11
13
</b></details>
12
14
13
15
<details>
14
16
<summary>What types of Cloud Computing services are there?</summary><br><b>
15
17
16
-
IAAS
17
-
PAAS
18
+
IAAS
19
+
PAAS
18
20
SAAS
19
21
</b></details>
20
22
@@ -24,11 +26,12 @@ SAAS
24
26
* IAAS
25
27
* PAAS
26
28
* 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 storage over the internet.<br>
28
-
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
-
31
-
- SAAS - Software As A Service is a software distribution model in which services are hosted by a cloud service provider.
29
+
30
+
- 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 (e.g., AWS EC2).<br>
31
+
32
+
- 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 (e.g., AWS Elastic Beanstalk).<br>
33
+
34
+
- SAAS - Software As A Service is a software distribution model in which services are hosted by a cloud service provider (e.g., AWS WorkSpaces or any web-based email service).
32
35
</b></details>
33
36
34
37
<details>
@@ -46,12 +49,13 @@ SAAS
46
49
* Hybrid
47
50
* Private</summary><br><b>
48
51
49
-
- Public - Public cloud is when you leverage cloud services over the open internet on hardware owned by the cloud provider, but its usage is shared by other companies.<br>
52
+
- Public - Public cloud is when you leverage cloud services over the open internet on hardware owned by the cloud provider, but its usage is shared by other companies. It offers cost-effectiveness and ease of scaling.<br>
50
53
51
-
- Hybrid - A hybrid cloud is a cloud computing environment that uses a mix of combining a public and private cloud environment, like an on-premises data center, and public CSPs.<br>
54
+
- Hybrid - A hybrid cloud is a cloud computing environment that uses a mix of combining a public and private cloud environment, like an on-premises data center, and public CSPs. It provides greater flexibility and more deployment options.<br>
52
55
53
-
- Private - Private cloud means that the cloud infrastructure is provisioned for exclusive use by a single organization.
- Private - Private cloud means that the cloud infrastructure is provisioned for exclusive use by a single organization. Resources are not shared with others, so it offers more control over security and data.
AWS regions are data centers hosted across different geographical locations worldwide, each region is completely independent of one another.<br>
67
71
68
-
Within each region, there are multiple isolated locations known as Availability Zones. Multiple availability zones ensure high availability in case one of them goes down.<br>
72
+
Within each region, there are multiple isolated locations known as Availability Zones. Multiple availability zones ensure high availability in case one of them goes down. Each Availability Zone is physically separated from others, with its own power, networking, and connectivity.<br>
69
73
70
-
Edge locations are basically content delivery network which caches data and insures lower latency and faster delivery to the users in any location. They are located in major cities in the world.
74
+
Edge locations are basically content delivery network endpoints which cache data and ensure lower latency and faster delivery to the users in any location. They are located in major cities around the world.
71
75
</b></details>
72
76
73
77
#### AWS Networking
74
78
75
79
<details>
76
80
<summary>What is VPC?</summary><br><b>
77
81
78
-
"A logically isolated section of the AWS cloud where you can launch AWS resources in a virtual network that you define"
82
+
"A logically isolated section of the AWS cloud where you can launch AWS resources in a virtual network that you define".
79
83
Read more about it [here](https://aws.amazon.com/vpc).
84
+
85
+
A VPC spans all the Availability Zones within a single region.
80
86
</b></details>
81
87
82
88
<details>
83
89
<summary>True or False? VPC spans multiple regions</summary><br><b>
84
90
85
-
False
91
+
False. A VPC is region-specific and cannot span multiple regions.
86
92
</b></details>
87
93
88
94
<details>
89
95
<summary>True or False? Subnets belong to the same VPC, can be in different availability zones</summary><br><b>
90
96
91
-
True. Just to clarify, a subnet must reside entirely in one AZ.
97
+
True. Just to clarify, a subnet must reside entirely in one AZ, but a single VPC can contain subnets across multiple AZs.
92
98
</b></details>
93
99
94
100
<details>
95
101
<summary>What is an Internet Gateway?</summary><br><b>
96
102
97
103
"component that allows communication between instances in your VPC and the internet" (AWS docs).
98
104
Read more about it [here](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html)
105
+
106
+
It scales horizontally and is highly available, allowing inbound and outbound traffic to flow without imposing availability risks or bandwidth constraints.
99
107
</b></details>
100
108
101
109
<details>
@@ -113,22 +121,22 @@ False. Only one internet gateway can be attached to a single VPC.
113
121
<details>
114
122
<summary>True or False? Route Tables used to allow or deny traffic from the internet to AWS instances</summary><br><b>
115
123
116
-
False.
124
+
False. Route tables are used to direct traffic to the right destination (e.g., Internet Gateway, NAT Gateway, etc.), not to allow or deny traffic.
117
125
</b></details>
118
126
119
127
<details>
120
128
<summary>Explain Security Groups and Network ACLs</summary><br><b>
121
129
122
-
* NACL - security layer on the subnet level.
123
-
* Security Group - security layer on the instance level.
130
+
* NACL - security layer on the subnet level. They are stateless, meaning inbound and outbound rules are evaluated separately.<br>
131
+
* Security Group - security layer on the instance level. They are stateful, meaning if you allow inbound traffic, outbound traffic is automatically allowed, and vice versa.
124
132
125
133
Read more about it [here](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security-groups.html) and [here](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html)
126
134
</b></details>
127
135
128
136
<details>
129
137
<summary>What is AWS Direct Connect?</summary><br><b>
130
138
131
-
Allows you to connect your corporate network to AWS network.
139
+
Allows you to connect your corporate network to AWS network. It provides a dedicated network connection that can offer more consistent performance than internet-based connections.
132
140
</b></details>
133
141
134
142
#### AWS Compute
@@ -138,28 +146,36 @@ Allows you to connect your corporate network to AWS network.
138
146
139
147
"a web service that provides secure, resizable compute capacity in the cloud".
140
148
Read more [here](https://aws.amazon.com/ec2)
149
+
150
+
EC2 allows you to quickly scale up or down to match resource needs, paying only for the compute time you consume.
141
151
</b></details>
142
152
143
153
<details>
144
154
<summary>What is AMI?</summary><br><b>
145
155
146
156
Amazon Machine Images is "An Amazon Machine Image (AMI) provides the information required to launch an instance".
147
157
Read more [here](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html)
158
+
159
+
An AMI typically includes an operating system, application server, and applications, so you can quickly spin up new instances with the same configuration.
148
160
</b></details>
149
161
150
162
<details>
151
163
<summary>What are the different source for AMIs?</summary><br><b>
152
164
153
165
* Personal AMIs - AMIs you create
154
-
* AWS Marketplace for AMIs - Paid AMIs usually with bundled with licensed software
166
+
* AWS Marketplace for AMIs - Paid AMIs usually bundled with licensed software
155
167
* Community AMIs - Free
168
+
169
+
You can also share AMIs across accounts if needed.
156
170
</b></details>
157
171
158
172
<details>
159
173
<summary>What is instance type?</summary><br><b>
160
174
161
175
"the instance type that you specify determines the hardware of the host computer used for your instance"
162
176
Read more about instance types [here](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html)
177
+
178
+
Instance types vary by CPU, memory, storage, and networking capacity, e.g., t2.micro, c5.large, etc.
163
179
</b></details>
164
180
165
181
<details>
@@ -169,46 +185,54 @@ Read more about instance types [here](https://docs.aws.amazon.com/AWSEC2/latest/
169
185
* Network optimized
170
186
* Web optimized</summary><br><b>
171
187
172
-
False. From the above list only compute optimized is available.
188
+
False. From the above list only compute optimized is available. There's no "Web optimized" or "Network optimized" instance type. You do have memory optimized, storage optimized, etc.
173
189
</b></details>
174
190
175
191
<details>
176
192
<summary>What is EBS?</summary><br><b>
177
193
178
194
"provides block level storage volumes for use with EC2 instances. EBS volumes behave like raw, unformatted block devices."
179
195
More on EBS [here](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html)
196
+
197
+
EBS volumes are tied to an Availability Zone. They can be snapshotted to Amazon S3 for durability and can be detached/reattached between EC2 instances in the same AZ.
180
198
</b></details>
181
199
182
200
<details>
183
201
<summary>What EC2 pricing models are there?</summary><br><b>
184
202
185
-
On Demand - pay a fixed rate by the hour/second with no commitment. You can provision and terminate it at any given time.
186
-
Reserved - you get capacity reservation, basically purchase an instance for a fixed time of period. The longer, the cheaper.
187
-
Spot - Enables you to bid whatever price you want for instances or pay the spot price.
188
-
Dedicated Hosts - physical EC2 server dedicated for your use.
203
+
On Demand - pay a fixed rate by the hour/second with no commitment. You can provision and terminate at any time.<br>
204
+
Reserved - you get capacity reservation, basically purchase an instance for a fixed time period (1 or 3 years). The longer, the cheaper.<br>
205
+
Spot - Enables you to bid whatever price you want for instances or pay the spot price. Ideal for workloads that can be interrupted.<br>
206
+
Dedicated Hosts - physical EC2 server dedicated for your use. Helps you address compliance requirements and use your own software licenses.
189
207
</b></details>
190
208
191
209
<details>
192
210
<summary>What are Security Groups?</summary><br><b>
193
211
194
212
"A security group acts as a virtual firewall that controls the traffic for one or more instances"
195
213
More on this subject [here](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security-groups.html)
214
+
215
+
They are stateful, so any rule applied for inbound automatically applies to outbound, and vice versa (if the inbound rule is allowed).
196
216
</b></details>
197
217
198
218
<details>
199
219
<summary>What can you attach to an EC2 instance in order to store data?</summary><br><b>
200
220
201
221
EBS
222
+
223
+
Additionally, some instance types support Instance Store (ephemeral storage), and you can also mount EFS (file storage) if you need a shared filesystem across multiple instances.
202
224
</b></details>
203
225
204
226
<details>
205
227
<summary>What EC2 RI types are there?</summary><br><b>
206
228
207
-
Standard RI - most significant discount + suited for steady-state usage
208
-
Convertible RI - discount + change attribute of RI + suited for steady-state usage
229
+
Standard RI - most significant discount + suited for steady-state usage<br>
230
+
Convertible RI - discount + change attribute of RI + suited for steady-state usage<br>
209
231
Scheduled RI - launch within time windows you reserve
210
232
211
233
Learn more about EC2 RI [here](https://aws.amazon.com/ec2/pricing/reserved-instances)
234
+
235
+
Some RIs also offer different payment options (no upfront, partial upfront, or all upfront) affecting the discount level.
0 commit comments