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 113 discussion

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

You are running a web application deployed to a Compute Engine managed instance group. Ops Agent is installed on all instances. You recently noticed suspicious activity from a specific IP address. You need to configure Cloud Monitoring to view the number of requests from that specific IP address with minimal operational overhead. What should you do?

  • A. Configure the Ops Agent with a logging receiver. Create a logs-based metric.
    B Create a script to scrape the web server log. Export the IP address request metrics to the Cloud Monitoring API.
  • C. Update the application to export the IP address request metrics to the Cloud Monitoring API.
  • D. Configure the Ops Agent with a metrics receiver.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
xhilmi
Highly Voted 10 months, 4 weeks ago
Selected Answer: A
To efficiently monitor the number of requests from a specific IP address in a web application deployed to a Compute Engine managed instance group with Ops Agent installed, the recommended approach is to configure the Ops Agent with a logging receiver and create a logs-based metric, as outlined in (Option A). By configuring the Ops Agent with a logging receiver, it can collect and forward relevant log data to Cloud Monitoring. Subsequently, creating a logs-based metric allows you to define a metric based on the extracted information from the logs, specifically focusing on the number of requests from the suspicious IP address. This setup minimizes operational overhead by leveraging existing infrastructure and provides a streamlined way to monitor and analyze the targeted metric related to the suspicious activity, aiding in swift detection and response to potential security issues.
upvoted 8 times
LaxmanTiwari
10 months, 2 weeks ago
perfect explanation
upvoted 1 times
SahandJ
4 months, 4 weeks ago
Seems like it's written by Gemini honestly
upvoted 1 times
...
...
...
R00tsr0ck
Most Recent 6 months, 4 weeks ago
Selected Answer: A
a log based metric is nescessary
upvoted 1 times
...
LaxmanTiwari
10 months, 2 weeks ago
Selected Answer: A
https://cloud.google.com/monitoring/agent/ops-agent/configuration#logging-receivers fluent_forward section
upvoted 3 times
...
Raz0r
10 months, 2 weeks ago
Selected Answer: A
Exactly what user xhilmi said.
upvoted 2 times
...
pharao89
11 months, 2 weeks ago
Selected Answer: A
As the question asks "to view the number of requests," I would go with A since there is a crucial thing: "Create a logs-based metric".
upvoted 3 times
...
khoukha
11 months, 3 weeks ago
Selected Answer: A
https://cloud.google.com/monitoring/agent/ops-agent/configuration#logging-receivers fluent_forward section
upvoted 1 times
...
YushiSato
12 months ago
Selected Answer: A
メトリクスレシーバーでは、hostmetricsしか選択することができない。これにはIPアドレスはふくまれていない。よってDは候補から外れる。私はAを選択する。 https://cloud.google.com/monitoring/agent/ops-agent/configuration
upvoted 2 times
YushiSato
12 months ago
In the metrics receiver, only hostmetrics can be selected. This does not include IP addresses. Therefore, D is not a candidate. I choose A. https://cloud.google.com/monitoring/agent/ops-agent/configuration
upvoted 4 times
mshafa
11 months, 3 weeks ago
Thnanks for sharing the link, The answer is A.
upvoted 1 times
...
...
...
mshafa
12 months ago
D is answer.
upvoted 1 times
...
Jason_Cloud_at
1 year ago
Selected Answer: D
Option D looks good for me
upvoted 2 times
...
ManishKS
1 year ago
Answer Should be D ,to view the number of requests from a specific IP address with minimal operational overhead, you can configure the Ops Agent with a metrics receiver and use logs-based metrics
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago