exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 120 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 120
Topic #: 1
[All Professional Cloud Developer Questions]

You deployed a new application to Google Kubernetes Engine and are experiencing some performance degradation. Your logs are being written to Cloud
Logging, and you are using a Prometheus sidecar model for capturing metrics. You need to correlate the metrics and data from the logs to troubleshoot the performance issue and send real-time alerts while minimizing costs. What should you do?

  • A. Create custom metrics from the Cloud Logging logs, and use Prometheus to import the results using the Cloud Monitoring REST API.
  • B. Export the Cloud Logging logs and the Prometheus metrics to Cloud Bigtable. Run a query to join the results, and analyze in Google Data Studio.
  • C. Export the Cloud Logging logs and stream the Prometheus metrics to BigQuery. Run a recurring query to join the results, and send notifications using Cloud Tasks.
  • D. Export the Prometheus metrics and use Cloud Monitoring to view them as external metrics. Configure Cloud Monitoring to create log-based metrics from the logs, and correlate them with the Prometheus data.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
__rajan__
7 months, 1 week ago
Selected Answer: D
This option is the most cost-effective because it does not require you to export any data to Bigtable or BigQuery. It is also the most efficient option because it allows you to correlate the metrics and logs in real time.
upvoted 1 times
...
purushi
8 months, 3 weeks ago
Selected Answer: D
Correlate Promethius metrics and Cloud logging logs: We need to compare these two logs. Promethius is an external metrics which can be a library dependency used in the application. To compare Apple vs apple, we need to bring Prometheus metrics to GCP and should configure Cloud monitoring to treat them as an external metric.
upvoted 1 times
...
omermahgoub
1 year, 3 months ago
Selected Answer: D
This option allows you to use Cloud Monitoring to view the Prometheus metrics and create log-based metrics from the logs. This allows you to correlate the metrics and logs in one place. By using Cloud Monitoring, you can also set up alerting rules and dashboards which can help you to identify and troubleshoot the performance issues in real-time and with low costs. It's not necessary to export the data to another storage to perform the correlation and to set up notifications, it can all be done directly in the Cloud Monitoring, taking advantage of its features.
upvoted 1 times
omermahgoub
1 year, 3 months ago
D. Export the Prometheus metrics and use Cloud Monitoring to view them as external metrics. Configure Cloud Monitoring to create log-based metrics from the logs, and correlate them with the Prometheus data.
upvoted 1 times
...
...
zellck
1 year, 4 months ago
Selected Answer: D
D is the answer. https://cloud.google.com/stackdriver/docs/solutions/gke/prometheus#viewing_metrics
upvoted 1 times
...
tomato123
1 year, 8 months ago
Selected Answer: D
D is correc
upvoted 2 times
...
akshaychavan7
1 year, 8 months ago
Selected Answer: D
D is a fair choice here!
upvoted 1 times
...
nehaxlpb
1 year, 9 months ago
Selected Answer: D
https://cloud.google.com/stackdriver/docs/solutions/gke/prometheus#viewing_metrics
upvoted 1 times
...
jitu028
2 years ago
Correct Answer is D
upvoted 1 times
...
GCPCloudArchitectUser
2 years, 2 months ago
Selected Answer: D
I agree with D as well … looking for minimizing the costs = use Cloud Monitoring which has alerting bult-in
upvoted 1 times
...
Blueocean
2 years, 3 months ago
Agree with Option D
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago