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
Question 1 discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Which two statements are true about using the @testSetup annotation in an Apex test class?
Choose 2 answers
Question 2 discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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
Question 3 discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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?
Question 4 discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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?
Question 5 discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Which two operations affect the number of times a trigger can fire?
Choose 2 answers
Question 6 discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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?
Question 7 discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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?
Question 8 discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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?
Question 9 discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
(Full question statement)
Which statement generates a list ofLeadsandContactsthat have a field containing the phrase
"ACME"?
Question 10 discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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.
