ForceChallenges
ProblemsDailyNotesInterview
Sign in

Practice

All problemsSOQL practiceApex trigger challengesDaily challengeOpportunityTrigger.oldMapBefore UpdateBulkificationContactValidationGROUP BYSemi-JoinAccountBefore Insert

Interview questions

All questionsAdminAdministrationApexApex TriggerAsync ApexDevelopmentField ServiceField ServiceIntegrationLwc

By company

DeloitteSalesforceAccentureInfosysPwCCognizant

Learn

Study notes

ForceChallenges

AboutContact usPrivacy PolicyTerms of ServiceFor AI assistants (llms.txt)
© 2026 ForceChallenges · Salesforce SOQL & Apex trigger practice
Sales Cloud questions43 of 79
Sales CloudMedium 2 min read

What governance strategies ensure long-term data quality and hygiene across large Sales Cloud implementations?

Answer

Basics: Bad data (duplicates, stale opportunities, missing fields) wrecks forecasts and trust. Governance defines who owns each object, which fields are mandatory and when, and how issues are found and fixed.

How it works:

  1. Prevent: required fields via page layout or field definition, validation rules, restricted picklists and global value sets, record types and Path guidance, Flow screens that capture data in the right sequence.
  2. Dedupe: matching rules plus duplicate rules (Alert or Block), and Duplicate Jobs where licensed.
  3. Detect: dashboards of data-quality KPIs (percent of opportunities with no next step, accounts missing industry, stale open opportunities).
  4. Enrich: use approved enrichment providers or integrations (Data.com was retired in 2020).
  5. Retain: archive or delete old data, and keep field history for audit.
  6. Govern: a data steward per object, a change-control process for fields, and a documented data dictionary.

Advanced / deep dive: Prevention beats cleansing, but validation rules that are too strict drive workarounds and integration failures, so use bypass via custom permissions for integrations. Field-level audit: Field History Tracking covers 20 fields per object, retained 18 months in the UI and 24 months via API; Field Audit Trail (Shield) extends retention to a long, configurable period. For scale, use Bulk API jobs for corrections, run scheduled Flows or Batch Apex for standardization, and track data-quality scores in a custom field. Master data across systems may need an MDM layer or Data Cloud for identity resolution. Treat metadata (fields, picklists) as governed: unreviewed field sprawl is itself data debt.

Code / config example:

sql
-- Stale open opportunities: no activity in 90 days and close date passed
 Id, Name, OwnerId, CloseDate, LastActivityDate
 Opportunity
 IsClosed    CloseDate  TODAY
   (LastActivityDate    LastActivityDate  LAST_N_DAYS:)
Practice SOQL & Apex
PreviousWhat pre-built analytical insights do Sales Cloud Analytics templates provide to sales leaders?Next How do custom fiscal years accommodate non-standard corporate accounting schedules in Sales Cloud forecasting?

More Sales Cloud questions

  • How does the account merge mechanism consolidate duplicate enterprise accounts and associated child records?
  • Why is defining structured lead status lifecycles essential for accurate sales funnel measurement?
  • What are the operational boundaries and best practices for sending mass list emails within Sales Cloud?
  • How can screen flows be utilized to build custom guided selling flows directly on opportunity pages?
  • How do approval processes automate complex discount and deal desk sign-offs in Sales Cloud?
SELECT
FROM
WHERE
=
false
AND
<
AND
=
NULL
OR
<
90

Schedule this as a report or a Flow that notifies owners weekly.

Hidden gotchas & must-remember points:

  • Validation rules also fire for integrations and data loads; give them a bypass.
  • Duplicate rules do not clean existing data; run a duplicate job or merge tool.
  • Field history covers only 20 fields per object and does not capture creation.
  • Required on a page layout is UI-only; required at field level also blocks API and Flow.
  • Data.com and Data.com Clean are retired; do not plan around them.
  • Merging only handles up to 3 records at a time.

Best practice: Assign owners, publish a data dictionary, and review a small set of quality KPIs monthly.

Sales CloudData GovernanceData Quality