Salesforce
PDII · Question #264
PDII Question #264: Real Exam Question with Answer & Explanation
The correct answer is B. Calling a method that is not annotated with cacheable=true D. Calling a method that is external to the main controller for the Lightning web component. See the full explanation below for the reasoning.
Question
Which two scenarios require an Apex method to be called imperatively from a Lightning web component? (Choose two.)
Options
- ACalling a method that makes a web service callout
- BCalling a method that is not annotated with cacheable=true
- CCalling a method with the click of a button
- DCalling a method that is external to the main controller for the Lightning web component
Community Discussion
No community discussion yet for this question.