
Answer-first summary for fast verification
Answer: 1. Export the billing data to BigQuery. 2. Develop a Python-based Cloud Function that queries the BigQuery table to aggregate the egress network costs for the Apache web server for the current month and sends an email if the total exceeds $100. 3. Configure Cloud Scheduler to activate the function hourly.
Option A is the correct choice because it directly addresses the need to monitor egress network costs specifically for the Apache web server by leveraging BigQuery for detailed billing data analysis. This approach allows for precise cost tracking and timely email notifications when the threshold is exceeded. Options B and D are incorrect as they propose budget alerts at the project or billing account level, which would not provide the granularity needed for monitoring egress costs of a specific service. Option C is incorrect because Cloud Logging does not offer billing information, making it an unsuitable method for tracking egress costs. The recommended method involves exporting billing data to BigQuery for accurate and efficient cost analysis.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are managing a free static website that displays high-quality 3D renders of a real-estate property under construction. These large files are hosted on an Apache web server within a Compute Engine instance. With multiple applications running in the same GCP project, you aim to receive email alerts when the server's egress network costs surpass $100 in the current month, as recorded by Google Cloud. What steps should you take?
A
$100. 3. Configure Cloud Scheduler to activate the function hourly.B
$100 limit, a 100% threshold, and email notifications.C
$100. 3. Use Cloud Scheduler to trigger the function hourly.D
$100 limit, a 100% threshold, and email notifications.