Topic 1 Question 132
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?
Navigate to Cloud Logging and view the application logs.
Connect to the instance's serial console and read the application logs.
Configure a Health Check on the instance and set a Low Healthy Threshold value.
Install and configure the Cloud Logging Agent and view the logs from Cloud Logging.
ユーザの投票
コメント(17)
Answer: D
App logs can't be visible to Cloud Logging until we install Cloud Logging Agent on GCE
👍 25hiteshrup2020/09/10Correct Answer is (D):
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 operation.
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.
👍 18ESP_SAP2020/08/21- 正解だと思う選択肢: B
Answer should be B, Read the question it clearly mentions that " The application writes logs to disk." What is the point of writing the log to disk if you don't want to use them. D does not makes sense since why Install and agent if you are already writing logs + the errors have already happened, How will the agent go back in time and give an error messages back ?
👍 5bobthebuilder551102022/08/03
シャッフルモード