Operating System MCQ - Containerization

Containerization MCQs : This section focuses on "Containerization" in Operating System. These Multiple Choice Questions (MCQ) should be practiced to improve the Operating System skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.

1. The concept of containerization in operating systems has its roots, with the creation of the _________ command on Unix systems.

A. chmod
B. chroot
C. grep
D. sudo

View Answer


2. ___________ used kernel features such as namespaces and cgroups to isolate processes from one another.

A. BXC
B. PCE
C. LXC
D. ZYE

View Answer


3. Containers are?

A. lightweight
B. portable
C. Both A and B
D. None of the above

View Answer


4. Containerization in an operating system also allows for better security, as containers are isolated from one another and from the host operating system, reducing the potential attack surface.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


5. Containerization in operating systems has evolved over time and has been widely adopted for its benefits such as?

A. Portability
B. Isolation
C. Scalability
D. All of the above

View Answer


6. _____________ is the primary purpose of containerization in an operating system.

A. To virtualize the hardware
B. To isolate applications and their dependencies
C. To provide a shared file system
D. To improve network performance

View Answer


7. A container image is __________.

A. A virtual machine snapshot
B. A container runtime
C. A container orchestration tool
D. A pre-packaged version of an application and its dependencies

View Answer


8. Which of the following is the difference between a container and a virtual machine?

A. Containers share the host operating system kernel while virtual machines have their own kernel
B. Containers are more lightweight than virtual machines
C. Virtual machines provide better isolation than containers
D. All of the above

View Answer


9. What are the advantages of using containerization in an operating system?

A. Portability
B. Security
C. Complexity
D. All of the above

View Answer


10. What are the disadvantages of using containerization in an operating system?

A. Resource constraints
B. Limited Interoperability
C. Limited Hardware support
D. All of the above

View Answer





Discussion


* You must be logged in to add comment.