Salesforce PDI Online Practice
Questions and Exam Preparation
PDI Exam Details
Exam Code
:PDI
Exam Name
:Salesforce Certification for Platform Developer I (Plat-Dev-201)
Certification
:Salesforce Certifications
Vendor
:Salesforce
Total Questions
:270 Q&As
Last Updated
:May 25, 2026
Salesforce PDI Online Questions &
Answers
Question 191:
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?
A. Lookup field from Opportunity to Engineering _support__c B. Master-detail field from Engineering Support__c to Opportunity C. Master-detail field from Opportunity to Engineering Support__c D. Lookup field from Engineering Support __c to Opportunity
B. Master-detail field from Engineering Support__c to Opportunity
Explanation
A master-detail relationship from Engineering_Support__c to Opportunity allows multiple child Engineering_Support__c records to be associated with a single parent Opportunity. It also enables roll-up summary fields to aggregate data from the child records onto the parent Opportunity.
Question 192:
How can a developer check the test coverage of autolaunched Flows before deploying them in a change set?
A. Use the ApextestResult class. B. Use the Flow Properties page. C. Use SOQL and the Tooling API. D. Use the Code Coverage Setup page,
C. Use SOQL and the Tooling API.
Explanation
To check test coverage for autolaunched flows before deployment, developers need to use SOQL queries with the Tooling API. This provides detailed information about which flows are covered and their test results.
Question 193:
Universal Containers (UC) uses out-of-the-box order management, that has a Master-Detail relationship between Order and Order Line Item.
UC stores the availability date on each Order Line Item and Orders are only shipped when all of the Order Line Items are available.
Which method should be used to calculate the estimated ship date for an Order?
A. Use 2 LATEST formula on each of the latest availability date fields. B. Use a CEILING formula on each of the latest availability date fields. C. Use @ DAYS formula on each of the availability date fields and a COUNT Roll-Up Summary field on the Order. D. Use a MAX Roll-Up Summary field on the latest availability date fields.
D. Use a MAX Roll-Up Summary field on the latest availability date fields.
Explanation
Roll-Up Summary Field:
Since the relationship between Order and Order Line Item is a Master-Detail, a Roll-Up Summary field can be used on the Order object.
The MAX function in a Roll-Up Summary field calculates the latest date (the maximum value) among all the availability dates on the Order Line Items.
Why MAX Roll-Up Summary Field Works:
The latest availability date among the Order Line Items will determine when the entire Order can be shipped.
Why Not Other Options?
A and B: There is no such formula called "LATEST" or "CEILING" applicable to date fields.
C: A COUNT Roll-Up Summary is irrelevant for calculating dates.
Which three steps allow a custom Scalable Vector Graphic (SVG) to be included in a Lightning web component? Choose 3 answers
A. Import the static resource and provide a JavaScript property for it. B. Upload the SVG as a static resource. C. Reference the import in the HTML template. D. Import the SVG as a content asset file. E. Reference the property in the HTML template.
A. Import the static resource and provide a JavaScript property for it. B. Upload the SVG as a static resource. C. Reference the import in the HTML template.
Explanation
Upload the SVG file as a static resource in Salesforce.
Import it in the LWC JavaScript file and define it as a property.
Reference the property in the component's HTML template.
Example:
Question 195:
A third-party vendor created an unmanaged Lightning web component. The Salesforce Administrator wishes to expose the component only on Record Page Layouts.
Which two actions should the developer take to accomplish this business objective? Choose 2 answers
A. Specify lightningCommunity_Page as a target in the XML file. B. Ensure isExposed is set to true on the XML file. C. Specify lightningCommunity_Page_Layout as a target in the XML file. D. Specify lightning_RecordPage as a target in the XML file.
B. Ensure isExposed is set to true on the XML file. D. Specify lightning_RecordPage as a target in the XML file.
Explanation
Question 196:
Get Cloudy Consulting (GCC) has a multitude of servers that host its customers' websites. GCC wants to provide a servers status page that is always on display in its call center. It should update in real time with any changes made to any servers. To accommodate this on the server side, a developer created a server Update platform event.
The developer is working on a Lightning web component to display the information.
A. import ( subscribe, unsubscribe, onError ) from 'lightning/empApi ' B. import ( subscribe, unsubscribe, onError ) from 'lightning/MessageChannel' C. import ( subscribe, unsubscribe, onError ) from 'lightning/ServerUpdate' D. import ( subscribe, unsubscribe, onError ) from 'lightning/pubsub'
A. import ( subscribe, unsubscribe, onError ) from 'lightning/empApi '
Explanation
Question 197:
What are three characteristics of change set deployments? Choose 3 answers
Sending a change set between two orgs requires a deployment connection.
A. Change sets can deploy custom settings data. B. Change sets can only be used between related organizations. C. Deployment is done in a one-way, single transaction. D. Sending a change set between two orgs requires a deployment connection. E. Change sets can be used to transfer records.
B. Change sets can only be used between related organizations. C. Deployment is done in a one-way, single transaction. D. Sending a change set between two orgs requires a deployment connection.
Explanation
Change sets can only be used between related organizations:
Change sets require a relationship between the source and target Salesforce orgs, such as a production org and its sandboxes. You cannot use change sets between unrelated Salesforce orgs.
Question 198:
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?
A. Flow B. Lightning Web Components C. Visualforce D. VUE JavaScript framework
B. Lightning Web Components
Explanation
Lightning Web Components (LWCs) are the best choice for creating custom UI components in Salesforce. They provide robust features such as event handling and server-side communication, allowing for validation of user input before saving data.
Question 199:
A Salesforce Administrator is creating a record-triggered flow. When certain criteria are met, the flow must call an Apex method to execute complex validation involving several types of objects.
When creating the Apex method, which annotation should a developer use to ensure the method can be used within the flow?
A. @future B. @RemoteAction C. @InvocableMethod D. @AuraEnaled
C. @InvocableMethod
Explanation
Question 200:
Which two actions may cause triggers to fire? Choose 2 answers
A. Changing a user's default division when the transfer division option is checked B. Updates to FeedItem C. Cascading delete operations D. Renaming or replacing a picklist entry
B. Updates to FeedItem C. Cascading delete operations
Explanation
B. Updates to FeedItem:
Triggers can fire when FeedItem records are updated, such as posts on records or Chatter updates.
C. Cascading delete operations:
When a parent record is deleted, cascading delete operations on related child records can trigger child object triggers.
Why Not Other Options?
A: Changing a user's default division does not fire triggers.
D: Renaming or replacing a picklist entry does not fire triggers.
Nowadays, the certification exams become more and more important and required by more and more
enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare
for the exam in a short time with less efforts? How to get a ideal result and how to find the
most reliable resources? Here on Vcedump.com, you will find all the answers.
Vcedump.com provide not only Salesforce exam questions,
answers and explanations but also complete assistance on your exam preparation and certification
application. If you are confused on your PDI exam preparations
and Salesforce certification application, do not hesitate to visit our
Vcedump.com to find your solutions here.