nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #208

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Question #208: Real Exam Question with Answer & Explanation

The correct answer is B: Configure CPU to be always-allocated.. By default, Cloud Run allocates CPU only during request processing, which means that background tasks such as exporting OpenTelemetry traces may not complete properly. Configuring CPU to be always-allocated ensures that the OpenTelemetry agent has the necessary processing time to

Submitted by klara.se· Apr 18, 2026Implementing service monitoring strategies

Question

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?

Options

  • AUse an HTTP health check.
  • BConfigure CPU to be always-allocated.
  • CIncrease the CPU limit in Cloud Run from 2 to 4.
  • DConfigure CPU to be allocated only during request processing.

Explanation

By default, Cloud Run allocates CPU only during request processing, which means that background tasks such as exporting OpenTelemetry traces may not complete properly. Configuring CPU to be always-allocated ensures that the OpenTelemetry agent has the necessary processing time to consistently send trace data to Cloud Trace, preventing missing or inconsistent traces. This setting is crucial for services that rely on background processes to function correctly.

Topics

#Cloud Run CPU#Distributed Tracing#OpenTelemetry#Monitoring Configuration

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER PracticeBrowse All PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Questions