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

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

Your ecommerce application receives external requests and forwards them to third-party API services for credit card processing, shipping, and inventory management as shown in the diagram.



Your customers are reporting that your application is running slowly at unpredictable times. The application doesn’t report any metrics. You need to determine the cause of the inconsistent performance. What should you do?

  • A. Install the OpenTelemetry library for your respective language, and instrument your application.
  • B. Install the Ops Agent inside your container and configure it to gather application metrics.
  • C. Modify your application to read and forward the X-Cloud-Trace-Context header when it calls the downstream services.
  • D. Enable Managed Service for Prometheus on the Google Kubernetes Engine cluster to gather application metrics.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
LireEruel
5 days, 1 hour ago
I go with A
upvoted 1 times
...
plutonians123
3 months, 3 weeks ago
Selected Answer: A
The key part of the question prompting the use of OpenTelemetry over Prometheus is: "Your customers are reporting that your application is running slowly at unpredictable times. The application doesn’t report any metrics." This indicates a need for detailed instrumentation to trace and diagnose performance issues across various external service interactions. OpenTelemetry, with its comprehensive APIs and SDKs for collecting a wide range of telemetry data (traces, metrics, logs), is well-suited for this task. It allows for tracing the application's workflow and identifying bottlenecks, which is essential for understanding the root cause of the inconsistent performance.
upvoted 1 times
...
__rajan__
6 months ago
Selected Answer: A
OpenTelemetry provides a single set of APIs, libraries, agents, and collector services to capture distributed traces and metrics from your application. You can analyze them using Prometheus, Jaeger, and other observability tools. This will help you understand the performance of your application and identify any bottlenecks or issues causing the slowdown. It’s a comprehensive tool for observability, making it a suitable choice for this scenario.
upvoted 1 times
...
purushi
7 months, 3 weeks ago
Selected Answer: A
I go with A. Opentelelmetry standard supports tracing, metrics, logging. With tracing we can find out what is causing the performance issue. Zipkin is almost obsolete now.
upvoted 1 times
...
Google
8 months, 1 week ago
I should be A.
upvoted 2 times
...
alvinlxw
9 months, 1 week ago
Selected Answer: A
OpenTelemetry is a set of APIs, libraries, and agents that help you collect telemetry data (such as traces, metrics, and logs) from your applications. By instrumenting your application with OpenTelemetry, you can gather performance metrics, trace requests across different components, and identify potential bottlenecks or issues causing inconsistent performance.
upvoted 1 times
...
phil_thain
9 months, 2 weeks ago
Selected Answer: D
Managed Service for Prometheus collects metrics from Prometheus exporters and lets you query the data globally using PromQL, meaning that you can keep using any existing Grafana dashboards, PromQL-based alerts, and workflows. It is hybrid- and multi-cloud compatible, can monitor both Kubernetes and VM workloads, retains data for 24 months, and maintains portability by staying compatible with upstream Prometheus. https://cloud.google.com/stackdriver/docs/managed-prometheus
upvoted 1 times
...
DICI
11 months ago
It should be A. https://cloud.google.com/trace/docs/trace-app-latency
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