Google Cloud Professional Cloud DevOps Engineer — Question 191

Your team is preparing to launch a new API in Cloud Run. The API uses an OpenTelemetry agent to send distributed tracing data to Cloud Trace to monitor the time each request takes. The team has noticed inconsistent trace collection. You need to resolve the issue. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because configuring the CPU to be always-allocated ensures that the API has sufficient resources available at all times, which can help with consistent trace data collection. Options A, C, and D do not directly address the resource availability issue that is likely causing the inconsistent tracing, making them less effective solutions.