Week 1: Intro to Cloud Computing Flashcards

1
Q

How does virtualization work?

A
  • Virtual machines are created using a hyper visor that managers the hardware resources
  • Resources such as CPU, memory, storage, and network bandwidth are allocated to different VMs.
  • Providers can “oversubscribe” CPU usage since not all VMs will require full processing power simultaneously​
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the anatomy of the platform of a web service?

A

User Interface: Users interact with the service via a browser or app.
DNS Resolution: Translates domain names into IP addresses.
Load Balancer: Distributes incoming requests to different servers.
Web Tier: Handles HTTP requests.
Application Tier: Handles business logic and computations.
Database Tier: Stores data and handles read/write requests​.

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

Applications of MBAAS?

A

Fast development of mobile apps.
Unified backend management for cross-platform apps.
Handling user logins and notifications centrally.

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

What is cloud computing?

A

Cloud Computing is the delivery of computing services (e.g. storage, processing, networking, and applications) over the internet rather than relying on local servers or personal devices

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

Why is cloud computing important?

A
  • No need to maintain physical infrastructure (cost efficient)
  • Resources can be increased or decreased based on demand (scalable)
  • Can access services rom anywhere with an internet connection (flexible)
  • Cloud providers handle system updates and security (easily maintainable)
  • Cloud providers often have failover and backup strategies (reliable)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the three main service tiers 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
7
Q

What is virtualization?

A

Technology that allows multiple virtual instances to run on a physical machine.

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

What is PaaS?

A

PaaS provides a managed environment for developing, running, and managing applications without handling the underlying infrastructure.

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

What does the Cloud Provider manage and what does the user manage for PaaS?

A

Cloud Provider: Hardware, OS, runtime, database, auto-scaling
User: Applications, data

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

What does the Cloud Provider manage and what does the user manage for SaaS?

A

Cloud Provider: Complete software solution
User: Nothing

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

Why is virtualization important?

A

It enables cloud providers to divide physical ardware resources into smaller manageable chunks, allowing multiple users to run different operating system and applications on the same physical server

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

What is IaaS?

A

IaaS is the foundational model of cloud computing where the provider offers virtualized computing resources (servers, storage, and networking). The user controls the operating system and applications but not the physical hardware.

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

What are the advantages of IAAS

A

Flexibility: Users can configure and run any OS or software.
Cost-saving: No need for physical hardware.
Scalability: Can scale up or down based on demand.
Resilience: Cloud providers manage failures, and workloads can be distributed across availability zones​.

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

WHat are the main providers of IAAS?

A

Amazon Web Services (AWS): Amazon EC2 (Elastic Compute Cloud)
Microsoft: Azure
Google: Google Cloud Platform

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

Advantages of PaaS

A

Pre-built infrastructure: Load balancers, databases, and runtime environments are managed by the provider.
Auto-scaling: Instances are created and removed automatically based on demand.
Cost-effective: Reduces the need for hardware and infrastructure management​.

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

What is Amazon AWS Elastic Beanstalk?

A

Elastic Beanstalk is a PaaS offering by AWS that automates deployment, scaling, and monitoring of applications.
It supports multiple programming languages (Java, Python, Node.js, etc.).
Handles infrastructure scaling using Amazon EC2.
Provides built-in load balancing and monitoring with CloudWatch​

17
Q

What is SaaS?

A

SaaS delivers complete software solutions over the internet. Users access the software through a browser without needing to install or maintain it.

18
Q

Examples of SaaS

A

Email: Gmail, Yahoo Mail
Office Tools: Google Docs, Microsoft Office 365
Project Management: Atlassian Jira
CRM: Salesforce
Finance: TurboTax​.

19
Q

Advantages of SaaS

A

No installation: Direct access from a browser.
Lower costs: Pay-as-you-go model.
Automatic updates: Providers handle maintenance and updates.
Global access: Accessible from any location with internet access.

20
Q

Disadvantages of SaaS

A

Limited control: Customization options are limited.
Vendor lock-in: Moving data between providers may be difficult.
Performance issues: Dependent on internet connection and provider performance​.

21
Q

What is Mobile Backend as a Service (MBaaS)

A

MBaaS provides backend infrastructure for mobile and web apps, including:
Database integration
User authentication
Social media integration
Push notifications
Cloud storage

22
Q

What does the Cloud Provider manage and what does the User manage for IaaS?

A

Cloud Provider: Virtualized hardware, storage, networking
User: OS, applications, middleware

23
Q

What to consider when choosing a cloud service tier?

A

Level of Control: IaaS gives the most control; SaaS gives the least.
Cost: SaaS is usually subscription-based; IaaS and PaaS can be pay-as-you-go.
Scalability: PaaS and IaaS provide more options for scaling.
Customization: IaaS offers the most flexibility; SaaS is more fixed​.

24
Q

PaaS vs. IaaS

A

PaaS: Less control: Limited to programming environment, Less Complex because infrastructure is managed, Scalability is Handles automatically
IaaS: More control over OS and platform, More complex: have to specify architecture, Scalability requires user configuration

25
What is the Shared Responsibility Model?
The Shared Responsibility Model defines the division of security and management tasks between the cloud provider and the customer. This model helps ensure that both the provider and the customer clearly understand their roles in maintaining a secure and efficient cloud environment​.
26
What are the Cloud Provider's Responsibilities in the Shared Responsibiity Model?
Physical infrastructure (data centers, servers, and networking hardware). Hardware and software maintenance. Global infrastructure security (e.g., physical access control).
27
What are the Customer's Responsibilities in the Shared Responsibility Model?
Configuring services securely. Managing user permissions. Safeguarding data (e.g., encryption, backups).
28
Importance of IAM User Accounts
Root accounts have full access to all services—misuse can lead to catastrophic consequences. IAM allows: Creating different users with specific roles and permissions. Implementing the principle of least privilege (only give the necessary permissions).
29
Importance of MFA
Adds an extra layer of security. Even if a password is compromised, the attacker cannot log in without the MFA code. Recommended to use an authenticator app over SMS for increased security​.
30
Difference Between Stopping and Terminating an EC2 Instance
Stopping an EC2 Instance: Shuts down the instance. Preserves the associated storage (Elastic Block Storage - EBS). You are NOT charged for compute usage while stopped, but you ARE charged for the EBS volume and IP address (if attached). Terminating an EC2 Instance: Permanently deletes the instance. Associated storage (EBS) is deleted unless configured otherwise. Cannot recover the instance once terminated​.
31
What is the key pair in an EC2 instance and why is it important?
The key pair (.pem file) is used to authenticate SSH access to the EC2 instance. Without the key pair, you cannot access the instance unless you have configured alternative access methods. Recommendations: Store key pairs securely (e.g., password manager). Do not share key pairs. Use separate key pairs for different environments (e.g., production, development
32
What Are the Key Cloud Services?
1. EC2 (Elastic Compute Cloud) Virtual machines running in the cloud. Allows users to run applications on demand. 2. S3 (Simple Storage Service) Object storage service. Ideal for data storage, backups, and static file hosting. 3. Lambda Serverless computing. Runs code in response to events without needing to provision infrastructure. 4. VPC (Virtual Private Cloud) Isolated cloud network environment. Controls networking, IP addressing, and routing. 5. RDS (Relational Database Service) Managed relational database (MySQL, PostgreSQL, etc.). 6. DynamoDB Managed NoSQL database. Scalable with low-latency performance. 7. CloudWatch Monitors metrics and logs. Can trigger alerts based on performance issues or failures​.
33