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 latency | Gemini Flash |
| Open-source | Llama, Mistral |
| Google's open-weight | Gemma |
| Third-party (Anthropic) | Claude |
Trap 2: Customization Order โ
Common mistake: Jumping to fine-tuning when simpler methods work.
Correct order:
- Prompt Design (zero-shot/few-shot) โ try first
- Grounding/RAG โ need current data
- 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 โ
| Component | Purpose | When to Use |
|---|---|---|
| Model Garden | Browse/select models | Exploring available models |
| Vertex AI Studio | Test prompts, adjust parameters | Rapid prototyping |
| Vector Search | High-scale embeddings search | RAG implementation |
| AutoSxS | Compare model outputs | Evaluating which model is better |
Trap 4: Grounding vs Fine-Tuning โ
| Need | Solution |
|---|---|
| Current events | Grounding (Google Search) |
| Company data | Grounding (BigQuery, Document AI) |
| Domain-specific behavior | Fine-Tuning (100+ examples) |
| Custom format | Few-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 Need | Recommended 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 contextExam 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
- Try zero-shot prompting
- Try few-shot prompting
- Try grounding/RAG
- 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