nerdexam
Salesforce

PDII · Question #34

What is the optimal technique a developer should use to programmatically retrieve Global Picklist options in a Test Method?

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

Question

What is the optimal technique a developer should use to programmatically retrieve Global Picklist options in a Test Method?

Options

  • AUse the Schema namespace.
  • BUse a static resource.
  • CPerform a callout to the Metadata API.
  • DPerform a SOQL Query.

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