Question 1: DOCKER- Purpose of Docker
What is the primary purpose of Docker in modern development?
Question 2: KUBERNETES- Purpose of Kubernetes
What is the primary purpose of Kubernetes in modern applications?
Question 3: KUBERNETES- Cluster Networking Basics
In Kubernetes, what is the main principle of cluster networking?
Question 4: KUBERNETES- Purpose of ConfigMaps
What is the primary purpose of a ConfigMap in Kubernetes?
Question 5: KUBERNETES- Horizontal Scaling Basics
What does Horizontal Pod Autoscaler (HPA) do in Kubernetes?
Question 6: DOCKER- Difference Between Image and Container
Which statement correctly distinguishes Docker images from containers?
Question 7: KUBERNETES- Key Components
Which component is responsible for maintaining cluster state and managing workloads?
Question 8: KUBERNETES- Service Types
Which Kubernetes Service type exposes an application externally with a cloud provider’s load balancer?
Question 9: KUBERNETES- Purpose of Secrets
What is the primary purpose of a Kubernetes Secret?
Question 10: KUBERNETES- Vertical Scaling
What is the difference between vertical and horizontal scaling in Kubernetes?
Question 11: DOCKER- Code Snippet (Dockerfile Basics)
What is the purpose of this Dockerfile snippet?
Question 12: KUBERNETES- Code Snippet (Pod YAML)
What does this YAML manifest define?
Question 13: KUBERNETES- Code Snippet (NodePort Service)
What does this YAML define?
Question 14: KUBERNETES- Code Snippet (ConfigMap YAML)
What does this YAML define?
Question 15: KUBERNETES- Code Snippet (HPA YAML)
What does this YAML configure?
Question 16: DOCKER- Build and Run Commands
What is the correct sequence to build and run a Docker image named `myapp`?
Question 17: KUBERNETES- Deployments
What is the main purpose of a Deployment in Kubernetes?
Question 18: KUBERNETES- DNS Service Discovery
How do pods discover other services in Kubernetes?
Question 19: KUBERNETES- Using ConfigMap in Pod
How can a pod consume a ConfigMap?
Question 20: KUBERNETES- Resource Requests & Limits
Why are requests and limits important in pod resource definitions?