Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud DevOps Engineer All Questions

View all questions & answers for the Professional Cloud DevOps Engineer exam

Exam Professional Cloud DevOps Engineer topic 1 question 154 discussion

Actual exam question from Google's Professional Cloud DevOps Engineer
Question #: 154
Topic #: 1
[All Professional Cloud DevOps Engineer Questions]

As a Site Reliability Engineer, you support an application written in Go that runs on Google Kubernetes Engine (GKE) in production. After releasing a new version of the application, you notice the application runs for about 15 minutes and then restarts. You decide to add Cloud Profiler to your application and now notice that the heap usage grows constantly until the application restarts. What should you do?

  • A. Increase the CPU limit in the application deployment.
  • B. Add high memory compute nodes to the cluster.
  • C. Increase the memory limit in the application deployment.
  • D. Add Cloud Trace to the application, and redeploy.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
koo_kai
Highly Voted 1 year, 1 month ago
Selected Answer: C
insufficient memory
upvoted 5 times
...
PhilipKoku
Most Recent 4 months, 2 weeks ago
Selected Answer: D
D) I would add Cloud Trace to find the root cause of the heap usage growth. Adding more memory will only solve the issue temporarily, and you might now see a restart in 30 minutes.
upvoted 1 times
...
xhilmi
11 months, 3 weeks ago
Selected Answer: C
Given the scenario where the heap usage of the application grows constantly until it restarts, the issue is likely related to memory consumption. Therefore, the appropriate action to take is to address the memory-related problem. In this context, option C is the recommended. By increasing the memory limit in the application deployment configuration, you provide more memory resources to the application, potentially preventing it from exhausting its memory and triggering restarts. Options A and B may not directly address the underlying memory problem. Option D, adding Cloud Trace, is more focused on request tracing and may not directly resolve the memory growth issue. Therefore, increasing the memory limit is the most relevant step to take based on the symptoms described.
upvoted 1 times
...
nqthien041292
12 months ago
Selected Answer: C
Vote C
upvoted 1 times
...
pharao89
1 year ago
Selected Answer: C
That's what I do at work :-)
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...