Cloud Computing Flashcards

(58 cards)

1
Q

What is Cloud Computing?

A
  1. On-demand self service - ability to provide servers, networks, storage, on-demand when services are needed. Without any human intervention or interaction.
  2. Access to network - Network connectivity to access and build through HTTP, HTTPS, VPN, CLI, SSH, etc
  3. Resource pooling - Pool resources to serve multiple consumers. AWS offers thousands of servers, DBs, and more on-demand. Location of these resources is unknown.
  4. Elasticity - Ability to scale on-demand
  5. Resource usage monitored and billed - No need to estimate demands, we only pay for what we use.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Public Cloud

A

Cloud resources owned and operated by a thirdparty cloud service provider delivered over the Internet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Private Cloud

A

Cloud services used by a single organization, not exposed to the public.
Complete control
Security for sensitive applications
Meet specific business needs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Hybrid Cloud

A

Keep some servers on premises and extend some capabilities to the Cloud
Control over sensitive assets in your private infrastructure
Flexibility and costeffectiveness of the public cloud

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Six Advantages of Cloud Computing

A

Trade capital expense (CAPEX) for operational expense (OPEX)
Pay On-Demand: don’t own hardware
Reduced Total Cost of Ownership (TCO) & Operational Expense (OPEX)
Benefit from massive economies of scale
Prices are reduced as AWS is more efficient due to large scale
Stop guessing capacity
Scale based on actual measured usage
Increase speed and agility
Stop spending money running and maintaining data centers
Go global in minutes: leverage the AWS global infrastructure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Problems solved by the Cloud

A

Flexibility: change resource types when needed
Cost-Effectiveness: pay as you go, for what you use
Scalability: accommodate larger loads by making hardware stronger or adding additional nodes
Elasticity: ability to scale out and scale-in when needed
High-availability and fault-tolerance: build across data centers
Agility: rapidly develop, test and launch software applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Types of Cloud Computing

A

