Google Cloud Associate Cloud Engineer — Question 308

Your company publishes large files on an Apache web server that runs on a Compute Engine instance. The Apache web server is not the only application running in the project. You want to receive an email when the egress network costs for the server exceed 100 dollars for the current month as measured by Google Cloud.
What should you do?

Answer options

Correct answer: C

Explanation

The correct answer, C, involves exporting billing data to BigQuery and creating a Cloud Function to calculate egress costs specifically for the Apache web server, ensuring accurate monitoring. Option A and B only set up budget alerts, which may not specifically track the Apache web server costs. Option D, while it analyzes log data, might not provide an accurate measure of egress costs compared to the direct calculation in option C.