
Ultimate access to all questions.
Your company regularly hosts and shares large files via an Apache web server, which is deployed on a Compute Engine instance. This setup is part of a larger Google Cloud project that includes multiple applications. To effectively monitor costs, you need a notification system that will send you an email alert whenever the egress network costs for the Apache web server exceed $100 within the current month. What steps should you take to implement this solution?
A
Set up a budget alert on the project with an amount of 100 dollars, a threshold of 100%, and notification type of 'email'.
B
Set up a budget alert on the billing account with an amount of 100 dollars, a threshold of 100%, and notification type of 'email'.
C
Export the billing data to BigQuery. Create a Cloud Function that uses BigQuery to sum the egress network costs of the exported billing data for the Apache web server for the current month and sends an email if it is over 100 dollars. Schedule the Cloud Function using Cloud Scheduler to run hourly.
D
Use the Cloud Logging Agent to export the Apache web server logs to Cloud Logging. Create a Cloud Function that uses BigQuery to parse the HTTP response log data in Cloud Logging for the current month and sends an email if the size of all HTTP responses, multiplied by current Google Cloud egress prices, totals over 100 dollars. Schedule the Cloud Function using Cloud Scheduler to run hourly.