nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #177

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 Cloud Logging Agent and view the logs from Cloud Logging.. In its default configuration, the Logging agent streams logs from common third-party applications and system software to Logging; review the list of default logs. You can configure the agent to stream additional logs; go to Configuring the Logging agent for details on agent confi

Submitted by skyler.x· 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.
  • BConnect to the instance's serial console and read the application logs.
  • CConfigure a Health Check on the instance and set a Low Healthy Threshold value.
  • DInstall and configure the Cloud Logging Agent and view the logs from Cloud Logging.

How the community answered

(45 responses)
  • A
    7% (3)
  • B
    11% (5)
  • C
    2% (1)
  • D
    80% (36)

Explanation

In its default configuration, the Logging agent streams logs from common third-party applications and system software to Logging; review the list of default logs. You can configure the agent to stream additional logs; go to Configuring the Logging agent for details on agent configuration and It is a best practice to run the Logging agent on all your VM instances. The agent runs under both Linux and Windows. To install the Logging agent, go to Installing the agent. https://cloud.google.com/logging/docs/agent

Topics

#Cloud Logging Agent#log collection#application diagnostics#Compute Engine logs

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice