Practice Test 1 | Google Cloud Certified Associate Cloud Engineer | Dumps | Mock Test
You were inspecting the containers running on a VM and found out that a pod is running which is no more required. You try to delete it but every time a new pod is created. What do you need to delete now for removing that pod?
A. ReplicaSet
B. VM
C. Container
D. Service
Explanation:
Answer A
Option A is correct: ReplicaSet is responsible for maintain the desired number of pods hence, deleting it will delete the pod as well.
Option B is incorrect: Straight away deleting a VM is not a good option as this will delete all other containers as well.
Option C is incorrect: Deleting a container is same as deleting a pod.
Option D is incorrect: Deleting a Service will not delete pod.
Link:
https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
https://kubernetes.io/docs/concepts/services-networking/service/
Comments are closed, but trackbacks and pingbacks are open.