Salesforce Certified Platform Developer II — Question 14
A developer is trying to decide between creating a Visualforce component or a Lightning component for a custom screen.
Which functionality consideration impacts the final decision?
Answer options
- A. Does the screen need to be rendered as a PDF?
- B. Does the screen need to be accessible from the Lightning Experience UI?
- C. Will the screen make use of a JavaScript framework?
- D. Will the screen be accessed via a mobile app?
Correct answer: A
Explanation
The correct answer is A because Visualforce supports rendering screens as PDFs, which is not a capability of Lightning components. Options B, C, and D are not decisive factors for choosing between the two, as Lightning components are designed for the Lightning Experience UI and can utilize JavaScript frameworks effectively.