Cloud Computing Week 8 NPTEL Assignment Answers 2025

NPTEL Cloud Computing Week 8 Assignment Answers 2024

1. Docker compose is a tool for defining and running multi-container Docker applications.
a) True
b) False
Answer: a
Explanation: Docker Compose simplifies the process of running multi-container applications by allowing users to define services, networks, and volumes in a YAML file.


2. Choose the most appropriate option.
Statement 1: An image is a lightweight, stand-alone, executable package that includes everything to run a piece of software.
Statement 2: Container is a runtime instance of an image.
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
Answer: c
Explanation: A Docker image contains everything needed to run a program. When you run an image, it becomes a container.


3. Vehicles providing their networking and data processing capabilities to other vehicles through the cloud comes under which service of IoT-based Vehicular Data Clouds.
a) SaaS
b) PaaS
c) IaaS
d) None of these
Answer: c
Explanation: IaaS (Infrastructure as a Service) refers to providing fundamental computing resources such as processing, storage, and networking capabilities via cloud to other vehicles.


4. An IoT platform’s basic building blocks is/are (choose the correct option(s)).
a) Gateway
b) Images
c) Network and Cloud
d) Containers
Answer: a, c
Explanation: Gateways connect devices to the internet, and network & cloud services are essential for data processing and storage in an IoT platform.


5. 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
Answer: b
Explanation: Power Usage Effectiveness (PUE) is a metric used to determine the energy efficiency of a data center. It is calculated as Total Facility Energy divided by IT Equipment Energy.


6. Statement 1: Sensor-Cloud proxy exposes sensor resources as cloud services.
Statement 2: Sensor network is still managed from the Sensor-Cloud Interface via Sensor Network Proxy

a) Statement 1 is True and Statement 2 is False
b) Statement 2 is True and Statement 1 is False
c) Both statements are True
d) Both statements are False
Answer: c
Explanation: Both statements correctly describe how Sensor-Cloud architecture works to virtualize and manage sensor networks via cloud interfaces.


7. 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.
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
Answer: d
Explanation: Docker Hub is a repository for hosting images, not for building or running containers. Docker Compose is a tool for defining multi-container applications, not a registry.


8. Sensor data can be easily shared by different groups of users without any extra effort/ measure.
a) True
b) False
Answer: b
Explanation: Sharing sensor data securely requires authentication, access control, and data formatting measures. It cannot be done effortlessly without protocols.


9. __________ get virtual access to host resources through a hypervisor.
a) Containers
b) Virtual machines
c) Both a and b
d) Images
Answer: b
Explanation: Virtual machines use hypervisors to get access to underlying physical hardware, while containers share the host OS kernel.


10. ___________ enables different networks, spread in a huge geographical area, to connect together and be employed simultaneously by multiple users on demand.
a) Serverless
b) IoT Cloud
c) Sensor Cloud
d) Green Cloud
Answer: c
Explanation: Sensor Cloud technology allows integration of geographically dispersed sensor networks and enables on-demand access to sensor data via the cloud.