Cloud Computing Test - Internal Assessment
Total Marks: 100 (20 questions × 5 marks each)
Question 1 (5 marks)
Define cloud computing and explain its three main service models with examples.
Answer: Cloud computing is the delivery of computing services over the internet, including
servers, storage, databases, networking, software, and analytics. The three main service models
are:
• IaaS (Infrastructure as a Service): Provides virtualized computing resources like servers,
storage, and networking. Example: Amazon EC2, Microsoft Azure Virtual Machines
• PaaS (Platform as a Service): Offers a platform for developers to build and deploy
applications without managing infrastructure. Example: Google App Engine, Heroku
• SaaS (Software as a Service): Delivers software applications over the internet on a
subscription basis. Example: Gmail, Salesforce, Microsoft 365
Question 2 (5 marks)
Explain the four main deployment models in cloud computing.
Answer: The four deployment models are:
• Public Cloud: Services are provided over the internet and shared among multiple
organizations. Owned by third-party providers (e.g., AWS, Azure)
• Private Cloud: Cloud infrastructure dedicated to a single organization, offering greater
control and security
• Hybrid Cloud: Combination of public and private clouds, allowing data and applications
to be shared between them
• Community Cloud: Infrastructure shared by several organizations with common
concerns (security, compliance). Managed by organizations or third parties
Question 3 (5 marks)
What are the key characteristics of cloud computing? Explain any four in detail.
Answer: Key characteristics include:
• On-demand self-service: Users can provision computing resources automatically
without human interaction with service providers
• Broad network access: Services are available over the network and accessed through
standard mechanisms (smartphones, tablets, laptops)
• Resource pooling: Provider's computing resources are pooled to serve multiple
consumers using multi-tenant model
• Rapid elasticity: Resources can be elastically provisioned and released to scale rapidly
with demand
• Measured service: Cloud systems automatically control and optimize resource use
through metering capabilities
Question 4 (5 marks)
Discuss the advantages of cloud computing for businesses.
Answer: Advantages include:
• Cost efficiency: Eliminates capital expenditure on hardware and reduces operational
costs
• Scalability: Easy to scale resources up or down based on business needs
• Flexibility and mobility: Access data and applications from anywhere with internet
connectivity
• Disaster recovery: Built-in backup and recovery solutions ensure business continuity
• Automatic updates: Service providers handle maintenance and software updates
• Collaboration: Teams can work together on shared resources and applications in real-
time
• Competitive edge: Quick deployment of new applications and services
Question 5 (5 marks)
What is virtualization in cloud computing? Explain its types and benefits.
Answer: Virtualization is the creation of virtual versions of physical resources like servers,
storage devices, and networks. It's the foundation of cloud computing.
Types:
• Server virtualization: Multiple virtual servers on a single physical server
• Storage virtualization: Pooling physical storage from multiple devices
• Network virtualization: Combining hardware and software network resources
Benefits:
• Improved resource utilization and efficiency
• Reduced hardware costs
• Easy provisioning and deployment
• Better disaster recovery and business continuity
• Isolation and security between virtual machines
Question 6 (5 marks)
Explain the concept of multi-tenancy in cloud computing and its implications.
Answer: Multi-tenancy is an architecture where a single instance of software serves multiple
customers (tenants). Each tenant's data is isolated and remains invisible to other tenants.
Key aspects:
• Resources are shared among multiple users while maintaining data isolation
• Cost-effective as infrastructure costs are distributed across tenants
• Efficient resource utilization through shared infrastructure
Implications:
• Positive: Lower costs, easier maintenance, economies of scale
• Challenges: Security concerns, performance issues if not properly managed,
customization limitations
• Requires robust isolation mechanisms to ensure data privacy and security
Question 7 (5 marks)
What are the security challenges in cloud computing? Suggest measures to address them.
Answer: Security challenges:
• Data breaches and loss
• Unauthorized access and identity theft
• Insecure APIs
• Account hijacking
• Lack of visibility and control
• Compliance and legal issues
Measures to address:
• Implement strong encryption for data at rest and in transit
• Use multi-factor authentication and strong access controls
• Regular security audits and vulnerability assessments
• Choose cloud providers with proper certifications (ISO 27001, SOC 2)
• Implement data backup and disaster recovery plans
• Use Security Information and Event Management (SIEM) tools
Question 8 (5 marks)
Compare and contrast public cloud and private cloud with suitable examples.
Answer: Public Cloud:
• Owned and operated by third-party providers
• Resources shared among multiple organizations
• Lower costs due to economies of scale
• Less control over security and compliance
• Examples: AWS, Microsoft Azure, Google Cloud Platform
Private Cloud:
• Dedicated to a single organization
• Greater control over resources and security
• Higher costs due to dedicated infrastructure
• Better for sensitive data and compliance requirements
• Can be hosted on-premises or by third-party providers
• Examples: VMware Private Cloud, OpenStack deployments
Key difference: Public clouds offer cost efficiency and scalability, while private clouds provide
enhanced security and control.
Question 9 (5 marks)
Explain cloud storage and its different types with examples.
Answer: Cloud storage is a service model that stores data on remote servers accessed via the
internet.
Types:
• Object Storage: Stores data as objects with metadata. Best for unstructured data.
Example: Amazon S3, Google Cloud Storage
• File Storage: Hierarchical storage system with files and folders. Example: Amazon EFS,
Azure Files
• Block Storage: Data stored in fixed-size blocks. Used for databases and applications
requiring low latency. Example: Amazon EBS, Azure Disk Storage
Benefits:
• Accessibility from anywhere
• Automatic backup and redundancy
• Cost-effective scalability
• Pay-per-use pricing model
Question 10 (5 marks)
What is cloud migration? Discuss the strategies and challenges involved.
Answer: Cloud migration is the process of moving applications, data, and other business
elements from on-premises infrastructure to cloud environment.
Migration strategies (6 Rs):
• Rehost (Lift and Shift): Moving applications without modifications
• Replatform: Making minor optimizations
• Refactor: Restructuring applications for cloud-native features
• Retire: Decommissioning unnecessary applications
• Retain: Keeping some applications on-premises
• Repurchase: Moving to SaaS solutions
Challenges:
• Downtime during migration
• Data security and compliance concerns
• Cost estimation and budget overruns
• Skills gap and training requirements
• Application compatibility issues
Question 11 (5 marks)
Explain the concept of serverless computing and its advantages.
Answer: Serverless computing is a cloud execution model where the cloud provider dynamically
manages server allocation and scaling. Developers focus on code without managing
infrastructure.
Key characteristics:
• No server management required
• Automatic scaling based on demand
• Pay only for actual execution time
• Event-driven architecture
Advantages:
• Reduced operational costs and complexity
• Faster time to market for applications
• Automatic scaling eliminates capacity planning
• Focus on business logic rather than infrastructure
• Built-in high availability and fault tolerance
Examples: AWS Lambda, Azure Functions, Google Cloud Functions
Question 12 (5 marks)
What is a Service Level Agreement (SLA) in cloud computing? What are its key components?
Answer: An SLA is a formal contract between cloud service provider and customer defining the
level of service expected.
Key components:
• Service uptime guarantee: Percentage of time service will be available (e.g., 99.9%)
• Performance metrics: Response time, throughput, latency requirements
• Security and compliance: Data protection standards and regulatory compliance
• Support and response times: How quickly issues will be addressed
• Penalties and compensation: Credits or refunds for SLA violations
• Service scope: What services are covered
• Monitoring and reporting: How performance is measured and reported
Importance: Ensures accountability and sets clear expectations between provider and customer.
Question 13 (5 marks)
Discuss the concept of containerization and its role in cloud computing.
Answer: Containerization is a lightweight form of virtualization that packages an application and
its dependencies into a container that can run consistently across different computing
environments.
Key concepts:
• Containers share the host OS kernel but remain isolated
• More lightweight than virtual machines
• Docker is the most popular containerization platform
• Kubernetes is used for container orchestration
Role in cloud computing:
• Portability: Run anywhere without modification
• Efficiency: Better resource utilization than VMs
• Scalability: Quick deployment and scaling
• Microservices: Enables microservices architecture
• DevOps: Facilitates continuous integration and deployment
Question 14 (5 marks)
What is cloud orchestration? How does it differ from automation?
Answer: Cloud orchestration is the automated arrangement, coordination, and management of
complex cloud computing systems, middleware, and services. It manages the interconnections
and interactions between workloads.
Cloud automation is the use of technology to perform tasks with minimal human intervention,
typically handling individual tasks or processes.
Key differences:
• Scope: Automation handles individual tasks; orchestration coordinates multiple
automated tasks
• Complexity: Orchestration is more complex, managing workflows across systems
• Dependencies: Orchestration manages task dependencies and sequences
• Example: Automation might provision a server; orchestration provisions server,
configures networking, deploys application, and sets up monitoring
Tools: Terraform, Ansible, AWS CloudFormation, Kubernetes
Question 15 (5 marks)
Explain the concept of load balancing in cloud computing and its types.
Answer: Load balancing distributes incoming network traffic across multiple servers to ensure
no single server bears too much load, improving application responsiveness and availability.
Types:
• Hardware load balancers: Physical devices that distribute traffic
• Software load balancers: Applications that perform load balancing
• DNS load balancing: Uses DNS to distribute traffic across servers
• Global load balancing: Distributes traffic across geographic regions
Algorithms:
• Round Robin: Distributes requests sequentially
• Least Connections: Routes to server with fewest active connections
• IP Hash: Routes based on client IP address
• Weighted distribution: Based on server capacity
Benefits: High availability, scalability, redundancy, better performance
Question 16 (5 marks)
What is edge computing and how does it complement cloud computing?
Answer: Edge computing processes data near the source of data generation (at the network
edge) rather than in centralized cloud data centers.
Characteristics:
• Processing happens closer to end users and IoT devices
• Reduces latency for time-sensitive applications
• Reduces bandwidth usage by processing data locally
• Enables real-time data processing
Complementing cloud computing:
• Hybrid approach: Edge handles real-time processing; cloud handles complex analytics
• Data filtering: Edge preprocesses data before sending to cloud
• Reduced costs: Less data transmitted to cloud reduces bandwidth costs
• Reliability: Edge devices work even with intermittent cloud connectivity
Use cases: Autonomous vehicles, smart cities, industrial IoT, AR/VR applications
Question 17 (5 marks)
Explain the CAP theorem in the context of distributed cloud systems.
Answer: The CAP theorem states that a distributed system can provide only two out of three
guarantees simultaneously:
C - Consistency: All nodes see the same data at the same time. Every read receives the most
recent write.
A - Availability: Every request receives a response, without guarantee that it contains the most
recent write.
P - Partition Tolerance: System continues to operate despite network partitions or message loss
between nodes.
In practice:
• CA systems: Prioritize consistency and availability (traditional databases) - not practical
in distributed cloud
• CP systems: Prioritize consistency and partition tolerance (MongoDB, HBase) - may
sacrifice availability
• AP systems: Prioritize availability and partition tolerance (Cassandra, DynamoDB) -
eventual consistency
Trade-off: Most cloud systems choose AP or CP based on application requirements.
Question 18 (5 marks)
What is Infrastructure as Code (IaC)? Explain its benefits and popular tools.
Answer: Infrastructure as Code is the practice of managing and provisioning infrastructure
through machine-readable definition files rather than manual configuration.
Key principles:
• Infrastructure defined in code files (JSON, YAML, HCL)
• Version controlled like application code
• Automated deployment and configuration
• Declarative or imperative approaches
Benefits:
• Consistency: Eliminates configuration drift
• Reproducibility: Same code produces identical infrastructure
• Speed: Rapid provisioning and scaling
• Documentation: Code serves as infrastructure documentation
• Cost optimization: Easy to destroy and recreate environments
• Disaster recovery: Quick infrastructure rebuilding
Popular tools: Terraform, AWS CloudFormation, Azure Resource Manager, Ansible, Puppet, Chef
Question 19 (5 marks)
Discuss the concept of cloud-native applications and their characteristics.
Answer: Cloud-native applications are designed specifically to run in cloud environments,
leveraging cloud computing advantages.
Key characteristics:
• Microservices architecture: Application broken into small, independent services
• Containerization: Packaged in containers for portability
• Dynamic orchestration: Automated container management (Kubernetes)
• DevOps practices: Continuous integration and deployment
• API-driven: Services communicate through well-defined APIs
• Resilience: Designed to handle failures gracefully
• Scalability: Auto-scaling based on demand
Benefits:
• Faster development and deployment cycles
• Better resource utilization
• Improved fault tolerance
• Technology flexibility (polyglot)
• Easier updates and maintenance
12-Factor App methodology provides guidelines for building cloud-native applications.
Question 20 (5 marks)
What is cloud cost optimization? Suggest strategies to optimize cloud spending.
Answer: Cloud cost optimization is the process of reducing cloud expenses while maximizing the
value and performance of cloud resources.
Optimization strategies:
• Right-sizing: Choose instance types matching actual workload requirements
• Reserved instances: Commit to long-term usage for discounts (up to 75%)
• Spot instances: Use spare capacity at reduced prices for flexible workloads
• Auto-scaling: Automatically adjust resources based on demand
• Resource tagging: Track and allocate costs to departments/projects
• Storage optimization: Use appropriate storage tiers, delete unused data
• Monitoring and alerts: Track spending patterns and set budget alerts
• Serverless adoption: Pay only for actual execution time
• Multi-cloud strategy: Leverage competitive pricing across providers
• Regular audits: Identify and eliminate idle or underutilized resources
Tools: AWS Cost Explorer, Azure Cost Management, Google Cloud Cost Management