
Answer-first summary for fast verification
Answer: Install the collected agent on the Compute Engine instance.
The correct action is to install the monitoring (collectd) agent to monitor custom metrics. Fluentd is used for logging, not for monitoring custom metrics. Therefore, installing the collectd agent is necessary for this scenario. Reference: plugins/apache.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your team operates a production Apache application on Google Compute Engine, monitoring default metrics like CPU utilization. A new requirement arises to monitor Apache-specific metrics in the Google Cloud console. What is the best course of action?
A
Install the Fluentd agent on the Compute Engine instance.
B
Download the apache.conf, place it in the directory /etc/stackdriver/fluentd.d/, and restart the monitoring agent.
C
Install the collected agent on the Compute Engine instance.
D
Install the logging agent on the Compute Engine instance.
E
Download the apache.conf, place it in the directory /etc/stackdriver/collectd.d/, and restart the monitoring agent.