Frage 1
Frage
Which feature in Kubernetes assigns pods to a node at runtime?
Frage 2
Frage
Why do organizations use containers?
Antworten
-
to tie infrastructure to the entire guest operating systems with an unshared kernel
-
to build a larger ecosystem of a collection of Docker images in the Docker Hub
-
to build legacy applications to use in macroservices-based architecture
-
to build applications to incorporate a microservices-based architecture
Frage 3
Frage
Which statement is true regarding the difference between a virtual machine and a container?
Antworten
-
A container includes all the binaries and libraries that would exist on the OS.
-
A container includes many applications.
-
The terms container and virtual machine are used interchangeably.
-
A container shares the kernel with other containers.
Frage 4
Frage
How would you best describe Kubernetes?
Antworten
-
a subscription platform designed to manually deploy scaling and operating applications within containers
-
an open-source platform designed for manually deploying, scaling, and operating application containers
-
a subscription platform designed to automate deploying, scaling, and operating application containers
-
an open-source platform designed to automate deploying, scaling, and operating application containers
Frage 5
Frage
Two features that allow Kubernetes Clusters to scale are _____ and _____.
Antworten
-
flexibility; application upgrades
-
registration; discovery
-
persistent storage; modularity
-
scalability; availability
Frage 6
Frage
In a Kubernetes model, what is the simplest unit that you can interact with that represents one running process in your cluster?
Antworten
-
a container
-
a kublete
-
a pod
-
a node
Frage 7
Frage
Where do applications operate within Kubernetes?
Antworten
-
Worker nodes
-
Scheduler
-
API Server
-
Pods
Frage 8
Frage
Review the Kubernetes architecture in the image below. Which process handles load balancing, network routing, and connection forwarding for applications?
Frage 9
Frage
When a pod has been scheduled on a node, and all of its containers are created, which pod life cycle is represented?
Antworten
-
Succeeded
-
Running
-
Pending
-
Failed
Frage 10
Frage
Why will you create deployments more than anything else?
Antworten
-
Most applications require scaling deployments.
-
Most applications are package deployments.
-
Most deployments are scaling a ReplicaSet.
-
Most deployments are package applications.
Frage 11
Frage
In which scenario would using namespaces be a great concept?
Antworten
-
in a large enterprise where there is one team and many users
-
in a small organization where there are many teams with one user
-
in a large enterprise where there are many users and teams
-
in a small organization where there is one team and one user
Frage 12
Frage
What is the purpose of the Podspec YAML file?
Antworten
-
The kubelet ensures that the containers described in the Podspecs are running and healthy.
-
The kubelet uses the Podspecs to ensure the health of containers running on the node that were not created by the API server.
-
The API server uses the Podspecs to deploy containers to worker nodes.
Frage 13
Frage
How can you verify that Minikube and VirtualBox are talking to each other?
Antworten
-
Run the command kubectl get nodes.
-
Run the command kubectl get runs.
-
Run the command kubectl get deployments.
-
Run the command kubectl get services.
Frage 14
Frage
Which resource or resources are created in Kubernetes after creating an application resource?
Frage 15
Frage
How can you combine the deployment and the service yaml into a single yaml file?
Antworten
-
Run the command vi helloworld-service.yml.
-
Run the command vi helloworld-all.yml.
-
Run the command vi helloworld-deployment.yml.
-
Run the command vi helloworld-run.yml.
Frage 16
Frage
If you are in Windows and using Powershell, the command docker version will check that _____.
Antworten
-
the Docker version is out of date
-
a new Docker version is available
-
Docker is up and running
-
Docker has been shut down
Frage 17
Frage
How can you create multiple resources through a single deployment in Kubernetes?
Antworten
-
You can only create one resource through one deployment at a time.
-
Use the three-dash notation to combine multiple files into a single YAML file.
-
Use kubectl to combine deployments into a single package.
-
Use an external Python script to package deployment files.
Frage 18
Frage
What happens with the command code chmod +x ./kubectl?
Antworten
-
It makes the kubectl password protected.
-
It locks the kubectl.
-
It turns the kubectl open to edit.
-
It makes the kubectl executable.
Frage 19
Frage
Why does Kubernetes use a liveness probe?
Antworten
-
so you can run updates on the healthy containers and check on the amount of traffic
-
so you will know when a container is actually ready to start accepting traffic
-
so you can run a periodic check on a container to make sure the container is still healthy
-
so you can run a manual check on a container to make sure the probes are still healthy
Frage 20
Frage
Which two specs can be defined for establishing application health checks?
Antworten
-
healthcheckProbe and validationProbe
-
initialDelaySeconds and timeoutSeconds
-
readinessProbe and livenessProbe
Frage 21
Frage
How are labels added to a running pod?
Antworten
-
by relabeling
-
by labeling
-
by constructing
-
by overwriting
Frage 22
Frage
What does running the command kubectl get pods --selector dev-lead=karthik,env=staging allow you to do?
Antworten
-
add multiple labels and search by one label
-
add one label and search by multiple labels
-
subtract and search by multiple labels
-
add and search by multiple labels
Frage 23
Frage
You have many pods with various labels for each. Which command should be used to find the pods associated with your production environment?