Salesforce certification preparation

Plat-Dev-201 Practice Questions

Practice exam-style questions, check your answers, and review explanations and source references where they are available.

Exam
Plat-Dev-201
Provider
Salesforce
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
Answer options
Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answers
Answer options
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
Answer options
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?
Answer options
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?
Answer options
Which two operations affect the number of times a trigger can fire? Choose 2 answers
Answer options
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?
Answer options
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?
Answer options
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?
Answer options
(Full question statement) Which statement generates a list ofLeadsandContactsthat have a field containing the phrase "ACME"?
Answer options
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.

Scroll to Top