0% found this document useful (0 votes)
39 views26 pages

PD1 Set5 SU23

Uploaded by

kush jais
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views26 pages

PD1 Set5 SU23

Uploaded by

kush jais
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

PT Sedan ap wee rcs

BlestAids~ ?Suy;

Salesforce Certified Platform Developer I

Time Remaining : 01:29:37

60 of 60. What should a developer use to senpt the deployment and unit test execution as part of continuous integration?

A. o Salesforce CLI
B., | VS Code
C.. | Execute Anonymous
0... Developer Console

Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

PT Sedan ap wee rcs

BlestAids~ ?Suy;

Salesforce Certified Platform Developer I

Time Remaining : 01:29:44

59 of 60. An org has an existing flow that creates an Opportunity with an Update Records element. A developer must update the flow to also
create 3 Contact and store the created Contact's ID on the Opportuntty.

Which update must the developer make in the flow?

4.) Add a new Get Records element.


B. © Add anew Create Records element.
C.. | Add a new Roll Sack Records element.
DD, Add a new Update Records element.

'| Mark this itam for later review.

Provide question feedback here (optional):

Please Provide Feedback here,.,


= =F = weeseweHee pools
VA. F oy Owack INTERNATIONAL qa”

BlestAids~ ?Suy;

Salesforce Certified Platform Developer I

Time Remaining : 01:29:49

58 of 60. Universal Containers (UC) is developing a process for their sales teams that requires all sales reps to go through a set of scripted step
with each new customer they create,

n the first step of collecting information, UC’s ERP system must be checked via a REST endpoint to see if the customer exists. If the
customer exists, the data must be presented to the sales rep in Salesforce,

Which two should a developer implement to satisfy the requirements?

Choose 2 answers
A. a Invocabla method
B. @ Future method
Cc.) Flow
D.; | Tigger

"| Mark this item for later review.

Provide question feedback here (optional);

Please Provide Feedback here...

TA. rae F wy onan INTERNATIONAL qa” Pea

BlestAids~ ?Suy;

Salesforce Certified Platform Developer I

Time Remaining : 01:29:54

57 of 60. Where are two locations a developer can look to find information about the status of batch or future methods?
Choose 2 answers
A. a Apex Flex Quaue
8.| | Paused Flow Interviews component
GC. a Apex Jobs
D,| | Daveloper Console

| | Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


sz ae J as =s swe e
VA. by ORAKE INTERNATIONAL

BlestAids~ ?Suy

Salesforce Certified Platform Developer I

Time Remaining : 01:30:04

56 of 60. Which Lighting code segment should be written to declare dependencies on a Lightning component, c: accowntList, that is used in
@ Visualforce page?

A. <oure:application access-"GLOBAL">
<aura: dependency resourcee"c: accountList"/>
</aura: epplication>
B. <aurea:component saccess="GLOBAL">
<oura:dependency resource="c;accounthist"
/>
</aura: copmponent>
C., | <aure:component access="GLOBAL” extends="1tng: outapp”>
<aura:dependency resource="c:accountList"/>
</aura: component>
1. <aurea:application access-"GLOBAL” extends-"1 tng: outapp”>
<aura:dependency resource="c: accountLisc”/>
</aura:spplication>

Mark this item for later review.

Provide question feedback here (optional):


Mba me Pelle Te ell el bee
Vv, = Ser J = weeesewee
a by ORAKE INTERNATIONAL

SlestAids~ ?Sup;

Salesforce Certified Platform Developer I

ime Remaining : 01:30:17

55 0f 60. The sales management team at Universal Containers requires that the Lead Source field of the Lead record be populated when a Lead
is converted.

What should be done to ensure that a user populates the Lead Source field prior to converting a Lead?

A. Use Lead Conversion field mapping,


B. © Use a validation rule.
C.. ) Create an after trigger on Lead.
D, Use a formula field,

| | Mark this item for later review,

Provide question feedback here (optional);

Please Provide Feedback here...


VM 9” ” Fey onart inreenarionat a

SlestAids~ ?Sup;

Salesforce Certified Platform Developer I

ime Remaining : 01:30:21

54 0f 60. Universal Containers decades to use exclusively declarative development to build out a new Salesforce application.

Which three options should be used to build out the database layer for the application?
Choose 3 answers
&.) | Custom objects and fields
B.!) Triggers
c.g Roll-up summarnes
D.@ Flows
E. @ Relationships

Mark this item for later review.

Provide question feedback here (optional);

Please Provide Feedback here...

VM” "Isp onact inreenarionat Qy-

SlestAids~ ?Sup;

Salesforce Certified Platform Developer I

ime Remaining : 01:30:25

