0% found this document useful (0 votes)
119 views34 pages

Cloud Computing Assignment-Week 0 10 Total Mark: 10 X 1 10

Uploaded by

indianway7860
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
119 views34 pages

Cloud Computing Assignment-Week 0 10 Total Mark: 10 X 1 10

Uploaded by

indianway7860
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Cloud Computing
Assignment- Week 0
TYPE OF QUESTION: MSQ
Number of questions: 10 Total mark: 10 X 1 = 10

QUESTION 1:
Consider a system with 2 level caches. Access times of Level 1 cache, Level 2 cache, and main
memory are 2 ns, 10 ns, and 200 ns, respectively. The hit rates of Level 1 and Level 2 caches are
0.8 and 0.9, respectively. What is the average access time of the system ignoring the search time
within the cache?
a) 8.6 ns
b) 6.2 ns
c) 7.4 ns
d) 6.4 ns

Correct Answer: c

Detailed Solution: Average access time = [H1*T1]+[(1-H1)*H2*T2]+[(1-H1)(1-H2)*Hm*Tm]


H1 = Hit rate of level 1 cache = 0.8
T1 = Access time for level 1 cache = 2 ns
H2 = Hit rate of level 2 cache = 0.9
T2 = Access time for level 2 cache = 10 ns
Hm = Hit rate of Main Memory = 1
Tm = Access time for Main Memory = 200 ns

QUESTION 2:
A computer’s processor sends 32 bit addresses to the cache controller. It has a 512 KByte, 8-way
set associative, write back data cache with block size of 32 Bytes. In addition to the address tag,
each cache tag directory entry contains 3 valid bits and 1 modified bit. Find the size of the cache
tag directory.
a) 212 Kbits
b) 320 Kbits
c) 160 Kbits
d) 120 Kbits

Correct Answer: b

Detailed Solution: Number of blocks = Cache-Size/Block-Size = 512 KB / 32 Bytes = 214


JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Number of Sets = 214 / 8 = 211


Tag + Set offset + Byte offset = 32
Tag + 11 + 5 = 32
Tag = 16
16 bit address
3 bit valid
1 modified
Total bits = 20
20 × no. of blocks
= 320 K bits.

QUESTION 3:
The memory locations 5000, 5001 and 5020 have data values 118, 101 and 116 respectively before
the following program is executed.

MOVI R1, 1

LOAD R2, 5000(R1)

ADDI R2, 5000

STOREI 0(R2), 77

Which of the statements below is TRUE after the program is executed?

a) Memory location 5000 has value 77


b) Memory location 5020 has value 77
c) Memory location 5101 has value 77
d) Memory location 5021 has value 77

Correct Answer: c

Detailed Solution:
1. R1←1 (Move immediate)
2. R2←[5000+[R1]], ( Load from memory)
R2←5000+1
[5000+1]=101
Thus, value =101 is moved to the register R2
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

3. R2←101+5000 (Add Immediate)


4. 77 will be stored to 0+5101 (Store immediate)

QUESTION 4:

In the above-mentioned data path of a CPU, it is given; all the components of the data path are of
identical sizes. ALU carries out all the operations including the incrementation of PC as well as
GPRs. It needs two clock cycles to complete a memory read operation. For the instruction “add Rs,
Rd”, which of the following statements is correct?
a) At least three clock cycles are needed to complete the execution cycle of the instruction.
b) At least five clock cycles are needed to complete the execution cycle of the instruction.
c) At least two clock cycles are needed to complete the execution cycle of the instruction.
d) At least four clock cycles are needed to complete the execution cycle of the instruction.

Correct Answer: a

Detailed Solution: 1st clock cycle for Rs to S


2nd clock cycle for Rd to T
3rd clock cycle for add operation meansRs + Rd
So for execution only 3 cycles are required.

QUESTION 5:
The interrupt-request line is a part of the ___________
a. Data line
b. Address line
c. Control line
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

d. None of these

Correct Answer: c

Detailed Solution: The Interrupt-request line is a control line along which the device is allowed to
send the interrupt signal.

QUESTION 6:
One of the header fields in an IP datagram is the Time to Live (TTL) field. Which of the following
statements best explains the need for this field?
a) It can be used to prioritize packets
b) It can be used to reduce delays
c) It can be used to optimize throughput
d) It can be used to prevent packet looping

Correct Answer: d

Detailed Solution: Time to Live can be thought as an upper bound on the time that an IP datagram
can exist in the network. The purpose of the TTL field is to avoid a situation in which an
undeliverable datagram keeps circulating.

QUESTION 7:
Which of the following system calls results in the sending of SYN packets?
a) socket
b) connect
c) listen
d) bind

Correct Answer: b

