Google Associate Cloud Engineer Question 46
Select 3Google Cloud PlatformYou are an Associate Cloud Engineer at a company using Google Cloud Platform. Your manager has asked you to set up a billing budget for your project to ensure that spending does not exceed $5000 per month. Additionally, they want to receive an alert when spending reaches 80% and 100% of the budget. Which steps should you take to accomplish this task?
- A
Navigate to the Billing section in the Google Cloud Console and create a budget for your project with a threshold set at 80% and 100%.
- B
Set up a Cloud Function that triggers an alert when spending reaches 80% and 100% of the budget.
- C
Use the Google Cloud Console to set up notifications to be sent to the manager's email when the 80% and 100% thresholds are reached.
- D
Configure Stackdriver Monitoring to track spending and send alerts when it reaches the specified thresholds.
- E
Enable Pub/Sub notifications in the budget settings to send alerts when the budget reaches 80% and 100%.
Show answer and explanation
Correct answers: A, C, E
Explanation
To establish billing budgets and alerts on Google Cloud Platform, you should use the Billing section in the Cloud Console to create a budget and define thresholds for alerts. Notifications can be configured to inform stakeholders when these thresholds are reached. Using Pub/Sub can further automate and extend the alerting capabilities by integrating with other services.
- A. Correct.
Creating a budget in the Billing section allows you to set specific thresholds for alerts, such as 80% and 100%. This is the correct method to set up budget alerts in Google Cloud Platform.
- B. Incorrect.
While Cloud Functions can be used for various automation tasks, they are not required or typically used for setting up billing alerts.
- C. Correct.
The Google Cloud Console allows you to configure notifications to be sent to specific email addresses when budget thresholds are reached, making this a suitable option.
- D. Incorrect.
Stackdriver Monitoring is used for monitoring applications and services, not specifically for billing alerts.
- E. Correct.
Enabling Pub/Sub notifications in budget settings is a method to automate alert notifications, making it a correct option.