53 0f 60. Which three Salesforce resources can be accessed from a Lighting web component?

Choose 3 answers
A.| | Content asset files
B. @ SVG resources
C.@ All external libraries
D. @ Static resources
E.| | Third-party web components

Mark this item for jater review.

Provide question feedback here (optional):

Please Provide Feedback here...


Pee sa =e = w]e rr

SlestAids~ ?Sup;

Salesforce Certified Platform Developer I

ime Remaining : 01:30:29

52 0f 60. 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?

A. @ BaureEnebled(cacheable-true)
8B. BAureEnabled
Cc. BRemoteAction(cacheeble-true}
D. ERemoteAction

Mark this item for later review.

Provide question feedback here (optional);

Please Provide Feedback here...

Pee sa =e = w]e Cr

SlestAids~ ?Sup;

Salesforce Certified Platform Developer I

ime Remaining : 01:30:35

5io0f 60. A developer has an integer variable called maxatteupts. The developer needs to ensure that once maxattenpts is initialized, it preserves
its value for the length of the Apex transection; while being able to share the variable’s state between trigger executions.

How should the developer declare naxActempts to meet these requirements?

A. Declare maxAttempts a5 4 member vanable on the tigger definition.


B.. Declare maxAttempts as 4 variable on a helper class.
C.. Declare maxAttempts as 4 private static vanable on a helper class.
0. o Declare maxAttempts a5 4 constant using the static and final keywords,

Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


mole
VA. = =e = weewee
F w,onant iwTeaNaTioNnar —-

SlestAids~ ?Sup;

Salesforce Certified Platform Developer I

ime Remaining : 01:30:41

50 of 60. Universal Containers recently transitioned from Classic te Lightning Experience.

One of its business processes requires certain values from the Opportunity object to be sent via an HTTP REST callout to its exterrial
order management system based on an ad-hoc basis when the user presses a custom button on the Opportunity detail page. Example
values are as follows;
« Name
* Amount
* Account

Which two methods should the developer implement to fulfill the business requirement?

Choose 2 answers
A. a Create a Lightning component that performs the HTTP REST callout, and use a Lightning Action to expose the component
on the Opportunity detail page.
B.| Create a Remote Action on the Opportunity object that executes an Apex immediate action to perform the HTTP REST
callout whenever the Opportunsty is updated,
C.| | Create an after update trigger on the Opportunity object that calls a helper method using BFuture (Callout-true) to
perform the HTTP REST callout.
D,@ Create a Visualforce page that performs the HTTP REST callout, and use a Visualforce quick action to expose the
~ component on the Opportunity detail page.

Mark this item for later review.


mole
VA. = =e = weewee
F w,onant iwTeaNaTioNnar =”

SlestAids~ ?Sup;

Salesforce Certified Platform Developer I

ime Remaining : 01:30:45

49 of 60. A developer is tasked to perform a security review of the ContactSearch Apex dass that exists in the system, Within the class, the
developer identifies the following method as 2 security threat:

List<Contact> perform$earch(String lastWeme)(


return Database.query('SELECT Id, FirstWane, LastName FROM Contact UHERE LastWane Like
%'+LastHame+'&'):
'

What are two ways the developer can update the method to prevent a SOQL injection attack?
Choose 2 answers
A. @ Use the escapesingleduotes method to sanitize the parameter before its use,
B.| | Use a regular expression expression on the parameter to remove special characters,
C,|| Use the ReadOnly annotation and the with sharing keyword on the class.
.@ Use variable binding and replace the dynamic query with a static SOQL,

Mark this item for later review.

Provide question feedback here (optional):


Minna Meniitata Tradl nol. aca
VM 9” ” Fey onart inreenarionat Ey"

SlestAids~ ?Sup;

Salesforce Certified Platform Developer I

ime Remaining : 01:30:51

48 of 60. Which three statements are true regarding custom exceptions in Apex?

Choose 3 answers
A. a A custom exception class must extend the system Exception class.
8. | A custom exception class can extend other dasses besides the Exception dass.
Cc.) A custom excaption class cannot contain member variables or methods,
1g A custom exception class name must end with "Excaption”.
£.@ A custom exception class can implement one or many interfaces.

Mark this item for later review.

Provide question feedback here (optional);

Please Provide Feedback here...

VM” "Isp onact inreenarionat Qy-

SlestAids~ ?Sup;

Salesforce Certified Platform Developer I

ime Remaining : 01:30:56

47 of 60. Which statement describes the execution order when triggers are associated to the same object and event?

&. | Taggers are executed alphabetically by trigger name.


8B. Tiggers are executed in the order they are modified,
C.. ) Wiggers are executed in the order they are created.
1g Thgger execution order cannot be guaranteed.

Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


