Cloud Computing Week 10 NPTEL Assignment Answers 2025

NPTEL Cloud Computing Week 10 Assignment Answers 2024

1. Post-copy and Pre-copy migration approaches are employed in
a. Live Migration process
b. Non-live Migration process
c. Hybrid Migration process
d. None of these
Answer: a
Explanation: Post-copy and pre-copy are two techniques used in live migration of virtual machines. In pre-copy, memory pages are copied to the target while the VM is still running, and in post-copy, the VM is suspended briefly, moved, and resumes running while remaining pages are fetched.


2. Kubernetes operates at the hardware level.
a. True
b. False
Answer: b
Explanation: Kubernetes operates at the application and container orchestration level, not at the hardware level. It manages containers, not physical machines.


3. What is(are) the key advantage(s) of Docker?
a. Facilitating microservices
b. Modeling networks
c. Packaging software
d. None of these
Answer: a, b, c
Explanation: Docker allows applications to be broken into microservices, supports network modeling between containers, and is widely used for packaging software with all its dependencies into containers.


4. Which of the following statements is most appropriate about Docker?
a. Docker is a platform that allows to build and run but not ship apps.
b. Docker is a platform that allows to build and ship but not to run apps.
c. Docker is a platform that allows to build, ship, and run apps.
d. Docker is a platform that only allows to ship and run but not to build apps.
Answer: c
Explanation: Docker is an end-to-end platform that allows developers to build, ship, and run applications using containers.


5. In Docker utility, ________________is a collection of filesystem layers and some metadata that, if taken together, can be spun up as Docker containers.
a. Operating System
b. Microservice
c. Virtual Machine
d. Image
Answer: d
Explanation: A Docker image is a packaged snapshot of a container that includes all dependencies and configurations needed to run an application.


6. Containers are similar to VMs but they have unrelaxed isolation properties to share the operating system among the applications.
a. True
b. False
Answer: b
Explanation: Containers have relaxed isolation, meaning they share the same OS kernel but remain logically isolated. This is what makes them lightweight compared to VMs.


7. Choose the most appropriate option.
Statement 1: Container is a lightweight virtualization technique.
Statement 2: Container contains the code and all its dependencies.

a. Only statement 1 is true
b. Only statement 2 is true
c. Both statement 1 and 2 are true
d. Both the statements are false
Answer: c
Explanation: Containers are lightweight because they share the host OS and are faster than VMs. They also include the application code and its dependencies, ensuring consistent execution.


8. Private Docker registry is a service that stores Docker images.
a. True
b. False
Answer: a
Explanation: A Private Docker registry allows teams or organizations to store and manage Docker images internally, enhancing security and control.


9. Docker builds offer enhanced reproducibility and replicability compared to conventional software development approaches.
a. True
b. False
Answer: a
Explanation: Docker images are portable and consistent, enabling the same application to run identically in different environments, which improves reproducibility and replicability.


10. Given the VM memory size of 1024 GB 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
Answer: b
Explanation: In non-live migration, the VM is stopped and then the memory is transferred.
1024 GB = 1024 × 1024 MB = 1,048,576 MB
Time = 1,048,576 ÷ 16 = 65,536 seconds = approx 18.2 hours
So, both migration time and downtime are around 18 hours.