Cloud Computing Assignment (1)
Cloud Computing Assignment (1)
Cloud Computing
Submitted to Submitted by
Sir Sagar Samrat Shah Arpit Singh
Dept. of Computer Science and Engineering, B.Tech CSE 7th Semester,
School Of Engineering and Technology Roll No. 21134501037
Bachelor of Technology
Session 2024 - 2025
Q.1: Explain the evolution of cloud computing, highlighting the key milestones
and technological advancements that led to its current state.
2. 1990s: Virtualization
- Virtualization technologies like VMware allowed multiple operating systems to
run on a single physical machine, improving resource utilization.
Q.2: Describe the three main cloud service models (SaaS, PaaS, IaaS) and
provide an example of a real-world application for each model.
2
- Definition: Delivers software applications over the internet, eliminating the
need for local installation or maintenance.
- Example: Google Workspace (Docs, Gmail, Drive) - Accessible productivity
and collaboration tools hosted in the cloud.
1. Public Cloud
➔ Advantages:
- Cost-effective with pay-as-you-go pricing.
- Scalable with global access.
- Managed by a third-party provider, reducing maintenance overhead.
➔ Disadvantages:
- Less control over data and infrastructure.
- Security concerns for sensitive information.
3
2. Private Cloud
➔ Advantages:
- High control over data and infrastructure.
- Enhanced security and compliance for sensitive data.
- Customizable to specific organizational needs.
➔ Disadvantages:
- Expensive to set up and maintain.
- Limited scalability compared to public cloud.
3. Hybrid Cloud
➔ Advantages:
- Combines benefits of public and private clouds.
- Offers flexibility by allowing data to move between environments.
- Cost-efficient for varying workloads.
➔ Disadvantages:
- Complexity in setup and management.
- Potential challenges in ensuring seamless integration.
Each model fits different use cases based on cost, control, and security needs.
4
virtual machines (VMs), each functioning like a standalone computer with its own
operating system and applications.
2. Consolidation of Hardware:
Multiple VMs can run on a single server, reducing the need for physical machines
and lowering hardware and energy costs.
Q.5: Discuss two major challenges associated with cloud computing and
propose solutions or strategies to mitigate these risks.
Ans: Two Major Challenges with proposed solutions or strategies to mitigate these
risks in Cloud Computing -
➔ Solution:
- Implement strong encryption for data at rest and in transit.
- Use multi-factor authentication (MFA) and robust access controls.
- Regularly audit cloud services to ensure compliance with security standards.
5
2. Downtime and Service Availability
➔ Challenge: Cloud services may face outages or disruptions, impacting
business operations and customer experience.
➔ Solution:
- Choose providers with strong Service Level Agreements (SLAs) guaranteeing
high uptime.
- Implement a multi-cloud strategy or hybrid deployment to minimize
dependency on a single provider.
- Use disaster recovery and backup solutions to ensure business continuity.
Q.6: Choose two major cloud platforms (e.g., Amazon Web Services,
Microsoft Azure, Google Cloud Platform) and compare their key features,
pricing models, and target audiences.
Ans: Amazon Web Services, and Microsoft Azure: key features, pricing models,
and target audiences -
6
Target Startups, enterprises needing Businesses using Microsoft
Audiences global reach and advanced products.
features.
Suitable for diverse workloads, Ideal for hybrid deployments.
AI, and big data.
Q.7: What factors should be considered when choosing a cloud provider and
designing the migration process?
Ans: Factors to consider when choosing a cloud provider and designing the
migration process -
7
- Testing and Validation: Conduct trials in non-production environments to
identify issues.
- Downtime Planning: Schedule migration during low-traffic periods to
minimize disruption.
- Post-Migration Monitoring: Use monitoring tools to ensure stability and
address any performance issues.
Q.8: Explain the concept of MapReduce and how it is used for processing big
data in the cloud.
1. Map: The dataset is divided into smaller chunks and processed in parallel by
multiple nodes, producing intermediate key-value pairs.
2. Reduce: The intermediate results are aggregated or combined to generate the
final output.
1. Data Distribution:
- The input data is stored in distributed file systems (e.g., HDFS for Hadoop)
across multiple nodes.
2. Parallel Processing:
- The Map step assigns chunks of data to multiple nodes, where each node
processes its portion independently.
- The Reduce step consolidates these results to produce the final output.
3. Fault Tolerance:
- If a node fails, the task is reassigned to another node, ensuring reliability.
8
- Common tasks include log analysis, indexing, and machine learning model
training.
Advantages:
- Enables processing of petabytes of data efficiently.
- Leverages cloud scalability for cost-effective and time-saving computation.
Q.9: Discuss the key differences between HDFS and GFS, two commonly used
distributed file systems in cloud environments.
Ans: Each system is tailored for its intended environment: HDFS for general
purpose big data processing and GFS for Google’s internal applications.
9
Consistency Strong consistency; Relaxed consistency;
supports append operations optimized for high throughput
but no concurrent writes. and append-heavy workloads.
Ecosystem Part of the Hadoop Integrated with Google’s
Integration ecosystem and supports proprietary tools and systems.
tools like MapReduce and
Spark.
➔ How It Works:
- Cloud providers offer APIs that allow services to communicate with each
other.
- Standardized APIs enable integration between different cloud platforms (e.g.,
RESTful APIs, OpenStack APIs).
➔ Example: A business can use AWS Lambda with Google Cloud Storage by
leveraging APIs to connect the two services.
➔ How It Works:
- Tools like Terraform, Kubernetes, or Cloudify provide a unified interface for
managing resources across multiple cloud providers.
- These tools abstract the underlying differences between platforms, enabling
seamless interoperability.
10
➔ Challenges: Complexity in setup and potential cost of using third-party
tools.
Q.11: Explain the concept of Service Level Agreements (SLAs) and their
importance in cloud computing.
Q.12: Discuss the various security challenges associated with cloud computing
and propose strategies for mitigating these risks.
11
1. Data Breaches
Challenge: Unauthorized access to sensitive data stored in the cloud can result in
significant financial and reputational damage.
Mitigation:
2. Insider Threats
Mitigation:
Mitigation:
➢ Use cloud provider tools like AWS Shield or Azure DDoS Protection.
➢ Implement traffic filtering and load balancing.
4. Insecure APIs
Mitigation:
12
5. Data Loss or Leakage
Mitigation:
Mitigation:
Q.13: Explain the concept of mobile cloud computing and its potential benefits
for businesses and users. Discuss some of the key considerations for deploying
mobile applications in the cloud.
Ans: Mobile Cloud Computing (MCC) combines mobile devices with cloud
computing to enable resource-intensive applications to be run on the cloud instead
of the device itself. The cloud handles data storage, processing, and application
execution, delivering results to mobile devices over the internet.
For Businesses:
1. Cost Savings: Reduces the need for extensive mobile app development for
different platforms by centralizing app execution in the cloud.
2. Scalability: Easily handle fluctuating user demands without overloading
mobile devices.
13
3. Global Reach: Deliver applications and updates to users worldwide without
physical distribution.
For Users:
1. Network Reliability:
○ Ensure stable and high-speed internet connections to prevent app lag
or interruptions.
○ Use caching and offline capabilities to enhance user experience during
network downtimes.
2. Security and Privacy:
○ Protect sensitive user data with encryption and secure access controls.
○ Comply with regulations like GDPR to safeguard user privacy.
3. Cross-Platform Compatibility:
○ Design applications to work seamlessly across various devices and
operating systems.
4. Latency Optimization:
○ Minimize data transfer delays by using edge computing or Content
Delivery Networks (CDNs).
5. Scalability and Resilience:
○ Use cloud platforms that support auto-scaling and failover
mechanisms to handle large user bases.
Q.14: Briefly discuss the concept of "Green Cloud Computing" and its
importance in promoting sustainable cloud practices.
14
Ans: Green Cloud Computing refers to environmentally sustainable cloud practices
aimed at reducing the carbon footprint of data centers and cloud operations. It
emphasizes energy-efficient technologies, resource optimization, and renewable
energy use to minimize environmental impact.
15
Q.17: What is Xen?
16
Q.19: What factors can impact the performance of virtual machines?
Ans: Factors That Can Impact the Performance of Virtual Machines (VMs):
17
○ Solution: Follow best practices for VM configuration based on
workload demands (e.g., CPU, RAM, disk settings).
7. Host Resource Contention
○ Impact: When multiple VMs share physical resources on a host,
resource contention can occur, affecting performance.
○ Solution: Use resource management policies to ensure fair
distribution, such as setting resource limits and prioritization.
8. Background Processes and Applications
○ Impact: VMs running unnecessary background processes can
consume CPU, memory, and I/O resources, slowing performance.
○ Solution: Regularly check and optimize running processes and
applications within VMs.
9. Virtualization Overhead
○ Impact: Virtualization itself introduces some level of overhead that
can reduce performance compared to running directly on physical
hardware.
○ Solution: Optimize VM configurations, and allocate sufficient
resources to minimize this overhead.
18
2. Overprovisioning with Caution
19
6. Storage Optimization
20
10.Optimizing Virtual Machine Configuration
21