VM 9” ” Fey onart inreenarionat Ey"

SlestAids~ ?Sup;

Salesforce Certified Platform Developer I

ime Remaining : 01:31:03

46 of 60. 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 relabonships, what is the most efficient statement


to retneve the list of Contacts?
A, (SELECT Id, (SELECT Id FROM Job_Application__c) FROM Contact WHERE Account. Industry = 'Technology']:
B. (SELECT Id, (SELECT Id FROM Job_Applications__c) FROM Contact WHERE Accounts.Industry = ‘Technology'];
Cc.) (SELECT Id, (SELECT Id FROM Job_Applications_r} FROM Contact WHERE Accounts.Industry = ‘Technology'];
oO (SELECT Id, (SELECT Id FROM Job_Applications_r)} FROM Contact WHERE Account. Industry = 'Technology']:

Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

F ieeaieliahdiielies
Em i
qa”
vA. by ORAKE INTERNATIONAL

BlestAids~ ?Sup

Salesforce Certified Platform Developer I

lime Remaining : 01:31:09

45 0f 60. A company has been adding data to Salesforce and has not done a good job of limiting the creation of duplicate Lead records. The
developer is considering writing an Apex process to identify duplicates and merge the records together.

Which two statements are valid considerations when using serge?

Choose 2 answers
A. a The merge method allows up to three records, including the master and two additional records with the same sObject type,
to be merged into the master record.
B.| The field yalues on the master record are overwritten by the records being merged,
C.; External 10 fields can be used with the nerge method,
0g Merge is supported with accounts, contacts, cases, and leads.

| Mark this item for later review.

Provide question feedback here (optional);

Please Provide Feedback here...


VA =z SF
Fw onact mrtanariouat
swe se wes
a” rq:

BlestAids~ ?Sup

Salesforce Certified Platform Developer I

lime Remaining : 01:31:15

44 0f 60. What are three characteristics of change set deployments?

Choose 3 answers
4.\ Change sets can only be used betyeen related organizations.
B.| Deployment is done in a one-way, single transaction.
C.@ Change sets can ba used to transfer records,
.@ Change sets can deploy custom settngs data.
E. a Sending a change set between two orgs raquires a daployment connection,

| | Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

F ieeaieliahdiielies
sz =F
Fac
i
DRAKE INTERNATIONAL qP”
VA.

BlestAids~ ?Sup

Salesforce Certified Platform Developer I

lime Remaining : 01:31:20

43 of 60. Which action may cause triggers to fire?

4. Renaming or replacing a picklist entry


B.. ) Changing 4 user's default division when the transfer division option ts checked
oii “ Cascading delete operations
0. @ Updates to Feed Items

Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


F ieeaieliahdiielies
Em i
qP”
vA. by ORAKE INTERNATIONAL

BlestAids~ ?Sup

Salesforce Certified Platform Developer I

lime Remaining : 01:31:25

42 0f 60. A developer created a child Lightning web component nested inside a parent Lightning web component, The parent component needs
to pass 4 string value to the child component.

In which Owo ways can this be accomplished?

Choose 2 answers
A. a The parent component can use @ public property to pass the data to the child component.
B.| : The parent component can invoke a method in the child component.
c.g The parent component can use & custom event to pass the data to the child component.
0.) The parent component can use the Apex controller class to send data to the child component,

Mark this tem for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

F ieeaieliahdiielies
Em i
qP”
vA. by ORAKE INTERNATIONAL

BlestAids~ ?Sup

Salesforce Certified Platform Developer I

lime Remaining : 01:31:30

41 0f60. A Primaryld_c custom field exists on the Candidate_c custom object. The field is used to store each candidate's id number and is
marked as Unique in the schema definition.

As part of a data enrichment process, Universal Containers has a CSV file that contains updated data for all candidates in the system,
The file contains each Candidate's primary id as @ data point. Universal Containers wants to upload this information into Salesforce,
while ensunng all date rows are correctly mapped to 2 candidate in the system.

Which technique should the developer implement to streamline the dats upload?

A. Create 4 before insert trigger to correctly map the records,


8. Upload the CSV into a custom object related to Candidate_c.
C.©@ Uodate the PrinaryId_c field definition to mark it as an External Id,
D,. Create a before save flow to correctly map the records.

Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


cc
sz =F J zs =e = w]e
qa”
VA. by ORAKE INTERNATIONAL

BlestAids~ ?Sup

Salesforce Certified Platform Developer I

lime Remaining : 01:31:34

40 of 60. Which scenario is valid for execution by unit tests?

A. Generate a Visualforce PDF with getContentasPDF |).


8... Load data from @ remote site with a callout.
c. °o Set the created date of a record using a system method.
D.. Exeoute anonymous Apex as a different user.

| Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

F ieeaieliahdiielies
Em zs =e = w]e
by ORAKE INTERNATIONAL qP”
VA.

BlestAids~ ?Sup

Salesforce Certified Platform Developer I

lime Remaining : 01:31:39

39 of 60. What are three capabilities of the <itng:require> tag when loading JavaScript resources in Aura components?

Choose 3 answers
4. @ Specifying loading order
8. a One-time loading for duplicate scripts
C. @ Loading scripts in parallel
D.| | Loading files from Documents
E.\ | Loading externally hosted scripts

Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


VA
Em
by ORAKE INTERNATIONAL
i
EE F ieeaieliahdiielies

BlestAids~ ?Sup

Salesforce Certified Platform Developer I

lime Remaining : 01:31:48

38 of 60. A developer is creating a page that allows users to create multiple Opportunities. The developer is asked to verify the current user's
default Opportunity record type, and set certain default values based on the record type before inserting the record.

How can the developer find the current user's default record type?

A. o Use Opportunity. S0bjectType. yetDescribe(}.getRecordTypeInfos() to get a list of record types, and iterate through
them unb! isDefaul tRecordTypeMapping(| is true,
B. Use the Schema. userInfo. Opportunity. getDefaul tRecordType(} method,
Query the Profile where the 1D equals userInfo.getProfileID() and then use the
profile. Opportunity. yetDefaultRecordType() method,
D, Create the opportunity and check the opportunity. recordType, which will have the record ID of the currant user's default
record type, before inserting.

Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

WA” Fo Geant trtenariowat a


GlestAids~ P?Support Exi

Salesforce Certified Platform Developer I

lime Remaining : 01:31:54

37 of 60. Which three steps allow a custom Scalable Vector Graphic (SVG) to be included in a Lightning web component?

Choose 3 answers
A.\ | Reference the import in the HTML template,
B. a Import the static resource and provide a JavaScript property for it.
€ a Referance the property in the HTML template,
D. @ Unload the SVG as a staticresourca.
E.| | Import the SVG as a content asset file.

Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


Lights
Screer
to ope
=z Se J zs =s =] rc
VA. by ORAKE INTERNATIONAL qa”

STest Aids ~ ?Support Exi

Salesforce Certified Platform Developer I

lime Remaining : 01:32:07

36 of 60. A developer considers the following snippet of code:

Boolean 130K;
integer x;
String the3tring = 'Hello';

1f (130K -- false <é theString == 'Hello'){


x= 1;
} else if (isOK == true ce theString == 'Hello') {
x= 2:
} else 1f (180K !» null «é& theString == ‘Hello')(
x = 3;
} else {
x = 43
} Ne
Based on this code, what is the value of x?
Lights
2@ Screer
B43 to ope
Cc. 2
VA” ©" Foy owace trtenariowat -
Test Aids ~ ?Support Exi

Salesforce Certified Platform Developer I

lime Remaining : 01:32:11

35 of 60. A custom Visualforce controller calls the apexPages. addfiessage() method, but no messages are rendering on the page,

Which component should be added to the Visualforce page to display the message?
&. | <apex:fecet name="nessages” />

B. <apex:pageMessage severity="info” />

C.; | <apex:message for="info"/>


D. ° <apex:payeMessayges />

Mark this item for later review.

Provide question feedback here (optional):

me . “ mi le
Sm J. =s
= =]. cr aoe
Va by ORAKE INTERNATIONAL qa”

GlestAids~ P?Support Exi

Salesforce Certified Platform Developer I

lime Remaining : 01:32:15

34 0f 60. Universal Containers wants Opportunities to no longer be editable when it reaches the Closed/Won stage.

Which two strategies can a developer use to accomplish this?


Choose 2 answers
A. @ Use an after-save flow,
B. @ Use a validation rule,
C.| Use a tigger.
D.; | Use the Process Automation settings.

Mark this item for later reviaw.

Provide question feedback here (optional);


a a8 as “=EFrTsa ap =e & fesse
_
vA. F uy CROKE INTERNATIONAL

BlestAids* ?Support = Exi

Salesforce Certified Platform Developer I

lime Remaining : 01:32:20

33 0f 60. Which three stataments ara accurate about debug logs?


Choose 9 answers
AL a Debug log levels ara cumulative, where FINE log level indudes all events logged at tha DEBUG, INFO, WARN, and ERROR
levels.
B.| |) Only the 20 most recent debug logs for a user are kept.
cy Go System debug logs ara retained for 24 hours,
IPS 8 Debug logs can be set for specific users, classes, and triggers.
E.) | The maximum size ofa debug log is 5 MB.

