
Answer-first summary for fast verification
Answer: On the GCE instance, install the Cloud Monitoring Agent., Install the necessary configuration files for JVM.
Options B and A are correct because installing the Cloud Monitoring Agent and the necessary JVM configuration files are required to capture application-level metrics on Compute Engine. Options C and D are incorrect as they pertain to enabling monitoring on GKE, not Compute Engine. Option E is incorrect because it's used for installing the logging agent, not for capturing JVM metrics. Reference: [Google Cloud Monitoring Agent for JVM](https://cloud.google.com/monitoring/agent/plugins/jvm).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are deploying a JVM application using Compute Engine and need to monitor the peak number of live threads in the instance. Which two actions should you take to achieve this?
A
Install the necessary configuration files for JVM.
B
On the GCE instance, install the Cloud Monitoring Agent.
C
Enable Cloud Operations for Compute Engine in the Features.
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.