exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 123 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 123
Topic #: 1
[All Associate Cloud Engineer Questions]

You have a Compute Engine instance hosting a production application. You want to receive an email if the instance consumes more than 90% of its CPU resources for more than 15 minutes. You want to use Google services. What should you do?

  • A. 1. Create a consumer Gmail account. 2. Write a script that monitors the CPU usage. 3. When the CPU usage exceeds the threshold, have that script send an email using the Gmail account and smtp.gmail.com on port 25 as SMTP server.
  • B. 1. Create a Cloud Monitoring Workspace and associate your Google Cloud Platform (GCP) project with it. 2. Create a Cloud Monitoring Alerting Policy that uses the threshold as a trigger condition. 3. Configure your email address in the notification channel.
  • C. 1. Create a Cloud Monitoring Workspace and associate your GCP project with it. 2. Write a script that monitors the CPU usage and sends it as a custom metric to Cloud Monitoring. 3. Create an uptime check for the instance in Cloud Monitoring.
  • D. 1. In Cloud Logging, create a logs-based metric to extract the CPU usage by using this regular expression: CPU Usage: ([0-9] {1,3})% 2. In Cloud Monitoring, create an Alerting Policy based on this metric. 3. Configure your email address in the notification channel.
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
Bobbybash
Highly Voted 1 year, 6 months ago
Selected Answer: B
B By setting up a Cloud Monitoring Alerting Policy and configuring the notification channel to an email address, you can receive email alerts when the CPU usage exceeds the threshold that you set. This can be done by using Google Cloud's built-in monitoring and alerting features, which can be more reliable and easier to manage than setting up a custom script or using external email services.
upvoted 5 times
...
ccpmad
Most Recent 3 months, 1 week ago
now, 2024, I think is not necessary to create workspace in monitoring...
upvoted 3 times
ccpmad
3 months, 1 week ago
Cloud Monitoring metric scope is now
upvoted 1 times
...
...
dgmon174
7 months, 3 weeks ago
What is up with blatantly wrong options being marked as the "correct answer"??
upvoted 2 times
...
cooldude26
10 months ago
Selected Answer: B
The most appropriate and efficient method to set up an alert for high CPU usage on a Google Compute Engine instance using Google's services would be: B. 1. Create a Cloud Monitoring Workspace and associate your Google Cloud Platform (GCP) project with it. 2. Create a Cloud Monitoring Alerting Policy that uses the threshold as a trigger condition. 3. Configure your email address in the notification channel. This option utilizes Google Cloud's built-in Cloud Monitoring service to track the CPU usage and send alerts based on predefined conditions without the need for scripting or managing an email server.
upvoted 3 times
...
LDAP_Anand
1 year, 7 months ago
D. 1. In Cloud Logging, create a logs-based metric to extract the CPU usage by using this regular expression: CPU Usage: ([0-9] {1,3})% 2. In Cloud Monitoring, create an Alerting Policy based on this metric. 3. Configure your email address in the notification channel.
upvoted 1 times
...
u422628
1 year, 8 months ago
Selected Answer: B
Agree, B works
upvoted 2 times
...
fragment137
1 year, 9 months ago
Selected Answer: B
Agree it's B if we're talking about StackDriver.
upvoted 1 times
...
anolive
1 year, 10 months ago
Selected Answer: B
is correct
upvoted 1 times
...
ale_brd_111
1 year, 11 months ago
Selected Answer: B
answer is B, but I would write it this way as stackdriver is deprecated and Operation Suite uses scopes now. 1. Create a Cloud Monitoring metric scope and associate your Google Cloud Platform (GCP) project with it. 2. Create a Cloud Monitoring Alerting Policy that uses the threshold as a trigger condition. 3. Configure your email address in the notification channel.
upvoted 3 times
...
Akso
2 years ago
Selected Answer: B
The dump has been changed some days ago. This answer was the old and best version: 1. Create a Stackdriver Workspace, and associate your Google Cloud Platform (GCP) project with it. 2. Create an Alerting Policy in Stackdriver that uses the threshold as a trigger condition. 3. Configure your email address in the notification channel.
upvoted 4 times
thimai
1 year, 11 months ago
And the answer is still the same?
upvoted 1 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