Unit 13: Cloud Computing and IoT - Subjective Questions
DECAP145 • Practice Questions with Detailed Answers
20 questions
Define Cloud Computing. Explain its essential characteristics.
Cloud Computing is the delivery of computing services such as servers, storage, databases, networking, software, and analytics over the Internet ("the cloud") on a pay-as-you-go basis, without direct active management by the user.
Essential Characteristics:
- On-demand self-service: Users can provision computing resources automatically without human interaction with the service provider.
- Broad network access: Services are available over the network and accessed through standard devices like laptops, mobiles, and tablets.
- Resource pooling: Provider's resources are pooled to serve multiple consumers using a multi-tenant model.
- Rapid elasticity: Resources can be scaled up or down quickly based on demand.
- Measured service: Resource usage is monitored, controlled, and reported, providing transparency for both provider and consumer (pay-per-use).
Benefits: Cost reduction, scalability, flexibility, disaster recovery, and automatic software updates.
Distinguish between SaaS, PaaS, and IaaS with suitable examples.
The three fundamental cloud service models differ in the level of control and management offered to the user.
1. IaaS (Infrastructure as a Service):
- Provides virtualized computing resources like servers, storage, and networking over the internet.
- The user manages the OS, applications, and data; the provider manages the hardware.
- Examples: Amazon EC2, Microsoft Azure VMs, Google Compute Engine.
2. PaaS (Platform as a Service):
- Provides a platform with tools, runtime, and infrastructure to develop, test, and deploy applications.
- The user manages only applications and data; the provider manages everything else.
- Examples: Google App Engine, Heroku, Microsoft Azure App Service.
3. SaaS (Software as a Service):
- Delivers ready-to-use software applications over the internet on a subscription basis.
- The provider manages everything; the user only uses the software.
- Examples: Gmail, Google Docs, Salesforce, Microsoft Office 365.
Summary Table:
| Model | User Manages | Provider Manages | Example |
|---|---|---|---|
| IaaS | OS, Apps, Data | Hardware, Virtualization | AWS EC2 |
| PaaS | Apps, Data | Runtime, OS, Hardware | Heroku |
| SaaS | Nothing | Everything | Gmail |
Compare Public Cloud and Private Cloud across various parameters.
Public Cloud and Private Cloud are two major cloud deployment models.
Public Cloud:
- Owned and operated by third-party cloud service providers.
- Resources are shared among multiple organizations (multi-tenant).
- Accessible over the public internet.
Private Cloud:
- Dedicated infrastructure used exclusively by a single organization.
- Can be hosted on-premises or by a third party.
- Offers greater control and security.
Comparison Table:
| Parameter | Public Cloud | Private Cloud |
|---|---|---|
| Ownership | Third-party provider | Single organization |
| Cost | Low, pay-per-use | High initial investment |
| Security | Comparatively lower | High, dedicated |
| Scalability | Very high | Limited to owned resources |
| Control | Limited | Full control |
| Maintenance | Provider handles | Organization handles |
| Examples | AWS, Azure, GCP | VMware, OpenStack private setup |
Conclusion: Public cloud suits cost-sensitive, scalable needs, while private cloud suits organizations requiring high security and control.
What is Virtualization? Explain its types and advantages in cloud computing.
Virtualization is the process of creating a virtual (software-based) version of physical resources such as servers, storage devices, networks, or operating systems. It is the foundational technology behind cloud computing.
A software layer called the Hypervisor allows multiple virtual machines (VMs) to run on a single physical machine.
Types of Virtualization:
- Server Virtualization: Dividing a physical server into multiple virtual servers.
- Storage Virtualization: Pooling physical storage from multiple devices into a single logical unit.
- Network Virtualization: Combining network resources into a single software-based network.
- Desktop Virtualization: Hosting desktop environments on a central server.
- Application Virtualization: Running applications isolated from the underlying OS.
Advantages:
- Cost savings by reducing physical hardware requirements.
- Efficient resource utilization through resource pooling.
- Scalability and flexibility in allocating resources.
- Easy disaster recovery and backup.
- Isolation improves security and stability.
Explain the concept of a Virtual Server and the role of a Hypervisor.
A Virtual Server is a software-based emulation of a physical server. Multiple virtual servers can run on a single physical machine, each operating independently with its own operating system and applications, as if it were a separate physical server.
Key Features:
- Each virtual server has dedicated allocation of CPU, memory, and storage.
- Fully isolated from other virtual servers on the same host.
- Can be created, cloned, or deleted quickly.
Role of the Hypervisor:
The Hypervisor (Virtual Machine Monitor) is the software layer that creates and manages virtual servers by allocating physical resources to them.
Types of Hypervisors:
- Type 1 (Bare-metal): Runs directly on physical hardware. Fast and secure. Examples: VMware ESXi, Microsoft Hyper-V, Xen.
- Type 2 (Hosted): Runs on top of a host operating system. Examples: Oracle VirtualBox, VMware Workstation.
Advantages of Virtual Servers:
- Reduced hardware cost.
- Better resource utilization.
- Easy scalability and management.
- Improved isolation and security.
Describe Cloud Storage. What are its advantages and disadvantages?
Cloud Storage is a model of computer data storage in which digital data is stored on remote servers managed by a cloud service provider and accessed over the internet. Users can store, manage, and retrieve data anytime, anywhere.
Types of Cloud Storage:
- Object Storage: Stores data as objects (e.g., Amazon S3).
- File Storage: Data stored in a hierarchical file structure.
- Block Storage: Data stored in blocks, suited for databases and VMs.
Advantages:
- Accessibility: Access data from anywhere with an internet connection.
- Scalability: Storage can be increased or decreased on demand.
- Cost-effective: Pay only for the storage used.
- Backup and recovery: Automatic backups protect against data loss.
- Collaboration: Multiple users can share and work on files.
Disadvantages:
- Internet dependency: Requires reliable internet connectivity.
- Security concerns: Data breaches and privacy risks.
- Limited control: Data managed by third-party provider.
- Ongoing costs: Subscription fees over time.
Examples: Google Drive, Dropbox, Amazon S3, Microsoft OneDrive.
Explain Database Storage in the cloud. Differentiate between SQL and NoSQL cloud databases.
Database Storage in the cloud refers to storing and managing databases on cloud infrastructure, provided as a managed service (Database as a Service - DBaaS). The provider handles setup, maintenance, backups, scaling, and security.
Advantages:
- Automatic scaling and high availability.
- Automated backups and disaster recovery.
- Reduced administrative overhead.
- Pay-per-use pricing.
SQL vs NoSQL Cloud Databases:
| Parameter | SQL (Relational) | NoSQL (Non-relational) |
|---|---|---|
| Structure | Tables with fixed schema | Flexible schema (documents, key-value, graph) |
| Scalability | Vertical scaling | Horizontal scaling |
| Query Language | Structured Query Language | Varies by database |
| Consistency | Strong (ACID) | Eventual (BASE) |
| Use Case | Structured data, transactions | Big data, real-time apps |
| Examples | Amazon RDS, Azure SQL | MongoDB Atlas, Amazon DynamoDB |
Conclusion: SQL databases are ideal for structured, transaction-heavy applications, while NoSQL databases suit large-scale, flexible, and rapidly changing data.
What is Resource Management in cloud computing? Explain its key components.
Resource Management in cloud computing is the process of efficiently allocating, monitoring, and controlling computing resources such as CPU, memory, storage, and network bandwidth to meet user demands while optimizing cost and performance.
Key Components:
- Resource Provisioning: Allocating the required resources to workloads, either statically or dynamically.
- Resource Scheduling: Assigning tasks to available resources for optimal performance.
- Load Balancing: Distributing workloads evenly across servers to avoid overloading.
- Resource Monitoring: Continuously tracking resource usage and performance metrics.
- Auto-scaling: Automatically adjusting resources based on demand (scaling up/down).
- Resource Optimization: Ensuring maximum utilization with minimum wastage.
Goals of Resource Management:
- Maximize resource utilization.
- Minimize operational cost.
- Ensure Quality of Service (QoS).
- Maintain scalability and availability.
- Reduce energy consumption.
Importance: Effective resource management ensures that cloud services are reliable, cost-efficient, and capable of handling variable workloads.
What is a Service Level Agreement (SLA)? Explain its key components in cloud computing.
A Service Level Agreement (SLA) is a formal contract between a cloud service provider and a customer that defines the level of service expected, including performance metrics, responsibilities, and remedies for failing to meet the agreed standards.
Key Components of an SLA:
- Service Description: Details of the services being provided.
- Performance Metrics: Measurable parameters like uptime, response time, and throughput.
- Availability/Uptime Guarantee: Commitment such as 99.9% availability.
- Responsibilities: Duties of both provider and customer.
- Security and Compliance: Data protection and regulatory obligations.
- Penalties/Remedies: Compensation (e.g., service credits) if SLA is breached.
- Monitoring and Reporting: How performance is measured and reported.
- Termination Clause: Conditions for ending the agreement.
Example: An uptime of means allowable downtime of about hours per year.
Importance: SLAs build trust, set clear expectations, ensure accountability, and provide legal protection for both parties.
Define Internet of Things (IoT). Explain its key characteristics.
The Internet of Things (IoT) refers to a network of physical objects ("things") embedded with sensors, software, and other technologies that connect and exchange data with other devices and systems over the internet, without requiring human intervention.
Examples: Smart watches, smart home devices, connected cars, industrial sensors.
Key Characteristics:
- Connectivity: Devices are connected to the internet and to each other.
- Sensing: Sensors collect data from the physical environment.
- Intelligence: Devices process data and make smart decisions.
- Scalability: Ability to handle a large number of devices.
- Dynamic nature: Device states change dynamically (on/off, location, temperature).
- Heterogeneity: Devices with different hardware and platforms work together.
- Automation: Operates with minimal human involvement.
- Unique Identity: Each device has a unique identifier (e.g., IP address).
Importance: IoT enables automation, real-time monitoring, improved efficiency, and data-driven decision-making across various domains.
Explain the basic architecture of IoT with its various layers.
The IoT architecture describes how various components work together to collect, process, and act upon data. A commonly used model is the four-layer architecture.
1. Perception Layer (Sensing Layer):
- The physical layer consisting of sensors and actuators.
- Sensors collect data (temperature, motion, light) from the environment.
- Actuators perform actions based on decisions.
2. Network Layer (Transmission Layer):
- Responsible for transmitting collected data to processing systems.
- Uses technologies like Wi-Fi, Bluetooth, Zigbee, 4G/5G, and Ethernet.
3. Processing Layer (Middleware Layer):
- Stores, analyzes, and processes data using cloud computing, databases, and analytics.
- Makes intelligent decisions based on the data.
4. Application Layer:
- Delivers services to the end user through applications.
- Examples: Smart homes, healthcare monitoring, smart agriculture.
Data Flow: Sensors collect data → transmitted via network → processed and analyzed → actions delivered through applications.
This layered approach ensures modularity, scalability, and efficient functioning of IoT systems.
Describe various applications of IoT in different domains.
The Internet of Things (IoT) has widespread applications across numerous domains, transforming how we live and work.
1. Smart Home:
- Smart lighting, thermostats, security cameras, and voice assistants (Alexa, Google Home).
- Enables remote control and energy efficiency.
2. Healthcare (IoMT):
- Wearable devices monitor heart rate, blood pressure, and glucose.
- Remote patient monitoring and smart medical equipment.
3. Smart Agriculture:
- Soil moisture sensors, automated irrigation, and crop monitoring.
- Improves yield and resource efficiency.
4. Smart Cities:
- Smart traffic management, waste management, and street lighting.
- Enhances urban living and reduces resource consumption.
5. Industrial IoT (IIoT):
- Predictive maintenance, asset tracking, and automation in factories.
6. Transportation:
- Connected vehicles, fleet management, and smart parking.
7. Retail:
- Smart inventory management and automated checkout.
8. Wearables:
- Smart watches and fitness bands track health and activity.
Conclusion: IoT improves efficiency, safety, convenience, and enables data-driven decisions across all these sectors.
Explain the advantages and challenges of Cloud Computing.
Cloud computing offers significant benefits but also presents certain challenges.
Advantages:
- Cost Efficiency: No upfront hardware investment; pay-as-you-go model.
- Scalability: Resources scale up or down based on demand.
- Accessibility: Access services from anywhere via the internet.
- Automatic Updates: Providers handle software and security updates.
- Disaster Recovery: Reliable backup and recovery options.
- Flexibility: Supports remote work and collaboration.
- Reliability: High availability through redundant infrastructure.
Challenges:
- Security and Privacy: Risk of data breaches and unauthorized access.
- Internet Dependency: Requires constant, reliable connectivity.
- Downtime: Service outages can disrupt operations.
- Limited Control: Dependence on the service provider.
- Compliance Issues: Meeting regulatory and legal requirements.
- Vendor Lock-in: Difficulty in switching providers.
- Hidden Costs: Costs may rise with increased usage.
Conclusion: Despite challenges, cloud computing's benefits make it a preferred choice for modern organizations when properly managed.
Distinguish between Cloud Computing and IoT. How do they complement each other?
Cloud Computing and IoT are distinct but complementary technologies.
Comparison:
| Parameter | Cloud Computing | IoT |
|---|---|---|
| Definition | Delivery of computing services over the internet | Network of connected physical devices |
| Purpose | Provides storage and processing power | Collects and exchanges real-world data |
| Focus | On-demand resources | Sensing and connectivity |
| Data | Processes and stores data | Generates data |
| Components | Servers, storage, software | Sensors, actuators, devices |
How They Complement Each Other:
- IoT devices generate huge volumes of data that require storage and processing.
- Cloud computing provides the scalable storage and processing power to handle this data.
- The cloud enables analytics and intelligence on IoT data for decision-making.
- Cloud offers remote access to IoT device data from anywhere.
Together (Cloud + IoT): They form a powerful ecosystem where IoT collects data and the cloud analyzes and stores it, enabling smart applications like smart cities, healthcare, and industrial automation.
Explain different Cloud Deployment Models in detail.
Cloud Deployment Models define how cloud infrastructure is deployed and who has access to it. There are four main models.
1. Public Cloud:
- Owned and managed by third-party providers.
- Resources shared among multiple users (multi-tenant).
- Advantages: Low cost, high scalability. Examples: AWS, Azure, GCP.
2. Private Cloud:
- Dedicated to a single organization.
- Hosted on-premises or by a provider.
- Advantages: High security and control. Higher cost.
3. Hybrid Cloud:
- Combination of public and private clouds.
- Sensitive data kept private; less critical workloads on public cloud.
- Advantages: Flexibility, balance of cost and security.
4. Community Cloud:
- Shared infrastructure among several organizations with common goals (e.g., same industry or compliance needs).
- Advantages: Shared cost, collaboration.
Comparison Summary:
| Model | Users | Cost | Security |
|---|---|---|---|
| Public | Multiple | Low | Moderate |
| Private | Single | High | High |
| Hybrid | Mixed | Moderate | High |
| Community | Group | Shared | Moderate-High |
Conclusion: The choice depends on organizational needs for cost, control, security, and scalability.
Explain the concept of Auto-scaling and Load Balancing in cloud resource management.
Auto-scaling and Load Balancing are two important techniques used in cloud resource management to ensure performance and availability.
Auto-scaling:
Auto-scaling is the ability of a cloud system to automatically increase or decrease computing resources based on the current demand.
- Scaling Up (Vertical): Adding more power (CPU, RAM) to existing servers.
- Scaling Out (Horizontal): Adding more servers/instances.
- Benefits: Cost efficiency (only pay for what is needed), high availability, and handling traffic spikes.
Load Balancing:
Load balancing is the process of distributing incoming network traffic or workloads evenly across multiple servers.
- Prevents any single server from being overloaded.
- Improves response time and reliability.
- Types: Round Robin, Least Connections, IP Hash.
How They Work Together:
- Auto-scaling adjusts the number of servers based on demand.
- Load balancing distributes traffic across those servers evenly.
- Together they ensure the system remains responsive, available, and cost-effective even during variable loads.
Example: During a sale, an e-commerce site auto-scales to add servers, and the load balancer distributes customer requests across them.
What are the security concerns in Cloud Computing and IoT? Suggest measures to address them.
Both Cloud Computing and IoT face significant security concerns due to their connected nature and shared resources.
Security Concerns in Cloud Computing:
- Data Breaches: Unauthorized access to sensitive data.
- Data Loss: Accidental deletion or corruption.
- Insecure APIs: Vulnerable interfaces.
- Account Hijacking: Stolen credentials.
- Multi-tenancy risks: Data isolation issues.
Security Concerns in IoT:
- Weak Authentication: Default or weak passwords on devices.
- Data Privacy: Large amounts of personal data collected.
- Device Vulnerabilities: Unpatched firmware.
- Network Attacks: DDoS attacks using compromised devices.
Measures to Address Them:
- Encryption: Encrypt data at rest and in transit.
- Strong Authentication: Use multi-factor authentication (MFA).
- Regular Updates: Patch software and device firmware.
- Access Control: Implement role-based access.
- Firewalls and IDS: Monitor and block threats.
- Secure APIs: Validate and secure all interfaces.
- Data Backup: Maintain regular backups.
- Security Audits: Conduct periodic assessments.
Conclusion: A layered security approach combining encryption, authentication, monitoring, and regular updates is essential for securing cloud and IoT systems.
Explain Object Storage, Block Storage, and File Storage with their use cases.
Cloud storage is offered in three main types, each suited to different needs.
1. Object Storage:
- Data is stored as objects, each containing the data, metadata, and a unique identifier.
- Flat structure (no hierarchy), highly scalable.
- Use Cases: Backups, media files, big data, static websites.
- Example: Amazon S3, Azure Blob Storage.
2. Block Storage:
- Data is split into fixed-size blocks, each with a unique address.
- Offers high performance and low latency.
- Use Cases: Databases, virtual machines, transactional applications.
- Example: Amazon EBS, Azure Disk Storage.
3. File Storage:
- Data stored in a hierarchical structure of files and folders.
- Accessed using file paths (like traditional file systems).
- Use Cases: Shared file systems, content repositories.
- Example: Amazon EFS, Azure Files.
Comparison Table:
| Type | Structure | Performance | Best For |
|---|---|---|---|
| Object | Flat, objects | Moderate | Unstructured data, backups |
| Block | Blocks | High | Databases, VMs |
| File | Hierarchical | Moderate | Shared files |
Conclusion: The choice depends on the application's requirements for structure, performance, and scalability.
A cloud provider offers an SLA guaranteeing uptime per month. Calculate the maximum allowable downtime and discuss the significance of uptime in SLAs.
Given: Uptime guarantee = per month.
Step 1: Calculate downtime percentage.
Step 2: Total time in a month (assume 30 days).
Step 3: Calculate allowable downtime.
Result: The maximum allowable downtime is 21.6 minutes per month.
Significance of Uptime in SLAs:
- Reliability Measure: Uptime indicates how dependable the service is.
- Business Continuity: Higher uptime means fewer disruptions to operations.
- Financial Impact: Downtime can cause revenue loss; SLAs provide service credits as compensation.
- Trust: A strong uptime guarantee builds customer confidence.
Common Uptime Levels:
| Uptime | Downtime/Year (approx) |
|---|---|
| 99% | 3.65 days |
| 99.9% | 8.76 hours |
| 99.95% | 4.38 hours |
| 99.99% | 52.6 minutes |
Conclusion: Uptime is a critical SLA metric that directly affects service reliability and business operations.
Describe the components of an IoT system and how they interact with each other.
An IoT system is made up of several interconnected components that work together to collect, transmit, process, and act on data.
Main Components:
1. Sensors/Devices:
- The physical devices that collect data from the environment (temperature, humidity, motion, etc.).
- Actuators perform physical actions (e.g., turning on a motor).
2. Connectivity/Network:
- Transmits collected data to the cloud or processing unit.
- Uses protocols like Wi-Fi, Bluetooth, Zigbee, MQTT, and cellular (4G/5G).
3. Data Processing:
- Cloud or edge computing systems process and analyze the incoming data.
- Applies analytics and machine learning to extract insights.
4. User Interface:
- Dashboards, mobile apps, or web applications that let users view data and control devices.
Interaction Flow:
- Sensors collect data from the physical world.
- Data is transmitted through the network to the cloud.
- The processing unit analyzes the data and makes decisions.
- Results are displayed via the user interface, or actuators perform automatic actions.
- Feedback loop enables continuous monitoring and control.
Example (Smart Thermostat): A temperature sensor detects heat → sends data via Wi-Fi → cloud analyzes it → app displays temperature → actuator adjusts the AC automatically.
Conclusion: These components form a continuous cycle of sensing, transmitting, processing, and acting, enabling intelligent automation.
Define Cloud Computing. Explain its essential characteristics.
Cloud Computing is the delivery of computing services such as servers, storage, databases, networking, software, and analytics over the Internet ("the cloud") on a pay-as-you-go basis, without direct active management by the user.
Essential Characteristics:
- On-demand self-service: Users can provision computing resources automatically without human interaction with the service provider.
- Broad network access: Services are available over the network and accessed through standard devices like laptops, mobiles, and tablets.
- Resource pooling: Provider's resources are pooled to serve multiple consumers using a multi-tenant model.
- Rapid elasticity: Resources can be scaled up or down quickly based on demand.
- Measured service: Resource usage is monitored, controlled, and reported, providing transparency for both provider and consumer (pay-per-use).
Benefits: Cost reduction, scalability, flexibility, disaster recovery, and automatic software updates.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill. The rest comes out of a student's own pocket: the domain, the storage, and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason. to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it. What it pays for →