Salesforce certification practice
Plat-Dev-201 Practice Questions
Try 10 free Plat-Dev-201 exam-style questions for Salesforce Certified Platform Developer. Check each answer and review the explanation and source references.
- Exam code
- Plat-Dev-201
- Provider
- Salesforce
- Free questions
- 10
- Full set
- 204 questions
- Last update check
Which three steps allow a custom Scalable Vector Graphic (SVG) to be included in a Lightning web
component?
Choose 3 answers
Which two statements are true about using the @testSetup annotation in an Apex test class?
Choose 2 answers
Managers at Universal Containers want to ensure that only decommissioned containers are able to
be deleted in the system. To meet the business requirement a Salesforce developer adds
"Decommissioned" as a picklist value for the Status _c custom field within the Container _c object.
Which two approaches could a developer use to enforce only Container records with a status of
"Decommissioned" can be deleted?
Choose 2 answers
Universal Containers has a Visualforce page that displays a table of every Container__c being rented
by a given Account. Recently this page is failing with a view state limit because some of the
customers rent over 10,000 containers.
What should a developer change about the Visualforce page to help with the page load errors?
A developer is alerted to an issue with a custom Apex trigger that is causing records to be duplicated.
What is the most appropriate debugging approach to troubleshoot the issue?
Which two operations affect the number of times a trigger can fire?
Choose 2 answers
A team of developers is working on a source-driven project that allows them to work independently,
with many different org configurations.
Which type of Salesforce orgs should they use for their development?
While working in a sandbox, an Apex test fails when run in the Test Runner. However, executing the
Apex logic in the Execute Anonymous window succeeds with no exceptions or errors.
Why did the method fail in the sandbox test framework but succeed in the Developer Console?
Which annotation should a developer use on an Apex method to make it available to be wired to a
property in a Lightning web component?
(Full question statement)
Which statement generates a list ofLeadsandContactsthat have a field containing the phrase
"ACME"?
Question 1 of 10
Source context
How this practice set is maintained
Maintained by the CertMage content team, this page loads questions from the exam dataset connected to its preparation resource. When an answer includes a supporting reference, it is shown with that answer so you can review the underlying vendor documentation.
Certification objectives, interfaces, and vendor services can change. Verify important details against the provider's current exam guide and documentation before your exam.
