Topic 1 Question 206
You recently deployed a Go application on Google Kubernetes Engine (GKE). The operations team has noticed that the application's CPU usage is high even when there is low production traffic. The operations team has asked you to optimize your application's CPU resource consumption. You want to determine which Go functions consume the largest amount of CPU. What should you do?
Deploy a Fluent Bit daemonset on the GKE cluster to log data in Cloud Logging. Analyze the logs to get insights into your application code’s performance.
Create a custom dashboard in Cloud Monitoring to evaluate the CPU performance metrics of your application.
Connect to your GKE nodes using SSH. Run the top command on the shell to extract the CPU utilization of your application.
Modify your Go application to capture profiling data. Analyze the CPU metrics of your application in flame graphs in Profiler.
ユーザの投票
コメント(5)
- 正解だと思う選択肢: D
D is correct https://cloud.google.com/profiler/docs
👍 1melisargh2022/12/03 - 正解だと思う選択肢: D
D is the answer.
https://cloud.google.com/profiler/docs/about-profiler Cloud Profiler is a statistical, low-overhead profiler that continuously gathers CPU usage and memory-allocation information from your production applications. It attributes that information to the source code that generated it, helping you identify the parts of your application that are consuming the most resources, and otherwise illuminating your applications performance characteristics.
👍 1zellck2022/12/12 - 正解だと思う選択肢: D
option D
👍 1sharath252022/12/13
シャッフルモード