Author name: admin

Which of the following is a programming language used for creating dynamic web pages?

Which of the following is a programming language used for creating dynamic web pages? a) HTML b) CSS c) JavaScript d) SQL Answer: c) JavaScript Explanation: JavaScript is used to make web pages interactive. It allows developers to create dynamic content, animations, and respond to user actions. Reference: Full Stack Web Development Quiz – MCQ

Which of the following is a programming language used for creating dynamic web pages? Read More »

Which Kubernetes object is used to automatically scale Pods based on resource utilization?

Which Kubernetes object is used to automatically scale Pods based on resource utilization? a) ReplicaSet b) Horizontal Pod Autoscaler (HPA) c) StatefulSet d) DaemonSet Answer: b) Horizontal Pod Autoscaler (HPA) Explanation: The Horizontal Pod Autoscaler (HPA) automatically scales the number of Pods in a deployment based on observed CPU utilization or other select metrics. Reference:

Which Kubernetes object is used to automatically scale Pods based on resource utilization? Read More »

What is the main purpose of a ConfigMap in Kubernetes?

What is the main purpose of a ConfigMap in Kubernetes? a) To store application logs b) To store non-confidential configuration data c) To manage container images d) To update the Kubernetes API Answer: b) To store non-confidential configuration data Explanation: A ConfigMap in Kubernetes is used to store non-confidential configuration data such as environment variables,

What is the main purpose of a ConfigMap in Kubernetes? Read More »

What does the kubectl command do in Kubernetes?

What does the kubectl command do in Kubernetes? a) Automates testing b) It is the command-line interface to communicate with Kubernetes clusters c) Monitors application performance d) Handles backups of the cluster Answer: b) It is the command-line interface to communicate with Kubernetes clusters Explanation: kubectl is the command-line tool that allows users to interact

What does the kubectl command do in Kubernetes? Read More »

Which Kubernetes component ensures communication between different nodes in a cluster?

Which Kubernetes component ensures communication between different nodes in a cluster? a) Kube-proxy b) Kube-scheduler c) Kube-apiserver d) etcd Answer: a) Kube-proxy Explanation: Kube-proxy is a network component in Kubernetes that ensures that services can communicate with each other across different nodes within the cluster. Reference: Kubernetes Quiz – MCQ – Multiple Choice Questions

Which Kubernetes component ensures communication between different nodes in a cluster? Read More »

How do you scale a deployment in Kubernetes?

How do you scale a deployment in Kubernetes? a) kubectl scale deployment <deployment-name> –replicas=<number> b) kubectl create scale <deployment-name> c) kubectl replicas set –scale <number> d) kubectl deploy replicas <number> Answer: a) kubectl scale deployment <deployment-name> –replicas=<number> Explanation: To scale a Kubernetes deployment, you use the kubectl scale deployment command followed by the desired number

How do you scale a deployment in Kubernetes? Read More »

Which command is used to deploy an application in Kubernetes?

Which command is used to deploy an application in Kubernetes? a) kubectl create deployment b) kubectl deploy app c) kubectl deploy pod d) kubectl build app Answer: a) kubectl create deployment Explanation: The kubectl create deployment command is used to create a new deployment for an application in Kubernetes. Reference: Kubernetes Quiz – MCQ –

Which command is used to deploy an application in Kubernetes? Read More »

What is the role of the Kube-scheduler in Kubernetes?

What is the role of the Kube-scheduler in Kubernetes? a) Schedules tasks on nodes b) Monitors application performance c) Configures networking between Pods d) Stores application logs Answer: a) Schedules tasks on nodes Explanation: The Kube-scheduler is responsible for assigning Pods to available nodes in the Kubernetes cluster based on resource availability and other constraints.

What is the role of the Kube-scheduler in Kubernetes? Read More »

Scroll to Top