Skip to content

Domain 3 — Data Management Flashcards

AI-Generated Content

These flashcards were generated with AI assistance and may need human review for accuracy. Always verify against official Salesforce documentation.

Scenario-based cards testing architectural judgment on data modeling, LDV strategies, migration planning, and data governance.

Keyboard shortcuts: Space or Enter to flip · Arrow keys to navigate · 1–3 to grade after flipping

Card 1 of 10
A retail company needs to track Orders and Order Line Items. Order Lines must always belong to an Order and should be deleted when the Order is deleted. However, the security team says Order Line sharing must be independent from Order sharing because warehouse staff need Line Item access without seeing Order financials. Lookup or Master-Detail?
Use Lookup relationship, not Master-Detail. While MD gives you cascade delete and roll-up summaries, it also forces sharing inheritance — child records always inherit the parent's sharing. Since warehouse staff need independent access to Line Items without Order visibility, Lookup is required. Implement cascade delete via Apex trigger or Flow. Use Apex Aggregate queries or Flow to replicate roll-up summary functionality. Trade-off: you lose declarative roll-up summaries and must maintain custom deletion logic, but you gain independent sharing control. This is a textbook CTA trade-off question — always identify the constraint that forces the decision.
Click card or press Space to reveal answer

How Spaced Repetition Works

Rate each card 1–3 after flipping. Rating 1 (Again) resets the interval. Rating 2 (Good) advances normally. Rating 3 (Easy) extends the interval. Check your progress dashboard to see what’s due.

This is a personal study site for Salesforce CTA exam preparation. Built with AI assistance. Not affiliated with Salesforce.