Quiz
Kubernetes
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (23)
1Which feature in Kubernetes assigns pods to a node at runtime?
- Aservice discovery
- Bcontainer scheduling
- Cscalability and availability
- Dflexibility and modularization
2Why do organizations use containers?
- Ato tie infrastructure to the entire guest operating systems with an unshared kernel
- Bto build a larger ecosystem of a collection of Docker images in the Docker Hub
- Cto build legacy applications to use in macroservices-based architecture
- Dto build applications to incorporate a microservices-based architecture
3Which statement is true regarding the difference between a virtual machine and a container?
- AA container includes all the binaries and libraries that would exist on the OS.
- BA container includes many applications.
- CThe terms container and virtual machine are used interchangeably.
- DA container shares the kernel with other containers.
4How would you best describe Kubernetes?
- Aa subscription platform designed to manually deploy scaling and operating applications within containers
- Ban open-source platform designed for manually deploying, scaling, and operating application containers
- Ca subscription platform designed to automate deploying, scaling, and operating application containers
- Dan open-source platform designed to automate deploying, scaling, and operating application containers
5Two features that allow Kubernetes Clusters to scale are _____ and _____.
- Aflexibility; application upgrades
- Bregistration; discovery
- Cpersistent storage; modularity
- Dscalability; availability
6In a Kubernetes model, what is the simplest unit that you can interact with that represents one running process in your cluster?
- Aa container
- Ba kublete
- Ca pod
- Da node
7Where do applications operate within Kubernetes?
- AWorker nodes
- BScheduler
- CAPI Server
- DPods
8Review the Kubernetes architecture in the image below. Which process handles load balancing, network routing, and connection forwarding for applications?

- Athe kubectl process
- Bthe Controller Manager process
- Cthe kubelet process
- Dthe kube-proxy process
9When a pod has been scheduled on a node, and all of its containers are created, which pod life cycle is represented?
- ASucceeded
- BRunning
- CPending
- DFailed
10Why will you create deployments more than anything else?
- AMost applications require scaling deployments.
- BMost applications are package deployments.
- CMost deployments are scaling a ReplicaSet.
- DMost deployments are package applications.
11In which scenario would using namespaces be a great concept?
- Ain a large enterprise where there is one team and many users
- Bin a small organization where there are many teams with one user
- Cin a large enterprise where there are many users and teams
- Din a small organization where there is one team and one user
12What is the purpose of the Podspec YAML file?
- AThe kubelet ensures that the containers described in the Podspecs are running and healthy.
- BThe kubelet uses the Podspecs to ensure the health of containers running on the node that were not created by the API server.
- CThe API server uses the Podspecs to deploy containers to worker nodes.
13How can you verify that Minikube and VirtualBox are talking to each other?
- ARun the command kubectl get nodes.
- BRun the command kubectl get runs.
- CRun the command kubectl get deployments.
- DRun the command kubectl get services.
14Which resource or resources are created in Kubernetes after creating an application resource?
- Athe application resource
- BA pod is created, along with the deployment and an associated ReplicaSet with statuses for each.
- Cthe service and NodePort
- Dthe nodes
15How can you combine the deployment and the service yaml into a single yaml file?
- ARun the command vi helloworld-service.yml.
- BRun the command vi helloworld-all.yml.
- CRun the command vi helloworld-deployment.yml.
- DRun the command vi helloworld-run.yml.
16If you are in Windows and using Powershell, the command docker version will check that _____.
- Athe Docker version is out of date
- Ba new Docker version is available
- CDocker is up and running
- DDocker has been shut down
17How can you create multiple resources through a single deployment in Kubernetes?
- AYou can only create one resource through one deployment at a time.
- BUse the three-dash notation to combine multiple files into a single YAML file.
- CUse kubectl to combine deployments into a single package.
- DUse an external Python script to package deployment files.
18What happens with the command code chmod +x ./kubectl?
- AIt makes the kubectl password protected.
- BIt locks the kubectl.
- CIt turns the kubectl open to edit.
- DIt makes the kubectl executable.
19Why does Kubernetes use a liveness probe?
- Aso you can run updates on the healthy containers and check on the amount of traffic
- Bso you will know when a container is actually ready to start accepting traffic
- Cso you can run a periodic check on a container to make sure the container is still healthy
- Dso you can run a manual check on a container to make sure the probes are still healthy
20Which two specs can be defined for establishing application health checks?
- AhealthcheckProbe and validationProbe
- BinitialDelaySeconds and timeoutSeconds
- CreadinessProbe and livenessProbe
21How are labels added to a running pod?
- Aby relabeling
- Bby labeling
- Cby constructing
- Dby overwriting
22What does running the command kubectl get pods --selector dev-lead=karthik,env=staging allow you to do?
- Aadd multiple labels and search by one label
- Badd one label and search by multiple labels
- Csubtract and search by multiple labels
- Dadd and search by multiple labels
23You have many pods with various labels for each. Which command should be used to find the pods associated with your production environment?
- Aget pods --production
- Bget pods --show-labels
- Cget pods --selector env=production
Information
- Description
- Software Development Computer Science Quiz on Kubernetes, created by Dustin White on 30/12/2021.
- Author
- Dustin White
- Language
- English
- Views
- 636
- Tags
- Rating
- No ratings yet Rate this quiz