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 31 discussion

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

Your team is designing a new application for deployment into Google Kubernetes Engine (GKE). You need to set up monitoring to collect and aggregate various application-level metrics in a centralized location. You want to use Google Cloud Platform services while minimizing the amount of work required to set up monitoring. What should you do?

  • A. Publish various metrics from the application directly to the Stackdriver Monitoring API, and then observe these custom metrics in Stackdriver.
  • B. Install the Cloud Pub/Sub client libraries, push various metrics from the application to various topics, and then observe the aggregated metrics in Stackdriver.
  • C. Install the OpenTelemetry client libraries in the application, configure Stackdriver as the export destination for the metrics, and then observe the application's metrics in Stackdriver.
  • D. Emit all metrics in the form of application-specific log messages, pass these messages from the containers to the Stackdriver logging collector, and then observe metrics in Stackdriver.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
giammydell
Highly Voted 2 years, 6 months ago
C is correct, for A the installing of stackdriver library in the application is missing, without the lbrary custom metric cannot be created by the application
upvoted 18 times
...
Luvero
Highly Voted 2 years, 6 months ago
You want to use Google Cloud Platform services while minimizing the amount of work required to set up monitoring. Hence A
upvoted 14 times
...
habla2019pasta
Most Recent 4 days, 13 hours ago
Selected Answer: C
C should be correct
upvoted 1 times
...
chidambaram
1 month, 2 weeks ago
C. OpenTelemetry with Stackdriver: OpenTelemetry is a vendor-neutral instrumentation framework. By configuring Stackdriver as the export destination, you leverage a standardized approach with minimal coding effort. OpenTelemetry offers an easy way to collect and export metrics from your application to Stackdriver, minimizing setup work. Answer : C
upvoted 1 times
...
jinaldesailive
2 months, 1 week ago
Selected Answer: C
OpenTelemetry provides standardized metrics collection, with it's SDK and various client libraries. So using OpenTelemetry is much faster and easier than using Cloud Monitoring API directly. So it's C.
upvoted 1 times
...
jomonkp
5 months, 2 weeks ago
Selected Answer: C
Option C
upvoted 1 times
...
macqly
6 months, 1 week ago
You can create user-defined metrics by using the Cloud Monitoring API directly. However, we recommend that you use OpenTelemetry. https://cloud.google.com/monitoring/custom-metrics
upvoted 2 times
macqly
6 months, 1 week ago
I think coding raw API calls is more effort than configure Open Telemetry. But maybe I am wrong.
upvoted 1 times
...
...
ManishKS
7 months, 2 weeks ago
C should be correct Answer
upvoted 1 times
...
Cassim
9 months, 4 weeks ago
C is correct. Installing Open Telemetry client libraries in the application. setting stackdriver as export destination and then observing the app metrics.
upvoted 1 times
B_Ahmed
9 months, 3 weeks ago
Hey Cassim ? Are these questions still relevant ? Thanks in advance for your answer!
upvoted 2 times
Orzechowski
8 months ago
yes they are, just replace the name stack driver with Cloud Operations Suite and you will be fine https://cloud.google.com/products/operations?hl=en
upvoted 1 times
...
...
...
boras
1 year, 4 months ago
Selected Answer: C
You should use a library/SDK instead of coding raw API requests all over the place. Hence I go with C - OpenTelemetry.
upvoted 3 times
...
JonathanSJ
1 year, 4 months ago
Selected Answer: A
Option A, uses GCP services and reduce development effort
upvoted 1 times
...
Greg123123
1 year, 4 months ago
The ans should be A. 3 main points here: application-level metrics use Google Cloud Platform services minimizing the amount of work required B: b is not correct as google suggest only external metrics are pushed using pub/sub. For custom metrics use stackdriver api. C: OpenTelemetry is not a gcp service D: too much work
upvoted 4 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 1 times
...
hanweiCN
1 year, 5 months ago
Selected Answer: A
openTelemetry library only appear in Cloud Trace , and openTelemetry is not a GCP service ? https://cloud.google.com/trace/docs/setup
upvoted 2 times
...
hanweiCN
1 year, 5 months ago
stackdriver API can not monitor application-level metrics https://cloud.google.com/stackdriver/docs/solutions/gke/installing
upvoted 2 times
...
enter_co
1 year, 6 months ago
Selected Answer: C
Application-generated (custom) metrics can only be generated by using compatible libraries. https://cloud.google.com/monitoring/custom-metrics
upvoted 2 times
...
GCP72
1 year, 9 months ago
Selected Answer: A
I think the answer is A
upvoted 1 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 ...