{| | Mark this item for later review.

Provide question feedback here (optional): |


Sm J. =s
= =]. cr ae
Va by ORAKE INTERNATIONAL qa”

GlestAids~ P?Support Exi

Salesforce Certified Platform Developer I

lime Remaining : 01:32:25

32 0f60. What should a developer do to chack the code coverage of a dass after running all tests?
A. View the Code Coverage column in the list view on the Apex Classes page.

B. Select and run the dass on the Apex Test Execution page in the Developer Console.
Cc. o View the Class Test Percentage tab on the Apex Class list view in Salesforce Setup.
Bo. View the code coverage percentage for the class using the Overall Code Coverage panel in the Developer Console Tests
tab.

Mark this item for later review.

Prowde question feedback here (optional):

Please Provide Feedback here...


Sm J. =s
= =]. rT
VA. by ORAKE INTERNATIONAL qa”

GlestAids~ P?Support Exi

Salesforce Certified Platform Developer I

lime Remaining : 01:32:29

31 0f 60. A Salesforca administrator used Flow Builder to create a flow named “accountOnboarding”. The flow must be used inside an Aura
component,

Which tag should a developer use to cisplay the flow in the component?
A." eure-flow
B.. ) aura: flow
C.@ lignming:tlov
D. lightning-flov

Mark this item for later reviaw.

Provide question feedback here (optional);


Em J. ss =s =] ca
TA. by ORAKE INTERNATIONAL qa”

GlestAids~ P?Support Exi

Salesforce Certified Platform Developer I

lime Remaining : 01:32:35

30 of 60. A developer at Universal Containers is tasked with implementing a new Salesforce application that will be maintained completely by
their company’s Salesforce administrator.

Which two options should be considered for building out the business logic layer of the application?
Choose 2 answers
4. @ Validation Rules
B.| | Scheduled Jobs
°.@ Record-Tnggered Flows
0.) | Invocable Actions

Mark this item for later review.

— “= =e J
ws
_—~s. _—~s
, = cc
| nie
VA. by ORAKE INTERNATIONAL qa”

GlestAids~ P?Support Exi

Salesforce Certified Platform Developer I

lime Remaining : 01:32:40

29 of 60. 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 Code Coverage Setup page.
C., Use the Flow Properties page.
0.@ Use SOQL and the Tooling API.

Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


=z Se J =s
= =].
vA by ORAKE INTERNATIONAL

GlestAids~ ?Support Exi

Salesforce Certified Platform Developer I

lime Remaining : 01:32:44

28 of 60. Which action causes 2 before trigger to fire by default for Accounts?
A. °o Importing data using the Oata Loader and the Bulk API
B.. Renaming or replacing picklists
€., . Canverting Leads to Contacts
D.. | Updating addresses using the Mass Address update tool

Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

az aE ap =e nap ™=s 8
VA. P DROGE INTERNATIONAL

Blest Aids ?Support Exi

Salesforce Certified Platform Developer I

lime Remaining : 01:32:50

27 of 60. What are two Use cases for executing Anonymous Apex coda?
Choose 2 answers
4.| | To delete 15,000 inactive Accounts in a singla transaction after a deployment
8. @ To schedule an Agex class to run periodically
C. @ Tun a baten Agex class to update all Contacts
0.) | To add unit test code coverage bo an org

| | Mark this rtem for later review.

Provide question feedback here (optional);

Please Provide Feedback here...


=z Se J =s
= =].
vA by ORAKE INTERNATIONAL

GlestAids~ ?Support Exi

Salesforce Certified Platform Developer I

lime Remaining : 01:32:56

26 of 60. 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, Descnption, and 4 custom comments field,

Which consideration should the developer be aware of when deciding between SOQL and SOSL?
Choose 2 answers
4. SOSL ts able to retum more records.
8. o SOSL ts faster for text searches.
c.g SOQL is able to return more records,

oO. SOQL is faster for text searches.

Mark this item for later review.


Wa"! J awWwiiwti age vere
by OROKE INTERNATIONAL

BlestAids~ ?S

Salesforce Certified Platform Developer I

Time Remaining : 01:33:02

25 0f60. What are two ways for a developer to execute tests in an org?
Choose 2 answers
A.| | Bulk API
B.| | Metadata API
c.g Developer Console
D. a Tooling API

Mark this item for later review.

Provide question feedback here (optional):

e@ Provide Feedback here...


Wa™? J awWwiiwti age vere
by OROKE INTERNATIONAL

BlestAids~ ?S

Salesforce Certified Platform Developer I

Time Remaining : 01:33:07

24 of 60. How should a developer write unit tests for a private method in an Apex dass?
A. Use the SeeAliData annotation.
B. Mark the Apex class as global.
C.@ Use the Testvisible annotation.
0, Add a test method in the Apex class.

Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

