IO-702-C Cloud and Fog Computing

Cloud and Fog Computing (IO-702-C) Important Questions

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.

Download Paperwala Imp Question & Answer (PDF)

How we made this list
  • All papers on this site: 0
  • 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

  1. On-demand self-service: the user starts a server or storage from a web console without calling anyone.
  2. Broad network access: the service is reached over the network from a phone, laptop or tablet.
  3. Resource pooling: many customers share one pool of hardware. Each sees only its own part.
  4. Rapid elasticity: resources grow and shrink quickly with the load.
  5. 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
Five essential characteristics of cloud computing

Difference between cloud computing and owning servers

PointCloud computingOwn serversSame or opposite
Money at the startVery littleLarge purchaseOpposite
Time to get a serverMinutesWeeksOpposite
Runs software and stores dataYesYesSame
Bill follows useYesNo, cost is fixedOpposite
Needs a network to reach itYesOnly inside the officeOpposite

Exam tip. Write the definition first. Then list all five characteristics with one line each and add the festival load example.

Back to the topic list

Q2. Cloud computing architecture

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.

Diagram: Cloud computing architecture

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

PointFront endBack endSame or opposite
Who owns itThe userThe providerOpposite
Main jobShow results, take inputStore data, run workOpposite
Uses the networkYesYesSame
Needs high powerNoYesOpposite

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.

Back to the topic list

Q3. Cloud deployment models

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

Diagram: Cloud deployment models

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.
PointPublicPrivateHybrid
Cost at startLowHighMedium
ControlLowHighMixed
ScaleVery highLimitedHigh
SuitsStartups, websitesBanks, governmentFirms with peaks

How to choose

  1. Check how secret the data is.
  2. Check the budget at the start.
  3. Check how much the load changes.
  4. 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

PointPublic cloudPrivate cloudSame or opposite
UsersMany organisationsOne organisationOpposite
Start costLowHighOpposite
Uses virtualizationYesYesSame
Control over dataLessFullOpposite
ScaleAlmost no limitLimited by own hardwareOpposite

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.

Back to the topic list

Q4. Cloud service models: IaaS, PaaS and SaaS

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

Diagram: Cloud service models: IaaS, PaaS and SaaS

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.
  • No install, no upkeep. Least control.
ModelUser getsUser managesBest for
IaaSVMs, storageOS, runtime, app, dataSystem admins
PaaSPlatformApp and dataDevelopers
SaaSApplicationSettings and data entryEnd users

Count the layers each user manages.

Take 8 layers: network, storage, servers, virtualization, OS, runtime, app, data.

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

PointIaaSSaaSSame or opposite
User controlHighLowOpposite
User workHighVery littleOpposite
Paid by use or planYesYesSame
Typical userAdminEnd userOpposite

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.

Back to the topic list

Q5. Virtualization and the role of the hypervisor

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

Diagram: Virtualization and the role of the hypervisor
PointType 1 (bare metal)Type 2 (hosted)
Runs onHardware directlyA host OS
SpeedNear nativeSlower
ExamplesVMware ESXi, Xen, Hyper-VVirtualBox, VMware Workstation
Used inData centresLaptops, labs

Approaches

  1. Full virtualization: the guest OS runs unchanged. The hypervisor traps special instructions.
  2. Paravirtualization: the guest OS is changed to call the hypervisor directly, which is faster.
  3. 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

PointType 1Type 2Same or opposite
Host OS below itNoYesOpposite
Runs many VMsYesYesSame
SpeedHighLowerOpposite
Typical placeData centreDesktopOpposite

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.

Back to the topic list

Q6. MapReduce programming model

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

  1. Split: the input file is cut into blocks. Each block goes to a mapper.
  2. Map: each mapper emits pairs such as (word, 1).
  3. Shuffle and sort: pairs with the same key are sent to the same reducer.
  4. Reduce: each reducer adds or merges the values of its keys.
  5. Output: results are written back to the distributed file system.
Diagram: MapReduce programming model

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

PointMapReduceSame or opposite
InputRaw recordsGrouped key valuesOpposite
Runs in parallelYesYesSame
OutputMany small pairsFew final resultsOpposite
Written by the programmerYesYesSame

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.

Back to the topic list

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.

From the syllabus · Unit 4

From the papers

  • “Unit 4: Security Aspects, Data Security, Virtualization Security, Network Security.” (Syllabus)

Write these points

Diagram: Cloud security: data, virtualization and network

Data security

  • Encrypt data at rest and in transit (TLS).
  • Control who can read data through roles and keys.
  • Keep backups in a second region.

Virtualization 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

ThreatExampleDefence
Data breachOpen storage bucketPrivate by default, audits
Account hijackStolen passwordMulti-factor login
Insecure APINo checks on callsTokens, rate limits
Insider misuseAdmin copies dataLeast 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

PointData securityNetwork securitySame or opposite
ProtectsStored and moving dataTraffic and portsOpposite
Uses encryptionYesYes (VPN, TLS)Same
Main toolKeys and access rolesFirewallsOpposite
Needed in every cloudYesYesSame

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.

Back to the topic list

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.
Diagram: Security issues in service models, audit and compliance

Audit and compliance

  1. An auditor checks logs, access rules and data handling.
  2. Standards such as ISO/IEC 27001 and SOC 2 reports show that controls exist.
  3. Laws decide where data may be stored and how users must be told about breaches.
  4. 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

PointIaaSSaaSSame or opposite
Who patches the OSCustomerProviderOpposite
Who guards user passwordsCustomerCustomerSame
Who secures the appCustomerProviderOpposite
Who guards the buildingProviderProviderSame

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.

Back to the topic list

Q9. Fog computing: need and role in IoT

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

Diagram: Fog computing: need and role in IoT

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

  1. Collect readings from sensors over Wi-Fi, Zigbee or BLE.
  2. Filter, clean and combine the readings.
  3. Act at once: switch a pump, stop a machine, change a signal.
  4. 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

PointFog nodeCloud data centreSame or opposite
Distance from sensorsNearFarOpposite
Runs computing tasksYesYesSame
Response timeA few msOften 100 ms or moreOpposite
Storage sizeSmallVery largeOpposite

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.

Back to the topic list

Q10. Cloud computing and fog computing compared

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

PointCloud computingFog computing
LocationCentral data centresEdge of network, near devices
LatencyHigh (often 100 ms or more)Low (a few ms)
NodesFew, very largeMany, small
StorageHuge, long termSmall, short term
Internet neededAlwaysCan work offline
Best forBig analytics, archivesReal-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
Data path with fog

Difference between cloud and fog computing

PointCloudFogSame or opposite
Offers computing as a serviceYesYesSame
Distance to devicesFarNearOpposite
Real-time controlWeakStrongOpposite
Long term storageStrongWeakOpposite
Uses virtualizationYesYesSame

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.

Back to the topic list

Start with the latest papers

Previous year papers will be added soon!

Cloud and Fog Computing (IO-702-C) FAQs

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.