Cloud and Fog Computing (IO-702-C) Important Questions
By the Paperwala team · · Exam on Fri 18 Dec
These are the 10 Cloud and Fog Computing (IO-702-C) topics we chose from the RGPV syllabus for RGPV B.Tech IOT semester 7. No past paper of this subject is on this site yet, so we could not count repeats.
Answers: We wrote these answers with AI help from the real RGPV papers and the syllabus. A teacher has not checked them yet, so read them with your syllabus. How we make these
10 Cloud and Fog Computing topics from the syllabus
Chosen from the syllabus. No past paper of this subject is on this site yet, so repeats could not be counted.
Cloud and Fog Computing important questions with answers
Each answer starts with a short answer. Then come how often it was asked, the points to write, a diagram and an exam tip. The topics are chosen from the syllabus.
Q1. Cloud computing: motivation, definition and five characteristics
Short answer.Cloud computing is the delivery of computing power, storage and software over a network on demand, paid for by use. NIST names five essential characteristics: on-demand self-service, broad network access, resource pooling, rapid elasticity and measured service.
From the syllabus · Unit 1
From the papers
“Unit 1: Motivation for Cloud Computing, Defining Cloud Computing, Principles of Cloud Computing, Five Essential Characteristics.” (Syllabus)
Write these points
Motivation for cloud computing
Buying servers needs a large amount of money before the first user arrives. The cloud turns this into a monthly bill.
Load is uneven. A shop needs many servers in the festival week and few in the rest of the year.
Small firms cannot run a data centre with guards, power backup and cooling. A provider runs it for thousands of firms at once.
Teams want a new server in minutes, not after a purchase order of weeks.
Five essential characteristics
On-demand self-service: the user starts a server or storage from a web console without calling anyone.
Broad network access: the service is reached over the network from a phone, laptop or tablet.
Resource pooling: many customers share one pool of hardware. Each sees only its own part.
Rapid elasticity: resources grow and shrink quickly with the load.
Measured service: use is metered, so the bill follows what was used.
Principles
The cloud rests on virtualization, sharing of a large pool, automation of every task and payment by use.
Elasticity in numbers (illustrative load).
An online shop needs 10 servers on normal days and 40 servers for 7 festival days.
Owning 40 servers all year = 40 x 365 = 14,600 server-days.
Renting in the cloud = 10 x 358 + 40 x 7 = 3,860 server-days.
The cloud uses 73.6 percent fewer server-days for the same peak.
Real-life example
Think of the electricity board. A home does not build a power plant. It takes power from the grid and pays for the units on the meter. In the same way a college portal takes servers from a cloud provider for the result week and pays only for those days. The meter on the wall is the measured service of the cloud.
Five essential characteristics of cloud computing
Difference between cloud computing and owning servers
Point
Cloud computing
Own servers
Same or opposite
Money at the start
Very little
Large purchase
Opposite
Time to get a server
Minutes
Weeks
Opposite
Runs software and stores data
Yes
Yes
Same
Bill follows use
Yes
No, cost is fixed
Opposite
Needs a network to reach it
Yes
Only inside the office
Opposite
Exam tip. Write the definition first. Then list all five characteristics with one line each and add the festival load example.
Short answer.Cloud architecture is the set of parts of a cloud system. It has a front end for the user, a back end run by the provider and the network between them.
From the syllabus · Unit 1
From the papers
“Unit 1: Cloud Architecture, Network Connectivity in Cloud Computing, Managing the Cloud.” (Syllabus)
Write these points
Front end
The client device and its software: a browser, a mobile app or a thin client.
It sends requests and shows results. It does no heavy work.
Back end
Application layer: the services the user asks for, such as mail, a database or an API.
Management layer: monitoring, billing, load balancing and user accounts.
Security layer: identity checks, encryption and firewalls.
Virtualization layer: the hypervisor or container engine that splits hardware into many virtual machines.
Infrastructure: servers, storage arrays and the data centre network.
Network connectivity
Users reach a public cloud over the internet. Firms often add a VPN or a leased private link for steady speed and privacy. Inside the data centre, fast switches join thousands of servers.
Managing the cloud
The provider watches load, adds servers, applies patches and keeps backups. The user manages only its own share, through a console or an API.
Real-life example
A food delivery app is a good picture. The app on your phone is the front end. The mobile network carries your order. The restaurant kitchen, the billing desk and the riders are the back end. You never see the kitchen, yet it does all the real work.
Difference between front end and back end
Point
Front end
Back end
Same or opposite
Who owns it
The user
The provider
Opposite
Main job
Show results, take input
Store data, run work
Opposite
Uses the network
Yes
Yes
Same
Needs high power
No
Yes
Opposite
Exam tip. Draw the layered figure first. Name the front end, network and back end. Then write one line for each back end layer. A neat labelled diagram earns half the marks here.
Short answer. A cloud deployment model tells who owns the cloud and who may use it. The four models are public, private, community and hybrid cloud.
From the syllabus · Unit 2
From the papers
“Unit 2: Cloud Deployment Models: Private Cloud, Public Cloud, Community Cloud, Hybrid Cloud.” (Syllabus)
Write these points
The four models
Public cloud: run by a provider for anyone who pays. Examples are AWS, Azure and Google Cloud. It is cheap to start and scales well.
Private cloud: used by one organisation only, on its own site or hosted. It gives the most control and suits banks and defence.
Community cloud: shared by organisations with the same needs, such as hospitals that follow the same health data rules.
Hybrid cloud: a private cloud joined to a public cloud. Secret data stays private. Extra load bursts to the public side.
Point
Public
Private
Hybrid
Cost at start
Low
High
Medium
Control
Low
High
Mixed
Scale
Very high
Limited
High
Suits
Startups, websites
Banks, government
Firms with peaks
How to choose
Check how secret the data is.
Check the budget at the start.
Check how much the load changes.
Check the laws on where data must stay.
Real-life example
Travel in a city shows the four models. A city bus is public: anyone pays and rides. Your own car is private: costly but fully yours. A college bus is community: shared by students with the same need. Driving your car to the metro station and then taking the metro is hybrid.
Difference between public cloud and private cloud
Point
Public cloud
Private cloud
Same or opposite
Users
Many organisations
One organisation
Opposite
Start cost
Low
High
Opposite
Uses virtualization
Yes
Yes
Same
Control over data
Less
Full
Opposite
Scale
Almost no limit
Limited by own hardware
Opposite
Exam tip. Draw the four panels, then write one line and one example for each model. A table of cost, control and scale wins full marks. Do not mix deployment models with service models.
Short answer.Cloud service models tell what the user rents. IaaS rents virtual machines and storage, PaaS rents a ready platform to run code and SaaS rents a finished application.
From the syllabus · Unit 2
From the papers
“Unit 2: Cloud Service Models: Infrastructure as a Service, Platform as a Service, Software as a Service.” (Syllabus)
Write these points
Infrastructure as a Service (IaaS)
The user gets virtual machines, disks and networks. Examples: Amazon EC2, Google Compute Engine.
The user installs the OS patches, runtime and app. Most control, most work.
Platform as a Service (PaaS)
The user uploads code. The platform handles the OS, runtime and scaling. Examples: Google App Engine, Heroku.
Good for developers who want to write code, not manage servers.
Software as a Service (SaaS)
The user opens the app in a browser. Examples: Gmail, Microsoft 365, Zoom.
IaaS user manages 4 (OS, runtime, app, data). The provider manages 4.
PaaS user manages 2 (app, data). The provider manages 6.
SaaS user manages 0 of the stack and only enters data and settings.
Real-life example
IaaS is like renting a kitchen: you buy the vegetables and cook. PaaS is a meal kit: the ingredients are ready and you only cook. SaaS is ordering from a restaurant: you just eat. A student who builds a project on Heroku is using PaaS. The same student reading mail on Gmail is using SaaS.
Difference between IaaS and SaaS
Point
IaaS
SaaS
Same or opposite
User control
High
Low
Opposite
User work
High
Very little
Opposite
Paid by use or plan
Yes
Yes
Same
Typical user
Admin
End user
Opposite
Exam tip. Draw the three columns showing who manages what. Give two examples for each model. Examiners look for the table of user and provider duties.
Short answer.Virtualization creates many virtual machines on one physical machine. The hypervisor is the software layer that creates, runs and isolates those virtual machines and shares the CPU, memory and disk among them.
From the syllabus · Unit 3
From the papers
“Unit 3: Virtualization, Approaches in Virtualization, Hypervisor and Its Role.” (Syllabus)
Write these points
Role of the hypervisor
Gives each VM its own virtual CPU, memory, disk and network card.
Keeps VMs apart, so a crash in one does not touch another.
Schedules the real CPU among the VMs.
Allows a VM to be saved, copied or moved to another host while it runs (live migration).
Two types
Point
Type 1 (bare metal)
Type 2 (hosted)
Runs on
Hardware directly
A host OS
Speed
Near native
Slower
Examples
VMware ESXi, Xen, Hyper-V
VirtualBox, VMware Workstation
Used in
Data centres
Laptops, labs
Approaches
Full virtualization: the guest OS runs unchanged. The hypervisor traps special instructions.
Paravirtualization: the guest OS is changed to call the hypervisor directly, which is faster.
Hardware assisted: CPU features (Intel VT-x, AMD-V) help the hypervisor.
Remember. KVM turns the Linux kernel into a hypervisor. Books differ on whether to call it Type 1 or Type 2. Most call it Type 1.
Real-life example
A large flat split into paying guest rooms is a good picture. One building has one water tank and one meter. The owner gives each guest a locked room and a share of water and power. The owner is the hypervisor, the rooms are VMs and the building is the server. A fight in one room does not open the door of another.
Difference between Type 1 and Type 2 hypervisor
Point
Type 1
Type 2
Same or opposite
Host OS below it
No
Yes
Opposite
Runs many VMs
Yes
Yes
Same
Speed
High
Lower
Opposite
Typical place
Data centre
Desktop
Opposite
Exam tip. Define the hypervisor in one line and list its four duties. Draw both stacks side by side. Write two examples of each type. Students lose marks when they draw Type 2 without the host OS layer.
Short answer.MapReduce is a programming model for processing large data on many machines. The map step turns each record into key and value pairs and the reduce step combines all values that share a key.
From the syllabus · Unit 3
From the papers
“Unit 3: Programming Models for Cloud Computing.” (Syllabus)
Write these points
Steps
Split: the input file is cut into blocks. Each block goes to a mapper.
Map: each mapper emits pairs such as (word, 1).
Shuffle and sort: pairs with the same key are sent to the same reducer.
Reduce: each reducer adds or merges the values of its keys.
Output: results are written back to the distributed file system.
Word count.
Input: fog cloud fog edge cloud fog, split into two blocks.
Map gives (fog,1) three times, (cloud,1) twice and (edge,1) once.
Reduce gives fog 3, cloud 2, edge 1.
def mapper(line):
for w in line.split():
yield (w, 1)
def reducer(word, counts):
return (word, sum(counts))
Other programming models for the cloud
Apache Hadoop runs MapReduce on HDFS.
Apache Spark keeps data in memory, so repeated jobs run faster.
Serverless functions run small code pieces on events, billed per call.
Remember. The code is a short sketch of the two functions, not a full Hadoop program. Its output for the example line was checked by script.
Real-life example
Counting votes in a state election works like MapReduce. Each booth counts its own votes, which is the map step. All counts for one candidate are sent to one counting centre, which is the shuffle. The centre adds them up, which is the reduce step. No single person counts every vote.
Difference between map step and reduce step
Point
Map
Reduce
Same or opposite
Input
Raw records
Grouped key values
Opposite
Runs in parallel
Yes
Yes
Same
Output
Many small pairs
Few final results
Opposite
Written by the programmer
Yes
Yes
Same
Exam tip. Draw the four column figure with real words. Write the five steps in order. A small word count example with its output gets full marks. Do not forget the shuffle step.
Q7. Cloud security: data, virtualization and network
Short answer.Cloud security protects data, applications and infrastructure in the cloud from theft, loss and misuse. It covers data security, virtualization security and network security.
A bug in the hypervisor can let one VM read another VM. Patch the hypervisor quickly.
VM sprawl: forgotten VMs stay unpatched. Keep a list of all VMs.
Images must come from trusted sources.
Network security
Firewalls and security groups allow only needed ports.
VPN or private links for office traffic.
DDoS protection at the provider edge.
Common threats
Threat
Example
Defence
Data breach
Open storage bucket
Private by default, audits
Account hijack
Stolen password
Multi-factor login
Insecure API
No checks on calls
Tokens, rate limits
Insider misuse
Admin copies data
Least privilege, logs
Real-life example
A bank locker room is a good comparison. The bank guards the building, the vault and the cameras. Each customer keeps the key to their own locker. If a customer loses the key, the bank guards cannot help. In the cloud the provider guards the data centre, while the user must guard passwords and data settings.
Difference between data security and network security
Point
Data security
Network security
Same or opposite
Protects
Stored and moving data
Traffic and ports
Opposite
Uses encryption
Yes
Yes (VPN, TLS)
Same
Main tool
Keys and access roles
Firewalls
Opposite
Needed in every cloud
Yes
Yes
Same
Exam tip. Draw the hub of security areas. Write at least three points under each of data, virtualization and network security. A small threat and defence table shows depth.
Q8. Security issues in service models, audit and compliance
Short answer. Security issues change with the service model, because the line of duty between provider and customer moves. Audit and compliance check that the cloud follows laws, standards and the contract.
From the syllabus · Unit 4
From the papers
“Unit 4: Security Issues in Cloud Service Models, Audit and Compliance.” (Syllabus)
Write these points
Issues by service model
IaaS: the customer must patch the guest OS, set firewalls and protect keys. Weak VM images are a common hole.
PaaS: the provider secures the runtime. The customer must write safe code and guard API keys.
SaaS: the provider secures almost everything. The customer must manage users, passwords and sharing settings.
Audit and compliance
An auditor checks logs, access rules and data handling.
Standards such as ISO/IEC 27001 and SOC 2 reports show that controls exist.
Laws decide where data may be stored and how users must be told about breaches.
The SLA lists promised uptime and the penalty when it is missed.
Remember. Standard names are given as examples. Check which standards and Indian data protection rules your syllabus or teacher expects, since these change over time.
Real-life example
A rented flat shows the shared duty. The owner must keep the building and wiring safe. The tenant must lock the door and not hand the key to strangers. If the tenant leaves the door open, the owner is not to blame. Cloud users who leave a storage folder public are in the same place.
Difference between IaaS and SaaS security duties
Point
IaaS
SaaS
Same or opposite
Who patches the OS
Customer
Provider
Opposite
Who guards user passwords
Customer
Customer
Same
Who secures the app
Customer
Provider
Opposite
Who guards the building
Provider
Provider
Same
Exam tip. Draw the shared responsibility stack. Write the duties of the customer in IaaS, PaaS and SaaS. End with three points on audit and compliance.
Short answer.Fog computing places computing, storage and networking between IoT devices and the cloud, on gateways, routers and small servers near the devices. It is needed because many IoT tasks must answer in milliseconds, while a far cloud is slow for such tasks.
From the syllabus · Unit 5
From the papers
“Unit 5: Introduction to Fog Computing, Role of Fog computing in Internet of Things, Need for Fog computation.” (Syllabus)
Write these points
Need for fog computing
Low latency: a fog node answers in a few ms. A cloud round trip often takes 100 ms or more.
Less bandwidth: thousands of sensors make huge raw data. Fog sends only summaries.
Works when the link fails: local control continues without the internet.
Privacy: raw data such as video can stay on site.
Role of fog in IoT
Collect readings from sensors over Wi-Fi, Zigbee or BLE.
Filter, clean and combine the readings.
Act at once: switch a pump, stop a machine, change a signal.
Send summaries and alerts to the cloud for storage and analysis.
Latency saved by a fog node (illustrative delays).
Cloud round trip 120 ms. Fog round trip 8 ms.
Saving = 112 ms per reading, a cut of 93.3 percent.
For 1,000 readings in a row: 120 s through the cloud, 8 s through the fog node.
Real-life example
A farmer in Indore checks soil water with a phone app. The sensor sits in the field and a small computer in the farm shed acts as the fog node. It starts the pump in a few milliseconds when the soil is dry. The daily water record still goes to the cloud for the season report. If the internet fails, the pump still works.
Difference between fog node and cloud data centre
Point
Fog node
Cloud data centre
Same or opposite
Distance from sensors
Near
Far
Opposite
Runs computing tasks
Yes
Yes
Same
Response time
A few ms
Often 100 ms or more
Opposite
Storage size
Small
Very large
Opposite
Exam tip. Define fog computing with the words between devices and cloud. Draw the three level figure. List four needs and end with one latency example.
Short answer.Cloud computing works in large central data centres far from users, while fog computing works on many small nodes near the devices. Fog extends the cloud and works with it.
From the syllabus · Unit 5
From the papers
“Unit 5: Difference between cloud computing and fog computing.” (Syllabus)
Write these points
Point
Cloud computing
Fog computing
Location
Central data centres
Edge of network, near devices
Latency
High (often 100 ms or more)
Low (a few ms)
Nodes
Few, very large
Many, small
Storage
Huge, long term
Small, short term
Internet needed
Always
Can work offline
Best for
Big analytics, archives
Real-time control
Points to write
Fog filters data before it reaches the cloud, so the cloud stores less.
Fog nodes differ in hardware, so managing them is harder than one cloud.
Security is spread over many sites in fog, but central in the cloud.
Both offer computing as a service and both use virtualization or containers.
Bandwidth saved by fog (illustrative sensor field).
200 sensors each send a 200 byte reading every second.
Raw data per day = 200 x 200 x 86,400 = 3,456,000,000 bytes = 3.456 GB.
The fog node sends one average per minute: 3.456 GB / 60 = 57.6 MB a day.
Upload traffic falls by 98.33 percent.
Real-life example
A school is a good picture. The class teacher solves small problems in the classroom at once, which is fog. Only serious cases and the term report go to the principal's office, which is the cloud. If every small question went to the principal, the office would choke and answers would come late.
Data path with fog
Difference between cloud and fog computing
Point
Cloud
Fog
Same or opposite
Offers computing as a service
Yes
Yes
Same
Distance to devices
Far
Near
Opposite
Real-time control
Weak
Strong
Opposite
Long term storage
Strong
Weak
Opposite
Uses virtualization
Yes
Yes
Same
Exam tip. Give a table with at least six rows. Then say clearly that fog works with the cloud. A bandwidth or latency example lifts the answer above a plain table.
What are the most important topics in Cloud and Fog Computing?
No past paper of this subject is on this site yet, so the topics were chosen from the syllabus. The first five: Cloud computing: motivation, definition and five characteristics; Cloud computing architecture; Cloud deployment models; Cloud service models: IaaS, PaaS and SaaS; Virtualization and the role of the hypervisor.
How were these Cloud and Fog Computing important questions chosen?
Each topic was taken from the syllabus units. No past paper was available to count repeats, and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of Cloud and Fog Computing important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Cloud and Fog Computing is free to download from this page.
The 10 topics of Cloud and Fog Computing (IO-702-C) for RGPV B.Tech IOT semester 7, chosen from the syllabus. No past paper of this subject is on this site yet, so repeats could not be counted.