
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.
Options A, D, and E are incorrect because Fluentd is used for logging, and the requirement is for monitoring custom metrics. To monitor custom metrics, you need to install the monitoring (collectd) agent. Options B and C are correct as they involve the correct setup for monitoring Apache metrics with the collectd agent. 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 running a production Apache application on Google Compute Engine. Currently, you monitor default metrics like CPU utilization. There's a new requirement to monitor Apache application metrics in the Google Cloud console. What steps should you take? (Choose 2).
A
Install the Fluentd agent on the Compute Engine instance.
B
Download the apache.conf, place it in the directory /etc/stackdriver/collectd.d/, and restart the monitoring agent.
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 logging agent on the Compute Engine instance.
No comments yet.