Salesforce Certified Platform Developer II (PDII) Exam (PDII) - SalesForce Actual Exam Questions
Last updated on May 01, 2026
An Aura component has a section that displays some information about an Account and it works well on the desktop, but users have to scroll horizontally to see the description field output on their mobile devices and tablets. How should a developer change the component to be responsive for mobile and tablet devices?
Option A
Option B
Option C
Option D
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
What is the best practice to initialize a Vizualforce page in a test class?
Use Test. setCurrentPage (Page. MyTeatPage);
Use Test. currantPage .getParamatars put (MyTaestPaga) ;
Use controller. currentPage. setPage (MyTastfage) ;
Use Test. setCurrentPage MyTestPags;
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
A developer is working with existing functionality that tracks how many times a stage has changed for an Opportunity. When the Opportunity’s stage is changed, a workflow rule is fired to increase the value of a field by one. The developer wrote an after trigger to create a child record when the field changes from 4 to 5. A user changes the stage of an Opportunity and manually sets the count field to 4. The count field updates to 5, but the child record is not created. What is the reason this is happening?
Trigger.old does not contain the updated value of the count field.
After triggers fire before workflow rules.
Trigger.new does not change after a field update.
After triggers are not fired after field updates.
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
A developer needs to store variables to control the style and behavior of a Lightning Web Component. Which feature can be used to ensure that the variables are testable in both Production and all Sandboxes?
Custom setting
Custom object
Custom variable
Custom metadata
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
A Lightning web component exists in the system and displays information about the record in context as a medal. Salesforce administrators need to use this component within the Lightning App Builder, Which two settings should the developer configure within the xml resource file? Choose 2 answers
Specify the target to be lightning_RecordPage
Set the IsExposed=d attribute to true.
Specify the target to be lightning_AppPage
Set the IsVisible attribute to true
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
Finish Practice?
Are you sure you want to finish? This will end your practice session.