Jump to another module Ensuring the successful operation of a cloud solution (part 1 of 3) Ensuring the successful operation of a cloud solution (part 2 of 3) Ensuring the successful operation of a cloud solution (part 3 of 3) Setting up a cloud solution environment (part 1 of 2) Setting up a cloud solution environment (part 2 of 2) Planning and implementing a cloud solution (part 1 of 4) Planning and implementing a cloud solution (part 2 of 4) Planning and implementing a cloud solution (part 3 of 4) Planning and implementing a cloud solution (part 4 of 4) Configuring access and security (part 1 of 2) Configuring access and security (part 2 of 2) Retired questions (no longer on the exam) Question 6 of 31 All questionsYou 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 A.
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 B.
In Cloud Monitoring, use the metrics scope of your Google Cloud project. 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 C.
In Cloud Monitoring, use the metrics scope of your Google Cloud project. 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 D.
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.
Previous Check answer
A –D selectEnter check answerF flag← → move? all shortcuts