Google Cloud Professional Cloud DevOps Engineer — Question 140
You are analyzing Java applications in production. All applications have Cloud Profiler and Cloud Trace installed and configured by default. You want to determine which applications need performance tuning. What should you do? (Choose two.)
Answer options
- A. Examine the wall-clock time and the CPU time of the application. If the difference is substantial increase the CPU resource allocation.
- B. Examine the wall-clock time and the CPU time of the application. If the difference is substantial, increase the memory resource allocation.
- C. Examine the wall-clock time and the CPU time of the application. If the difference is substantial, increase the local disk storage allocation.
- D. Examine the latency time the wall-clock time and the CPU time of the application. If the latency time is slowly burning down the error budget, and the difference between wall-clock time and CPU time is minimal mark the application for optimization.
- E. Examine the heap usage of the application. If the usage is low, mark the application for optimization.
Correct answer: D, E
Explanation
Option D is correct because it considers the latency time and its impact on the overall performance, indicating if optimization is needed. Option E is also correct since low heap usage can suggest that there may be room for optimization. The other options focus on resource allocation without directly addressing performance tuning needs.