Detailed Solution: socket() creates a new socket of a certain socket type, identified by an integer
number, and allocates system resources to it. bind() is typically used on the server side, and
associates a socket with a socket address structure, i.e. a specified local port number and IP address.
listen() is used on the server side, and causes a bound TCP socket to enter the listening state.
connect() is used on the client side, and assigns a free local port number to a socket. In the case of a
TCP socket, it causes an attempt to establish a new TCP connection.

QUESTION 8:
If a class B network on the Internet has a subnet mask of 255.255.248.0, what is
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

the maximum number of hosts per subnet?


a) 1022
b) 2048
c) 2046
d) 2047

Correct Answer: c
Detailed Solution: The binary representation of the subnet mask is
1111111.11111111.11111000.00000000. There are 21 bits set in the subnet. So 11 (32-21) bits are
left for host ids. Total possible values of host ids is 2^11 = 2048. Out of these 2048 values, 2
addresses are reserved. The address with all bits as 1 is reserved as broadcast address and address
with all host id bits as 0 is used as the network address of the subnet. In general, the number of
addresses usable for addressing specific hosts in each network is always 2^N – 2 where N is the
number of bits for host id.

QUESTION 9:
In classful addressing, an IP address 123.23.56.4 belongs to _____ format.
a) Class A
b) Class B
c) Class C
d) Class D

Correct Answer: a
Detailed Solution: 0 - 126 = Class A
128 - 191 = Class B
192 - 223 = Class C
224 - 255 = Class D
So ans is A.

QUESTION 10:
Count to infinity is a problem associated with
a) Link state routing protocol.
b) Distance vector routing protocol
c) DNS while resolving host name
d) TCP for congestion control

Correct Answer: b
Detailed Solution: Count to infinity is a problem associated with distance vector routing.

************END***********
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Cloud Computing
Assignment- Week 1
TYPE OF QUESTION: MSQ
Number of questions: 10 Total mark: 10 X 1 = 10

QUESTION 1:
Which of the following is/are properties of distributed computing?
a) Fault tolerance
b) Resource sharing
c) Load sharing
d) None of the above

Correct Answer: a, b, c
Detailed Solution: All three are the basic properties of distributed computing.

QUESTION 2:
Which of the following is/are a type of Grid?
a) Computational Grid
b) Data Grid
c) Edge Grid
d) All of the above

Correct Answer: a, b
Detailed Solution: Types of grid are data grid, computational grid and collaboration grid.

QUESTION 3:
“On demand cyber infrastructure” - is better identified with which of the following?

a) Grid Computing
b) Cluster Computing
c) Utility Computing
d) Both ‘a’ and ‘b’

Correct Answer: c
Detailed Solution: “On demand cyber infrastructure” is better identified in Utility Computing.
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

QUESTION 4:
Which of the following is false about cloud computing?
a) Cloud computing is to realize service oriented architecture.
b) It is on-demand self-service.
c) Resource release needs maximal service provider interaction.
d) Provides on demand network access to a shared pool of resources.

Correct Answer: c
Detailed Solution: In cloud computing, resources can be provisioned and released with minimal
management effort from the service provider.

QUESTION 5:
Which of the following is not an essential characteristic of cloud computing?
a) Low cost software
b) Resource pooling
c) Broad network access
d) On-demand self-service

Correct Answer: a
Detailed Solution: Only resource pooling, broad network access, and on-demand self-service fall
in the essential characteristics of cloud computing.

QUESTION 6:
Which of the following is false?
a) Community cloud is a composition of public and private cloud.

b) Private cloud is dedicated solely to an organization.

c) Public cloud is available to the general public.

d) None of these

Correct Answer: a
Detailed Solution: Community cloud is shared by several organizations and serves a specific goal.
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

QUESTION 7:
Which of the following statements about virtualization is/are true?
I. Network virtualization provides a facility to create and provision virtual networks.
II. Migration of virtual machines is difficult.
III. Virtualization emulates more machines than are exactly available.
a) I & II are true
b) I & III are true
c) Only I is true
d) All

Correct Answer: b
Detailed Solution: Point II is irrelevant regarding virtualization.

QUESTION 8:
Vertical scale up is
a) Splitting workload across multiple computational units
b) Adding more resources to a single computation
c) Adding additional computational units
d) All of the above

Correct Answer: b
Detailed Solution: Vertical scale-up means adding more resources to a single computation.

QUESTION 9:
Which of the following is one of the characteristics of PaaS?

a) Provides tools to deploy user applications


b) Application is provided by the cloud provider
c) Resources are distributed as a service
d) None of these
Correct Answer: a
Detailed Solution: PaaS provides tools to deploy user applications.

