ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 161 - Professional Cloud DevOps Engineer discussion

Report
Export

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 2 answers

A.
Examine the wall-clock time and the CPU time Of the application. If the difference is substantial, increase the CPU resource allocation.
Answers
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.
Answers
B.
Examine the wall-clock time and the CPU time of the application. If the difference is substantial, increase the memory resource allocation.
C.
17 Examine the wall-clock time and the CPU time of the application. If the difference is substantial, increase the local disk storage allocation.
Answers
C.
17 Examine the wall-clock time and the CPU time of the application. If the difference is substantial, increase the local disk storage allocation.
D.
O 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.
Answers
D.
O 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.
Answers
E.
Examine the heap usage Of the application. If the usage is low, mark the application for optimization.
Suggested answer: A, D

Explanation:

The correct answers are A and D.

Examine the wall-clock time and the CPU time of the application. If the difference is substantial, increase the CPU resource allocation. This is a good way to determine if the application is CPU-bound, meaning that it spends more time waiting for the CPU than performing actual computation. Increasing the CPU resource allocation can improve the performance of CPU-bound applications1.

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. This is a good way to determine if the application is I/O-bound, meaning that it spends more time waiting for input/output operations than performing actual computation. Increasing the CPU resource allocation will not help I/O-bound applications, and they may need optimization to reduce the number or duration of I/O operations2.

Answer B is incorrect because increasing the memory resource allocation will not help if the application is CPU-bound or I/O-bound. Memory allocation affects how much data the application can store and access in memory, but it does not affect how fast the application can process that data.

Answer C is incorrect because increasing the local disk storage allocation will not help if the application is CPU-bound or I/O-bound. Disk storage affects how much data the application can store and access on disk, but it does not affect how fast the application can process that data.

Answer E is incorrect because examining the heap usage of the application will not help to determine if the application needs performance tuning. Heap usage affects how much memory the application allocates for dynamic objects, but it does not affect how fast the application can process those objects. Moreover, low heap usage does not necessarily mean that the application is inefficient or unoptimized.

asked 18/09/2024
Michael Bodine
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first