Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 30 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 30
Topic #: 1
[All Associate Cloud Engineer Questions]

You are creating a Google Kubernetes Engine (GKE) cluster with a cluster autoscaler feature enabled. You need to make sure that each node of the cluster will run a monitoring pod that sends container metrics to a third-party monitoring solution. What should you do?

  • A. Deploy the monitoring pod in a StatefulSet object.
  • B. Deploy the monitoring pod in a DaemonSet object.
  • C. Reference the monitoring pod in a Deployment object.
  • D. Reference the monitoring pod in a cluster initializer at the GKE cluster creation time.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
JackGlemins
Highly Voted 3 years, 9 months ago
B is right: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ Some typical uses of a DaemonSet are: running a cluster storage daemon on every node running a logs collection daemon on every node running a node monitoring daemon on every node
upvoted 46 times
...
Agents89
Highly Voted 4 years, 7 months ago
B is correct
upvoted 25 times
...
ACEqa
Most Recent 3 months ago
The correct answer is B
upvoted 1 times
...
JB28
11 months, 1 week ago
Option B
upvoted 1 times
...
YourCloudGuru
1 year, 1 month ago
Selected Answer: B
The correct answer is B DaemonSets ensure that one running instance of the pod is scheduled on every node in the cluster. This means that even if the cluster autoscaler scales the cluster up or down, the monitoring pod will continue to run on each node. The other options are not as good: A This is not necessary for the monitoring pod, and it can make it more difficult to scale the cluster C This is not necessary for the monitoring pod, and it can make it more difficult to scale the cluster D This is not the best way to deploy the monitoring pod, because it makes it difficult to update the monitoring pod and it does not ensure that the monitoring pod is running on every node in the cluster. https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
upvoted 5 times
...
Captain1212
1 year, 2 months ago
B seems more correcnt
upvoted 1 times
...
senatori
1 year, 8 months ago
Selected Answer: B
daemonset- makes sure that a fixed number of pods is running in every moment in every node of the cluster
upvoted 4 times
...
Buruguduystunstugudunstuy
1 year, 9 months ago
Selected Answer: B
Answer B, Deploy the monitoring pod in a DaemonSet object, is the correct answer. A DaemonSet ensures that all (or some) nodes in a cluster run a copy of a specific Pod. By deploying the monitoring pod in a DaemonSet object, a copy of the pod will run on each node of the cluster. This ensures that the metrics for all containers running on each node will be sent to the third-party monitoring solution. A. StatefulSet is used for stateful applications that require unique network identifiers, stable storage, and ordered deployment and scaling. C. A Deployment object is used to manage a set of replica Pods in a declarative way. D. Cluster initializers are deprecated and no longer recommended for use in Kubernetes.
upvoted 14 times
...
leogor
2 years, 1 month ago
B DaemonSet
upvoted 1 times
...
AzureDP900
2 years, 5 months ago
B is correct
upvoted 1 times
...
pfabio
2 years, 6 months ago
Selected Answer: B
DaemonSets attempt to adhere to a one-Pod-per-node model, either across the entire cluster or a subset of nodes. As you add nodes to a node pool, DaemonSets automatically add Pods to the new nodes as needed.
upvoted 7 times
...
haroldbenites
2 years, 6 months ago
go for B
upvoted 1 times
...
haroldbenites
2 years, 6 months ago
Go for B
upvoted 1 times
...
adityachowta
2 years, 6 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
obeythefist
2 years, 9 months ago
"Every Node" is the keyword here, which is what DaemonSet is used for
upvoted 2 times
...
ionutr
2 years, 10 months ago
Selected Answer: B
B 2000%
upvoted 1 times
...
Skyerh
2 years, 12 months ago
Selected Answer: B
I will vote B
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...