QUESTION 10:
Which of the following is/are type(s) of Cluster?
a) Load Balancing Cluster
b) Cost Effective Cluster
c) Failover Cluster
d) Energy Efficient Cluster
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Correct Answer: a, c
Detailed Solution: There are three types of cluster: High Availability or Failover Clusters, Load
Balancing Cluster, and Parallel/Distributed Processing Clusters. So, options (a) and (c) are correct.
Refer to slide number 31.
************END***********
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Cloud Computing
Assignment- Week 2
TYPE OF QUESTION: MSQ
Number of questions: 10 Total mark: 10 X 1 = 10

QUESTION 1:
Which of the following is not an example of Public Cloud?
a) IBM Smart Cloud
b) Amazon EC2
c) Amazon VPC
d) Google App Engine
Correct Answer: c
Detailed Solution: Amazon VPC is an example of a private cloud.

QUESTION 2:
Statement 1: Private Cloud may exist off premises.
Statement 2: Private Cloud can be managed by a third party.
a) Statement 1 is true.
b) Statement 2 is true.
c) Both the statements are true
d) None of the statements are true.

Correct Answer: c
Detailed Solution: Private clouds may exist off premises and can be managed by third parties.

QUESTION 3:
VMware vCloud is an example of which kind of cloud deployment model?
a) Public Cloud
b) Private Cloud
c) Community Cloud
d) Hybrid Cloud

Correct Answer: d
Detailed Solution: VMware vCloud is a hybrid cloud service.
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

QUESTION 4:
Which of the following statement(s) is false about virtualization?
a) Allows running multiple OSes simultaneously with no isolation
b) Allows one computer to do job of multiple computers
c) Allows running multiple virtual containers on a single physical platform
d) None of these

Correct Answer: a
Detailed Solution: The OSes run in complete isolation from each other in virtualization.

QUESTION 5:
What is/are the different goal(s) of virtual machine architecture ?
a) Resource Control
b) Equivalence
c) Efficiency
d) None of the above

Correct Answer: a, b, c
Detailed Solution: As per Popek and Goldberg, three goals of virtual machine architecture are
Equivalence, Resource Control and Efficiency.

QUESTION 6:
Sometimes XML along with XSLT is characteristics wise equivalent to HTML.
a) True
b) False
Correct Answer: a
Detailed Solution: Sometimes XML plus XSLT is equivalent to HTML. Not power wise, but it is
characteristics wise.

QUESTION 7:
Universal Description, Discovery, and Integration (UDDI) is a data interchange format to store and
transmit data objects consisting of attribute-value pairs.
a) True
b) False
Correct Answer: b
Detailed Solution: Universal Description, Discovery, and Integration (UDDI) is an XML based
registry for business internet services. JavaScript Object Notation (JSON) is a data interchange
format to store and transmit data objects consisting of attribute-value pairs.
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

QUESTION 8:
Which of the following statements is false?
a) XML is written using printable Unicode characters
b) XML lets you define your own data type
c) XML parser continues processing even if the data is not well formed
d) None of the above

Correct Answer: c
Detailed Solution: The XML parser must verify that the XML data is syntactically correct. So
option (c) is false.

QUESTION 9:
SAX operates on the documents as whole, DOM parsers operate on each piece of the XML
document sequentially.
a) True
b) False
Correct Answer: b
Detailed Solution: DOM operates on the documents as whole, SAX parsers operate on each
piece of the XML document sequentially. So, the correct option is (b).

QUESTION 10:
Statement 1: Cluster manager can be geographically distributed in the IaaS cloud service model.
Statement 2: Within a cluster manager, the computer manager is connected by a high speed
network in the IaaS cloud service model.

a) Only statement 1 is true


b) Only statement 2 is true
c) Both the statements are true
d) Both the statements are false

Correct Answer: c
Detailed Solution: In a typical IaaS cloud service model, the middle level component is
responsible for management of a large computer cluster known as cluster manager. It manages
large clusters, which may be geographically spread. Within a cluster manager, the computer
manager is connected by a high speed network. So, option (c) is correct.
************END***********
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Cloud Computing
Assignment- Week 3
TYPE OF QUESTION: MSQ
Number of questions: 10 Total mark: 10 X 1 = 10

QUESTION 1:
Which of the following is false about SLA contents
a) A complete, specific definition of each service
b) An auditing mechanism to monitor the services
c) The responsibilities of the provider only
d) None of these

Correct Answer: c
Detailed Solution: SLA contents include responsibilities of the provider as well as consumer.

QUESTION 2:
Key Performance Indicator is a high-level resource metrics.
a) True
b) False

Correct Answer: b
Detailed Solution: Key Performance Indicator is a low level resource metric.

QUESTION 3:
Which of the following is correct about Availability?

a) Availability = 1- (UpTime / TotalTime)


b) Availability = 1- (DownTime / UpTime)
c) Availability = 1+ (DownTime / UpTime)
d) Availability = 1+ (UpTime / DownTime)

