nerdexam
SalesforceSalesforce

PDI · Question #221

PDI Question #221: Real Exam Question with Answer & Explanation

The correct answer is D: The Whatld field on the standard Event object. A polymorphic lookup field is a special type of lookup that can refer to more than one object type, and the WhatId field on the standard Event object is a prime example of this functionality.

Submitted by helene.fr· Apr 18, 2026Data Modeling and Management

Question

What is an example of a polymorphic lookup field in Salesforce?

Options

  • AThe Parentid field on the standard Account object
  • BThe LeadId and ContactId fields on the standard Campaign Member object
  • CA custom field, Link__c, on the standard Contact object that looks up to an Account or a
  • DThe Whatld field on the standard Event object

Explanation

A polymorphic lookup field is a special type of lookup that can refer to more than one object type, and the WhatId field on the standard Event object is a prime example of this functionality.

Common mistakes.

  • A. The ParentId field on the standard Account object is a self-lookup field, meaning it always looks up to another Account record, not multiple distinct object types.
  • B. The LeadId and ContactId fields on the standard Campaign Member object are two separate, distinct lookup fields, each pointing to a specific object type (Lead or Contact), rather than a single polymorphic field.
  • C. A custom field Link__c that explicitly looks up to either an Account or a separate custom object would typically be implemented as two separate lookup fields, or a master-detail if applicable, and would not natively achieve polymorphic behavior for a single field without significant custom development and data modeling that doesn't define it as a polymorphic field type.

Concept tested. Polymorphic lookup fields

Reference. https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/field_types.htm#field_types_polymorphic

Topics

#Polymorphic Lookup#Object Relationships#Standard Fields#Data Model

Community Discussion

No community discussion yet for this question.

Full PDI PracticeBrowse All PDI Questions