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

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

You are developing an online gaming platform as a microservices application on Google Kubernetes Engine (GKE). Users on social media are complaining about long loading times for certain URL requests to the application. You need to investigate performance bottlenecks in the application and identify which HTTP requests have a significantly high latency span in user requests. What should you do?

  • A. Configure GKE workload metrics using kubectl. Select all Pods to send their metrics to Cloud Monitoring. Create a custom dashboard of application metrics in Cloud Monitoring to determine performance bottlenecks of your GKE cluster.
  • B. Update your microservices to log HTTP request methods and URL paths to STDOUT. Use the logs router to send container logs to Cloud Logging. Create filters in Cloud Logging to evaluate the latency of user requests across different methods and URL paths.
  • C. Instrument your microservices by installing the OpenTelemetry tracing package. Update your application code to send traces to Trace for inspection and analysis. Create an analysis report on Trace to analyze user requests.
  • D. Install tcpdump on your GKE nodes. Run tcpdump to capture network traffic over an extended period of time to collect data. Analyze the data files using Wireshark to determine the cause of high latency.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
drewtest1234
2 months, 2 weeks ago
Selected Answer: C
Cloud Trace is built for latency analysis.
upvoted 1 times
...
alpha_canary
7 months ago
Selected Answer: C
https://cloud.google.com/trace/docs/setup/python-ot
upvoted 1 times
...
__rajan__
1 year, 1 month ago
Selected Answer: C
This approach allows you to update your application code to send traces to Trace for inspection and analysis. You can then create an analysis report on Trace to analyze user requests. This will help you identify which HTTP requests have a significantly high latency span in user requests, which seems to be the main concern according to the complaints from users on social media.
upvoted 1 times
...
purushi
1 year, 3 months ago
Selected Answer: C
There is no best fit other than C here.
upvoted 1 times
...
Writer
1 year, 6 months ago
Selected Answer: C
This is the best way to investigate performance bottlenecks in a microservices application. By using OpenTelemetry, you can collect traces from all of your microservices and analyze them in Trace. This will allow you to identify which requests are taking the longest and where the bottlenecks are occurring.
upvoted 3 times
...
Pime13
1 year, 8 months ago
took my exam yesterday (01-03-2023) and this question was there
upvoted 2 times
...
Pime13
1 year, 8 months ago
Selected Answer: C
correcting my choice
upvoted 1 times
...
Pime13
1 year, 8 months ago
Selected Answer: A
question clearly says: performance botlenecks and which step is having latency ---> Cloud Trace https://cloud.google.com/trace/docs/overview
upvoted 1 times
Pime13
1 year, 8 months ago
i selected the wrong, it's C
upvoted 1 times
...
...
TNT87
1 year, 9 months ago
Selected Answer: C
https://cloud.google.com/trace/docs/setup#when-to-instrument
upvoted 1 times
...
mrvergara
1 year, 9 months ago
Selected Answer: C
Instrumenting your microservices with the OpenTelemetry tracing package, updating your application code to send traces to Trace for inspection and analysis, and creating an analysis report on Trace would be the recommended solution for investigating performance bottlenecks in the application and identifying HTTP requests with high latency. This would allow you to visualize and analyze the complete request-response cycle and identify specific parts of the application that might be contributing to long loading times.
upvoted 1 times
...
TNT87
1 year, 9 months ago
Selected Answer: A
https://cloud.google.com/stackdriver/docs/solutions/gke/workload-metrics
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago