
Answer-first summary for fast verification
Answer: On the GCE instance, install the Cloud Monitoring Agent.
The correct answer is to install the Cloud Monitoring Agent on the GCE instance to capture application-level metrics. Other options are incorrect because: enabling Cloud Operations is not specific to JVM metrics; installing JVM configuration files does not enable monitoring; the logging and monitoring option in Cluster Features is for GKE, not Compute Engine; and the catch-all configuration is not a recognized method for capturing JVM metrics. Refer to the Standalone JVM Monitoring plugin for more details.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are deploying a JVM on a Compute Engine instance and need to monitor the peak number of live threads. Which option will help you achieve this?
A
Enable Cloud Operations for Compute Engine in the Features.
B
Install the necessary configuration files for JVM.
C
On the GCE instance, install the Cloud Monitoring Agent.
D
Choose the System and workload logging and monitoring option in the Cluster Features.
E
Install the catch-all configuration to automatically capture the JVM metrics.
No comments yet.