-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathMCQ for Pretest K8s.txt
More file actions
146 lines (103 loc) · 1.9 KB
/
Copy pathMCQ for Pretest K8s.txt
File metadata and controls
146 lines (103 loc) · 1.9 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
MCQ for Pretest:
1. If we need to run a container in detach mode using docker what is the command?
a. docker run -D nginx
b. docker run -detach nginx
c. docker run -d nginx
d. docker run nginx
c
2. Docker is a daemonless process?
a. True
b. False
b
3. If i need to restart docker which service will restart?
a.docker
b.container
c.dockerd
d.none
c
4. Docker registry is a repository for images?
a. True
b. fasle
a
5. Docker image which is correct
a.mutable
b.immutable
c.iso
d.tar
b
6. Kubernetes minimal unit of computation?
a. Container
b. Pod
c. Deployment
d. Image
b
7. Docker hub is a registry?
a. True
b. False
a
8. yaml stands for
a. yat another markup language
b. yaml language
c. yet another markup language
d. none
c
9. In pod yaml file, what is kind type?
a. v1
b. Pod
c. Container
d. none
b
10. docker search command by default search on docker hub?
a.False
b.True
b
11. docker run command runs, docker pull internally?
a. True
b. False
a
12. which is cli option in kubernetes to create resource?
a.kubelet
b.kubectl
c.kubecreate
d.kubeadm
b
13. Pod can create multicontainer pod?
a. True
b. False
a
14.Namespace is a concept to create cluster in kubernetes?
a.True
b.False
b
15.Kubernetes master also known as
a.Control plane
b.Owner
c.Controller
d. none
a
16.Which can be used as distributed db in kubernetes?
a.zookeeper
b.etcd
c.consul
d.All of above
d
17.Kubernetes need container run time on each of worker node?
a.True
b.False
a
18.Deployment is type of workload api in kubernetes?
a.True
b.False
a
19.which agent has to be installed on worker node?
a.kubectl
b.kubelet
c.kubeadm
d.none
b
20.which command will be used to create a pod?
a.kubectl create -f <pod yaml>
b.kubelet create -f <pod yaml>
c.kubeadm create -f <pod yaml?
d.none
a