Module 4: Investigating Application Performance Issues

Looking for ‘Observability in Google Cloud Module 4 Answers’?

In this post, I provide complete, accurate, and detailed explanations for the answers to Module 4: Investigating Application Performance Issues of Course 13: Observability in Google CloudPreparing for Google Cloud Certification: Cloud Security Engineer Professional Certificate.

Whether you’re preparing for quizzes or brushing up on your knowledge, these insights will help you master the concepts effectively. Let’s dive into the correct answers and detailed explanations for each question!

Quiz - Investigating Application Performance Issues

Graded Assignment

1. You have an SLO that states that 90% of your http requests need to respond in less than 100 ms. You want a report that compares latency for your last two versions. What tool would you use to most easily create this report?

  • Error Reporting
  • Logging
  • Trace ✅
  • Profiler

Explanation:
Cloud Trace helps you analyze request latency and compare performance between different versions of a service. It’s ideal for examining response times to ensure SLOs are met.

2. You deployed a new version of a service and all of a sudden significantly more instances are being created in your Kubernetes cluster. Your service scales when average CPU utilization is greater than 70%. What tool can help you investigate the problem?

  • Trace
  • Profiler
  • Logging ✅
  • Error Reporting

Explanation:
While Profiler helps identify inefficient code, Logs from Cloud Logging give you real-time insights into application behavior, CPU usage patterns, and Kubernetes scaling triggers. You can check the logs for sudden spikes, errors, or resource pressure that led to autoscaling.

So even though Profiler is useful, Cloud Logging is more direct for this scenario because it shows what triggered the scale-up.

3. Which profile signifies the amount of memory allocated in the heap of the program?

  • Heap ✅
  • Allocated heap
  • Wall time
  • CPU time

Explanation:
In the context of Cloud Profiler, the profile type that shows memory allocated and retained in the heap is simply called “Heap”.

  • “Allocated heap” is not the correct profile name in Profiler (even if it sounds technically valid).
  • “Heap” in Profiler shows current memory usage in the heap, which is what you need for analyzing memory behavior.

Leave a Reply