PDII Exam Questions
402 real PDII exam questions with expert-verified answers and explanations. Page 8 of 9.
- Question #362
A business currently has a process to manually upload orders from its external Order Management System (OMS) into Salesforce. This is a labor intensive process since accounts must...
- Question #363
Universal Containers (UC) has enabled the translation workbench and has translated picklist values. UC has a custom multi-select picklist field, Products__c, on the Account object...
- Question #364
Consider the following code snippet: Which two steps should the developer take to add flexibility to change the endpoint and credentials without needing to modify code? (Choose two...
- Question #365
A developer is writing code that requires making callouts to an external web service. Which scenario necessitates that the callout be made in an asynchronous method?
- Question #366
Refer to the Aura component below: A developer receives complaints that the component loads slowly. Which change can the developer implement to make the component perform faster?
- Question #367
A company uses Salesforce to sell products to customers. They also have an external product information management (PIM) system that is the system of record for products. A develop...
- Question #368
A developer is creating a Lightning web component to display a calendar. The component will be used in multiple countries. In some locales, the first day of the week is a Monday, o...
- Question #369
A Salesforce Platform Developer is leading a team that is tasked with deploying a new application to production. The team has used source-driven development, and they want to ensur...
- Question #370
Universal Containers develops a Salesforce application that requires frequent interaction with an external REST API. To avoid duplicating code and improve maintainability, how shou...
- Question #371
A developer is responsible for formulating the deployment process for a Salesforce project. The project follows a source-driven development approach, and the developer wants to ens...
- Question #372
A developer is working on an integration between Salesforce and an external system. The integration requires sending a large amount of data to the external system, which can cause...
- Question #373
Universal Containers is leading a development team that follows the source-driven development approach in Salesforce. As part of their continuous integration and delivery (CI/CD) p...
- Question #374
Universal Containers has an Apex trigger on Account that creates an Account Plan record when an Account is marked as a Customer. Recently a record-triggered flow was added so that...
- Question #375
Universal Containers is implementing a new approval process for expense reimbursements. The process requires complex logic to determine the appropriate approver based on factors su...
- Question #376
Universal Containers uses Salesforce to track orders in an Order__c object. The Order__c object has private organization-wide defaults. The Order__c object has a custom field, Qual...
- Question #377
Universal Containers develops a Visualforce page that requires the inclusion of external JavaScript and CSS files. They want to ensure efficient loading and caching of the page. Wh...
- Question #378
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...
- Question #379
Universal Charities (UC) uses Salesforce to collect electronic donations in the form of credit card deductions from individuals and corporations. When a customer service agent ente...
- Question #380
A developer needs to send Account records to an external system for backup purposes. The process must take a snapshot of Accounts as they are saved and then make a callout to a RES...
- Question #381
A developer is tasked with creating a Lightning web component that allows users to create a Case for a selected product, directly from a custom Lightning page. The input fields in...
- Question #383
A Salesforce org has more than 50,000 contacts. A new business process requires a calculation that aggregates data from all of these contact records. This calculation needs to run...
- Question #385
Universal Containers wants to notify an external system, in the event that an unhandled exception occurs, by publishing a custom event using Apex. What is the appropriate publish/s...
- Question #386
Consider the Apex controller below, that is called from an Aura component. What is wrong with this code?
- Question #387
A company has a native iOS order placement app that needs to connect to Salesforce to retrieve consolidated information from many different objects in a JSON format. Which is the o...
- Question #388
As part of point-to-point integration, a developer must call an external web service which, due to high demand, takes a long time to provide a response. As part of the request, the...
- Question #389
Universal Containers needs to integrate with their own, existing, internal custom web application. The web application accepts JSON payloads, resizes product images, and sends the...
- Question #390
As part of a custom interface, a developer team creates various new Lightning web components. Each of the components handles errors using toast messages. When the development is co...
- Question #391
A developer is writing a Lightning Web page that queries accounts in the system and presents a lightning-datatable with the results. The users want to be able to filter the results...
- Question #392
Which Salesforce feature allows a developer to see when a user last logged in to Salesforce if real-time notification is not required?
- Question #393
A developer is asked to modify a Lightning web component so that it displays in one column on phones and in two columns on tablets, desktops, and larger devices. Given to the code...
- Question #394
Which of the following are SOQL functions that are helpful for retrieving and displaying currency data in multi-currency organizations? Choose 2 answers.
- Question #395
Batch Apex is being considered by a developer to process more than 25 million account records in an organization. Which of the following can be used to define the scope and collect...
- Question #396
A developer wants to deploy metadata from one org to another using a command-line script. Which of the tools below can be used to meet this requirement?
- Question #397
A Visualforce page loads slowly due to the large amount of data it displays. Which strategy can a developer use to improve the performance?
- Question #398
Universal Containers wants to use a Customer Community with Customer Community Plus licenses so their customers can track how many containers they are renting and when they are due...
- Question #399
Universal Containers wants to use an external Web Service provided by a third-party vendor to validate that shipping and billing addresses are correct. The current vendor uses basi...
- Question #400
A company has a Lightning Page with many Lightning Components, some that cache reference data. It is reported that the page does not always show the most current reference data. Wh...
- Question #401
A company has code to update a Request and Request Lines and make a callout to their external ERP system's REST endpoint with the updated records. The CalloutUtil.makeRestCallout f...
- Question #402
A Visualforce page contains an industry select list and displays a table of Accounts that have a matching value in their Industry field. <apex:selectList value="{!selectedIndustry}...
- Question #403
A company represents their customers as Accounts in Salesforce. All customers have a unique Customer_Number__c that is unique across all of the company's systems. They also have a...
- Question #404
An Apex trigger creates an Order__c record every time an Opportunity is won by a Sales Rep. Recently the trigger is creating two orders. What is the optimal method for a developer...
- Question #405
A company wants to incorporate a third-party web service to set the Address fields when an Account is inserted, if they have not already been set. What is the optimal way to achiev...
- Question #406
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?
- Question #407
Which two relationship queries use the proper syntax? (Choose two.)
- Question #408
A developer built a Component to be used at the front desk for quests to self-register upon arrival at a kiosk. The developer is now asked to create a Component for the Utility Tra...
- Question #409
Given a list of Opportunity records named opportunityList, which code snippet is best for querying all Contacts of the Opportunity's Account?
- Question #410
An Apex Trigger creates a Contract record every time an Opportunity record is marked as Closed and Won. This trigger is working great, except (due to a recent acquisition) historic...
- Question #411
Business rules require a Contact to always be created when a new Account is created. What can be used when developing a custom screen to ensure an Account is not created if the cre...
- Question #412
trigger AssignOwnerByRegion on Account ( before insert, before update ) { List<Account> accountList = new List<Account>(); for( Account anAccount : trigger.new ) { Region__c theReg...
- Question #413
Refer to the component code above. The information displays as expected (in three rows) on a mobile device. However, the information is not displaying as desired (in a single row)...