Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Salesforce Certified Platform Developer II (PDII) · Salesforce
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
For a Lightning Component to be available in the Lightning App Builder, it must be marked as "exposed" by including the appropriate implements attribute (for example, implements="flexipage:availableForAllPageTypes") in its markup. Additionally, setting the access attribute to "global" may be necessary. This ensures that the component is visible and available for use in the builder.
A. Ensures the component is exposed and available in the App Builder. If there were errors in the JavaScript controller, the component might fail at runtime but would still be available in the App Builder. The issue in the question is that the component does not appear in the Lightning App Builder, which is typically due to metadata exposure settings, not JavaScript errors. Even a completely empty component with no JavaScript controller should still be available in the Lightning App Builder as long as it is properly exposed.
It is A