Ultimate access to all questions.
You are deploying your application to a Compute Engine virtual machine instance with the Stackdriver Monitoring Agent installed. Your application is a Unix process running on the instance. You want to receive an alert if the Unix process has not been running for at least 5 minutes. You cannot modify the application to emit custom metrics or logs.
Which alerting condition should you set up?
Explanation:
The correct answer is B. Process Health. The Stackdriver Monitoring Agent can monitor the health of processes running on a Compute Engine instance. By configuring a 'Process Health' alert, you can be notified if the specified Unix process stops running for a predefined period, such as 5 minutes. This approach does not require changes to the application to generate metrics or logs, as it leverages the agent's capability to monitor process states directly.