Courseiva

Generative AI Leader Practice Question: Business Strategies for Generative AI Solutions

A bank wants to use LLMs to generate responses for customer support chat. All conversations must be logged, and any PII must be masked. The solution must comply with financial regulations. Which combination of Vertex AI services should be used?

⚠ Common exam trap

Google Cloud often tests the misconception that custom development (e.g., Cloud Functions or custom containers) is necessary for PII masking and logging, when in fact managed services like Vertex AI Agent Builder with Data Governance provide a more compliant and integrated solution out of the box.

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

✓

Use Vertex AI Agent Builder with Data Governance, which can automatically mask PII and log interactions.

Vertex AI Agent Builder integrates with Data Governance to automatically mask PII and log interactions, meeting both the logging and compliance requirements without custom development. This managed service ensures adherence to financial regulations by providing built-in data loss prevention (DLP) capabilities and audit trails, unlike the other options which require manual or less integrated approaches.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Deploy a custom model on Cloud Run and write a Cloud Function to mask PII.

    Why it's wrong here

    Incorrect. Deploying a custom model on Cloud Run and using a Cloud Function to mask PII requires custom development and does not provide integrated logging and compliance features. It lacks the automated PII masking and audit trails that managed services like Vertex AI Agent Builder offer.

  • ✗

    Use Vertex AI Prediction with a custom container that masks PII before inference.

    Why it's wrong here

    Incorrect. Using Vertex AI Prediction with a custom container that masks PII before inference still requires custom development and does not provide built-in logging or compliance features. It also does not integrate with Data Governance for automated DLP.

  • ✗

    Use the Gemini API directly with a custom logging solution in Cloud Logging.

    Why it's wrong here

    Incorrect. Using the Gemini API directly with custom logging in Cloud Logging requires manual implementation of PII masking and logging, and it does not leverage Vertex AI's managed data governance capabilities, increasing complexity and risk for compliance.

  • ✓

    Use Vertex AI Agent Builder with Data Governance, which can automatically mask PII and log interactions.

    Why this is correct

    Vertex AI Agent Builder with Data Governance satisfies both constraints directly: Data Governance applies automatic PII masking (DLP-based de-identification) to prompts and responses, while Agent Builder logs full conversation interactions for audit. This meets the bank's regulatory requirement for masked, retained chat records without custom pipeline work.

About these practice questions

This Generative AI Leader question is part of Courseiva's 1,008-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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This Generative AI Leader 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 Generative AI Leader exam.