
Answer-first summary for fast verification
Answer: Install Stackdriver Logging Agent. Review the application logs from the Compute Engine VM Instance syslog logs in Stackdriver
The correct approach involves installing the Stackdriver Logging Agent to facilitate the flow of logs to Stackdriver. Once installed, you can review the application logs from the Compute Engine VM Instance syslog logs in Stackdriver. It's important to note that during compute deployment, you have the option to install these agents at creation time, which simplifies the process. For more details, refer to [Google Cloud's documentation on activity logs](https://cloud.google.com/compute/docs/activity-logs).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You're managing containers on Google Kubernetes Engine (GKE) and wish to monitor the nodes hosting your containers. Your application logs are directed to stdout, starting as a system service on GKE. Without modifying the application, how can you ensure these logs are sent to Stackdriver? (Select One)
A
Delete the application logs from the Compute Engine VM Instance activity logs in Stackdriver
B
Install Stackdriver Logging Agent. Review the application logs from the Compute Engine VM Instance syslog logs in Stackdriver
C
Instance activity logs in Stackdriver.
D
Review the application logs from the Compute Engine VM Instance activity logs in Stackdriver
E
Install Stackdriver Logging Agent. Review the application logs from the Compute Engine VM Instance system event logs in Stackdriver