Salesforce Certified Platform Developer Online Practice Questions

Home / Salesforce / Salesforce Certified Platform Developer

Latest Salesforce Certified Platform Developer Exam Practice Questions

The practice questions for Salesforce Certified Platform Developer exam was last updated on 2025-09-15 .

Viewing page 1 out of 16 pages.

Viewing questions 1 out of 83 questions.

Question#1

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

Question#2

Which code displays the contents of a Visualforce page as a PDF?

A. <apenipage contentType="pdf">
B. <apex:page contentType=“application/pd£f">
C. <apexipage renderAs="pdf">
D. <apex:page renderAs="application/pdf">

Question#3

Refer to the following Apex code:



What is the value of x when it is written to the debug log?

A. 0
B. 1
C. 2
D. 3

Question#4

A company decides to implement a new process where every time an Opportunity is created, a follow up Task should be created and assigned to the Opportunity Owner.
What is the most efficient way for a developer to implement this?

A. Auto-launched flow on Task
B. Apex trigger on Task
C. Task actions
D. Record-trigger flow on Opportunity

Question#5

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?

A. Record-triggered flow
B. Formula field
C. Apex trigger
D. Field Update actions

Exam Code: Salesforce Certified Platform DeveloperQ & A: 237 Q&AsUpdated:  2025-09-15

 Get All Salesforce Certified Platform Developer Q&As