Inno 3.9 Cloud Flashcards

(41 cards)

1
Q

What is IaaS in cloud computing?

A

Infrastructure as a Service (IaaS) provides virtualized computing resources over the internet, like virtual machines, storage, and networks. It gives users control over OS, applications, and storage, but abstracts the hardware. IaaS is scalable and cost-effective for managing infrastructure needs. Common use cases include development and testing environments or hosting web applications.
Example: Using Microsoft Azure Virtual Machines to deploy a custom web server.

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

What is PaaS in cloud computing?

A

Platform as a Service (PaaS) offers a framework for developers to build and deploy applications without managing infrastructure. It includes OS, databases, runtime, and middleware. PaaS enhances development speed and reduces operational complexity. Developers focus on code; the provider manages everything else.
Example: Deploying an app using Google App Engine without managing underlying servers.

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

What is SaaS in cloud computing?

A

Answer:
Software as a Service (SaaS) delivers fully managed applications over the internet, accessible through a browser. Users don’t manage infrastructure or application logic. It’s ideal for email, CRM, or collaboration tools. SaaS allows rapid adoption and often follows a subscription model.
Example: Using Gmail or Microsoft 365 online for email and document editing.

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

What are public, private, and hybrid clouds?

A

A public cloud is owned by a third-party provider and shared among customers. A private cloud is used exclusively by one organization, often hosted on-premises. A hybrid cloud blends both, allowing data and apps to move between environments. Hybrid clouds offer flexibility, data control, and cost savings.
Example: Using AWS (public) for hosting and an on-premise server (private) for sensitive data.

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

What are the categories of cloud services?

A

Cloud services are typically grouped into IaaS, PaaS, and SaaS, each offering different levels of abstraction. Some extensions include FaaS (Function as a Service) for serverless computing and DaaS (Desktop as a Service). Understanding these helps select the right service for scalability, maintenance, and control.
Example: Using AWS Lambda (FaaS) to run backend logic in response to events.

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

What is an IP address and how is it used?

A

An IP address uniquely identifies a device on a network. IPv4 uses 32 bits, while IPv6 uses 128 bits for scalability. Devices communicate by sending packets to destination IPs. Public IPs are globally unique; private IPs are used within local networks.
Example: 192.168.0.1 is a common private IP for home routers.

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

What is subnetting in networking?

A

Subnetting divides a larger network into smaller, manageable subnetworks. It improves routing efficiency and enhances security. A subnet mask defines the network and host portions of an IP. Subnetting is crucial in enterprise networks and cloud deployments.
Example: IP: 192.168.1.10 with subnet mask 255.255.255.0 defines a subnet of 256 IPs.

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

What is a VPN and how does it enhance security?

A

A Virtual Private Network (VPN) encrypts traffic between a device and the network, creating a secure “tunnel.” It’s used to protect data in transit and access private networks remotely. VPNs are common in remote work and secure site-to-site communication.
Example: Employees use a VPN to securely access internal systems from home.

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

What is a firewall and why is it important?

A

A firewall monitors and controls incoming and outgoing network traffic based on security rules. It blocks unauthorized access and protects against threats. Firewalls can be hardware-based, software-based, or cloud-native.
Example: A firewall blocks all traffic except ports 80 and 443 for web applications.

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

What is DNS and how does it work?

A

DNS (Domain Name System) translates human-friendly domain names into IP addresses. It allows users to access websites without memorizing numbers. DNS has records like A (address), MX (mail), and CNAME (alias).
Example: Typing google.com gets resolved to 142.250.190.78 via DNS.

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

What are the three pillars of security: CIA?

A

The CIA triad stands for Confidentiality, Integrity, and Availability. Confidentiality ensures only authorized access, integrity ensures data accuracy, and availability ensures services are accessible. Balancing these is key in security design.
Example: An online bank ensures only you access your account (C), no tampering occurs (I), and the system is up 24/7 (A).

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

What is IAM (Identity and Access Management)?

A

IAM controls who can access what resources in a system. It includes authentication (who you are) and authorization (what you can do). Modern IAM integrates with roles, policies, and multi-factor authentication.
Example: An AWS IAM user has permissions to manage EC2 but not S3.

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

What are common encryption practices in cloud security?

A

