
Answer-first summary for fast verification
Answer: Install the necessary configuration files for JVM on the Compute Engine instance., On the GCE instance, install the Cloud Monitoring Agent.
Options B and D are incorrect because they pertain to enabling monitoring on GKE, not Compute Engine. Option E is incorrect as it is used for installing the logging agent, not for capturing JVM metrics. The correct actions are installing the necessary JVM configuration files (Option A) and the Cloud Monitoring Agent (Option C) on the Compute Engine instance to capture application-level metrics. Reference: https://cloud.google.com/monitoring/agent/plugins/jvm
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
When deploying a JVM application on Compute Engine, you 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 on the Compute Engine instance.
B
Enable Cloud Operations for Compute Engine in the Features section.
C
On the GCE instance, install the Cloud Monitoring Agent.
D
Select 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.