nerdexam
Salesforce

PDII · Question #20

A developer wants to call an Apex Server-side Controller from a Lightning Aura Component. What are two limitations to the data being returned by the Controller? (Choose two.)

The correct answer is A. A custom Apex Class can be returned, but only the values of public instance properties and C. Basic data types are supported, but defaults, such as maximum size for a number, are defined by. See the full explanation below for the reasoning.

Question

A developer wants to call an Apex Server-side Controller from a Lightning Aura Component. What are two limitations to the data being returned by the Controller? (Choose two.)

Options

  • AA custom Apex Class can be returned, but only the values of public instance properties and
  • BLists of Custom Apex Classes cannot be returned by Apex Controllers called by Lightning Aura
  • CBasic data types are supported, but defaults, such as maximum size for a number, are defined by
  • DOnly Basic data types and sObjects are supported as return types for Apex Controllers called by

How the community answered

(50 responses)
  • A
    74% (37)
  • B
    16% (8)
  • D
    10% (5)

Community Discussion

No community discussion yet for this question.

Full PDII Practice