2020 CC Assign Few Available
2020 CC Assign Few Available
Cloud Computing
Assignment- Week 0
TYPE OF QUESTION: MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
QUESTION 1:
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?
Correct Answer: d.
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 2:
Thread share all other resources process except local data like – register, stack.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 3:
Consider the following statements about process state transitions for a system using
preemptive scheduling.
I. A running process can move to ready state.
II. A ready process can move to ready state.
III. A blocked process can move to running state.
IV. A blocked process can move to ready state.
Which of the above statements are TRUE?
(a) II and III only
(b) I, II and III only
(c) I, II, III and IV
(d) I, II and IV only
Correct Answer: d
QUESTION 4:
Frames of 1000 bits are sent over a 10^6 bps duplex link between two hosts. The
propagation time is 25ms. Frames are to be transmitted into this link to maximally pack
them in transit (within the link).
What is the minimum number of bits (i) that will be required to represent the sequence
numbers distinctly? Assume that no time gap needs to be given between transmission of
two frames.
(a) i=2
(b) i=3
(c) i=4
(d) i=5
Correct Answer: d
Correct Answer: b
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 listening state.
connect() is used on the client side, and assigns a free local port number to a socket. In
case of a TCP socket, it causes an attempt to establish a new TCP connection.
QUESTION 6:
If a class B network on the Internet has a subnet mask of 255.255.248.0, what is the
maximum number of hosts per subnet?
(a) 1022
(b) 2048
(c) 2046
(d) 2047
Correct Answer: c
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 7:
Consider a system with 3 processes that share 4 instances of the same resource type.
Each process can request a maximum of K instances. Resource instances can be
requested and released only one at a time. The largest value of K that will always avoid
deadlock is _________.
a. 6
b. 3
c. 5
d. 2
Correct Answer: d.
No. of process = 3
No. of resources = 4
Let’s distribute each process one less than maximum demands i.e., (k-1) resources.
So, for three processes, 3(k – 1) resources.
For deadlock avoidance provide an additional resource to any one of the process.
∴ Total resources required to avoid deadlock in any case is 3(k – 1) + 1 = 3k – 2
Now this 3k – 2 should be less than equal to available no. of resources, i.e.,
3k – 2 ≤ 4
k≤2
So maximum value of k = 2
QUESTION 8:
A direct mapped cache memory of 1 MB has a block ize of 256 bytes. The cache has an
access time of 3 ns and a hit rate of 94%. During a cache miss, it takes 20 ns to bring the
first word of a block from the main memory, while each subsequent word takes 5 ns. The
word size is 64 bits. The average memory access time in ns (round off to 1 decimal place)
is _____.
(a) 13.5
(b) 12.8
(c) 121
(d) 81
Correct Answer: a.
QUESTION 9:
A RAM chip has a capacity of 1024 words of 8 bits each (1K × 8). The number of 2 × 4
decoders with enable line needed to construct a 16K × 16 RAM from 1K × 8 RAM is:
(a) 4
(b) 5
(c) 6
(d) 7
Correct Answer: b.
QUESTION 10:
The following C program is executed on a Unix/Linux system:
#include <unistd.h>
int main ()
{
int i ;
for (i=0; i<10; i++)
if (i%2 == 0) fork ( ) ;
return 0 ;
}
The total number of child processes created is _____.
(a) 31
(b) 33
(c) 21
(d) 28
Correct Answer: a.
Fork( ) statement is executed when 'i' is even. Thus the above code is equivalent to
#include
int main( )
{
int i;
fork( );
fork( );
fork( );
fork( );
fork( );
}
n - fork statements will have 2^n-1 child.
Hence, n = 5 ⇒ We have 31 child processes.
************END***********
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:
a. Resilient Computing
b. Small Scale
c. Virtualization
d. High Cost Software
Correct Answer: a, c
Detailed Solution:
The common characteristics of cloud computing are Massive Scale, Resilient Computing, Homogeneity,
Geographic Distribution, Virtualization, Service Orientation, Low Cost Software, Advanced Security. So,
the correct options are (a) and (c).
Refer slide number 50.
QUESTION 2:
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, option (a) and (c) are correct.
Refer slide number 31.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 3:
Correct Answer: b, c
Detailed Solution:
Google spread sheet is an example of SaaS. Amazon Web Services(AWS) is an example of IaaS.
Google Cloud Platform(GCP) is an example of public cloud. Window Server 'Hyper-V' is an
example of private cloud. So, the correct options are (b) and (c).
Refer slide number 54.
QUESTION 4:
Correct Answer: c
Detailed Solution:
Both statements are TRUE. So, the correct option is (c).
Refer slide number 63 for statement 1, and slide number 66 for statement 2
NPTEL Online Certification Courses
QUESTION 5:
Correct Answer: b, d
Detailed Solution:
Advantages of virtual machines are easier to create new machines, backup machines, timeshare
lightly loaded systems on one host, emulate more machines than are physically available, easy
migration of virtual machines. So, the correct options are (b) and (d).
Refer slide number 57.
QUESTION 6:
In the context of "networking in cloud models", which of the following statement(s) is/are TRUE
for IaaS model?
Correct Answer: a, d
Detailed Solution:
Physical and Data link layers are accessed by service provider. Network, Transport, Session,
Presentation, and Application layers are accessed by service consumer in case of IaaS cloud
model. So, correct options are (a) and (d).
Refer slide number 131
NPTEL Online Certification Courses
QUESTION 7:
Which of the following is/are benefit(s) for user to use of public cloud?
Correct Answer: a, b
Detailed Solution:
Benefits for user to use public cloud are high scalability, no separate hardware procurement,
no separate power cost, no separate IT infrastructure administration/maintenance required.
So, option (a) and (b) are true.
Refer slide number 73
QUESTION 8:
Correct Answer: b, d
Detailed Solution:
Utility computing is a service provisioning model in which a service provider makes computing
resources and infrastructure management available to the customer as needed, and charges
them for specific usage rather than a flat rate. So, the correct options are (b) and (d).
QUESTION 9:
The _______ cloud scales automatically to successfully handle increased requests to the web
application.
a. SaaS
b. PaaS
c. IaaS
d. DaaS
Correct Answer: b
Detailed Solution:
The PaaS cloud scales automatically to successfully handle increased requests to the web
application. So, the correct option is (b).
Refer slide number 77
QUESTION 10:
Table – I Table - II
1. Data Grid i. Provides fault-tolerant and high performance communication services
2. Network Grid ii. Provides secure access to huge pool of shared processing power
3. Computational iii. Provides an infrastructure to support data storage, data discovery,
Grid data handling, data publication
Correct Answer: d
Detailed Solution:
Data Grid provides an infrastructure to support data storage, data discovery, data handling, data
publication. Network Grid provides fault-tolerant and high performance communication
services. Computational Grid provides secure access to huge pool of shared processing power.
So, the correct option is (d).
Refer slide no. 25-26
************END***********
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:
a. Amazon VPC
b. Google App Engine
c. Eucalyptus
d. Microsoft Azure
Correct Answer: b, d
Detailed Solution: Google App Engine and Microsoft Azure are examples of public cloud.
So, the correct options are (b) and (d).
QUESTION 2:
Correct Answer: c
Detailed Solution: Both Statement 1 and Statement 2 are true. So, the correct option is (c).
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 3:
Correct Answer: b
Detailed Solution: A hypervisor creates a virtual machine. So, the correct option is (b).
QUESTION 4:
Bare-metal hypervisors can run directly on the host's hardware to control the
hardware and to manage guest operating systems.
a. True
b. False
Correct Answer: a
Detailed Solution: Native or Bare-metal hypervisors can run directly on the host's hardware
to control the hardware and to manage guest operating systems. So, the correct option is (a).
QUESTION 5:
XML was designed to display data - with focus on how data looks.
a. True
b. False
Correct Answer: b
Detailed Solution: HTML was designed to display data - with focus on how data looks. XML
was designed to carry data - with focus on what data is. So, the correct option is (b).
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 6:
Correct Answer: b, c
Detailed Solution: Element names are case-sensitive. Element names must start with a letter
or underscore. Element names cannot contain spaces. Element names can contain hyphens.
So, the correct options are (b) and (c).
QUESTION 7:
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 8:
a. True
b. False
Correct Answer: a
Detailed Solution: Simple Object Access Protocol (SOAP) provides a way to communicate
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
between applications running on different operating systems, with different technologies and
programming languages. So, the correct option is (a).
QUESTION 9:
a. True
b. False
Correct Answer: a
QUESTION 10:
Correct Answer: d
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. So,
the correct option is (d).
************END***********
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Cloud Computing
Assignment- Week 4
TYPE OF QUESTION: MSQ
QUESTION 1:
Correct Answer: b
Detailed Solution:
The combination of vCPUs and RAM in a1.large instance of AWS is 2 vCPUs and 4096 MB (or 4
GB). So, correct option is (b).
QUESTION 2:
Correct Answer: d
Detailed Solution:
Google App Engine is Platform as a Service (PaaS) product. Google Compute Engine is an
Infrastructure as a Service (IaaS) product. So, both statements are False. Correct option is (d).
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 3:
Correct Answer: c
Detailed Solution:
Fixed IP address of OpenStack VM is used for communication between instances and Floating IP
address of OpenStack VM is used for communication with networks outside the cloud, including
the Internet. So, both statements are true. Correct option is (c).
QUESTION 4:
(a) Cloud SQL is Google's fully managed, petabyte scale, low cost analytics data warehouse
to find meaningful insights
(b) BigQuery maintains, manages, and administers relational databases on Google Cloud
Platform
(c) MySQL or NoSQL databases present in Google DataStore
(d) Cloud Storage provides flexible object storage with global edge caching
Correct Answer: c, d
Detailed Solution:
Cloud SQL maintains, manages, and administers relational databases on Google Cloud Platform.
BigQuery is Google's fully managed, petabyte scale, low cost analytics data warehouse to find
meaningful insights. You get MySQL or NoSQL databases in Google DataStore. Cloud Storage
provides flexible object storage with global edge caching. So, the correct options are (c), and (d).
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 5:
A user deploys his/her app remotely in Azure. At the time of deployment, system asks for
password. Which password S/he will enter?
(a) S/he enters the login password of Azure account while it asks for password
(b) S/he enters the deployment user password of Azure account while it asks for password
(c) S/he enters the Gmail password while it asks for password
(d) S/he enters the online banking password while it asks for password
Correct Answer: b
Detailed Solution:
Push to the Azure remote to deploy your app. You are prompted for the password you created
earlier when you created the deployment user. Make sure that you enter the password you
created in Configure a deployment user, not the password you use to log in to the Azure portal.
So, the correct option is (b).
QUESTION 6:
Azure App Service supports to deploy content to a web app through FTP, local Git, GitHub, Visual
Studio Team Services, and Bitbucket.
(a) TRUE
(b) FALSE
Correct Answer: a
Detailed Solution:
App Service supports several ways to deploy content to a web app, such as FTP, local Git, GitHub,
Visual Studio Team Services, and Bitbucket. So, the question statement is TRUE. Correct option is
(a).
NPTEL Online Certification Courses
QUESTION 7:
Correct Answer: a, b, c, d
Detailed Solution:
App Service plans define: Region (for example: North Europe, East US, or Southeast Asia),
Instance size (small, medium, or large), Scale count (1 to 20 instances), SKU (Free, Shared, Basic,
Standard, or Premium). So, all options are correct.
QUESTION 8:
(a) Networking
(b) Compute
(c) Storage
(d) Authentication and Identity service
Correct Answer: d
Detailed Solution:
Keystone is an OpenStack service that provides API client authentication, service discovery, and
distributed multi-tenant authorization by implementing OpenStack’s Identity API. So, the
correct option is (d).
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 9:
Which of the following statements are TRUE about Resource Group in Microsoft Azure?
Correct Answer: a, c
Detailed Solution:
A resource group is a logical container into which Azure resources like web apps,
databases, and storage accounts are deployed and managed. Correct options are (a), and
(c).
QUESTION 10:
Column 1 Column 2
A. GoogleAppEngine 1. Helps end users’ application scalability
B. GoogleCloudEndpoint 2. Integrates Google’s services into end users’ application
C. GoogleAPI 3. Considers to migrate your web application to Google Cloud Platform
Correct Answer: c
Detailed Solution:
************END***********
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:
--- is a formal contract between a service provider and a service consumer.
a. SLA
b. SLO
c. KPI
d. Utility Premium
Correct Answer: a
QUESTION 2:
U > P/A indicates that cloud is costlier 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 costlier than owning computer
infrastructures. So, the correct option is (a).
QUESTION 3:
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
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
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]= ∫ 0100 D(t) dt + δ ∫ 0100 d/dt (D(t)) dt = ((3/2)*t^2) 0100 +
δ *3* ∫ 0100 dt=15000+( δ *300)
=(15000+300*4) [As δ =4]
=16200
D[0,100]= ∫ 0100 3t dt= 15000
|R-D|=1200
So, the correct option is (b).
QUESTION 4:
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
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 5:
Correct Answer: a, d
Detailed Solution: SLA contains SLO. KPIs are aggregated to SLO. So, the correct options
are (a) and (d).
QUESTION 6:
---- is determining when an activity should start or end, depending on its
duration, predecessor activities etc.
a. Resource estimation
b. Resource brokering
c. Resource scheduling
d. None of the above
Correct Answer: c
Detailed Solution: Resource scheduling is determining when an activity should start or end,
depending on its duration, predecessor activities etc. So, the correct option is (c).
QUESTION 7:
Which of the following is/are not a possible parameter of service level
agreement (SLA) in cloud?
Correct Answer: c, d
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
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 8:
When load increases, VM management can be done by
Correct Answer: a
Detailed Solution: When load increases, VM management can be done by – a) Schedule new
VMs to new nodes. So, the correct option is (a).
QUESTION 9:
In hadoop, which of the following stores metadata?
a. Data node
b. Name node
c. Client node
d. None of these
Correct Answer: b
Detailed Solution: In hadoop, name node stores metadata. So, the correct option is (b).
QUESTION 10:
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. So, the correct options are (a), (b)
and (c).
************END***********
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:
a. Smart Grid
b. Start Traffic Light
c. Connected Vehicles
d. None of the above
Correct Answer: a, b, c
Detailed Solution:
Fog computing implements in Smart Grid, Start Traffic light, Connected Vehicles. So, correct
options are (a), (b), and (c).
QUESTION 2:
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.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 3:
Correct Answer: b, d
Detailed Solution:
Cloudlet architecture decreases latency by using a single-hop network and potentially lowers
battery consumption by using Wi-Fi or short-range radio instead of broadband wireless which
typically consumes more energy. So, the correct options are (b) and (d).
QUESTION 4:
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).
NPTEL Online Certification Courses
QUESTION 5:
Table – I Table – II
1. Profiler i. Collects results of split execution and combine, and make the execution
details transparent to the user
2. Solver ii. Monitors application execution to collect data about execution time, power
consumption, network traffic
3. Synchronizer iii. The task of selecting which parts of an app runs on mobile and cloud
Correct Answer: a
Detailed Solution:
Profiler monitors application execution to collect data about the time to execute, power
consumption, network traffic. Solver has the task of selecting which parts of an app runs on
mobile and cloud. Task of synchronizer modules is to collect results of split execution and
combine, and make the execution details transparent to the user. So, the correct option is (a).
QUESTION 6:
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).
NPTEL Online Certification Courses
QUESTION 7:
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 8:
a. Migrate the partially processed persistent data to a new node due to availability of an
executing node
b. Migrate the partially processed persistent data to a new node due to unavailability of an
executing node
c. Migrate the fully processed persistent data to a new node due to unavailability of an
executing node
d. Migrate the fully processed persistent data to a new node due to availability of an executing
node
Correct Answer: b
Detailed Solution:
State Migration happens due to unavailability of an executing node, there is a need to migrate
the partially processed persistent data to a new node. So, the correct options are (b).
NPTEL Online Certification Courses
QUESTION 9:
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 10:
Correct Answer: a, b, c
Detailed Solution:
************END***********
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:
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 2:
--- runs completely isolated from the host environment by default, only
accessing host files and 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 3:
a. Container
b. Hypervisor
c. Image
d. None of these
Correct Answer: c
Detailed Solution: Image is a lightweight, stand-alone, executable package that
includes everything needed to run a piece of software, including the code, a
runtime, libraries, environment variables etc.
So, the correct option is (c).
QUESTION 4:
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 5:
Docker rmi is used to delete a local ----
a. image
b. container
c. volume
d. node
Correct Answer: a
Detailed Solution: Docker rmi is used to delete a local image. So, the correct option is (a).
QUESTION 6:
--- get virtual access to host resources through a hypervisor.
a. Containers
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
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 7:
A docker image can be created from a docker container.
a. True
b. False
Correct Answer: a
Detailed Solution: A docker image can be created from a docker container. So, the correct
option is (a).
QUESTION 8:
A green broker can perform scheduling of applications to reduce energy
consumption.
a. True
b. False
Correct Answer: a
QUESTION 9:
In the context of Green Cloud Computing, the Power Usage Effectiveness is
defined as
Correct Answer: b
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
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 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***********
NPTEL Online Certification Courses
Cloud Computing
Assignment-Week 1
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
QUESTION 1:
Which of the following fall(s) under the “essential characteristics” of cloud computing?
A. Resource Pooling
B. Measured Service
C. Rapid Elasticity
D. Latency
QUESTION 2:
A. PaaS
B. IaaS
C. SaaS
D. FaaS
Correct Answer: C
Detailed Solution: Google Slide is a provider’s application that runs on Google Cloud. The
application can be accessed from various client terminals through a client interface, say a web
browser. So, It is a Software as a Service (SaaS) model.
QUESTION 3:
Which of the following is/are public cloud platform(s)?
A. Windows Server Hyper-V
B. Google Cloud Interconnect
C. Amazon Virtual Private Cloud
D. Microsoft Azure
NPTEL Online Certification Courses
Detailed Solution: Public cloud is made available to the general public. So, as Google cloud
And Microsoft Azure.
QUESTION 4:
Correct Answer: A
Detailed Solution: Multiple virtual computers can run on a single physical system thanks to
virtualization technologies.
QUESTION 5:
Which one of the following is/are disadvantage(s) of cloud computing?
A. Resource pooling
B. It requires an always-on internet connection.
C. Ubiquitous
D. On-demand payment policy
Correct Answer: B
Detailed Solution: Cloud computing is almost impossible with a feeble internet connection.
QUESTION 6:
For less data-intensive applications, horizontal scale-out elasticity is the ideal solution.
A. True
B. False
Correct Answer: B
Detailed Solution: Horizontal scale-out means adding additional computation units and having
them act in concert. It is suitable for large scale-out scenarios.
NPTEL Online Certification Courses
QUESTION 7:
The combination of Service-Oriented Infrastructure and Cloud Computing realizes to ________.
A. FTP
B. SNTP
C. XaaS
D. FaaS
Correct Answer: C
Detailed Solution: "Anything as a Service" is what XaaS stands for. It's a catch-all term for
cloud-based services.
QUESTION 8:
What is/are the main requirement(s) of a Cloud Service Provider (CSP)?
A. Increase agility
B. Increase cost
C. Increase productivity
D. Decrease cost
QUESTION 9:
PaaS (Platform as a Service) brings the benefits: (i) Creation of software (ii) Integration of web
services and databases
A. Only (i)
B. Only (ii)
C. Both (i) and (ii)
D. Neither (i) nor (ii)
Correct Answer: C
Detailed Solution: PaaS is a computing platform that allows developers to quickly create software
or online applications by connecting web services and databases.
NPTEL Online Certification Courses
QUESTION 10:
A. Grid
B. Cluster
C. Cloud
D. Node
Correct Answer: B
Detailed Solution: Key components of a cluster include multiple stand-alone computers working
together.
NPTEL Online Certification Courses
Cloud Computing
Assignment-Week 2
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
QUESTION 1:
The public cloud has a risk of multi-tenancy.
A. True
B. False
Correct Option: A
Detailed Answer: There is a possibility that a subscriber’s workload may be co-resident of the
workloads of competitors. Hence, posing a reliability and security risk.
QUESTION 2:
Ubuntu Enterprise Cloud (UEC) is an example of
A. Private cloud
B. Public cloud
C. Hybrid cloud
D. Community Cloud
Correct Option: A
Detailed Answer: Ubuntu Enterprise Cloud (UEC) is an example of a private cloud.
QUESTION 3:
Organization should consider-(i) Network Dependency and (ii) Risks from multi-tenancy
while thinking of deploying an outsourced private cloud.
A. Only (i)
B. Only (ii)
C. Both (i) and (ii)
D. None of (i) and (ii)
Correct Option: C
Detailed Answer: For outsourced private cloud, subscribers may have an option to provide a
unique, protected, and reliable network. Additionally, there is always a risk of multi-tenancy.
NPTEL Online Certification Courses
QUESTION 4:
Which of the following is/are XML parser API(s)?
A. XaaS (Anything as a Model)
B. DOM (Document Object Model)
C. CLI (Command Line Interface)
D. SLA (Service Level Agreement)
Correct Option: B
Detailed Answer: DOM is one of the three generic parser APIs. It reads in XML data, checks for
syntax, and makes data available to an application.
QUESTION 5:
What is/are the main difference(s) between virtualization and dual boot?
A. No difference between dual boot and virtualization.
B. In virtualization, operating systems are not isolated from each other, but not in dual boot.
C. In a dual boot, both operating systems run simultaneously, but not in virtualization.
D. In virtualization, both operating systems run simultaneously, but not in dual boot.
Correct Option: D
Detailed Answer: Virtualization is a method of running multiple operating systems and user
applications on the same hardware. Both OSs run simultaneously and are completely isolated
from each other.
QUESTION 6:
In virtualization, a virtual machine monitor is also called
A. Hypervisor
B. Short-term Scheduler
C. Analyzer
D. Parser
Correct Option: A
Detailed Answer: A virtual machine monitor is also called a hypervisor. It runs the guest OS
directly on the CPU to enable virtualization.
NPTEL Online Certification Courses
QUESTION 7:
Speed and flexibility are the two disadvantages of hardware-assisted virtualization.
A. True
B. False
Correct Option: A
Detailed Answer: An unmodified OS cannot take advantage of any of the underlying features of
virtualization. So, speed and flexibility become cons.
QUESTION 8:
The following problems are addressed through Web services:
1. Firewall
2. Interoperability
3. Complexity
4. Speed
QUESTION 9:
A web service can be discovered using
A. SMS
B. HTTP
C. SMTP
D. UDDI
Correct Option: D
Detailed Answer: Web service is an application component that can be discovered by UDDI
(Universal Description, Discovery, and Integration).
NPTEL Online Certification Courses
QUESTION 10:
Service-Oriented Architecture (SOA) consists of relationships between:
A. Two entities ( a service provider and a requestor)
B. Two entities ( a service provider and a broker)
C. Three entities ( a service provider, a service requestor, and a broker)
D. Three entities ( a service provider, a service requestor, and a hypervisor)
Correct Option: C
Detailed Answer: Service-Oriented Architecture (SOA) consists of relationships between three
entities ( a service provider, a service requestor, and a broker)
NPTEL Online Certification Courses
Cloud Computing
Assignment- Week 3
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
QUESTION 1:
Which of the following is/are NOT SLA requirement(s) of PaaS cloud delivery model?
a. Privacy
b. Data Retention and Deletion
c. Machine-Readable SLAs
d. Certification
Correct Answer: b, c
Detailed Solution: Data Retention and Deletion and Machine-Readable SLAs are not SLA requirements
with respect to Paas cloud delivery model.
QUESTION 2:
Which of the following is/are true regarding penalty cost? (Here D(t) and R(t) are instantaneous
demand and resources at time t.)
Correct Answer: b, c
Detailed Solution:
Penalty cost ∝ ∫|𝐷(𝑡) − 𝑅(𝑡)|𝑑𝑡. . If demand is exponential (D(t)=et), any fixed provisioning
interval (tp) according to the current demands will fall exponentially behind.
1
NPTEL Online Certification Courses
QUESTION 3:
a. TRUE
b. FALSE
Correct Answer: b
Detailed Solution:
Column-oriented storage is efficient for data-warehouse workloads.
QUESTION 4:
Which of the following is/are example(s) of cloud SLA(s) with IaaS delivery model?
a. Amazon EC2
b. Google App Engine
c. Salesforce CRM
d. Zoho mail
Correct Answer: a
Detailed Solution:
Amazon EC2 is a cloud SLA with IaaS delivery model.
QUESTION 5:
Which of the following OpenStack components is used for block storage services?
a. Keystone
b. Cinder
c. Swift
d. Neutron
Correct Answer: b
Detailed Solution:
Cinder is used for block storage services in OpenStack.
2
NPTEL Online Certification Courses
QUESTION 6:
In cloud, service downtime is 30 minutes and availability of the service is 0.80. What is the
service uptime?
Correct Answer: c
Detailed Solution:
Availability = 1 – (downtime/uptime).
Uptime = Downtime/(1-Availability) = 30/(1-0.8) = 150 minutes
QUESTION 7:
In Google File System (GFS), the master maintains regular communication with the chunk servers.
a. TRUE
b. FALSE
Correct Answer: a
Detailed Solution:
In Google File System, the master maintains regular communication with the chunk servers
through heartbeat messages.
QUESTION 8:
In a system, 400 unit workloads have been added. What will be the penalty?
a. 40%
b. 100 %
c. 20%
d. 8000%
Correct Answer: c
Detailed Solution:
Adding n independent demands reduces the Cv by 1/sqrt(n) which in turn results penalty to
3
NPTEL Online Certification Courses
1/sqrt(n).
QUESTION 9:
Correct Answer: a, d
Detailed Solution:
The correct statements are: (a) SLA contains SLO. (d) KPIs are aggregated to SLO.
QUESTION 10:
Statement 1: In OpenStack block storage, the stored objects persist until the VM is terminated.
Statement 2: In OpenStack ephemeral storage, the stored objects are accessible from within VM
as local file system.
Correct Answer: c
Detailed Solution:
In OpenStack block storage, the stored objects persist until specifically deleted by the user. In
OpenStack ephemeral storage, the stored objects are accessible from within the VM as local file
system.
************END*******
4
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Cloud Computing
Assignment- Week 4
TYPE OF QUESTION: MCQ/MSQ
[One or more options may be correct]
QUESTION 1:
In Google Cloud Platform (GCP), Cloud Datastore provides flexible object storage with global
edge caching.
(a) TRUE
(b) FALSE
Correct Answer: b
Detailed Solution:
In Google Cloud Platform (GCP), Cloud Storage provides flexible object storage with global
edge caching.
____________________________________________________________________________________________________
QUESTION 2:
QUESTION 3:
Statement 1: Azure supports public cloud platform.
Statement 2: Azure App Service plan defines security.
Correct Answer: a
QUESTION 4:
Which of the following components of OpenStack is responsible for providing persistent
block storage to running instances
(a) Nova
(b) Cinder
(c) Swift
(d) None of the above
Correct Answer: b
QUESTION 5:
Which of the following is/are App services provided by Google Cloud Platform?
(a) BigQuery
(b) Google App Engine
(c) Cloud Endpoints
(d) Cloud SQL
Correct Answer: a, c
Detailed Solution: BigQuery and Cloud Endpoints are App services provided by Google
Cloud Platform.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 6:
In OpenStack, when a VM is terminated, which of the following memory resources are freed?
Correct Answer: a, c
Detailed Solution: In OpenStack, ephemeral storage and RAM are freed when a VM is
terminated.
____________________________________________________________________________________________________
QUESTION 7:
Google Cloud End Points helps to:
Correct Answer: b
Detailed Solution: Google Cloud End Points is responsible for scaling up the app
according to the demand/ service requests
____________________________________________________________________________________________________
QUESTION 8:
The Azure App plan has a scale count of _____ instances.
(a) 1 to 50
(b) 1 to 20
(c) 1 to 10
(d) 1 to 100
Correct Answer: b
Detailed Solution: The Azure App plan has a scale count of 1 to 20 instances.
____________________________________________________________________________________________________
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 9:
Match the following columns regarding OpenStack:
Column 1 Column 2
Correct Answer: d
____________________________________________________________________________________________________
QUESTION 10:
In GCP, “gcloud app browse” – can be used to start the local development server for the
application.
(a) TRUE
(b) FALSE
Correct Answer: b
************************END****************************
NPTEL Online Certification Courses
Cloud Computing
Assignment-Week 5
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
QUESTION 1:
Multiple KPIs are aggregated to SLA.
A. TRUE
B. FALSE
Correct Option: B
Detailed Answer: KPIs are aggregated to SLO.
QUESTION 2:
Statement I: In resource management, resource allocation is the allocation of a service provider's
resources to a customer
Statement II: Resource mapping is correspondence between resources required by the users and
resources available with the provider.
Which of the options is/are correct?
A. Statement I is TRUE and Statement II is FALSE
B. Statement I is FALSE and Statement II is TRUE
C. Both statements are TRUE
D. Both statements are FALSE
Correct Option: B
Detailed Answer: Refer slide 10 in Resource Management - II. In resource management,
resource allocation is the distribution of resources economically among competing groups of
people or programs. Statement II is true. Hence, option B is correct.
QUESTION 3:
A third party application runs in the cloud for 12 hours/day. At the end of one month [30 days], it
was found that the cloud service suffered 5 outages of durations: 1 hour 30 minutes, 30 minutes, 2
hours 15 minutes, 1 hour 45 minutes and T hours, each on different days over the service period.
Suppose a cloud guarantees service availability for 97% of time. What are the possible value(s) of
T that SLA negotiation gets honored in terms of service availability?
NPTEL Online Certification Courses
A. 3 hours
B. 6 hours
C. 12 hours
D. 8 hours
Correct Option: A
Detailed Answer: Total Outage: (6+T) hours, application runs for 360 hours in a month.
Availability = 1 - (downtime/uptime). For availability: [1- {(6+T)/(354-T)}] >= 0.97, T<=4.48
Option A is correct.
QUESTION 4:
In a MapReduce framework, the HDFS block size is 64 Mb. We have 3 files of size 65 Kb, 64 Mb
and 128 Mb. How many blocks will be created by the Hadoop framework?
A. 2
B. 3
C. 4
D. 5
Correct Option: C
Detailed Answer: For 65 Kb and 64 Mb, 1 block is created. For 128 Mb, 2 blocks are created.
QUESTION 5:
What is/are the correct statement(s) regarding VM load management?
A. When load increases, new VMs should be scheduled to new nodes.
B. When load decreases, use WOL to start up waiting nodes.
C. When load increases, use WOL to start up waiting nodes.
D. When load decreases, live migrate VMs to more utilized nodes.
Correct Option: A, C, D
Detailed Answer: When load decreases, VMs should be live migrated to more utilized nodes.
When load increases, WOL should be used to start up waiting nodes and new VMs should be
scheduled to new nodes.
NPTEL Online Certification Courses
QUESTION 6:
Which of the following is/are the objective(s) of Resource Management?
A. Improved Quality of Service (QoS)
B. Scalability
C. Increased overhead
D. Increased throughput
Correct Option: A, B, D
Detailed Answer: From definition of resource management. Reduced overhead is an objective.
QUESTION 7:
In computing, Performance/Watt follows Moore’s law
A. TRUE
B. FALSE
Correct Option: B
Detailed Answer: In computing, Performance/Watt does not follow Moore’s law. Refer slide 7 of
Resource Management-I.
QUESTION 8:
Which of the following part(s) of the MapReduce is responsible for processing one or more chunks
of data and producing the output results?
A. Mapper
B. Reducer
C. Map task
D. Task execution
Correct Option: C
Detailed Answer: Map Task is responsible for processing one or more chunks of data and
producing the output results.
NPTEL Online Certification Courses
QUESTION 9:
Consider that the peak computing demand for an organization is 200 units. The demand as a
function of time can be expressed as D(t) = 3(1+t). Baseline (owned) unit cost is 120 and cloud
unit cost is 125.
Cloud is costlier than owning for a period of 150 time units.
A. TRUE
B. FALSE
Correct Option: A
Detailed Answer: Total baseline cost BT = P ⨯ B ⨯ T = 200*120*150 = 36,00,000 units.
𝑇 150 150
2
𝑡
Total cloud cost CT = ∫ 𝐶 * 𝐷(𝑡)𝑑𝑡 = ∫ 125 * 3(1 + 𝑡)𝑑𝑡 = 375* [𝑡 + 2
] = 375*150*76 =
0 0 0
42,75,000 units.
Utility function UT = (CT/BT) = (4275000/3600000) = 1.19 > 1. Therefore, cloud is costlier than
owning.
QUESTION 10:
Which of the following is/are resource provisioning approaches?
A. Intelligent multi-agent model
B. Network queueing model
C. Adaptive resource provisioning
D. Reinforcement learning guided control policy
Correct Option: B, C
Detailed Answer: Network queueing model and adaptive resource provisioning are resource
provisioning approaches. The Intelligent multi-agent model is a resource allocation approach.
Reinforcement learning guided control policy is a resource adaptation approach.