COMPLETE CLOUD COMPUTING NOTES (EXAM
WRITING STYLE)
These notes are rewritten properly for exam answers. Language is simple, answers are detailed enough to score
good marks, and almost the full question paper is covered through concepts and repeated topics.
1. CLOUD COMPUTING
What is Cloud Computing?
Cloud computing is a technology that provides computing services such as servers, storage, databases, networking,
and software through the internet. Instead of using physical hardware on a local computer, users can access
resources from remote cloud servers whenever needed.
Cloud computing helps businesses reduce hardware costs and allows users to access applications and data from
anywhere using the internet.
Examples: Google Drive, Gmail, AWS, Microsoft Azure
Advantages: Cost reduction, scalability, flexibility, remote access, high availability
Disadvantages: Internet dependency, security risks, privacy concerns
2. CLOUD SERVICE MODELS
IaaS (Infrastructure as a Service)
Provides virtualized computing resources such as servers, storage, networking, and virtual machines through the
cloud. The provider manages physical hardware while the user manages applications and operating systems.
Examples: Amazon EC2, Google Compute Engine
Advantages: High flexibility, full control, scalability
Disadvantages: Requires technical knowledge and security management.
PaaS (Platform as a Service)
Provides a development platform where developers can build, test, and deploy applications without managing
infrastructure.
Examples: Heroku, Google App Engine
Architecture Layers: Infrastructure layer, Runtime layer, Middleware layer, Application layer
Advantages: Faster development, automatic scalability, minimal setup
Disadvantages: Limited customization, vendor lock-in
SaaS (Software as a Service)
Allows users to access software directly through the internet without local installation.
Examples: Gmail, Zoom, Microsoft 365
Advantages: Easy access, no installation, low maintenance
Disadvantages: Internet dependency and less control.
3. VIRTUALIZATION AND HYPERVISORS
Virtualization
Virtualization creates virtual versions of servers, storage devices, operating systems, and networks. Multiple virtual
machines can run on one physical machine.
Benefits: Better resource utilization, reduced hardware cost, improved scalability, easier management.
Hypervisor
A hypervisor creates and manages virtual machines. It allocates CPU, memory, storage, and networking resources.
Type 1 Hypervisor
Runs directly on hardware. Examples: VMware ESXi, Hyper-V.
Advantages: Better performance, higher security, faster execution.
Type 2 Hypervisor
Runs on top of an operating system. Examples: VirtualBox, VMware Workstation.
Advantages: Easy to install and use.
Disadvantages: Lower performance and more overhead.
4. HDFS (HADOOP DISTRIBUTED FILE SYSTEM)
HDFS is a distributed storage system used to store very large files across multiple nodes. Files are divided into
smaller blocks and distributed across systems.
Features: Fault tolerance, scalability, reliability, distributed storage, high availability.
NameNode
The master server in HDFS that manages metadata and tracks block locations.
DataNode
Stores actual data blocks and handles read/write operations.
HDFS Blocks
Large files are divided into smaller blocks before storage.
Example: File size = 1024 MB, Block size = 64 MB.
Number of blocks = 1024 / 64 = 16 blocks.
Replication
Replication creates multiple copies of data blocks across nodes to improve reliability and fault tolerance.
5. PARALLEL COMPUTING
Speedup
Speedup measures how much faster a task executes using multiple processors compared to one processor.
Formula: Speedup = Time on one processor / Time on multiple processors.
Example: Job takes 240 minutes on one machine and 10 minutes on 12 machines.
Speedup = 240 / 10 = 24.
Parallel Efficiency
Measures how effectively processors are being used.
Formula: Efficiency = Speedup / Number of processors.
Example: Efficiency = 24 / 12 = 2.
6. CLOUD SECURITY
Cloud Security Breach
Occurs when unauthorized users gain access to cloud systems or data.
Causes: Weak passwords, poor access control, malware, insider threats.
Effects: Data theft, financial loss, privacy violations.
Trusted Cloud Computing
Ensures systems are secure and reliable while preventing unauthorized modifications.
Access Control
Determines who can access resources and what actions they can perform.
Mechanisms include RBAC, IAM, and MFA.
Authentication Mechanisms
Verify user identity using passwords, OTPs, biometrics, and MFA.
Firewalls
Monitor and filter incoming and outgoing traffic to protect systems.
Intrusion Detection System (IDS)
Detects suspicious activities and security attacks.
Backup
Creates copies of data to prevent permanent data loss and support disaster recovery.
Logging
Records system activities for auditing, monitoring, and threat detection.
7. DENIAL OF SERVICE (DoS) ATTACK
A Denial-of-Service attack floods a server or network with excessive requests, making services unavailable.
Effects: Downtime, slow performance, service interruption.
Mitigation: Firewalls, load balancing, traffic filtering, and rate limiting.
8. DISASTER RECOVERY
Cloud-based disaster recovery restores systems, applications, and data after failures or disasters.
Functions: Data recovery, system restoration, business continuity.
Advantages: Faster recovery, reduced downtime, improved reliability.
Disadvantages: Cost and internet dependency.
9. QUALITY OF SERVICE (QoS)
Quality of Service refers to the performance level of cloud services.
QoS Metrics: Latency, availability, throughput, reliability, response time.
End-to-End QoS
Ensures consistent service quality across the network.
Challenges: Network congestion, latency, packet loss.
Improvement Strategies: Load balancing, bandwidth management, traffic prioritization.
Fault Tolerance
Allows systems to continue operating even when components fail.
Techniques include replication, backup systems, and redundant servers.
SLA (Service Level Agreement)
Defines expected service quality and responsibilities between provider and customer.
Parameters include uptime, availability, response time, and security.
10. CLOUD FEDERATION
Cloud federation is an environment where multiple cloud providers collaborate and share resources.
Advantages: Scalability, flexibility, resource sharing.
Challenges: Security issues, interoperability problems, privacy concerns.
Improvements: Standard protocols, strong security, and better governance.
11. CLOUD GOVERNANCE
Cloud governance refers to policies and rules used to manage cloud systems securely and efficiently.
Governance Policies: Security policies, compliance policies, access management policies.
Importance: Secure operations, risk reduction, compliance maintenance.
Improvements: Regular auditing, monitoring, automated policy management.
12. MONITORING-AS-A-SERVICE (MaaS)
Monitoring-as-a-Service is a cloud-based monitoring solution used to track uptime, performance, and resource usage.
Applications: Server monitoring, performance tracking, security monitoring.
Outcomes: Faster issue detection, improved reliability, better performance management.
13. REAL-TIME APPLICATIONS
Real-time cloud applications require immediate processing and response.
Examples: Stock trading systems, gaming platforms, ride-sharing apps, video streaming.
Challenges: Low latency requirements, network delays, scalability issues, synchronization problems.
Impact of Poor Performance: Lag, delayed responses, poor user experience.
14. WEB SERVICES
Web services allow communication between applications over the internet.
Request-Response Model:
1. Client sends request.
2. Server processes request.
3. Server sends response.
Advantages: Platform independence, easy integration, reusable services.
15. RELATIONAL DATABASES
A relational database stores structured data in tables made of rows and columns.
Characteristics: Structured organization, relationships using keys, efficient querying.
Advantages: Data integrity, organized storage, easy management.
Examples: MySQL and PostgreSQL.
16. VIRTUAL PRIVATE CLOUD (VPC)
A Virtual Private Cloud is a private network environment created inside a public cloud.
Purpose: Isolate resources, improve security, control networking.
Security Benefits: Private IP addresses, firewall protection, secure communication.
17. IMPORTANT SCENARIO-BASED ANSWERS
Startup wants fast deployment and no hardware management: PaaS because it provides automatic scalability
and minimal setup.
Software through browser without installation: SaaS. Example: Gmail.
Frequent server failures: Fault tolerance improves availability using replication and backup systems.
Secure banking login: Multi-Factor Authentication improves security and prevents unauthorized access.
Video streaming performance: Availability and low latency are the most important QoS factors.
MOST IMPORTANT ONE-LINERS
Question Answer
Storage across multiple nodes HDFS
Software via browser SaaS
VM manager Hypervisor
Metadata manager in HDFS NameNode
Unauthorized access Security breach
Traffic flooding attack DoS attack
Multiple cloud collaboration Cloud federation
AWS isolated environment VPC
Large dataset processing MapReduce