Correct Answer: b
Detailed Solution: Availability = 1- (DownTime / UpTime). Correct option is (b).

QUESTION 4:
Statement 1: Coefficient of variance represents the ratio of standard deviation to mean.
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Statement 2: Coefficient of variance is a useful statistic for comparing the degree of


uniformity from one data series to another.
a) Only statement 1 is true
b) Only statement 2 is true
c) Both the statements are true
d) Both the statements are False

Correct Answer: a
Detailed Solution: Coefficient of variance is a useful statistic for comparing the degree of
variation from one data series to another. Hence, the correct option is (a).

QUESTION 5:
Multiplexing demand from multiple sources may increase the coefficient of variation.
a) True
b) False

Correct Answer: b
Detailed Solution: Multiplexing demand from multiple sources may reduce the coefficient of
variation.

QUESTION 6:
Which of the following is true about penalty, where D(t) is instantaneous demand at time t and R(t)
is response at time t?

a) Penalty ∝ ∫ | R(t) * D(t) | dt


b) Penalty ∝ ∫ | D(t) – R(t) | dt
c) Penalty ∝ ∫ | D(t) + R(t) | dt
d) None of these
Correct Answer: b
Detailed Solution: Penalty is proportional to ∫ | D(t) – R(t) | dt

QUESTION 7:
Which of the following is/are true?
a) Column oriented data storage technique is efficient for data warehouse workloads.
b) Row oriented data storage technique is optimal for write oriented operation.
c) None of the above
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Correct Answer: a, b
Detailed Solution: Column oriented storage is more suitable for data warehouse type of loads
where aggregation of measure columns need to be performed based on the values from dimension
columns. Row oriented technique is optimal in case of write-oriented operations such as
transaction processing applications. Both of the statements are true. Hence, the correct options are
(a) and (b).

QUESTION 8:
Which of the following data warehousing databases is/are capable of handling
parallel processing?

a) Oracle
b) Vertica
c) SQLServer
d) None of these

Correct Answer: b
Detailed Solution: All of these databases are capable of handling parallel processing but only
Vertica is a data warehousing database. Oracle and SQLServer are traditional transaction
processing databases. So, the correct option is (b).

QUESTION 9:
Statement 1: Hadoop Distributed File System is an open source implementation of GFS
architecture.
Statement 2: In Google File System, the master maintains regular communication with the chunk
servers.

a) Only statement 1 is true


b) Only statement 2 is true
c) Both the statements are true
d) Both the statements are false
Correct Answer: c
Detailed Solution: Hadoop Distributed File System is an open source implementation of GFS
architecture. In the Google File System, the master maintains regular communication with the
chunk server. This is better known as heartbeat messages. In case of a failure, chunk server meta-
data gets updated to reflect failure.

QUESTION 10:

In the Map-Reduce model, which of the following is/ are True?


a) Map operation consists of transforming one set of key-value pair to another set of key value
pair
b) Each mapper writes computational results in one file per reducer
c) Files are sorted by a key and stored in a local file system
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

d) None of the above

Correct Answer: a, b, c
Detailed Solution: All the statements about the MapReduce model are true. So options (a), (b)
and (c) are correct.

************END***********
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Cloud Computing
Assignment- Week 4
TYPE OF QUESTION: MSQ
Number of questions: 10 Total mark: 10 X 1 = 10

QUESTION 1:
Which of the following is/are the component(s) of Azure?
a) Compute
b) Storage
c) Fabric
d) None of these
Correct Answer: a, b, c
Detailed Solution: Azure provides compute, and storage services for cloud applications. Fabric is
primarily binding these with the bare metal and also manages underlying resources.

QUESTION 2:
Identify the correct option
a) Microsoft Azure is a PaaS vendor
b) Microsoft Azure is a IaaS vendor
c) Microsoft Azure is a SaaS vendor
d) None of these

Correct Answer: a
Detailed Solution: Microsoft Azure is a PaaS vendor based on .NET and Microsoft supported
development tools.

QUESTION 3:
Google cloud platform can automatically scale up to handle the most demanding workload but
can’t scale down when traffic subsides.
a) True
b) False

Correct Answer: b
Detailed Solution: Google cloud platform can automatically scale up to handle the most
demanding workload and scales down when traffic subsides. So, scale up and scale down, both are
possible.
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

QUESTION 4:
Which of the following is not an App service provided by Google Cloud Platform Services?
a) BigQuery
b) Cloud Endpoints
c) Caching
d) Cloud SQL

Correct Answer: d
Detailed Solution: There are several app services like big query, cloud endpoints, catching and
queues with Google APIs whereas Cloud SQL is a storage service.

