Containerization Basics MCQs with Answers and Explanations
Practice Containerization Basics MCQs. from DevOps subject. with solved answers and explanations. updated syllabus-based questions.
Search MCQs, Papers, Topics
Question 1: What is the function of a Kubernetes "Pod"?
A Pod is the smallest and simplest deployable unit in Kubernetes. It encapsulates one or more containers, storage resources, a unique network IP, and options governing how containers should run.
Question 2: What does `kubectl apply -f` do in Kubernetes?
kubectl apply -f <file> reads a YAML or JSON configuration file and creates or updates Kubernetes resources defined in it. It is the standard way to declaratively manage Kubernetes objects.
Question 3: What is Helm used for in Kubernetes?
Helm is a package manager for Kubernetes that simplifies deploying applications using reusable templates called "charts." It manages Kubernetes manifests and allows versioning of deployments.
Question 4: Which tool is most commonly used for container orchestration in DevOps?
Kubernetes (K8s) is the industry-standard tool for container orchestration. It automates deployment, scaling, and management of containerized applications across clusters.
Question 5: In Docker, what is a container?
A container packages an application and its dependencies into an isolated environment.
Question 6: Which of the following are advantages of containerization?
Containers provide portability, consistency, and isolation for software applications.
Question 7: What is the main purpose of Docker images?
Docker images are templates containing application code and dependencies used to create containers.
Showing 1 to 7 of 7 results