Infrastructure as a Service (IaaS)
Platform as a Service (PaaS)
Software as a Service (SaaS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Infrastructure as a Service (IaaS)

A

Provide building blocks for cloud IT
Provides networking, computers, data storage space
Highest level of flexibility
Easy parallel with traditional on-premises IT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Platform as a Service (PaaS)

A

Removes the need for your organization to manage the underlying infrastructure
Focus on the deployment and management of your applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Software as a Service (SaaS)

A

Completed product that is run and managed by the service provider

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is edge location

A

Also known as AWS Points of Presence
Caches AZ contents and ensures low latency by placing content closer to users
Amazon has 216 Points of Presence (205 Edge Locations & 11 Regional Caches) in 84 cities across 42 countries
netflix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a local zone

A

It is an extension of a local region
lower latency like for gamers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How to choose an AWS Region?

A

Compliance with data governance and legal requirements: data never leaves a region without your explicit permission
Proximity to customers: reduced latency
Available services within a Region: new services and new features aren’t available in every Region
Pricing: pricing varies region to region and is transparent in the service pricing page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Are most AWS services region-scoped?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is an AWS region?

A

A region is a cluster of data centers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is high availability?

A

Desig for minimal downtime.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

what is designing for fault tolerance?

A

Desigining for zero downtime

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

what is designing for disaster recovery?

A

Desiginig a system to operate through a disaster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What are the AWS well-architected framework pillars?

A

Operational excellence - the ability to support development and run workloads effectively, gain insight into their operations, and to continuously improve supporting processes and procedures to deliver business value.
Security -
Reliability -
Performance efficiency
Cost optimization
Sustainability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Migration strategries to the cloud

A

7Rs
Retire
Retain
Rehost - lift and shift
Relocate - lg # of servers that are made up of one or more applications
Repurchase - drop and shop, get a different version of an app that provides better value
Replatform - lift - tinker - shift
Refactor or re-architect - a whole change using aws services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Amazon RDS and DynamoDB

relational or non-relational DBs?

A

DynamoDB - non-SQL
RDS - SQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is a hybrid environment?

A

Using on‑premises data centers together with AWS—but not necessarily using private cloud technology. (This is different from hybrid cloud.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Why might an organization choose to keep some resources on‑premises?

A

Compliance, latency requirements, legacy systems, data residency rules, or gradual migration strategy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What defines an AWS public service?

A

A service accessible through the public internet (via the AWS public zone).
Example: Amazon S3.

25
What defines an AWS private service?
A service that lives inside the AWS private zone with no default connection to the public internet. Example: EC2 instances inside a VPC.
26
How do EC2 instances inside a VPC gain access to the public internet?
Through configuration such as assigning a public IP and routing traffic through an Internet Gateway.
27
What are the three main ways to connect to AWS?
AWS CLI AWS Management Console - UI AWS - SDK
28
What is an AWS VPN connection?
A secure, encrypted connection over the public internet from on‑premises to AWS.
29
What is AWS Direct Connect?
A private, dedicated network connection from the customer’s data center to AWS. Keyword: Dedicated = Direct Connect.
30
When is Direct Connect preferred over VPN?
When you need consistent high bandwidth, low latency, or private connectivity without traversing the public internet.
31
What connects a public EC2 instance in a public subnet to the internet—an Internet Gateway or a NAT Gateway?
An Internet Gateway.
32
What is the function of a NAT Gateway?
Allows outbound internet traffic from private subnets while preventing inbound connections from the public internet. Network Address Translation
33
What is the primary purpose of an Amazon VPC in AWS?
A VPC provides an isolated, customizable virtual network environment where you launch AWS resources.
34
What is the role of a subnet inside a VPC?
Subnets segment the VPC network and allow you to group resources into public or private zones.
35
How does a public subnet differ from a private subnet in AWS?
A public subnet has a route to the Internet Gateway, while a private subnet does not.
36
What purpose does an Internet Gateway serve in a VPC?
It allows communication between the VPC and the public internet.
37
Why is a NAT Gateway used with private subnets?
To enable outbound internet access for instances in private subnets while preventing inbound internet connections.
38
How do network ACLs differ from security groups?
Network ACLs are stateless and operate at the subnet level; security groups are stateful and operate at the instance or ENI level.
39
Why are security groups considered stateful?
Because a return rule is automatically allowed if the inbound or outbound rule exists—no separate rule is needed.
40
Why might you use AWS Direct Connect instead of an internet‑based VPN?
For a dedicated, private, lower‑latency connection between on‑premises infrastructure and AWS.
41
What is the purpose of an AWS Site‑to‑Site VPN?
To provide secure, encrypted connectivity over the public internet between on‑premises networks and AWS.
42
What type of traffic do network ACLs control?
Inbound and outbound traffic at the subnet boundary.
43
Why does AWS recommend placing publicly accessible resources in a public subnet?
Because public subnets support direct inbound and outbound internet traffic via an Internet Gateway.
44
When should private subnets be used?
When deploying resources that should not be exposed directly to the public internet—such as databases and internal services.
45
How does AWS ensure that Availability Zones stay isolated in a VPC?
Each subnet exists entirely within a single Availability Zone.
46
what is stateful?
“Remembers you” 🧠 Security Group → Stateful Great for controlling what each instance or resource can access Automatically handles return traffic Most commonly used filtering tool in AWS Used on EC2 instances and ENIs
47
what is stateless?
Stateless = “Remembers nobody” ❌🧠 NACL → Stateless Protect subnets Act like a big outer wall Good for extra security layers Harder to manage because you must add rules both ways
48
EC2 instance type General purpose
General purpose instances provide a balanced mix of compute, memory, and networking resources. They are ideal for diverse workloads, like web services, code repositories, and when workload performance is uncertain.
49
EC2 instance type Compute optimized
Compute optimized instances are ideal for compute-intensive tasks, such as gaming servers, high performance computing (HPC), machine learning, and scientific modeling.
50
EC2 instance type Memory optimized
Memory optimized instances are used for memory-intensive tasks like processing large datasets, data analytics, and databases. They provide fast performance for memory-heavy workloads.
51
EC2 instance type Accelerated computing
Accelerated computing instances use hardware accelerators, like graphics processing units (GPUs), to efficiently handle tasks, such as floating-point calculations, graphics processing, and machine learning.
52
EC2 instance type Storage optimized
Storage optimized instances are designed for workloads that require high performance for locally stored data, such as large databases, data warehousing, and I/O-intensive applications.
53
On-Demand Instances:
Pay only for the compute capacity you consume with no upfront payments or long-term commitments required.
54
Reserved Instances:
Get a savings of up to 75 percent by committing to a 1-year or 3-year term for predictable workloads using specific instance families and AWS Regions.
55
Spot Instances:
Bid on spare compute capacity at up to 90 percent off the On-Demand price, with the flexibility to be interrupted when AWS reclaims the instance.
56
Savings Plans:
Save up to 72 percent across a variety of instance types and services by committing to a consistent usage level for 1 or 3 years.
57
Dedicated Hosts:
Reserve an entire physical server for your exclusive use. This option offers full control and is ideal for workloads with strict security or licensing needs.
58