Practice Test Replication Controllers and Replicasets
Quiz Summary
0 of 36 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
0 of 36 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- Current
- Review / Skip
- Answered
- Correct
- Incorrect
-
Question 1 of 36
1. Question
A ReplicaSet is one of the Kubernetes controllers?
CorrectIncorrect -
Question 2 of 36
2. Question
What is a Label in Kubernetes?
CorrectIncorrect -
Question 3 of 36
3. Question
What is the command to delete a replication controller
nginx
?CorrectIncorrect -
Question 4 of 36
4. Question
What is the flag that you use along with the
kubectl create
command to deploy multiple instances of an application in Kubernetes?CorrectIncorrect -
Question 5 of 36
5. Question
Where do you configure the selector labels in the deployment YAML file?
CorrectIncorrect -
Question 6 of 36
6. Question
How do you add labels to a pod in a pod definition YAML file?
CorrectIncorrect -
Question 7 of 36
7. Question
What are the 4 top level fields of a Kubernetes definition file for ConfigMap?
CorrectIncorrect -
Question 8 of 36
8. Question
What is the command to delete the pod
busybox
?CorrectIncorrect -
Question 9 of 36
9. Question
What is the command to deploy a pod with the name
jenkins
and imagejenkins
?CorrectIncorrect -
Question 10 of 36
10. Question
Which of the following are the container runtimes that Kubernetes supports?
CorrectIncorrect -
Question 11 of 36
11. Question
What is a component of the Kubernetes control plane that allows external users or services to manage the Kubernetes cluster?
CorrectIncorrect -
Question 12 of 36
12. Question
Which of the following are components deployed only on a Master Node in a Kubernetes cluster?
CorrectIncorrect -
Question 13 of 36
13. Question
ETCD by default listens on port 2780.
CorrectIncorrect -
Question 14 of 36
14. Question
Which statement best describes the Worker Node component?
CorrectIncorrect -
Question 15 of 36
15. Question
Which of the below are the container orchestration tools?
CorrectIncorrect -
Question 16 of 36
16. Question
What is the command to list all the pods that are in a
netpol
namespace? Select all the answers that apply.CorrectIncorrect -
Question 17 of 36
17. Question
Which statement best describes deployment in Kubernetes? Select all the answers that apply.
CorrectIncorrect -
Question 18 of 36
18. Question
Where do you configure the pod images in the deployment YAML file?
CorrectIncorrect -
Question 19 of 36
19. Question
What
kubectl
command can be used to perform a Deployment update?CorrectIncorrect -
Question 20 of 36
20. Question
Which of the following are the deployment strategy types in Kubernetes?
CorrectIncorrect -
Question 21 of 36
21. Question
Each container inside a POD does not get its own IP address assigned. All containers inside a POD share a single IP address.
CorrectIncorrect -
Question 22 of 36
22. Question
Which among the following statements are true without any change made to the default behaviour of network policies in the namespace?
CorrectIncorrect -
Question 23 of 36
23. Question
Which of the following statements are correct about ClusterIP?
CorrectIncorrect -
Question 24 of 36
24. Question
The command and arguments that you define in the Kubernetes definition file override the default command and arguments configured in the container image.
CorrectIncorrect -
Question 25 of 36
25. Question
How do you set environment variables in a pod definition file?
CorrectIncorrect -
Question 26 of 36
26. Question
Which command is used to make some changes into the already existing PersistentVolumeClaim
mysql-pvc
?CorrectIncorrect -
Question 27 of 36
27. Question
What is the command to display details of the secret
user-list
?CorrectIncorrect -
Question 28 of 36
28. Question
What is the command to list configmaps? Select all the answers that apply.
CorrectIncorrect -
Question 29 of 36
29. Question
You can pass in the
--from-file
argument multiple times to create a ConfigMap from multiple data sources.CorrectIncorrect -
Question 30 of 36
30. Question
Which statement best describes the readiness probe?
CorrectIncorrect -
Question 31 of 36
31. Question
The kubelet uses liveness probes to know when a container is ready to start accepting traffic.
CorrectIncorrect -
Question 32 of 36
32. Question
Liveness probes let Kubernetes know if your app is alive or stuck/dead.
CorrectIncorrect -
Question 33 of 36
33. Question
Which of the following statements best describes Kubernetes network policies?
CorrectIncorrect -
Question 34 of 36
34. Question
Which service type is used to expose applications outside the Kubernetes cluster?
CorrectIncorrect -
Question 35 of 36
35. Question
If
.spec.strategy.type
is set to RollingUpdate, then all new PODs are created first and then all existing pods are killed at once.CorrectIncorrect -
Question 36 of 36
36. Question
Which
kubectl
command is used to display more details of the storage classes?CorrectIncorrect