QUESTION 5:
Statement 1: Google Cloud Platform is a set of services that enables developers to build, test and
deploy applications in Google’s reliable infrastructure.
Statement 2: Google Cloud Platform is a set of modular cloud-based services.

a) Only statement 1 is true


b) Only statement 2 is true
c) Both the statements are true
d) None of the statements are true

Correct Answer: c
Detailed Solution: Google cloud platform is a set of modular cloud base services that allow users
to create anything from simple websites to complex applications. It provides a set of services that
enables developers to build, test, deploy applications on Google’s reliable infrastructure.

QUESTION 6:
Which of the following is not a computation role provided by Windows Azure?
a) Web Role
b) Server Role
c) Worker Role
d) None of these
Correct Answer: b
Detailed Solution: Azure provides 2 types of computational roles; one is the web role, a running
environment that users can access through the internet. And the second is the worker role which has
the ability to handle distributed or complicated tasks.
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

QUESTION 7:
Google Compute Engine is a Platform as a Service (PaaS) component of GCP.
a) True

b) False

Correct Answer: b
Detailed Solution: Google Compute Engine is an Infrastructure as a Service (IaaS) product. So, the
statement is False.

QUESTION 8:
Which of the following statement(s) is/are TRUE about Resource Groups in
Microsoft Azure?

a) It manages Azure resources


b) It deploys web apps, databases, and storage accounts
c) None of these
Correct Answer: a, b
Detailed Solution: A resource group is a logical container into which Azure resources like web
apps, databases, and storage accounts are deployed and managed.

QUESTION 9:
Match the columns

a. Provides cloud services for connecting application running


in cloud or on premises
1. MS Azure
b. Provides a windows based environment for running
2. AppFabric
application and storing data on servers

a) 1-b, 2-a

b) 1-a, 2-b

Correct Answer: a
Detailed Solution: Microsoft Azure, provides a windows based environment for running
applications and storing data on servers in Microsoft data centers. AppFabric provides cloud
services for connecting applications running in cloud or on premises whereas SQL Azure provides
data services in the cloud based SQL server.
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

QUESTION 10:
Pick the correct option

a) GoogleCloudEndpoints considers migrating user’s web applications to Google Cloud


Platform.
b) GoogleAppEngine helps end users’ application scalability.
c) GoogleAPIs integrate Google’s services into the end user’s application.
d) None of these

Correct Answer: c
Detailed Solution: GoogleAppEngine considers migrating your web application to Google Cloud
Platform. GoogleCloudEndpoints help end users’ application scalability. GoogleAPIs integrate
Google’s services into end users’ applications.

************END***********
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Cloud Computing
Assignment- Week 5
TYPE OF QUESTION: MSQ
Number of questions: 10 Total mark: 10 X 1 = 10

QUESTION 1:
S1: SLO is a formal contract between a service provider and a service consumer.
S2: SLA contains Service Level Objectives (SLO).
a) S1 is True and S2 is False
b) S1 is False and S2 is True
c) Both S1 and S2 are True
d) Both S1 and S2 are False

Correct Answer: b
Detailed Solution: SLA is a formal contract between a service provider and a service consumer.
SLA contains Service Level Objectives (SLO).

QUESTION 2:
S1: Multiple SLAs are aggregated to KPI
S2: KPIs are aggregated to SLO
a) S1 is True and S2 is False
b) S1 is False and S2 is True
c) Both S1 and S2 are True
d) Both S1 and S2 are False

Correct Answer: b
Detailed Solution: KPIs are aggregated to SLO.

QUESTION 3:
Which of the following is/are not a possible parameter of service level agreement (SLA) in cloud?
a) Response Time or Latency
b) Availability of the Services
c) Electricity Cost
d) Warranty of the Services
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Correct Answer: c, d

Detailed Solution: Electricity Cost and Warranty of the Services are not a possible parameter of
service level agreement (SLA) in cloud. So, the correct options are (c) and (d).

QUESTION 4:
U < P/A indicates that cloud is cheaper than owning computer infrastructures.
Where U is Utility Premium, P is Peak Demand, and A is Average Demand
a) True
b) False

Correct Answer: a
Detailed Solution: When U < P/A, the cloud is cheaper than owning computer
infrastructures. So, the correct option is (a).

QUESTION 5:
Consider the peak computing demand for an organization is 110 units. The
demand as a function of time can be expressed as: D(t) = 3t, 0≤t< 100
The resource provisioned by the cloud to satisfy current demand at time t is
given as: R(t) = D(t) + δ . (dD(t)/dt)
where, δ is the delay in provisioning the extra computing recourse on
demand
The cost to provision unit cloud resource for unit time is 0.8 units.
[Assume the delay in provisioning is 4 time units and minimum demand is 0.
(Penalty: Either pay for unused resource or missing service delivery]
Penalty is
a) 1100 units
b) 1200 units
c) 1300 units
d) None of these

