nerdexam
Google

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #121

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 require

Sign in or unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER to reveal the answer and full explanation for question #121. The question stem and answer options stay visible for context.

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

Unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER to see the answer

You've previewed enough free PROFESSIONAL-CLOUD-DEVOPS-ENGINEER questions. Unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#GKE Logging#Fluentd#Custom Log Collection#Kubernetes DaemonSet
Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice