
Answer-first summary for fast verification
Answer: Install the collectd agent on the Compute Engine instance to enable custom metrics monitoring., Download the apache.conf file, place it in `/etc/stackdriver/collectd.d/`, and restart the monitoring agent for Apache metrics.
To monitor custom metrics from the Apache application, installing the collectd agent is necessary, as fluentd is used for logging, not metrics. Placing the apache.conf in the correct directory and restarting the agent enables Apache-specific monitoring. Options C, D, and E do not meet the requirement for monitoring custom metrics. Reference: [Google Cloud Monitoring Agent Plugins for Apache](https://cloud.google.com/monitoring/agent/plugins/apache).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your team is managing a production Apache application on Google Compute Engine, monitoring default metrics like CPU utilization. A new requirement has emerged to monitor Apache-specific metrics directly in the Google Cloud console. What steps should you take? (Select two correct options).
A
Install the collectd agent on the Compute Engine instance to enable custom metrics monitoring.
B
Download the apache.conf file, place it in /etc/stackdriver/collectd.d/, and restart the monitoring agent for Apache metrics.
C
Install the fluentd agent on the Compute Engine instance for logging purposes.
D
Download the apache.conf file, place it in /etc/stackdriver/fluentd.d/, and restart the monitoring agent, though this is not suitable for metrics.
E
Take no action, as default metrics are sufficient for all monitoring needs.
No comments yet.