
Answer-first summary for fast verification
Answer: Enable the Debugger agent and insert Logpoints.
Options A, B, and D are not suitable for injecting logging into a running application without causing interruptions. The correct approach is Option C, which involves enabling the Cloud Debugger agent to use Logpoints. Logpoints allow for the injection of logging into live services without the need for restarts or disruptions to normal operations. For more details, refer to the [Cloud Debugger documentation on Logpoints](https://cloud.google.com/debugger/docs/using/logpoints#logpoints).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are managing a globally accessible application on App Engine Standard in a production environment, where minimizing downtime is crucial. To troubleshoot the application's behavior by injecting logging without halting its operations, which of the following solutions should you consider?
A
Install the Logging agent and send logs to Cloud Logging.
B
Add the monitoring agent and send metrics to Cloud Monitoring.
C
Enable the Debugger agent and insert Logpoints.
D
No setup is needed.
No comments yet.