Correct Answer: b
Detailed Solution: R[0,100]= ∫0 100 D(t) dt + δ ∫0 100 d/dt (D(t)) dt = ((3/2)*t^2)0 100 +
δ *3* ∫0 100 dt=15000+( δ *300)
=(15000+300*4) [As δ =4]
=16200
D[0,100]= ∫0 100 3t dt= 15000
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

|R-D|=1200
So, the correct option is (b).

QUESTION 6:
Which scenario demands highest bandwidth for data transfer between nodes in Hadoop?
a) Different nodes on the same rack
b) Nodes on different racks in the same data center.
c) Nodes in different data centers
d) Data on the same node
Correct Answer: c
Detailed Solution: Nodes in different data centers demands highest bandwidth for data transfer
between nodes in Hadoop.

QUESTION 7:
When load decreases, VM management can be done by
a) Shutdown unused nodes
b) Live migrate VMs to more utilized nodes
c) None of these
Correct Answer: a, b
Detailed Solution: When load decreases, VM management can be done by shutting down unused
nodes as well as live migrating VMs to more utilized nodes.

QUESTION 8:
In a SLA negotiation, provider agreed with the service availability X%.
Consumer runs the application for 15hours/day. At the end of one month [31
days], it was found that total service outage is 10 hrs. However, SLA negotiation
(in terms of service availability) is honored.
a) X is atleast 97.8
b) X is atmost 97.8
c) X is exactly 99
d) Insufficient information
Correct Answer: b
Detailed Solution: Total time for which the application will run (in a month)=(15*31) hours=465
hours
Outage time=10 hours
Therefore, service duration=(465-10) hours=455 hours
% Availability=(1- outage time/service duration)*100 %=(1-10/455)*100 %=97.8%
Initial service guarantee=X%
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

As, final service availability>= initial service guarantee


X<=97.8

QUESTION 9:
A third party application runs in the cloud for 15 hours/day. At the end of one
month [30 days], it was found that the cloud service suffered 7 outages of
durations: 1 hour 30 minutes, 30 minutes, 1 hour 15 minutes, 45 minutes, 2
hours, 1 hour, and H hours, each on different days over the service period.
Suppose a cloud guarantees service availability for 97% of time.
What will be the possible value(s) of H that SLA negotiation gets honored in
terms of service availability?
a) 8 hours
b) 6 hours
c) 3 hours
d) 9 hours

Correct Answer: b, c
Detailed Solution: Total Outage: (7+H) hours., Application runs in a month: 450
hours. Availability: [1- {(7+H)/(443-H)}] >= 0.97, H <=6.10
So, the correct options are (b) and (c).

QUESTION 10:
If demand is exponential (D(t)=e^t), any fixed provisioning interval (tp) according to the
current demands will fall ------------ behind.
a) linearly
b) exponentially
c) none of these

Correct Answer: b
Detailed Solution: If demand is exponential (D(t)=e^t), any fixed provisioning interval (tp)
according to the current demands will fall exponentially behind.

************END***********
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Cloud Computing
Assignment- Week 6
TYPE OF QUESTION: MSQ
Number of questions: 10 Total mark: 10 X 1 = 10

QUESTION 1:
Denial of service prevents the normal use of communication facilities.
a) True
b) False
Correct Answer: a
Detailed Solution: Denial of service prevents the normal use of communication facilities.

QUESTION 2:
Security responsibilities of a IaaS cloud service provider is typically upto
a) Hypervisor
b) Application
c) Guest OS
d) Solution Stack

Correct Answer: a
Detailed Solution: Security responsibilities of a IaaS cloud Service provider is typically upto
hypervisor.

QUESTION 3:
A broker in cloud marketplace suggests the best cloud provider to the customer.
a) True
b) False

Correct Answer: a
Detailed Solution: A broker in cloud marketplace suggests the best cloud provider to the customer.

QUESTION 4:
Which of the following is/ are the goal(s) of security?
a) Detect attackers’ violation of security policy
b) Continue to function correctly even if attack succeeds
c) Stop attack, assess and repair damage
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

d) None of the above

Correct Answer: a, b, c
Detailed Solution: Refer slide no. 8 of Cloud-Security I.

QUESTION 5:
Which of the following are the Gartner’s seven cloud computing risks?
a) Regulatory Compliance & Audit
b) Data Location
c) Data Segregation
d) Short-term Viability

Correct Answer: a, b, c
Detailed Solution: Refer slide no. 10 of Cloud-Security II.

QUESTION 6:
The period of time allowed for recovery is known as
a) Recovery Time Objective (RTO)
b) Recovery Point Objective (RPO)
c) Recovery Instance Objective (RIO)
d) None of these
Correct Answer: a
Detailed Solution: The period of time allowed for recovery is known as Recovery Time Objective
(RTO).

