Salesforce Certified Platform Developer I (SU24)
Last Update Nov 5, 2024
Total Questions : 174
We are offering FREE PDI Salesforce exam questions. All you do is to just go and sign up. Give your details, prepare PDI free exam questions and then go for complete pool of Salesforce Certified Platform Developer I (SU24) test questions that will help you more.
A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable interfaces.
Which is the correct implementation?
A)
B)
Which three resources in an Aura component can contain JavaScript functions? Choose 3 answers
When a user edits the Postal Code on an Account, a custom Account text field named "Timezone™ must be updated based on the values in a PoataliCodeToTimezcone o custom object.
Which two automation tools can be used to implement this feature?
Choose 2 answers
Consider the following code snippet for a Visualforce page that is launched using a Custom Button on the Account detail page layout.
When the Save button is pressed the developer must perform a complex validation that involves multiple objects and, upon success, redirect the user to another Visualforce
page.
What can the developer use to meet this business requirement?
A developer is implementing an Apex class for a financial system, Within the class, the variables ‘creditAmount’ and "debitAmount' should not be able to change once a value Is assigned.
In which two ways can the developer declare the variables to ensure their value can only be assigned one time? Choose 2 answers
While writing an Apex class, a developer wants to make sure that all functionality being developed is handled as specified by the requirements.
Which approach should the developer use to be sure that the Apex class is working according to specifications?
A developer created a Lightning web component called statusComponent to be inserted into the Account record page.
Which two things should the developer do to make this component available?
Choose 2 answers
A)
B)
C)
D)
How should a developer write unit tests for a private method in An Apex class?
Universal Containers hires a developer to build a custom search page to help users find the Accounts they want. Users will be able to search on Name, Description,
and a custom comments field.
Which consideration should the developer be aware of when deciding between SOQL and SOSL?
Choose 2 answers
A business has a proprietary Order Management System (QMS) that creates orders from Its website and fulfills the orders. When the order Is created in the OMS, an integration also creates an order record In Salesforce and relates It to the contact as identified by the email on the order. As the order goes through different stages in the OMS, the integration also updates it in Salesforce.
The business notices that each update from the OMS creates a new order record in Salesforce.
Which two actions should prevent the duplicate order records from being created in Salesforce?
What should a developer use to fix a Lightning web component bug in a sandbox?
Universal Containers has a support process that allows users to request support from its engineering team using a custom object, Engineering_Support__ c.
Users should be able to associate multiple Engineering_ support___c records to a single Opportunity record. Additionally, aggregate information about the Engineering Support__ c records should be shown on the Opportunity record.
Which relationship field should be implemented to support these requirements?
Which two are best practices when it comes to Aura component and application event handling?
Choose 2 answers
A developer deployed a trigger to update the status__c of Assets related to an Account when the Account’s status changes and a nightly integration that updates Accounts in bulk has started to fail with limit failures.
What should the developer change about the code to address the failure while still having the code update all of the Assets correctly?
Universal Containers decided to transition from Classic to Lightning Experience. They asked a developer to replace a JavaScript button that was being used to create records with prepopulated values.
What can the developer use to accomplish this?
A custom object Trainer_ < has a lookup field to another custom object cym__ c.
Which SOQL query will get the record for the Viridian City Gym and all it's trainers?
When importing and exporting data into Salesforce, which two statements are true? Choose 2 answers
Universal Containers (UC) processes orders in Salesforce in a custom object, ord=xr <. They also allow sales reps to upload CSV files with thousands of orders at a time.
A developer is tasked with integrating orders placed in Salesforce with UC’s enterprise resource planning (ERP) system.
After the status for an order__ c is first set to 'Placed’, the order information must be sent to a REST endpoint in the ERP system that can process one order at a time.
What should the developer implement to accomplish this?
What can be used to override the Account's standard Edit button for Lightning Experience?
Which two operations affect the number of times a trigger can fire?
Choose 2 answers
Universal Containers has developed custom Apex code and Lightning Components in a Sandbox environment. They need to deploy the code and associated configurations to the Production environment.
What is the recommended process for deploying the code and configurations to Production?
A developer is tasked to perform a security review of the ContactSearch Apex class that exists in the system. Within the class, the developer identifies the following method as a security threat:
What are two ways the developer can update the method to prevent a SOQL injection attack?
Choose 2 answers
Universal Containers is building a recruiting app with an Applicant object that stores information about an individual person and a Job object that represents a job. Each applicant may apply for more than one job.
What should a developer implement to represent that an applicant has applied for a job?
Considering the following code snippet:
When the code executes, a DML exception is thrown.
How should a developer modify the code to ensure exceptions are handled gracefully?
A developer created a child Lightning web component nested inside a parent Lightning web component. The parent component needs to pass a string value to the child component.
In which two ways can this be accomplished?
Choose 2 answers
A lead developer creates an Apex interface called Laptop.
Consider the following code snippet:
How can a developer use the Laptop Interface within the silverzaptop class?
Which two settings must be defined in order to update a record of a junction object? Choose 2 answers
A developer needs to create a baseline set of data (Accounts, Contacts, Products, Assets) for an entire suite of tests allowing them to test independent requirements for various types of Salesforce Cases.
Which approach can efficiently generate the required data for each unit test?
developer must provide custom user interfaces when users edit a Contact either Salesforce Classic or Lightning Experience.
What should the developer use to override the Contact's Edit button and provide this functionality?
Universal Hiring uses Salesforce to capture job applications. A salesforce administrator created two custom objects; Job__c acting as the master object, Job_Application__c acting as the detail.
Within the Job__c object, a custom multi-select picklist, Preferred Locations__c, contains a list of approved states for the position. Each Job_Application__c record relates to a Contact within the system through a master-detail relationship.
Recruiters have requested the ability to view whether the Contact's Mailing State value matches a value selected on the Preferred_Locations_ c field, within the Job_Application__c record. Recruiters would like this value to be kept in sync if changes occur to the Contact's Mailing State.
What is the recommended tool a developer should use to meet the business requirement?
A developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunitylLineltem trigger.
Which method allows access to the price book?
A developer needs to make a custom Lightning Web Component available in the Salesforce Classic user interface. Which approach can be used to accomplish this?
Given the following Apex statement:
What occurs when more than one Account is returned by the SOQL query?
Universal Containers needs to create a custom user interface component that allows users to enter information about their accounts. The component should be able to validate the user input before saving the information to the database.
What is the best technology to create this component?
How can a developer check the test coverage of autolaunched Flows before deploying them in a change set?
A developer created these three Rollup Summary fields in the custom object, project_ c:
The developer is asked to create a new field that shows the ratio between rejected and approved timesheets for a given project.
Which should the developer use to implement the business requirement in order to minimize maintenance overhead?
What are two considerations for running a flow in debug mode? Choose 2 answers
A developer creates a Lightning web component that imports a method within an Apex class. When a Validate button is pressed, the method runs to execute complex validations.
In this implementation scenario, which two options are part of the Controller according to the MVC architecture?
Choose 2 answers
A custom Visualforce controller calls the apexPages.addMessage () method, but no messages are rendering on the page.
Which component should be added to the Visualforce page to display the message?
A Developer Edition org has five existing accounts. A developer wants to add 10 more accounts for testing purposes.
The following code is executed in the Developer Console using the Execute Anonymous window:
How many total accounts will be in the org after this code Is executed?
Which Lightning Web Component custom event property settings enable the event to bubble up the containment hierarchy and cross the Shadow DOM boundary?
A team of many developers work in their own individual orgs that have the same configuration as the production org.
Which type of org is best suited for this scenario?
A developer Is designing a new application on the Salesforce platform and wants to ensure it can support multiple tenants effectively.
Which design framework should the developer consider to ensure scalability and maintainability?
Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?
A developer identifies the following triggers on the Expense__c object:
The triggers process before delete, before insert, and before update events respectively.
Which two techniques should the developer implement to ensure trigger best practices are followed?
Choose 2 answers
A developer wants to import 500 Opportunity records into a sandbox.
Why should the developer choose to use Data Loader instead of Data Import Wizard?
The Job_application_ c custom object has a field that is a master-detail relationship to the Contact object, where the Contact object is the master.
As part of a feature implementation, a developer needs to retrieve a list containing all Contact records where the related Account Industry is 'Technology', while also retrieving the Contact's Job_Application__c records.
Based on the object's relationships, what is the most efficient statement to retrieve the list of Contacts?
A)
B)
C)
D)
A developer must implement a checkpaymentpbrocaessox class that provides check processing payment capabilities that adhere to what is defined for payments in the paymentProcsssor Interface.
Which implementation is correct to use the paymenterocesscr interface class?
A)
B)
C)