nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #288

You have deployed an application on a single Compute Engine instance. The application writes logs to disk. Users start reporting errors with the application. You want to diagnose the problem. What sho

The correct answer is D. Install and configure the Ops agent and view the logs from Cloud Logging.. https://cloud.google.com/logging/docs/agent/ops-agent https://cloud.google.com/logging/docs/agent/ops-agent/configuration

Submitted by omar99· Mar 30, 2026Ensuring successful operation of a cloud solution

Question

You have deployed an application on a single Compute Engine instance. The application writes logs to disk. Users start reporting errors with the application. You want to diagnose the problem. What should you do?

Options

  • ANavigate to Cloud Logging and view the application logs.
  • BConfigure a health check on the instance and set a 揷onsecutive successes?Healthy threshold
  • CConnect to the instance's serial console and read the application logs.
  • DInstall and configure the Ops agent and view the logs from Cloud Logging.

How the community answered

(33 responses)
  • A
    6% (2)
  • C
    3% (1)
  • D
    91% (30)

Explanation

https://cloud.google.com/logging/docs/agent/ops-agent https://cloud.google.com/logging/docs/agent/ops-agent/configuration

Topics

#Ops Agent#Cloud Logging#Compute Engine#troubleshooting

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice