nerdexam
Salesforce

PDII · Question #340

PDII Question #340: Real Exam Question with Answer & Explanation

Sign in or unlock PDII to reveal the answer and full explanation for question #340. The question stem and answer options stay visible for context.

Question

A developer writes a Lightning web component that displays a dropdown list of all custom objects in the org from which a user will select. An Apex method prepares and returns data to the component. What should the developer do to determine which objects to include in the response?

Options

  • ACheck the getObiectType() value for 'Custom' or 'Standard' on the sObject describe result.
  • BImport the list of all custom objects from @salesforce/schema.
  • CUse the getCustomObjects() method from the Schema class.
  • DCheck the isCustom() value on the sObject describe result.

Unlock PDII to see the answer

You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full PDII Practice