Encryption protects data at rest and in transit using algorithms like AES and RSA. Symmetric encryption uses one key; asymmetric uses a public/private key pair. TLS secures network traffic; storage is often encrypted using customer-managed or provider-managed keys.
Example: HTTPS uses TLS to encrypt data between your browser and a website.

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

What is a blue-green deployment?

A

Blue-green deployment involves two environments: one active (blue) and one idle (green). Updates are deployed to the green environment, then traffic switches over. If issues arise, rollback is easy. It minimizes downtime and risk.
Example: A new app version is deployed to green; if it works, traffic is routed from blue to green.

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

What is a rolling update?

A

A rolling update gradually replaces old instances with new ones, usually in small batches. It avoids full downtime but requires backward compatibility. This is common in Kubernetes and container deployments.

Example: Updating a web service on 3 pods one at a time to the new version.

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

What is a canary release?

A

Answer:
A canary release sends new versions to a small user group before full deployment. If no issues are found, rollout continues. It allows real-world testing with limited impact.
Example: 5% of users get the new feature; if it works, all users receive it.

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

What is CI (Continuous Integration)?

A

CI involves automatically integrating code changes from multiple contributors into a shared repository. Automated builds and tests validate each change. CI reduces integration issues and encourages frequent commits.
Example: GitHub Actions runs tests on every push to the main branch.

MULTIPLE CONTRIBUTORS INTO SHARED REPOSITORY, AUTOMATED BUILDS VALIDATES EACH CHANGES

18
Q

What is CD (Continuous Deployment/Delivery)?

A

Continuous Delivery automates code release to staging after successful CI. Continuous Deployment extends this to production. It ensures fast, reliable software delivery.

Example: A successful merge triggers tests and deploys the app to AWS with no manual steps.

AUTOMATED CODE RELASE TO STAGING AFTER SUCCESSFUL CI

19
Q

What are the benefits of CI/CD pipelines?

A

CI/CD pipelines ensure consistent, fast, and error-free delivery. They reduce manual effort, enable faster feedback, and improve software quality. Pipelines automate build, test, and deploy processes.
Example: Jenkins or GitHub Actions pipeline builds, tests, and deploys an app on every commit.

20
Q

What is IaaS (Infrastructure as a Service)?

A

IaaS gives you virtual servers, storage, and networking over the internet. It’s like renting raw hardware, but in the cloud. You install your own operating system, applications, and manage everything except the physical hardware.

You manage:
Your app
Your runtime (e.g., .NET, Node.js)
Operating system
Storage/data

The cloud provider manages:
Physical servers
Networking
Data centers

Using Azure Virtual Machines or AWS EC2 to host your web app or database, where you install and configure everything yourself.

21
Q

What is PaaS (Platform as a Service)?

A

Explanation:
PaaS gives you a ready-made environment to build and deploy your applications. You just focus on your code — the platform handles the infrastructure, operating system, and runtime.

You manage:

Your app
Your data

The cloud provider manages:
Runtime (e.g., .NET Core, Java)
Operating system
Servers and infrastructure
Scaling and load balancing

like Heroku, Azure App Service

22
Q

What are the common cloud pricing models?

A

Cloud services are typically billed on a pay-as-you-go, reserved, or spot pricing model.

Pay-as-you-go charges based on usage (hourly, per request).

Reserved instances offer lower cost for long-term commitment (1–3 years).

Spot instances are cheap but can be interrupted anytime.
Example: AWS EC2 instances can be run on-demand or reserved for discount.

23
Q

How can you estimate the cost of cloud services?

A

Cloud providers offer pricing calculators (e.g., AWS, Azure) to estimate monthly or yearly costs based on selected resources. You input expected usage like number of VMs, storage size, and bandwidth. These tools help prevent surprise bills and improve budgeting.
Example: Using the AWS Pricing Calculator to estimate cost for 3 EC2 instances and S3 storage.

24
Q

What are some common cost optimization strategies?

A

Key strategies include:

Right-sizing resources (e.g., smaller VM types)

Using reserved or spot instances

Auto-scaling resources based on demand

Removing unused or idle resources

Using cost-monitoring tools and budgets
Example: Shutting down dev servers at night to reduce usage costs.

