CC MIdTerm (AP-21)
CC MIdTerm (AP-21)
CC MIdTerm (AP-21)
1:
1. What is the innovative characteristic of cloud computing?
Ans.
i. Resources pooling:
a) The customer has no control or information about the location of the
resources provided, but can choose location on a higher level of
abstraction.
ii. On-demand self-service:
a) User can track sever uptimes, capability and network storage on an
ongoing basis. The user can monitor computing functionalities too.
iii. Easy maintenance:
a) The servers are managed easily and the downtime is also small.
b) It updates every time that increasingly enhances it.
iv. Large network access:
a) The user may use a device and an internet connection to access the
cloud data or upload it to the cloud from anywhere.
v. Availability:
a) The cloud capabilities can be changed and expanded according to the
usage.
vi. Automatic system:
a) The cloud capabilities analyze the data required automatically and
possible to track, manage and report for the usage.
vii. Economical:
a) The amount spent on the basic maintenance and additional costs are
much smaller.
viii. Security:
a) It provides a snapshot of the data stored so that even if one of the
servers is damaged, the data cannot get lost.
b) The information is stored on the storage devices, which no other person
can hack or use.
ix. Pay as you go:
a) Users only have to pay for the service or the space in cloud computing.
b) No hidden or additional charge to be paid is liable to pay.
x. Measured service:
a) Analyzed by the charge-per-use capabilities, resource use can be
measured and reported by the service provider, either on the virtual
server instances running through the cloud.
2. Which are the technologies on which cloud computing relies?
Ans.
1. Distributed:
Collection of independent computers that appears to its users as a single
coherent system.
Distributed systems often exhibit other properties such as heterogeneity,
openness, scalability, transparency, concurrency, continuous availability, and
independent failures.
Three major milestones have led to cloud computing: mainframe computing,
cluster computing, and grid computing.
Main-frame were the first examples of large computational facilities leveraging
multiple processing units and were powerful, highly reliable computers
specialized for large I/O operations.
Cluster computing is a type of computer system that is parallel or distributed
and which consists of a collection of interconnected independent computers,
working together as a highly centralized computing tool that integrates software
and networking with independent computers in a single system.
Grid computing is a processor architecture that combines computer resources
from different fields to achieve the main purpose and to solve problems that are
too large for a supercomputer and to retain the ability to handle several small
problems
2. Virtualization:
Uses software to create a layer of abstraction over computer hardware, enabling
multiple virtual computers, usually referred to as VMs, to split the hardware
elements from a single computer — processors, memory, storage and more.
3. Web 2.0:
It is the term used to represent a range of websites and applications that permit
anyone to create or share information or material created online and it
represents the evolution of the World Wide Web; the web apps, which enable
interactive data sharing, user-centred design and worldwide collaboration.
4. Service oriented computing:
The computing paradigm that uses services as a fundamental component in the
creation of applications.
The software-as-a-service concept advocated by service-oriented computing
(SOC) was pioneering and first appeared on the software model ASP (Application
Service Provider) and a QoS requirement between the clients and the providers.
5. Utility oriented computing:
The concept Utility Computing pertains to utilities and business models that
provide its customers with a service provider, and charges you for consumption
(Charge-as-per-Use).
3. Provide a brief characterization of a distributed system
Ans.
Distributed system:
i. Collection of independent computers that appears to its users as a single
coherent system.
ii. Distributed systems often exhibit other properties such as heterogeneity,
openness, scalability, transparency, concurrency, continuous availability,
and independent failures.
iii. Three major milestones have led to cloud computing: mainframe
computing, cluster computing, and grid computing.
a) Main-frame:
-Main-framewere the first examples of large computational facilities leveraging
multiple processing units and were powerful, highly reliable computers
specialized for large I/O operations.
b) Cluster computing:
-It is a type of computer system that is parallel or distributed and which consists
of a collection of interconnected independent computers, working together as a
highly centralized computing tool that integrates software and networking with
independent computers in a single system.
c) Grid computing:
-It is a processor architecture that combines computer resources from different
fields to achieve the main purpose and to solve problems that are too large for a
supercomputer and to retain the ability to handle several small problems
4. What is virtualization?
Ans.
Uses software to create a layer of abstraction over computer hardware, enabling
multiple virtual computers, usually referred to as VMs, to split the hardware
elements from a single computer — processors, memory, storage and more.
(Refer Q.1 from Chapter 3)
5. What is the major revolution introduced by Web 2.0? Give examples.
Ans.
i. Web 2.0 is the second stage of development in World Wide Web.
ii. Emphasis on dynamic and user generated content rather than static
content.
iii. Examples of Web2.0 applications are Google Documents, Google Maps,
Flickr, Facebook, Twitter, YouTube, delicious, Blogger, and Wikipedia.
iv. In particular, social networking Websites take the biggest advantage of
Web2.0.
v. The level of interaction in Websites such as Facebook or Flickr would not
have been possible without the support of AJAX, Really Simple
Syndication (RSS), and other tools that make the user experience
incredibly interactive.
vi. Moreover, community Websites harness the collective intelligence of the
community, which provides content to the applications themselves: Flickr
provides advanced services for storing digital pictures and videos,
Facebook is a social networking site that leverages user activity to
provide content, and Blogger, like any other blogging site, provides an
online diary that is fed by users.
6. What is utility computing?
Ans.
i. Utility computing is a vision of computing that defines a service-
provisioning model for compute services in which resource such as
storage, compute power, applications, and infrastructure are packaged
and offered on a pay-per-use basis.
ii. The concept utility applies to utility services offered by a utility’s
provider, such as electricity, telephone, water and gas.
iv. Services are classified under the three main categories, and they are:
Infrastructure as a Service (IaaS), Platform as a Service (PaaS) and Software as a
Service (SaaS).
v. The model structures the broad variety of cloud computing services in a
layered view from the base to the top of the computing stack.
vi. Infrastructure as a Service:
a) It is the most common cloud computing service model, offering the
basic infrastructure of virtual servers, networks, OS and storage drivers.
b) IaaS is a completely outsourced pay-for-use service that can be run in
public, private or hybrid infrastructure.
vii. Platform as a Service:
a) Web applications can easily and quickly be created via PaaS with the
flexibility and robustness of the service to support it.
b) PaaS solutions are scalable and suitable if multiple developers work on
a single project.
viii. Software as a Service:
a) This cloud computing solution includes deploying Internet-based
software to different companies paying via subscription or a paid-per-
use model.
b) SaaS is managed from a centralized location and it is ideal for short-
term projects.
Ch.2 :
1. What is the difference between parallel and distributed computing?
Parallel computing Distributed computing
Definition is a computation type in is a computation type in
which multiple which networked
processors execute computers
multiple tasks communicate and
simultaneously coordinate to achieve a
common goal.
No. of computers One computer Multiple computers
required
Processing mechanism Multiple processors Computers rely on
perform processing message passing
Synchronization All processors share a There is no global clock
single master clock for in distributed
synchronization computing, it uses
synchronization
algorithms
Memory Computers can have Each computer has their
shared memory or own memory
distributed memory
Usage To increase To share resources and
performance and for to increase scalability
scientific computing
Or
i. Bit-level Parallelism:
In this parallelism, it’s focused on the doubling of the word size of the
processor. Increased parallelism in bit levels means that arithmetical
operations for large numbers are executed more quickly.
ii. Instruction-level parallelism (ILP):
This form of parallelism aims to leverage the possible overlap in a computer
program between instructions.
On each hardware of the processor, most ILP types are implemented and
applied:
iii. Instruction Pipelining:
Execute various stages in the same cycle of various independent instructions
and use all idle resources.
iv. Task Parallelism:
Task parallelism involves breaking down a task into subtasks and then
assigning each of the subtasks for execution.
Subtasks are carried out concurrently by the processors.
v. Out-of-order execution:
Instructions without breaching data dependencies may be executed if even
though previous instructions are still executed, a unit is available.
Ch.3:
1. What is virtualization and what are its benefits?
Ans.
i. The virtualization environment can also be referred to as cloud-based
services and applications.
ii. Virtualization uses software to create a layer of abstraction over
computer hardware, enabling multiple virtual computers, usually referred
to as VMs, to split the hardware elements from a single computer —
processors, memory, storage and more.
iii. Virtualization involves the creation of something's virtual platform,
including virtual computer hardware, virtual storage devices and virtual
computer networks.
iv. (Refer Q. 6 part A)
III. The Hypervisor delivers every VM, including a virtual BIOS, virtual
devices and virtualized memory management, all services of the physical
system.
IV. The Guest OS is completely unconnected with the virtualization layer
from the underlying hardware.
V. Full virtualization is achieved through the use of binary and direct
execution combinations.
9. Explain type-1 and type-2 hypervisors.
Ans.
Type 1 Hypervisor (also called bare metal or native)
i. A bare-metal hypervisor (type 1) is a software layer which is installed
directly above a physical server and its underlying hardware.
ii. Type I hypervisors run directly on top of the hardware. Therefore, they take
the place of the operating systems and interact directly with the ISA interface
exposed by the underlying hardware.
iii. There is no intermediate software or operating system, therefore bare-metal
hypervisor is the name.
iv. A Type 1 hypervisor, which does not run inside Windows or any other
operating system so it is proven to provide excellent performance and
stability.
v. Examples of Type 1 hypervisors include VMware ESXi, Citrix XenServer and
Microsoft Hyper-V hypervisor.
Aditi Polekar