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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Professional Cloud DevOps Engineer topic 1 question 17 discussion

Actual exam question from Google's Professional Cloud DevOps Engineer
Question #: 17
Topic #: 1
[All Professional Cloud DevOps Engineer Questions]

You support an e-commerce application that runs on a large Google Kubernetes Engine (GKE) cluster deployed on-premises and on Google Cloud Platform. The application consists of microservices that run in containers. You want to identify containers that are using the most CPU and memory. What should you do?

  • A. Use Stackdriver Kubernetes Engine Monitoring.
  • B. Use Prometheus to collect and aggregate logs per container, and then analyze the results in Grafana.
  • C. Use the Stackdriver Monitoring API to create custom metrics, and then organize your containers using groups.
  • D. Use Stackdriver Logging to export application logs to BigQuery, aggregate logs per container, and then analyze CPU and memory consumption.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
danchoif2
Highly Voted 2 years, 8 months ago
* https://cloud.google.com/anthos/clusters/docs/on-prem GKE on-prem is also called Anthos clusters on VMware * https://cloud.google.com/anthos/clusters/docs/on-prem/concepts/logging-and-monitoring You have several logging and monitoring options for your Anthos clusters on VMware: + Cloud Logging and Cloud Monitoring, enabled by in-cluster agents deployed with Anthos clusters on VMware. + Prometheus and Grafana, disabled by default. + Validated configurations with third-party solutions. => it means, if not a special situation, the correct should be using the first option: Logging and Monitoring. In this case, we want metrics, so Monitoring (aka. Cloud Monitoring, Stackdriver Monitoring) should be used. We are talking about GKE, so we will use Kubernetest Engine Monitoring (https://cloud.google.com/kubernetes-engine-monitoring). Obviously, A is correct.
upvoted 22 times
helg
2 years, 4 months ago
we are talking about GKE and GKE on Premise so you need a multi cloud monitoring option not a GKE logging option like A
upvoted 6 times
Feliphus
4 months, 3 weeks ago
I agree with @helg, if you check the link: https://cloud.google.com/kubernetes-engine/docs/concepts/observability. It says: "Note: The provided GKE dashboards only display information for GKE clusters running on Google Cloud. They don't display information for GKE clusters running anywhere else, for example using on-premises or bare-metal servers."
upvoted 2 times
Feliphus
4 months, 3 weeks ago
I found another link indicating B is the answer, https://cloud.google.com/anthos/clusters/docs/on-prem/1.3/concepts/logging-and-monitoring I copy a slice: You have several logging and monitoring options for your GKE on-prem clusters: - Cloud Logging and Cloud Monitoring, enabled by in-cluster agents deployed with GKE on-prem. - Prometheus and Grafana, disabled by default. - Validated configurations with third-party solutions.
upvoted 2 times
...
...
...
...
Charun
Highly Voted 2 years, 10 months ago
B correct
upvoted 13 times
raf2121
2 years, 9 months ago
Point for discussion : Google highly recommends Google Logging and monitoring when running workloads only on GKE on-prem and GKE. For applications with component running on GKE on-prem and traditional on-premises infrastructure, other monitoring and logging solutions for an end-to-end view of application can be considered considering what is stated in the question "GKE cluster deployed on-premises and Google Cloud Platform", should "A" be the answer
upvoted 13 times
helg
2 years, 4 months ago
nor for A! STackdriver Kub Engine only supports GKE not GKE on premise!
upvoted 2 times
...
...
...
jinaldesailive
Most Recent 2 months, 1 week ago
Selected Answer: B
The answer will change pre and post GKE 1.24 release. If the question is asked before the release of GKE 1.24 the answer should be A. Post GKE 1.24 release metrics deprecated, B is the answer.
upvoted 2 times
...
alpha_canary
3 months, 2 weeks ago
Selected Answer: A
If the on-prem was a non-GKE kubernetes solution, the the answer would be B. But it's GKE on-prem, A is the best option here
upvoted 1 times
...
jomonkp
5 months, 2 weeks ago
option A
upvoted 1 times
...
SarumanMX
9 months, 1 week ago
Selected Answer: B
GKE workload monitoring has been deprecated, so should be Prometheus https://cloud.google.com/stackdriver/docs/solutions/gke/managing-metrics
upvoted 2 times
...
Ajitshetty
10 months ago
Selected Answer: B
It should be B check this link It is clearly mentioned if you are application running on GKE or anthos cluster on Vmware you use stack driver counter part but if it is on On-prem then better find other solution With respect to options we have here it is prometheus https://cloud.google.com/anthos/clusters/docs/on-prem/latest/concepts/logging-and-monitoring#:~:text=For%20applications%20with%20components%20running%20on%20Anthos%20clusters%20on%20VMware%20and%20traditional%20on%2Dpremises%20infrastructure%2C%20you%20might%20consider%20other%20solutions%20for%20an%20end%2Dto%2Dend%20view%20of%20those%20applications
upvoted 2 times
...
felipeschossler
1 year, 1 month ago
Selected Answer: A
Prometheus is made for metrics not logs, in this way the correct answer is A, not be.
upvoted 1 times
sidharthwader
10 months, 3 weeks ago
Its telling to pick which uses most cpu and memory this has nothing to do with logs
upvoted 1 times
aswani
10 months ago
are these questions still relevant?
upvoted 2 times
...
...
...
taqihurr
1 year, 3 months ago
B. Use Prometheus to collect and aggregate logs per container, and then analyze the results in Grafana. Prometheus is a popular open-source monitoring and alerting system that is well-suited for monitoring containers running in a Kubernetes cluster. It can scrape metrics from the Kubernetes API server and export them to a time series database, where they can be queried and visualized in Grafana. This approach allows you to monitor CPU and memory usage of individual containers, and set up alerts if usage exceeds certain thresholds.
upvoted 2 times
...
taqihurr
1 year, 3 months ago
You support an e-commerce application that runs on a large Google Kubernetes Engine (GKE) cluster deployed on-premises and on Google Cloud Platform. The application consists of microservices that run in containers. You want to identify containers that are using the most CPU and memory. What should you do? A. Use Stackdriver Kubernetes Engine Monitoring. B. Use Prometheus to collect and aggregate logs per container, and then analyze the results in Grafana. C. Use the Stackdriver Monitoring API to create custom metrics, and then organize your containers using groups. D. Use Stackdriver Logging to export application logs to BigQuery, aggregate logs per container, and then analyze CPU and memory consumption.
upvoted 1 times
...
JonathanSJ
1 year, 4 months ago
Selected Answer: B
I think the answer is B. A cant be because is not for on premises.
upvoted 1 times
...
floppino
1 year, 4 months ago
Selected Answer: A
Ans: A Exam passed and taken on 19/12/2022, 50/50 from this dump without buying the full access and looking for 'devops' word here: https://www.examtopics.com/discussions/google/1/
upvoted 2 times
jaykumarjkd99
1 year, 3 months ago
any way to take dump of the discussions?
upvoted 1 times
...
...
DoodleDo
1 year, 5 months ago
Ans A - Anthos GKE On-Prem agent collects systems metric however it doesn't collect applications metric. Given that question asks for CPU and Memory GKE On-Prem agent should suffice of containers in on-prem. Source - https://cloud.google.com/anthos/clusters/docs/on-prem/1.3/concepts/logging-and-monitoring
upvoted 1 times
...
hanweiCN
1 year, 5 months ago
for anthos clusters, need cloud monitoring & cloud logging agent, not GKE monitoring.
upvoted 1 times
...
hanweiCN
1 year, 5 months ago
The Cloud Operations Suite for GKE only displays information for GKE clusters running on Google Cloud. It does not display information for GKE clusters running elsewhere, such as using on-premises or bare metal servers https://cloud-google-com.translate.goog/stackdriver/docs/solutions/gke?hl=fr&_x_tr_sl=fr&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=sc
upvoted 1 times
hanweiCN
1 year, 5 months ago
" Cloud Operations Suite for GKE " is a tailored cloud monitoring & logging service for GKE. not cloud monitoring & logging service. A is correct.
upvoted 1 times
...
...
enter_co
1 year, 6 months ago
Selected Answer: B
The eCommerce app is a workload. Since v. 1.24 GKE workload metrics were deprecated and replaced with Prometheus https://cloud.google.com/stackdriver/docs/solutions/gke/workload-metrics#gcloud https://cloud.google.com/stackdriver/docs/solutions/gke/gmp-migration
upvoted 1 times
...
mudot
1 year, 6 months ago
Selected Answer: A
I work in the hybrid environment [anthos] and can confirm the required metric availability
upvoted 4 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 ...