25
How does auto-scaling help reduce costs?
Answer: Auto-scaling adjusts the number of active instances based on load. When demand drops, fewer resources run, cutting costs. It's efficient for apps with variable traffic. Example: A web app runs 2 instances at night and 6 during peak hours.
26
What is a billing alert and how is it used?
Answer: A billing alert notifies you when your usage reaches a set threshold. It's a safeguard against unexpected expenses. Most cloud platforms allow alerts via email or dashboards. Example: You set an alert to trigger at 80% of your $500 monthly budget.
27
What is object storage and when should you use it?
Answer: Object storage stores data as discrete units (objects), each with metadata and a unique ID. It’s ideal for unstructured data like images, videos, backups. It's highly scalable and accessible via APIs. Example: Amazon S3 is object storage used to store user-uploaded photos in a web app.
28
What is block storage and how is it different?
Answer: Block storage splits data into fixed-size blocks and stores them independently. It's fast and ideal for databases, virtual machines, or high-performance applications. Example: Azure Disk Storage or AWS EBS used for hosting a MySQL database on a VM. DATA FOR VIRTUAL MACHINE, APPLICATIONTS
29
What is file storage and when is it useful?
Answer: File storage organizes data in a hierarchical folder structure. It's best for shared file systems or legacy apps. Common protocols: NFS, SMB. Example: Using Azure Files to provide a network-shared drive for internal teams. SHARING DATA IN NETWORK
30
What is data backup in the cloud?
Answer: Backup is copying data to a secure location to protect against data loss. Cloud backups can be automated, versioned, and encrypted. Many providers offer lifecycle rules for retention. Example: Scheduling daily S3 backups of a production database.
31
What is disaster recovery (DR) in the cloud?
Answer: Disaster Recovery is a plan to restore systems and data quickly after a failure (e.g., power outage, breach). Cloud DR includes multi-region backups, failover servers, and snapshots. Example: Replicating a critical app to another region in AWS for failover.
32
What is vertical scaling?
Answer: Vertical scaling (scale-up) means increasing the power (CPU, RAM) of a single server. It’s simple but has hardware limits. Example: Upgrading from a 2-core to an 8-core VM to handle more users.
33
What is horizontal scaling?
Answer: Horizontal scaling (scale-out) means adding more instances to distribute load. It improves availability and is more cloud-native. Example: Adding 3 more app servers to handle increased traffic.
34
What is load balancing and why is it important?
Answer: A load balancer distributes incoming traffic across multiple servers to ensure reliability and performance. It prevents overload and enables auto-scaling and failover. Example: An AWS ELB spreads web requests across 4 EC2 instances.
35
What is caching and how does it improve performance?
Answer: Caching stores frequently accessed data temporarily to reduce latency and load. Common caches include memory-based (Redis, Memcached) or CDN-based. Example: Storing user profile data in Redis for faster access.
36
What is a CDN (Content Delivery Network)?
Answer: A CDN caches and delivers content (images, videos, static files) from edge servers near the user’s location. It improves load times and reduces bandwidth costs. Example: Using Cloudflare or AWS CloudFront to serve static website assets globally.
37
What is GDPR and what does it require?
GDPR is an EU regulation for data privacy. It requires consent for data use, user data rights (like deletion), and secure storage practices. Non-compliance leads to heavy fines. Example: Allowing users to delete their account and all associated data on request.
38
What is HIPAA and who must comply with it?
HIPAA governs health information in the U.S. Organizations handling Protected Health Information (PHI) must secure it using specific policies, encryption, and access control. Example: A cloud-hosted health app must encrypt patient records and control access.
39
What is cloud governance and why is it important?
Cloud governance defines rules for usage, security, compliance, and cost management. It ensures accountability and consistent policy enforcement. Example: Enforcing tagging on all cloud resources for tracking costs and ownership.
40
What are resource tags and how are they used?
Tags are key-value pairs assigned to cloud resources for organization and cost tracking. Tags can indicate owner, environment, project, or purpose. Example: Tagging a VM with Project=Website, Owner=Piotr, Env=Production.
41
What is the principle of least privilege in cloud IAM?
It means granting users only the minimum permissions they need to do their job. This reduces security risks. IAM roles and policies help enforce this. Example: A developer has read-only access to production logs but cannot modify resources.