nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #121

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Question #121: Real Exam Question with Answer & Explanation

The correct answer is B: Deploy a Fluentd daemonset to GKE. Then create a customized input and output configuration to. https://cloud.google.com/stackdriver/docs/solutions/gke/managing-logs#custom_agents GKE's default logging agent provides a managed solution to deploy and manage the agents that send the logs for your clusters to Cloud Logging. Depending on your GKE cluster master version, either

Submitted by ashley.k· Apr 18, 2026Implementing service monitoring strategies

Question

You have a set of applications running on a Google Kubernetes Engine (GKE) cluster, and you are using Stackdriver Kubernetes Engine Monitoring. You are bringing a new containerized application required by your company into production. This application is written by a third party and cannot be modified or reconfigured. The application writes its log information to /var/log/app_messages.log, and you want to send these log entries to Stackdriver Logging. What should you do?

Options

  • AUse the default Stackdriver Kubernetes Engine Monitoring agent configuration.
  • BDeploy a Fluentd daemonset to GKE. Then create a customized input and output configuration to
  • CInstall Kubernetes on Google Compute Engine (GCE) and redeploy your applications. Then
  • DWrite a script to tail the log file within the pod and write entries to standard output. Run the script

Explanation

https://cloud.google.com/stackdriver/docs/solutions/gke/managing-logs#custom_agents GKE's default logging agent provides a managed solution to deploy and manage the agents that send the logs for your clusters to Cloud Logging. Depending on your GKE cluster master version, either fluentd or fluentbit are used to collect logs. Common use cases include: - collecting additional logs not written to STDOUT or STDERR - customized log formatting

Topics

#GKE Logging#Fluentd#Custom Log Collection#Kubernetes DaemonSet

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER PracticeBrowse All PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Questions