QUESTION 7:
In full-virtualization, VMs run on hypervisor that interacts with the hardware.
a) True
b) False
Correct Answer: a
Detailed Solution: Full virtualization: VMs run on hypervisor that interacts with the hardware, and
Para virtualization: VMs interact with the host OS.
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

QUESTION 8:
Cloud-based collaboration can be
a) Federated
b) Loosely-coupled
c) None of these
Correct Answer: a, b
Detailed Solution: Cloud-based collaboration can be tightly-coupled or federated as well as
loosely-coupled.

QUESTION 9:
Which of the following is an attack on integrity of data?
a) Modification
b) Interception
c) Interruption
d) Both a and b

Correct Answer: a
Detailed Solution: Modification is an attack on integrity of data.

QUESTION 10:

Fabrication security attack is an attack on confidentiality


a) True
b) False
Correct Answer: b
Detailed Solution: Fabrication security attack is an attack on authenticity.

************END***********
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Cloud Computing
Assignment- Week 7
TYPE OF QUESTION: MSQ
Number of questions: 10 Total mark: 10 X 1 = 10

QUESTION 1:
Geographical distribution of server nodes is _________ in Fog Computing and __________ in
Cloud Computing.
a) Centralized, Distributed
b) Centralized, Centralized
c) Distributed, Centralized
d) Distributed, Distributed

Correct Answer: c
Detailed Solution: Geographical distribution of server nodes is Distributed in Fog Computing, and
Centralized in Cloud Computing. So, the correct option is (c).

QUESTION 2:
Which of the following is/are true about Geospatial Cloud Computing?
(a) More GIS infrastructure and spatial web service expertise are required
(b) Gets benefits by accessing others’ geospatial services
(c) It minimizes financial risk and increases efficiency
(d) None of the above

Correct Answer: b, c
Detailed Solution: Geospatial Cloud Computing gets benefits by accessing others’ geospatial
services. Geospatial Cloud Computing minimizes financial risk and increases efficiency.

QUESTION 3:
Fog Computing is implemented in
a) Smart Grid
b) Start Traffic Light
c) Connected Vehicles
d) None of the above
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Correct Answer: a, b, c
Detailed Solution: Fog computing is implemented in Smart Grid, Start Traffic light, Connected
Vehicles. So, correct options are (a), (b), and (c).

QUESTION 4:
Which of the following is/are the challenge(s) of Geospatial Cloud?
a) Scaling of Spatial Databases
b) Policy management among the tenants
c) Implementation of Spatial Databases
d) None of the above

Correct Answer: a, b, c
Detailed Solution: Challenges of Geospatial Cloud are as follows-
1. Implementation of Spatial Databases
2. Scaling of Spatial Databases
3. Policy management among the tenants
So, correct options are (a), (b), (c).

QUESTION 5:
Which of the following is/are TRUE for Mobile Cloud Computing?
a) Facilitate quick development, delivery and management of mobile apps
b) Users requires large number of device resources
c) Supports limited number of development approaches and devices
d) Improves reliability with information backed up and stored in the cloud

Correct Answer: a, d
Detailed Solution: Mobile Cloud Computing (MCC) facilitate quick development, delivery and
management of mobile apps. MCC improves reliability with information backed up and stored in
the cloud.

QUESTION 6:
Fog Computing has ________ probability to attack on data enrouter and required ________
number of server nodes than Cloud Computing.
a) lower , less
b) lower, large
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

c) higher, less
d) higher, large
Correct Answer: b
Detailed Solution: Fog Computing has lower probability to attack on data enrouter and required
large number of server nodes than Cloud Computing.

QUESTION 7:
What is/are TRUE about Mobile Cloud Computing(MCC)?
a) MCC should increase the mobile’s battery lifetime by reducing power consumption
b) MCC should optimize the cost of network usage and server usage
c) MCC should take longer time to finish the application compared to local execution
d) MCC should not bother about the security of data while offloading it to server
Correct Answer: a, b
Detailed Solution: MCC must reduce energy usage and extend battery life. It should not take
longer to finish the application compared to local execution. Cost of network usage and server
usage must be optimized. As offloading transfers data to the servers, MCC ensure confidentiality
and privacy of data, how to identify methods which process confidential data. So, the options (a)
and (b) are true about MCC.

QUESTION 8:
_________ ensures the ability to exchange / obtain the information to be
“consumed”.
a) Data Level Interoperability
b) Security Level Interoperability
c) Service Level Interoperability
d) None of the above

Correct Answer: c
Detailed Solution: Service Level Interoperability ensures the ability to exchange
/ obtain the information to be “consumed”. So, the correct option is (c).

QUESTION 9:

