CC Assignments Current
CC Assignments Current
Cloud Computing
Assignment- Week 0
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
QUESTION 1:
Which software is usually used for network access control in an organizational network?
a) Firewall
b) Gateway
c) Router
d) Virus checker
Correct Answer: (a)
Detailed Solution: A firewall is a network securing software that prevents unauthorized users and
dangerous elements from accessing the network. Software firewall acts as a filter for our network
which prevents harmful information.
QUESTION 2:
Which of the following is/are used for connectionless sockets?
a) Datagram Socket only
b) Datagram Packet only
c) Both (i) and (ii)
d) None of these
QUESTION 3:
Which of the following is most appropriate about Threads?
Threads of a process share
a) only global variables.
b) only heap.
c) neither global variables nor heap.
d) both heap and global variables.
Detailed Solution: A thread shares all other resources of the process except local data like registers
and stacks.
QUESTION 4:
What is the maximum number of hosts under class B addresses?
a) 65536
b) 65534
c) 65535
d) 254
combinations are possible, yielding 65,536 Class B addresses. Although two of those numbers, the
lowest and highest values, are reserved for special purposes. Therefore, each Class B address can
support up to 65,534 (216-2) hosts.
QUESTION 5:
Consider a system with 2 level caches. The access times of Level 1 cache, Level 2 cache, and main
memory are 1 ns, 10ns, and 400 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) 12.6 ns
b) 11.2 ns
c) 10.6 ns
d) 12.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 = 1 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 = 400 ns
2
NPTEL Online Certification Courses
QUESTION 6:
Using a larger block size in a fixed block size file system leads to
a) better disk throughput but poorer disk space utilization
b) better disk throughput and better disk space utilization
c) poorer disk throughput but better disk space utilization
d) poorer disk throughput and poorer disk space utilization
Correct Answer: (a)
Detailed Solution: Using larger block size in a fixed block size system leads to poor disk space
utilization due to data items that are very small comparable to block size cause fragmentation. But
it leads to better disk throughput since no. of blocks needs to fetch & replace become less.
QUESTION 7:
Transport layer is implemented in the NIC of a typical computer system.
a) True
b) False
QUESTION 8:
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
1 modified
Total bits = 20
20 × no. of blocks
= 320 K bits.
QUESTION 9:
Flow control is mainly implemented in
a) Physical Layer
b) Application Layer
c) Transport Layer
d) Session Layer
QUESTION 10:
Where does the swap space reside?
a) RAM
b) Disk
c) ROM
d) On-chip cache
4
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.
NPTEL Online Certification Courses
Cloud Computing
Assignment-Week 6
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
QUESTION 1:
Modification threat on cloud security is an example of:
A. Deception
B. Disclosure
C. Disruption
D. Usurpation
Correct Option: A, C, D
Detailed Answer: Modification results in deception, disruption, and usurpation.
QUESTION 2:
Which of the following is/are example(s) of passive attack?
A. Replay
B. Denial of service
C. Traffic analysis
D. Masquerade
Correct Option: C
Detailed Answer: Traffic analysis is an example of passive attack.
QUESTION 3:
Interception is an attack on integrity
A. TRUE
B. FALSE
Correct Option: B
Detailed Answer: Interception is an attack on confidentiality.
NPTEL Online Certification Courses
QUESTION 4:
Statement I: Intrusion Detection System (IDS) scans the incoming messages, and creates alerts
when suspected scans/attacks are in progress.
Statement II: Authentication is the identification of legitimate users.
Correct Option: C
Detailed Answer: Statement I is correct (Refer slide 24 of Cloud Security-I). Authentication is the
identification of legitimate users.
QUESTION 5:
3. Metadata (WSDL) spoofing attack (c) Introduce malicious code to change the course of
execution.
Correct Option: B
Detailed Answer: The following are web service based attacks. Refer to slide 23 of Cloud
Security-II.
NPTEL Online Certification Courses
QUESTION 6:
Recovery Time Objective (RTO) represents the period of time allowed for the complete execution
of the task.
A. TRUE
B. FALSE
Correct Option: B
Detailed Answer: Recovery Time Objective (RTO) represents the period of time allowed for
recovery i.e., the time that is allowed to elapse between the disaster and the activation of the
secondary site.
QUESTION 7:
The correct statement(s) for necessary and sufficient conditions for the detection of inheritance
conflict is/are:
A. Sufficient condition: current entry role and at least one exit role forms conflicting pair
B. Sufficient condition: current entry role is senior to at least one exit role
C. Necessary condition: current entry role is senior to at least one exit role
D. Necessary condition: at least one exit role
Correct Option: B, D
Detailed Answer: Refer necessary and sufficient conditions for the detection of inheritance
conflict Page-26 of Cloud Security-IV
QUESTION 8:
Which of the following is/are hypervisor risks associated with VM escape?
A. Vulnerable virtual machine applications like Vmchat, VMftp, Vmcat etc.
B. Rogue hypervisor that hides itself from normal malware detection systems
C. Improper configuration of VM
D. Rogue hypervisor that creates a covert channel to dump unauthorized code
Correct Option: A, C
Detailed Answer: Hypervisor risks associated with VM escape consist of improper configuration
of VM that allows malicious code to completely bypass the virtual environment, and obtain full root
or kernel access to the physical host. Also, risks are associated with vulnerable virtual machine
applications like Vmchat, VMftp, Vmcat etc.
NPTEL Online Certification Courses
QUESTION 9:
In fault tolerance, replication is the duplication of critical components of a system with the intention
of increasing reliability of the system, usually in the case of a backup or fail-safe.
A. TRUE
B. FALSE
Correct Option: B
Detailed Answer: In fault tolerance, replication is mirroring/sharing data over disks which are
located in separate physical locations to maintain consistency.
QUESTION 10:
Which of the following Open-source tools is/are used for retrieving web pages in Amazon EC2
platform?
A. wget
B. hping
C. ifconfig
D. nmap
Correct Option: A
Detailed Answer: Wget is a tool to probe ports by retrieving web pages in EC2.
NPTEL Online Certification Courses
Cloud Computing
Assignment-Week 7
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
QUESTION 1:
Which of the following options is correct about geographic information?
Statement 1: Geographic information could be static or dynamic.
Statement 2: Geographic information varies in scale
Statement 3: Population of a city/town is a static geographic information
a. Statement 1 & 2 are True, but Statement 3 is False.
b. Statement 2 & 3 are True, but Statement 1 is False.
c. Statement 1& 3 are True, but Statement 2 is False.
d. All the statements are True.
Correct Answer: a
QUESTION 2:
Which of the following is true about geographical information system? Choose the most
appropriate option.
a) Variable load of the GIS server needs dynamic scaling of resources.
b) GIS uses network intensive web services.
c) GIS requires a high level of reliability.
d) All of these.
Correct Answer: d
Detailed Solution: All of this information is true about GIS. So, most appropriate answer is (d)
QUESTION 3:
Which of the following is/are not a benefit of Fog computing ?
a. Location awareness
b. Improved QoS
c. High latency
d. Man-in-the-middle-attack
NPTEL Online Certification Courses
Detailed Solution: Fog results in low latency, which is one of its major benefits. As the computing
data is over dispersed edge devices, there may occur issues like Man-in-the-middle-attack. So, the
correct answer is (c ) & (d).
QUESTION 4:
Which of the following statements is false about Code offloading using cloudlet?
Statement 1: The architecture reduces latency by using multi-hop network.
Statement 2: It potentially lowers battery consumption by using short range radio.
a. Statement 1 is correct but Statement 2 is incorrect
b. Statement 2 is correct but Statement 1 is incorrect
c. Both the statements are correct
d. Both the statements are incorrect.
Correct Answer: b
Detailed Solution: The architecture reduces latency by using a single-hop network and potentially
lowers battery consumption by using Wi-Fi or short range radio. So, the correct option is (b).
QUESTION 5:
Which of the following are some of the key components of Mobile cloud computing ? Choose the
most appropriate option.
a. Solver
b. Synchronizer
c. Profiler
d. All of the above
Correct Answer: d
Detailed Solution: Profiler, Solver and Synchronizer are some of the key components of mobile
cloud computing. So, the correct option is (d).
QUESTION 6:
Detailed Solution:Fog computing brings intelligence to end users from the cloud, 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 (a),(c)
& (d).
QUESTION 7:
a. Virtualization
b. Big data
c. Service oriented architecture
d. None of these
Correct Answer: a, c
Detailed Solution: Fog computing enablers are Virtualization, Service oriented architecture.
QUESTION 8:
Correct Answer: a, c
NPTEL Online Certification Courses
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).
QUESTION 9:
Correct Answer: a, b, c
QUESTION 10:
Consider following statements:
Statement 1: Geospatial Cloud helps to integrate data from heterogeneous back-end data
service.
Statement 2: Data services can be inside and/or outside of the cloud environment in Geospatial
Cloud.
Correct Answer: c
Detailed Solution: Both statements are correct regarding Geospatial Cloud concept. So, thethe
correct option is (c).
NPTEL Online Certification Courses
Cloud Computing
Assignment-Week 8
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
QUESTION 1:
Which of the following statements is/are true about Docker ?
Statement 1: Docker hub is used for building docker images and creating docker containers.
Statement 2: Docker compose is a registry used to host various docker images.
Correct Answer: d
Detailed Solution: Docker Engine is used for building docker images and creating docker
containers. Docker Hub is a registry used to host various docker images.
So, the correct option is (d).
QUESTION 2:
Virtual machines take up less space than Containers.
a. True
b. False
Correct Answer: b
Detailed Solution: Containers take up less space than VMs and start almost instantly.
So, the correct option is (b).
NPTEL Online Certification Courses
QUESTION 3:
Which of the following statements is/are correct? Choose the most appropriate option.
Statement 1: An image is a light weight, stand alone, executable package that includes everything
to run a piece of software.
Statement 2:Container is a run time instance of an image.
Correct Answer: c
Detailed Solution: Both the statements are correct.
QUESTION 4:
In IoT based vehicular data clouds, vehicles providing their networking and data processing
capabilities to other vehicles through the cloud is best identified with which of the following
services?
a. SaaS
b. PaaS
c. IaaS
d. BaaS
Correct Answer: c
Detailed Solution: This comes under a new service named Network and Data processing as a
service i.e. IaaS. So, the correct option is (c).
QUESTION 5:
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).
NPTEL Online Certification Courses
QUESTION 6:
Containers can share the OS kernel with other containers.
a. True
b. False
Correct Answer: a
Detailed Solution: Containers are an abstraction at the app layer that packages code and
dependencies together. Multiple containers can run on the same machine and share the OS
kernel with other containers, each running as isolated processes in user space.
QUESTION 7:
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).
QUESTION 8:
An IoT platform has following basic building blocks
(a) Things
(b) Gateway
(c) Network and Cloud
(d) Learning Module
Correct Answer: a, b, c
Detailed Solution: An IoT platform has basically three building blocks: Things, Gateway,
Network and Cloud.
NPTEL Online Certification Courses
QUESTION 9:
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 10:
A green broker can perform scheduling of applications to reduce energy consumption.
a. True
b. False
Correct Answer: a
Detailed Solution: A green broker can perform scheduling of applications to reduce energy
consumption. So, the correct option is (a).
NPTEL Online Certification Courses
Cloud Computing
Assignment-Week 9
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
QUESTION 1:
Which of the following statements is/are false ?
a. Fog and Edge computing are substitutes for cloud computing.
b. Fog and Edge computing may aid cloud computing in overcoming some of the limitations
like latency issues.
Correct Answer: a
Detailed Solution: Fog and Edge computing are no substitutes for cloud computing as they do not
completely replace it. So, the correct option is (a).
QUESTION 2:
Which of the following is not a layer of the Cloud-Fog environment model?
a. Client layer
b. Serverless layer
c. Fog layer
d. Cloud layer
Correct Answer: b
Detailed Solution: Cloud-Fog environment model consists of three layers: client (edge) layer, fog
layer and cloud layer.
So, the correct option is (b).
QUESTION 3:
In the Cloud-Fog environmental model, servers contain a fog server manager and virtual machines
to manage requests by using __________ technique.
a. Image virtualization
b. Container virtualization
c. Server virtualization
NPTEL Online Certification Courses
d. None of these
Correct Answer: c
Detailed Solution: It uses server virtualization techniques. So, the correct option is (c).
QUESTION 4:
The architecture used for resource management in fog/edge computing is classified on the basis of
which of the following?
a. Tenancy
b. Data flow
c. Hardware
d. All of these
Correct Answer: a, b
Detailed Solution: This comes under a new service named Network and Data processing as a
service i.e. IaaS. So, the correct options are (a ) & ( b).
QUESTION 5:
Which of the following underlying algorithm(s) is used to facilitate fog/edge computing ?
a. Discovery
b. Load balancing
c. Benchmarking
d. Cache Flow
QUESTION 6:
_________ is a technique in which a server, an application and the associated data are moved
onto the edge of the network
a. Containerization
b. Virtualization
c. Offloading
d. None of these
Correct Answer: c
Detailed Solution: offloading is a technique in which a server, an application and the associated
data are moved onto the edge of the network. So, the correct option is (c ).
QUESTION 7:
Cloud federation is the collaboration between cloud service providers to achieve which of the
following? Choose the most appropriate option.
a. Capacity utilization
b. Interoperability
c. Offloading
d. None of these
QUESTION 8:
Which of the following is false about loosely coupled federations?
Correct Answer: c
Detailed Solution: A cloud instance in a tightly coupled federation has advanced control over
remote resources. Correct option is (c ).
NPTEL Online Certification Courses
QUESTION 9:
In which of the following different CSPs establish an agreement stating the terms and conditions
under which one partner cloud can use resources from another.
a. Loosely coupled federation
b. Partially coupled federation
c. Tightly coupled federation
d. All of these
Correct Answer: b
Detailed Solution: In partially coupled federation, different CSPs establish an agreement stating
the terms and conditions under which one partner cloud can use resources from another. So, the
correct option is (b).
QUESTION 10:
Hybrid architecture combines the existing on-premise infrastructure (usually a private cloud) with
remote resources from one or more public clouds to provide extra capacity to satisfy peak demand
periods.
a. True
b. False
Correct Answer: a
Detailed Solution: Cloud bursting or hybrid architecture combines the existing on-premise
infrastructure (usually a private cloud) with remote resources from one or more public clouds to
provide extra capacity to satisfy peak demand periods. So, the correct option is (a).
NPTEL Online Certification Courses
Cloud Computing
Assignment-Week 10
TYPE OF QUESTION:
MCQ/MSQ
QUESTION 1:
VM migration is the process of moving running applications or VMs from one physical host to
another host.
a. True
b. False
Correct Answer: a
Detailed Solution: VM migration is a process to move running applications or VMs from one
physical host/server to another host. So option (a) is correct.
QUESTION 2:
Given the VM memory size of 1024GB and the transmission rate of 16 MB/sec
What are the total migration time and downtime for non-live VM migration? Choose the most
appropriate option.
a. 20 hours, 25 hours
b. 18 hours,18 hours
c. 16 hours, 16 hours
d. 24 hours,20 hours
Correct Answer: b
Detailed Solution: Total Migration time = VM memory size/ transmission rate
=(1024x2^30)/(16x2^20)=65536 secs= 18 hours.
For non-live migration, overall migration time is the same as overall downtime.
QUESTION 3:
With Docker, the resource management effort is separated from the configuration effort.
a. True
b. False
NPTEL Online Certification Courses
Correct Answer: a
Detailed Solution: With Docker, the resource management effort is separated from the
configuration effort.
QUESTION 4:
In Docker utility, —------------ is a collection of filesystem layers and some metadata which, if
taken together, can be spun up as Docker containers.
a. Operating System
b. Microservice
c. Virtual Machine
d. Image
Correct Answer: d
Detailed Solution: In Docker utility, an image is a collection of filesystem layers and some
metadata which if taken together, they can be spun up as Docker containers.
QUESTION 5:
What is(are) the reason(s) to opt for VM migration in the cloud computing paradigm?
QUESTION 6:
What is(are) the key advantage(s) of Docker?
QUESTION 7:
Post-copy and Pre-copy migration approaches are followed in :
a. Live Migration process
b. Non-live Migration process
c. Hybrid Migration process
d. None of these
Correct Answer: a
Detailed Solution: Both Post-copy and Pre-copy are approaches for live migration process.
QUESTION 8:
Which of the following is (are) true in the case of Docker architecture?
Correct Answer: c
Detailed Solution: Private Docker registry is a service that stores Docker images.
Moreover, Docker on the host machine is split into two parts- a daemon with RESTful API and a
client who talks with the daemon.
QUESTION 9:
Which of the statement(s) is(are) true for containers?
Statement-1: Docker is an open platform for automating the deployment, scaling, and management
NPTEL Online Certification Courses
of containerized applications.
Statement-2: Containers make it easy to share CPU, memory, storage and network resources at the
operating system level.
Correct Answer: b
Detailed Solution: Kubernetes is an open platform for automating the deployment, scaling, and
management of containerized applications. Containers make it easy to share CPU, memory, storage,
and network resources at the operating system level. So, only statement-2 is true.
QUESTION 10:
Kubernetes operates at the hardware level.
a. True
b. False
Correct Answer: b
Detailed Solution: Kubernetes operates at the container level.
NPTEL Online Certification Courses
Cloud Computing
Assignment-Week 11
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
QUESTION 1:
Which of the following statements is/are false ?
a. Serverless computing allows the users with more control over the deployment environment
compared to PaaS.
b. Serverless computing is a form of cloud computing that allows users to run event driven
granular applications.
Correct Answer: a
Detailed Solution: In PaaS the developer has more control over the deployment environment. So,
the correct option is (a).
QUESTION 2:
Which of the following options is most appropriate for FaaS ?
Statement 1: Each function in the FaaS platform gets unlimited execution time.
Statement 2: Functions are always active and ready for execution.
a. Statement 1 is correct but Statement 2 is incorrect.
b. Statement 2 is correct but Statement 1 is incorrect.
c. Both the statements are correct.
d. Both the statements are incorrect.
Correct Answer: d
Detailed Solution: A function in FaaS typically has limited execution time. Functions are not
constantly active. FaaS platform listens for the events that instantiate the functions. So, the correct
option is (d).
QUESTION 3:
AWS S3 is a fully managed proprietary NoSQL database service that supports key–value and
document data structures and is offered by Amazon.com as part of the Amazon Web Services
portfolio.
a. True
NPTEL Online Certification Courses
b. False
Correct Answer: b
Detailed Solution: Amazon DynamoDB is a fully managed proprietary NoSQL database service
that supports key–value and document data structures and is offered by Amazon.com as part of the
Amazon Web Services portfolio. Whereas, Amazon S3 is a simple storage service . So, the correct
option is (b).
QUESTION 4:
BigQuery is a fully-managed, serverless data warehouse by _____________.
a. AWS
b. Google
c. Microsoft
d. IBM
Correct Answer: b
Detailed Solution: BigQuery is a fully-managed, serverless data warehouse that enables scalable
analysis over petabytes of data by Google. So, the correct option is ( b).
QUESTION 5:
AWS charges for the provisioned resources and executing Lambda.
a. True
b. False
Correct Answer: b
Detailed Solution: AWS charges only when the AWS lambda code executes. So, the correct option
is (b).
NPTEL Online Certification Courses
QUESTION 6:
In serverless computing the user has to manage the scalability needs of a function, unlike FaaS.
a. True
b. False
Correct Answer: b
Detailed Solution: In serverless computing the cloud service provider has to manage the
scalability needs of a function. So, the correct option is (b).
QUESTION 7:
Which of the following is/are the goal of sustainable cloud computing? Choose the most
appropriate option.
a. Minimizing the energy consumption.
b. Increasing reliability of CDCs.
c. Minimizing carbon footprint related cost.
d. Increasing network traffic
QUESTION 8:
Which of the following is not a category of research initiative on sustainable cloud computing?
a. Renewable Energy
b. Capacity planning
c. Environment Sandboxing
d. None of these
Correct Answer: c
Detailed Solution: Environment Sandboxing is not a category of research initiative on sustainable
cloud computing. The other two options are. So, the correct option is (c ).
NPTEL Online Certification Courses
QUESTION 9:
CDCs consist of a chassis and racks to place the servers to process the IT workloads.
a. True
b. False
Correct Answer: a
Detailed Solution: CDCs consist of a chassis and racks to place the servers to process the IT
workloads. So, the correct option is (a).
QUESTION 10:
_________are an important distribution mechanism for libraries and custom runtimes in AWS
serverless ecosystem.
a. Runtimes
b. Lambda Layers
c. Log streams
d. None of these
Correct Answer: b
Detailed Solution: Lambda layers are an important distribution mechanism for libraries, custom
runtimes and other imp function dependencies in AWS serverless ecosystem. So, the correct option
is (b).
NPTEL Online Certification Courses
Cloud Computing
Assignment-Week 12
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
QUESTION 1:
The key features of Mobile Cloud Computing (MCC) for 5G networks include
a. Reliability improvement
b. Sharing of resources
c. Offloading data processing
d. Mitigating network traffic congestion
QUESTION 2:
Cyber-physical system is all about _______ of the physical and the cyber.
a. Union
b. Intersection
c. Segregation
d. None of above
Correct Answer: b
Detailed Solution: Cyber-physical system is all about the intersection of the physical and cyber.
QUESTION 3:
Cloud computing services provide a flexible platform for realizing the goals of Cyber-Physical
systems.
NPTEL Online Certification Courses
a. True
b. False
Correct Answer: a
Detailed Solution: Cloud computing services provide a flexible platform for realizing the goals of
CPS.
QUESTION 4:
Correct Answer: a, d
Detailed Solution: The advantages of CyberPhysical Cloud Computing are modular composition
and reliable and resilient architecture.
QUESTION 5:
A_________ is a trace generated by a moving object in geographical space, usually represented by
a series of chronologically ordered points.
a. Time series
b. Road map
c. Spatial trajectory
d. Spatial crowdsourcing
Correct Answer: c
Detailed Solution: A spatial trajectory is a trace generated by a moving object in geographical
spaces, usually represented by a series of chronologically ordered points.
NPTEL Online Certification Courses
QUESTION 6:
a. Containerization
b. Storage
c. Processing
d. Power requirement
QUESTION 7:
Correct Answer: b
Detailed Solution: Spatial cloud provides infrastructure requirement that is based on application,
with nothing to purchase. This leverages the scalability of the application. Also, it supports shared
resource pooling which is useful for participating organizations with common or shared goals. So,
option b is correct.
NPTEL Online Certification Courses
QUESTION 8:
Customized wearable devices for collecting health parameters are the best examples of
a. IoHT
b. Fog device
c. Fog-Cloud interfaced.
d. Cloud-Fog-Edge-IoHT
Correct Answer: d
Detailed Solution: Customized wearable devices for collecting health parameters are the best
examples of Cloud-Fog-Edge-IoHT.
QUESTION 9:
The cyber-physical system involves transdisciplinary approaches, merging the theory of
cybernetics, mechatronics, design, and process science.
a. True
b. False
Correct Answer: a
Detailed Solution: The cyber-physical system involves transdisciplinary approaches, merging the
theory of cybernetics, mechatronics, design, and process science.
QUESTION 10:
5G network technology has proven to offer a theoretical download speed of 1Gbit/s.
a. True
b. False
Correct Answer: b
Detailed Solution: 5G wireless technology has proven to offer a theoretical download speed of
10Gbit/s.