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

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 54 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 54
Topic #: 1
[All Professional Cloud Developer Questions]

You want to view the memory usage of your application deployed on Compute Engine.
What should you do?

  • A. Install the Stackdriver Client Library.
  • B. Install the Stackdriver Monitoring Agent.
  • C. Use the Stackdriver Metrics Explorer.
  • D. Use the Google Cloud Platform Console.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
StelSen
Highly Voted 3 years, 9 months ago
Option-B is correct. https://cloud.google.com/monitoring/api/metrics_agent#agent-memory (By default Memory metrics is not collected). To double confirm. Just goto Console->Operations->Monitoring->Dashboards->VM Instances->Memory Tab (Assume you have VM running already). You will see a info message saying that No agents detected. Monitoring agents collect memory metrics, disk metrics, and more. Learn more about agents and how to manage them across multiple VMs.
upvoted 16 times
Ram02
3 years, 2 months ago
Correct, see following link for more detail https://stackoverflow.com/questions/43991246/google-cloud-platform-how-to-monitor-memory-usage-of-vm-instances
upvoted 3 times
...
...
dxxdd7
Highly Voted 3 years, 10 months ago
For me B si the correct answer as you can not read memory usage directly from stackdriver without the monitoring agent
upvoted 8 times
...
thewalker
Most Recent 4 months, 1 week ago
Selected Answer: C
The best answer here is C. Use the Stackdriver Metrics Explorer. Here's why: Stackdriver Metrics Explorer: The Stackdriver Metrics Explorer is a powerful tool for visualizing and analyzing metrics collected from your Google Cloud resources. It allows you to view various metrics, including memory usage, over time. You can filter and group metrics based on different criteria, making it easy to identify trends and potential issues.
upvoted 1 times
thewalker
4 months, 1 week ago
Let's look at why the other options are less suitable: A. Install the Stackdriver Client Library: The Stackdriver Client Library is used for programmatically interacting with Stackdriver from your application code. While it can be used to collect and send metrics, it's not the primary tool for viewing memory usage. B. Install the Stackdriver Monitoring Agent: The Stackdriver Monitoring Agent is responsible for collecting metrics from your Compute Engine instances. It's a necessary component for monitoring, but it doesn't provide a user interface for viewing metrics. D. Use the Google Cloud Platform Console: The Google Cloud Platform Console provides a general overview of your resources, but it doesn't offer the same level of detail and flexibility as the Stackdriver Metrics Explorer for viewing memory usage.
upvoted 1 times
...
...
santoshchauhan
8 months, 3 weeks ago
Selected Answer: B
B. Install the Stackdriver Monitoring Agent. The Stackdriver Monitoring Agent allows you to collect more system-level and third-party application metrics than what is provided by default with Google Cloud's operations suite. By installing the agent on your Compute Engine instances, you can collect detailed memory usage metrics, which can then be viewed in the Google Cloud Console or through the Metrics Explorer in Google Cloud's operations suite (formerly Stackdriver).
upvoted 1 times
...
__rajan__
1 year, 2 months ago
Selected Answer: B
I would go with B.
upvoted 1 times
...
tomato123
2 years, 3 months ago
Selected Answer: B
B is correct
upvoted 3 times
...
nqthien041292
2 years, 7 months ago
Selected Answer: B
Vote B
upvoted 1 times
...
syu31svc
3 years, 4 months ago
https://cloud.google.com/monitoring/agent B is correct
upvoted 3 times
...
dwbi_shrikant
3 years, 8 months ago
Option: D
upvoted 1 times
...
elan1302
3 years, 9 months ago
I think option B and C are correct answer - you need to install stack driver manager on VM to push logs into stack driver and then you can use stack driver metrics to view the metrics.
upvoted 3 times
...
saurabh1805
4 years ago
C is correct answer.
upvoted 5 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 ...