Exam4Training

What is the first thing you should do?

You are running an application in a virtual machine (VM) using a custom Debian image. The image has the Stackdriver Logging agent installed. The VM has the cloud-platform scope. The application is logging information via syslog. You want to use Stackdriver Logging in the Google Cloud Platform Console to visualize the logs. You notice that syslog is not showing up in the "All logs" dropdown list of the Logs Viewer .

What is the first thing you should do?
A . Look for the agent’s test log entry in the Logs Viewer.
B . Install the most recent version of the Stackdriver agent.
C . Verify the VM service account access scope includes the monitoring.write scope.
D . SSH to the VM and execute the following commands on your VM: ps ax I grep fluentd

Answer: D

Explanation:

https://cloud.google.com/compute/docs/access/service-accounts#associating_a_service_account_to_an_instance

Exit mobile version