☎  076 959 6407✉  support@quizcrazepro.co.za
Learn. Practice. Build your future.
BlogHelpContact
G

Google Associate Cloud Engineer Exam

284 Questions120 Minutes70% Passing Score▣ Updated: Sep 2026

Question 68 of 284

Single answer

For analysis purposes, you need to send all the logs from all of your Compute Engine instances to a BigQuery dataset called platform-logs. You have already installed the Cloud Logging agent on all the instances. You want to minimize cost. What should you do?

A

A. 1. Give the BigQuery Data Editor role on the platform-logs dataset to the service accounts used by your instances.
2. Update your instances' metadata to add the following value: logs-destination: bq://platform-logs.

B

B. 1. In Cloud Logging, create a logs export with a Cloud Pub/Sub topic called logs as a sink.
2. Create a Cloud Function that is triggered by messages in the logs topic.
3. Configure that Cloud Function to drop logs that are not from Compute Engine and to insert Compute Engine logs in the platform-logs dataset.

C

C. 1. In Cloud Logging, create a filter to view only Compute Engine logs.
2. Click Create Export.
3. Choose BigQuery as Sink Service, and the platform-logs dataset as Sink Destination.

D

D. 1. Create a Cloud Function that has the BigQuery User role on the platform-logs dataset.
2. Configure this Cloud Function to create a BigQuery Job that executes this query: INSERT INTO dataset.platform-logs (timestamp, log) SELECT timestamp, log FROM compute.logs WHERE timestamp > DATE_SUB(CURRENT_DATE(), INTERVAL 1 DAY)
3. Use Cloud Scheduler to trigger this Cloud Function once a day.

Correct Answer: A

<p>C. 1. In Cloud Logging, create a filter to view only Compute Engine logs. <br>2. Click Create Export. <br>3. Choose BigQuery as Sink Service, and the platform-logs dataset as Sink Destination.</p>

Explanation

The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.

About this practice exam

Review 284 Google questions with answers and explanations. Use the navigation to move through the exam at your own pace.