GCP Associate Cloud Engineer Practice Question

Your company wants to make sure its development project never exceeds its USD 1,000 monthly spend. At 75 % of that amount, a Cloud Function must run that labels and shuts down all non-production VM instances. Which Google Cloud feature should you configure so that a Pub/Sub message is automatically published when the 75 % spend threshold is reached and can be used to trigger the function?

  • Configure a Cloud Audit Logs sink that exports billing log entries to a Pub/Sub topic.

  • Schedule a daily BigQuery billing export query with Cloud Scheduler and publish a Pub/Sub message when spend exceeds 75 %.

  • Create a Cloud Billing budget that includes a 75 % alert and enable Pub/Sub notifications on that budget.

  • Set up a Cloud Monitoring alerting policy on the billing/cost metric with a Pub/Sub notification channel.

GCP Associate Cloud Engineer
Setting up a cloud solution environment
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot