Browse at least 50% questions to maximize your chances of passing
Free Preview Questions
Sample Plat-Dev-301 Exam Questions & Explanations
Practice with real question formats, multiple choice options, and detailed answer explanations for Salesforce Plat-Dev-301.
Question #1
Verified Q&A
Instead of waiting to send emails to support personnel directly from the finish method of a batch Apex process, Universal Containers wants to notify an external system in the event that an unhandled exception occurs.<br />
<br />
What is the appropriate publish/subscribe logic to meet this requirement?
A
Publish the error event using the addError method.
B
No publishing is necessary. Have the external system subscribe to the BatchapexErrorEvent.
C
Publish the error event using the Eventbus. publish () method.
D
Publish the error event with a Flow.
Correct Answer:
No publishing is necessary. Have the external system subscribe to the BatchapexErrorEvent.
Question #2
Verified Q&A
A developer is asked to develop a new AppFxchange application. A feature of the program creates Survey records when a Case reaches a certain stage and is of a certain Record Type. This feature needs to be configurable, as different Salesforce instances require Surveys at different times. Additionally, the out-of-the-box AppExchange app needs to come with a set of best practice settings that apply to most customers.<br />
<br />
What should the developer use to store and package the custom configuration settings for the app?
A
Custom metadata
B
Custom settings
C
Custom objects
D
Custom labels
Correct Answer:
Custom metadata
Question #3
Verified Q&A
A user receives the generic "An internal server error has occurred” while interacting with a custom Lightning component.<br />
<br />
What should the developer do to ensure a more meaningful message?
A
Use platform events to process the error
B
Add an error-view component to the markup.
C
Add an onerror event handler to the tag.
D
Use an AuraHandledexception in a try-catch block.
Correct Answer:
Use an AuraHandledexception in a try-catch block.
Question #4
Verified Q&A
Universal Containers develops a Visualforce page that requires the inclusion of external JavaScript and C55 files. They want to ensure efficient loading and caching of the page.<br />
<br />
Which feature should be utilized to achieve this goal?
A
Static resources
B
PageBlockTable
C
ActionFunction
D
RemoteAction
Correct Answer:
Static resources
Question #5
Verified Q&A
A company manages information about their product offerings in custom objects named Catalog and Catalog Item. Catalog Item has a master-detail field to Catalog, and each Catalog may have as many<br />
as 100,000<br />
Catalog Items. Both custom objects have a CurrencylsoCode text field that contains the currency code they should use. If a Catalog's CurrencylsoCode changes, all of its Catalog Items’ CurrencylsoCodes should be changed as well.<br />
<br />
What should a developer use to update the CurrencylsoCodes on the Catalog Items<br />
<br />
when the Catalog's CurrencylsoCode changes?
A
An after insert trigger on Catalog Item that updates the Catalog Items if the Catalog’s CurrencylsoCode is different
B
An after insert trigger on Catalog that updates the Catalog Items if the Catalogs CurrencylsoCode is different
C
A Database.Schedulable and Database.Batchacle class that queries the Catalog Item object and updates the Catalog Items if the Catalog CurrencylSoCode is different
D
A Database. schedulable and Dazabase.Bazchacle class that queries the Catalog object and updates the Catalog Items if the Catalog CurrencylSoCode is different
Correct Answer:
A Database.Schedulable and Database.Batchacle class that queries the Catalog Item object and updates the Catalog Items if the Catalog CurrencylSoCode is different
Want to practice all 167 questions?
Practice under real exam conditions with instant grading, timed simulations, and community insights.
Common questions about the Salesforce Plat-Dev-301 certification practice test
How many questions are in the Salesforce Plat-Dev-301 practice exam on ExamsQA?
Our Plat-Dev-301 (Salesforce Certified Platform Developer II (PDII) Exam) practice question bank currently includes 167 verified questions with comprehensive explanations.
Are the Plat-Dev-301 exam practice questions up to date for 2026?
Yes, all Salesforce Plat-Dev-301 practice questions are regularly updated and verified against current exam objectives.
Will the Plat-Dev-301 practice questions help me pass on my first attempt?
The Plat-Dev-301 (Salesforce Certified Platform Developer II (PDII) Exam) question bank is built to mirror the real exam's format and topics, with detailed explanations for every answer so you understand the reasoning — not just memorize responses.
Is there a free demo available for Plat-Dev-301 Salesforce Certified Platform Developer II (PDII) Exam?
Yes, ExamsQA offers free demo questions for the Plat-Dev-301 exam so you can test the interface and question quality before purchasing full access.
Premium Resource Locked
PDF downloads are not included in your current Starter Pack. Upgrade to a higher tier or get full access with Pro.