Which of the following statement(s) is/are FALSE about Fog Computing?


a) Fog nodes present near to the end-user
b) Fog computing use for real-time applications
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

c) Fog nodes’ response time is much higher than cloud server


d) Network routers, WiFi Gateways will not be capable of running applications

Correct Answer: c, d
Detailed Solution: Fog nodes present near to the end-user, Fog computing use for real-time
applications, Fog nodes’ response time is much lower than cloud server, network routers, WiFi
Gateways will be capable of running applications. So, the correct options are (c), (d).

QUESTION 10:
Which of the followings is/are feature(s) of Mobile Cloud Computing?
a) Use less mobile device resources because applications are cloud-supported
b) Reduce reliability with information backed up and stored in the cloud
c) Mobile devices connect to services delivered through an API architecture
d) Facilitates slower development, delivery and management of mobile apps

Correct Answer: a, c
Detailed Solution: Mobile cloud computing features are: Facilitates the quick development,
delivery and management of mobile apps. Uses fewer device resources because applications are
cloud-supported. Mobile devices connect to services delivered through an API architecture.
Improves reliability with information backed up and stored in the cloud. So, the correct options are
(a) and (c).

************END***********
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

Cloud Computing
Assignment- Week 8
TYPE OF QUESTION: MSQ
Number of questions: 10 Total mark: 10 X 1 = 10

QUESTION 1:
In the context of Green Cloud Computing, the Power Usage Effectiveness is defined as
a) Power Delivered / Overall Power
b) Overall Power / Power Delivered
c) Overall Power * Power Delivered
d) None of these
Correct Answer: b
Detailed Solution: In the context of Green Cloud Computing, the Power Usage Effectiveness is
defined as Overall Power / Power Delivered. So, the correct option is (b).

QUESTION 2:
__________ reduce the overhead of resource management by using light-weight virtualization.
a) Containers
b) Virtual machines
c) Both a and b
d) Neither a nor b

Correct Answer: a
Detailed Solution: Containers reduce the overhead of resource management by using light-weight
virtualization.

QUESTION 3:
Each container can not run as an isolated process in user space.
a) True
b) False

Correct Answer: b
Detailed Solution: Each container can run as an isolated process in user space. So, the correct
option is (b).

QUESTION 4:
--- runs completely isolated from the host environment by default, only accessing host files and
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

ports if configured to do so.


a) Image
b) Container
c) Compose
d) None of these

Correct Answer: b
Detailed Solution: Container runs completely isolated from the host environment by default, only
accessing host files and ports if configured to do so. So, the correct option is (b).

QUESTION 5:
Docker engine is a tool for defining and running multi-container Docker
applications.
a) True
b) False

Correct Answer: b
Detailed Solution: Docker compose is a tool for defining and running multi-container
Docker applications. So, the correct option is (b).

QUESTION 6:
Which of the following procedure helps to reduce data center cooling cost in an energy
efficient way?
a) Build servers that run at lower temperatures
b) Build servers that run at higher temperatures
c) Deploy fewer VMs
d) Deploy more VMs
Correct Answer: a
Detailed Solution: Building servers that run at lower temperatures can help to reduce data center
cooling cost in an energy efficient way.

QUESTION 7:
Which of the following statements are True?
a) Virtual sensor is an emulation of a physical sensor that obtains its data from underlying physical
sensors
JULY-2021

NPTEL Online Certification Courses


Indian Institute of Technology Kharagpur

b) Virtual sensors act as an image in the software of the corresponding physical sensors
c) Physical sensors contain metadata about the virtual sensors and the user currently holding that
physical sensor
d) Physical sensors provide a customized view to users using distribution and location transparency
Correct Answer: a, b
Detailed Solution: Virtual sensor is an emulation of a physical sensor that obtains its data from
underlying physical sensors. Virtual sensors act as an image in the software of the corresponding
physical sensors.

QUESTION 8:
--- get virtual access to host resources through a hypervisor.
a) Containers
b) Virtual machines
c) Both a and b
d) Images

Correct Answer: b
Detailed Solution: Virtual machines get virtual access to host resources through
a hypervisor. So, the correct option is (b).

QUESTION 9:
In the context of Green Cloud Computing, the DC Server Energy Model is contributed by
a) CPU
b) Memory modules
c) Disks
d) None of these
Correct Answer: a, b, c
Detailed Solution: In the context of Green Cloud Computing, the DC Server Energy Model is
contributed by CPU, memory modules and disks.
QUESTION 10:
For sensor resources that do not have direct connection to the cloud, sensor network proxy provides
the connection.
a) True
b) False
Correct Answer: a
Detailed Solution: For sensor resources that do not have direct connection to the cloud, sensor
network proxy provides the connection. So, the correct option is (a).

************END***********

You might also like