PMLE Monitoring ML Solutions Practice Question
An engineer wants to set up request/response logging for a Vertex AI Endpoint to analyze prediction behavior. Which TWO resources must be configured? (Choose 2)
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
A Cloud Logging log sink that routes endpoint logs to BigQuery
Request/response logging requires a BigQuery table as the sink destination and the log entry must include the prediction input/output.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Vertex AI Model Monitoring enabled
Why it's wrong here
Model Monitoring is separate from request/response logging.
- ✗
A Cloud Pub/Sub topic for streaming logs
Why it's wrong here
Pub/Sub is not required for BigQuery sink.
- ✓
A Cloud Logging log sink that routes endpoint logs to BigQuery
Why this is correct
Log sink is required to export logs to BigQuery.
- ✓
A BigQuery dataset to store the log entries
Why this is correct
Destination for the log sink must be a BigQuery dataset.
- ✗
Cloud Functions to transform logs
Why it's wrong here
Not needed; logs can be directly exported to BigQuery.
Go deeper
Related to this question
About these practice questions
This PMLE question is part of Courseiva's 990-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on PMLE
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company wants to log all prediction requests and responses from a Vertex AI Endpoint to BigQuery for auditing and debugging. How can they achieve this?
easy- A.Export endpoint logs from Cloud Logging to Cloud Storage and then load into BigQuery manually.
- B.Use a Cloud Function to intercept predictions and write to BigQuery.
- C.Vertex AI endpoints do not support request/response logging.
- ✓ D.Enable request/response logging on the endpoint and create a BigQuery sink for the log.
Why D: Vertex AI endpoints can be configured to enable request/response logging. The logs can be sent to a BigQuery table via a log sink.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PMLE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PMLE exam.