
Answer-first summary for fast verification
Answer: Install the collectd agent on the Compute Engine instance., Download the apache.conf, place it in the directory /etc/stackdriver/collectd.d/, and restart the monitoring agent.
To monitor custom metrics from the Apache application in the Google Cloud console, you need to install the monitoring (collectd) agent. Options C and A are correct because they involve the collectd agent, which is necessary for monitoring custom metrics. Options B, D, and E are incorrect as they either involve the logging agent (fluentd) or incorrect configurations for monitoring. For more details, refer to the Google Cloud documentation on monitoring agent plugins for Apache.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your team is managing a production Apache application on Google Compute Engine. Currently, you monitor default metrics like CPU utilization. However, there's a new requirement to monitor Apache-specific metrics directly in the Google Cloud console. What steps should you take? (Select two correct options.)
A
Download the apache.conf, place it in the directory /etc/stackdriver/collectd.d/, and restart the monitoring agent.
B
Install the logging agent on the Compute Engine instance.
C
Install the collectd agent on the Compute Engine instance.
D
Download the apache.conf, place it in the directory /etc/stackdriver/fluentd.d/, and restart the monitoring agent.
E
Install the fluentd agent on the Compute Engine instance.
No comments yet.