
Answer-first summary for fast verification
Answer: Configure Stackdriver Logging Agent. Review the application logs from the Compute Engine VM Instance syslog logs in Stackdriver.
To monitor the nodes deployed by GKE for your containers without changing the application, you should configure the Stackdriver Logging Agent. This allows you to review the application logs from the Compute Engine VM Instance syslog logs in Stackdriver. This approach leverages the existing stdout output of your application without requiring any modifications to the application itself. For more details, refer to the Google Cloud documentation on activity logs: https://cloud.google.com/compute/docs/activity-logs.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are running your containers on Google Kubernetes Engine (GKE) and wish to monitor the nodes deployed by GKE for your containers. Your application sends log information to stdout as it starts as a system service on GKE. Without modifying the application, how can you ensure these logs are sent to Stackdriver?
A
Delete the application logs from the Compute Engine VM Instance activity logs in Stackdriver.
B
Review the application logs from the Compute Engine VM Instance activity logs in Stackdriver.
C
Configure Stackdriver Logging Agent. Review the application logs from the Compute Engine VM Instance syslog logs in Stackdriver.
D
Instance activity logs in Stackdriver.
No comments yet.