Wa"! J awWwiiwti age vere


by OROKE INTERNATIONAL

BlestAids~ ?S

Salesforce Certified Platform Developer I

Time Remaining : 01:33:13

23 0f 60. A lead developer creates an Apex interface called Laptop. Consider the following code snippet:

public class SilverLoptop!{


//code implementation
}

How can a developer use the Laptop interface within the SiiverLaptop class?
A. GExcends (clesz="Lapcop”)
public class SilverLaptop
B. public class SilverLoptop extends Laptop

ie BInterface (class-"Laptop")
public class SilverLaptop
uO public class SilverLaptop implements Laptop
220f60. 4 developer must craate a drevliat class that provides capabilities defined in tha sortable and Drawable intarfaces,

public interface Sortable {


void aort|):

public interface Drawable {


void draw|):

Which is the correct implementation?

A. public class Drawlist extends Sortable, Drawable |


public void sort() { /*implenentation™/}
public void drawt) { /*inplementation™/}

1. © public class Droawhist implements Sortable, Drawsble {


public void sort() { /*implenentation™/}
public void draw() { /*implemenrationt)}

C. public clase Drewlist extends Sortable, extends Drawable |

Salesforce Certified Platform Developer I

Time Remaining : 01:33:31

210f60. 4 developer yants to import 500 Opportunity records into a sandbox,

Why should the developer choose to use Data Loader instead of Data Import Wizard?
Ae Data Import Wizard can not import all 500 records.

B. Data Loader automatically relates Opportunities to &ccounts.

ey o Data Import Wizard does not support Opportunities.

o. Data Loader runs from the developer's browser.

Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

Salesforce Certified Platform Developer I

Time Remaining : 01:33:36

200f 60. A developer ywants to imarove runtime performance of Apex calls by caching results on the cient.

Whatis the most efficient way to implement this and follaw bast practicas?
Ae Set a cookie in the browser for use upon return to the page.

B. Decorate the server-side method with BAuceEnebled(cachesble=crus).


i Callthe setStoreble¢) method on the action in the JavaScript client-side code.

Oo. o Decorate the server-side method with BaureEnebled{storablestrue).

Mark this tem for later review.

Provide question feedback here (optional):


Salesforce Certified Platform Developer I

Time Remaining : 01:33:42

19 0f 60. A company wants to implament anew call canter process for handling customer service calls, It requires service reps bo ask for the
callers account number before proceeding with the rest of their call ecript.

Follawing best practices, what is the optimal approach to satisfy this requirement?

4.) Apex trigger


B. Approvals
c. Einstein Next Best Action
D. @ Flow Builder

Mark this item for later review

Provide question feedback hera (aptianal):

Please Provide Feedback Here...

Salesforce Certified Platform Developer I

Time Remaining : 01:33:46

180f60. 4 developer is asked to prevent anyone other than a user with Sales Manager profile from changing the Capartunity Status to Closed
Lost if the lost reason is blank.

Whech automation allows the develaper to satisfy this requirement in the most efficient manner?

A. An approval process onthe Opportunity object


B. @ An error condition formula on a validation rule on Opportunity
C./) An Apex trigger on the Opportunity object
D. A record tigger flow onthe Opportunity object

Mark this team for later review

Provide question feedback here (optional):

Please Provide Feedback here...

Salesforce Certified Platform Developer I

Time Remaining : 01:33:52

17 of 60. In the following example, which sharing context will wytethed execute when it is invoked?

public Class myCLlass


public wold myHethod[) { #* implementerion FY }

}
As Sharing rules will not be enforced for the running user.

B. o Shanng rules will be inherited from the calling context.


iit Shanng rules will be enforced by the instantating class.
B. Shanng rules will be enforced for the running user.

Mark this tem for later review.

Provide question feedback here (optional):


Salesforce Certified Platform Developer I

Time Remaining : 01:33:57

16 0f 60. 4 developer wants to mark each Account in a Last<Account> as either Active or Inactive, based on the value in the Laathodifiedbate
field of each Account being greater than 90 days in the past,

Which Apes technique should the developer use?


A. A for loop, with a switch statement inside
B. @ 4 for loop, with an if-else statement inside
CC. Ammtch statement, with a for loop inside
O, An if-else statement, with 4 for loop inside

Mark this item for later review.

Provide question feedback here (optional):

Please Pravi eedback he

Salesforce Certified Platform Developer I

Time Remaining : 01:34:04

15 0f60. Which two are phases in the Aura application event propagation framework?
Choose 2 answers
A. @ Default
B. a Bubble
c. Control
Oo. Ernit

Mark this rtam for later review

Provide question feedback here {aptianal):

Please Provide Feedback here...

Salesforce Certified Platform Developer I

Time Remaining : 01:34:07

14 0f 60. When a user adits tha Postal Code on an Account, 4 custom Account text field named "Timezone" must be updated based on the values
in another custom object called PostalCadeToTimezone c.

Whatis the aptimal ray to implement this feature?


A. Create a formula field.
B. Build an account assignment rule.
C.@) Build a flow with Flow Builder
Bi; Create an account approval process.

Mark this item for later review.

Provide question feedback here (aptianal):

Please Provide Feedback here...


Salesforce Certified Platform Developer I

Time Remaining : 01:34:11

140f60. When auser adits the Postal Coda on an Account, a custom Account text field namad "Timezone" must be updated based on the values
in another custom object called PostalCadeToTimezone¢.

Whatis the optimal way to implement this feature?


A. Create a formula field.
B. Build an acoount assignment rule.
C.@ Build a flow with Flow Builder.
BD, Create an account approval process.

Mark this item for later review.

Provide question feedback here (optional):

sedback Were...

Salesforce Certified Platform Developer I

Time Remaining : 01:34:17

13 0f60. If Agex code executes inside the execute () method of an Apex class when implementing the Batchable interface, which two statements
are true regerding governor limits?
Choose 2 answers
a. The Apes governor limits cannot be exceeded due to the asynchronous nature of the transaction,
B. o The Apex governor limits are omitted while calling the constructor of the Apex class.
iG: The 4pex governor limits will use the asynchronous limit levels.
oD. a The Apex governor limits are reset for aach iteration of the exeeure|) method.

Mark this rbem for later review.

Srovide question feedback here (optional):

Please Provide Feedback here...

Salesforce Certified Platform Developer I

Time Remaining : 01:34:22

12 of 60. A software company uses the following objects and relationships:


* Case: to handle customer support issues
* Defect__c: a custom object to represent known issues with the company’s software
* Case Defect_c: a juncton object between Case and Defect_c to represent that a defect is 2 cause of a customer issue

Case and Defect__c have Private organization-wice defaults.

What should be done to share a speafic Case_Defect_c record with a user?


A. Share the parent Defect__c record,
B Share the parent Case record.
c. Share the Case_Defect__c record

u.g Share the parent Case and Defect__c records,

Mark this item for later review

Provide question feedback here (optional):


Salesforce Certified Platform Developer I

Time Remaining ; 01:34:28

11 of 60. 4 developer must troubleshoot


to pinpoint the causes of performance issues when a custom page loads in their org.

Which tool should the developer use to troublashoot?

Ay Visual Studia Cade IDE


B. Setug Menu

c.g Developer Console


Oo. AppExchange

Mark this rem for later review.

Srovide question feedback here faptional):

Please Provide Feedback here...

Salesforce Certified Platform Developer I

Time Remaining : 01:34:36

10 of 60, Universal Containers has implemented an order management application. Each Order can have one or more Order Ling items, The Order
Line object is related to the Order wia @ master-detail relationship. For each Order Line tem, the total price is calculated by multiplying
the Order Line item price with the quantity orderad.,

Whatis tha bast practice to get the sum of all Order Ling itern totals on the Order record?

4. Apex trigger
B. Quick action
© Roll-up summary field
C. Formula flald

Mark this ttam for later review.

Provide question feedback here (optional):

Please Provide Feedback |

Salesforce Certified Platform Developer I

Time Remaining : 01:34:41

9 of 60. A custom picklist fiaid, rood_Preterence__c, exists on a custom object, The picklist contains the following options: ‘Vegan’, ‘Kosher’, "No
Preference’, The developer must ensure a value is populated every time a record is created or updated.

What is the optmal way to ensure a value is selected every tme a record is saved?
A. Set "Use the first value in the fist as the default value” to True,
B. Mark the field as Required on the object’s page layout.
C. ” Write an Apex trigger to ensure a value is selected.
oO Mark the field as Required on the field definition.

Mark this item for later review

Provide question feedback here (optional):

Pile ase Provide Feedback here.


Salesforce Certified Platform Developer I

Time Remaining ; 01:34:51

Bof60. Adevelopar reeds to hava records with specific field values in order to bast a ew Apex dass,

What should the developer do to ensure the data is available to the test?
A oO Use Test, losddata() and reference = CSV file ina static resource.
B. Use Anonymous Apex to create the required data.

ies, Use Test. losdDeta() and reference a JSON file in Documents.

Do. Use SOOL to query the org far the required data.

| Mark this tem tor later review.

Srovide question feedback here faptianal):

Please Provide Feedback mere...

Time Remaining : 01:35:02

7 of 60. A developer must modify the following code snippet to prayent the number of SOQL queries issued from excaeding the platform
governor limit.

public without sharing class OpportunityService(

public static List<OpportunityLinelItem> get0pportunityProducta(Set<Id@ opportumitylds){


List<OpportunityLinelven> oppLineItems = new List<OpportunityLinelves>
|):
for(Id thisOppid : opportunityIds]{
oppLineItens.addAll((Select Id FROM OpportunitylinelIten WHERE Opportunityld = :this0ppid)}):
}
return oppLineIvens;

The above method might be called during a tngger execution via a Lightning component.

Which technique should be implemented to avoid reaching the governor limit?


A o Use the System. Limits. getQueries() method to ensure the number of queries is less than 100,
B. Refactor the coda above to perform only one SOQL query, filtering by the set of opportunitylas,
C. Use the System. Limits. getLimitgueries{) method to ensure the number of queries is less than 1090,
D. Refactor the coda above to parform the SOQL query only if the set of oppormmitylds contains less 100 IDs.

Biecst Alias foDUuppc

Salesforce Certified Platform Developer I

Time Remaining : 01:35:08

6 of 60. A developer must create a Lightning component that allows users to input Contact record information to create a Contact record,
including a Sslary__¢ custom field.

What should the developer use, along with a lightning-record-edit-form, so that Selary__e field funcbons as a currency input and is only
viewable and editable by users that have the correct field level permissions on Selary__c?

A <lightning-input type="nunber” value-"Solary_c" formatter="currency”>


</lightning-input>
B. @ <lightning-input-rieid cield-nane="Salary__c>
</lightning-input-field&
ce <lightning-formotted-number value-"Salary_c” format-style="currency™>
</lightning-fornatted-number>
Dd. <lightning-input-currency value="Selary
o">
</lightning-input-currency>

Mark this item for later review.


BIest Ads * fPoLippc

Salesforce Certified Platform Developer I

Time Remaining : 01:35:15

Soféd. Adevelopar crated anew atter insert rigger on the Lead object that weates Task records for aach Lead,

After danloying to production, an existing outside integration that inserts Lead records in batches to Salesforce is occasionally reporting
total batch failures being caused by the Task insert statement. This causes the integration process ih the outside system to stop,
requiring 4 manual restart.

Which change should the developer make to allaw the integration ta continue when some records in a batch cause failures due ta the
Task insert statement, so that manual restarts are not needed?
A@ Use the Database method with «ll0rNone set to false,
B, Use atry-catch black after the insert statement.
4 Deactivate the trigger before the integration runs.
D. Remove the Apex class from the integration user's profile,

Mark this item for later review. by

BIe€sT AIS fouppe

Salesforce Certified Platform Developer I

Time Remaining : 01:35:22

4o0f60. Universal Containers wants to back up all of the data and attachments in its Salesforce ong once a morith,

Which approach should a developer use to meet this raquirament?


A.@ Oefine a Data Export scheduled job.
B.) Create a Schedulable Apex class.
C.; Use the Data Loader command line.

0.) ) Schedule @ repart.

Mark this tem for later review.

Srovide question feedback here (optional):

Please Provide Feedback here...

BIestAMs™ ysuppc

Salesforce Certified Platform Developer I

Time Remaining : 01:35:29

30f 60. Which two events need to happen when deploying to a production ong?

Choose 2 answers
A. (@) All Aoex code must have at least 75% test coverage.
B. All Visual flaws must have atleast 1% best coverage.
Cc. All tiggers must have some test coverage.
0.) All Workflow rules must have at laast 1% test coverage.

Mark this itam for later review

Provide question feedback here (aptional):

Please Provide Feedback here...


BIeést Als * fsuppc

Salesforce Certified Platform Developer I

Time Remaining : 01:35:34

20f60. Which Agey dass contains methods to return the amount of resources that have been used for a partiqular governor, such as the
number of DML statements?

AL Massaging
Bu Limits
le OrgLimits
D. Exception

Mark this itam for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

BIest Alas* fouppe

Salesforce Certified Platform Developer I

Time Remaining : 01:35:57

1of6d. What can be used to override the Account’s standard Edit button for Lightning Experienca?

AL Lightning flow

B, Lightning action

iS Lighting page

ng Lightning component

Mark this ttem for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


Exam: Salesforce Certified Platform Developer I
Date Completed: 07 July 2023
Time Taken: @ minutes of 105 minutes total
Result: Pass

Developer Fundamentals 85%

Process Automation and Logic 83%

User Interface 80%

Testing, Debugging, and Deployment 84%

Congratulations! You have successfully completed the certification exam to become a Salesfr
Salesforce worldwide community of Certfied Professionals!

You might also like