Skip to content

Exam Guide & Traps โ€‹

โ† Domain 4 ยท Cheatsheet โ†’


Exam Traps โ€‹

Trap 1: Model Selection โ€‹

Know which model for which scenario:

If question mentions...Think...
Multimodal (text + images + video)Gemini
Longest context (1M+ tokens)Gemini 1.5 Pro
Fast, low latencyGemini Flash
Open-sourceLlama, Mistral
Google's open-weightGemma
Third-party (Anthropic)Claude

Trap 2: Customization Order โ€‹

Common mistake: Jumping to fine-tuning when simpler methods work.

Correct order:

  1. Prompt Design (zero-shot/few-shot) โ€” try first
  2. Grounding/RAG โ€” need current data
  3. Fine-Tuning โ€” only if 100+ examples and above methods fail

Examples:

  • โŒ "Fine-tune Gemini for current news"

  • โœ… "Use grounding with Google Search"

  • โŒ "Fine-tune for better formatting"

  • โœ… "Use few-shot prompting with examples"

Trap 3: Vertex AI Component Confusion โ€‹

ComponentPurposeWhen to Use
Model GardenBrowse/select modelsExploring available models
Vertex AI StudioTest prompts, adjust parametersRapid prototyping
Vector SearchHigh-scale embeddings searchRAG implementation
AutoSxSCompare model outputsEvaluating which model is better

Trap 4: Grounding vs Fine-Tuning โ€‹

NeedSolution
Current eventsGrounding (Google Search)
Company dataGrounding (BigQuery, Document AI)
Domain-specific behaviorFine-Tuning (100+ examples)
Custom formatFew-shot prompting

Trap 5: Data Privacy โ€‹

Key facts (exam favorites):

  • โœ… Google does not train foundation models on customer data
  • โœ… Data stays in your GCP project
  • โœ… Respects IAM permissions
  • โœ… Enterprise compliance (SOC 2, ISO 27001)

Gen AI Leader Decision Matrix โ€‹

Use this logic for scenario-based questions:

Business NeedRecommended Solution
"We need a prototype by tomorrow morning"Google AI Studio
"We need to summarize private company PDFs"RAG / Vertex AI Search
"We want to lower latency for a mobile app"Gemini Nano / Model Distillation
"The model keeps making up facts"Grounding with Google Search
"We need full MLOps and versioning"Vertex AI Studio

Decision Quick Reference โ€‹

"Which Vertex AI component?" โ€‹

Explore models โ†’ Model Garden
Test prompts โ†’ Vertex AI Studio
Build RAG โ†’ Vector Search (Matching Engine)
Compare models โ†’ AutoSxS
Generate images โ†’ Imagen 2 (in Studio)
Speech tasks โ†’ Chirp

"Which customization method?" โ€‹

Simple task, no examples โ†’ Zero-shot prompting
Custom format, 3-5 examples โ†’ Few-shot prompting
Need current data โ†’ Grounding (Google Search)
Need company data โ†’ Grounding (BigQuery/Document AI)
Have 100+ examples โ†’ Supervised Fine-Tuning (SFT)

"Which Gemini model?" โ€‹

Complex reasoning, long docs โ†’ Gemini 1.5 Pro (1M+ context)
General tasks โ†’ Gemini Pro
Fast responses, low latency โ†’ Gemini Flash
Maximum capability โ†’ Gemini Ultra

"How to implement RAG?" โ€‹

1. Generate embeddings (Vertex AI Embeddings API)
2. Store in Vector Search (Matching Engine)
3. Retrieve similar documents
4. Ground LLM with retrieved context

Exam Day Reminders โ€‹

Think Like This โ€‹

For Model Selection:

  • Multimodal? โ†’ Gemini
  • Longest context? โ†’ Gemini 1.5 Pro (1M+)
  • Open-source? โ†’ Llama, Mistral
  • Google's open? โ†’ Gemma

For Customization:

  • Always try: Prompt โ†’ Grounding โ†’ Fine-Tuning
  • Current data? โ†’ Grounding
  • 100+ examples? โ†’ Fine-Tuning

For Vertex AI:

  • Browse models? โ†’ Model Garden
  • Test prompts? โ†’ Vertex AI Studio
  • RAG? โ†’ Vector Search
  • Compare? โ†’ AutoSxS

For Data Privacy:

  • Google does NOT train on your data
  • Data stays in your project
  • Respects IAM

Common Question Patterns โ€‹

"What should you do first?" โ€‹

Always: Start with simplest approach

  1. Try zero-shot prompting
  2. Try few-shot prompting
  3. Try grounding/RAG
  4. Only then fine-tune

"How to reduce hallucinations?" โ€‹

  • โœ… Use grounding (Google Search, BigQuery)
  • โœ… Implement safety filters
  • โœ… Human review for critical tasks
  • โœ… Provide factual context

"How to evaluate models?" โ€‹

  • โœ… Use AutoSxS (Automatic Side-by-Side)
  • โœ… Define evaluation criteria
  • โœ… Let judge model compare outputs
  • โœ… Measure against business metrics

โ† Domain 4 ยท Cheatsheet โ†’

Happy Studying! ๐Ÿš€ โ€ข Privacy-friendly analytics โ€” no cookies, no personal data
Privacy Policy โ€ข AI Disclaimer โ€ข Report an issue