PD1 Set1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 66

x '@ Ba

QPP v»1e GTestaids~ ?suppot exitexam


@ kryterion y OR AKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:53:26

1 of 65. A Salesforce 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 display the flow in the component?
Ao lightning: flow

B.C) lightning-low

C.0) sure-fiow
D.C) aura: flow

oO Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

Next > Submit Exam


x | ® Q

pariner lest Aids Support Exit Exam


&@, kryterion
y OR AKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:53:19

2 of 65. A developer is alerted to an issue with a custom Apex trigger that is causing records to be duplicated.

What is the most appropriate debugging approach to troubleshoot the issue?


AO Review the Historical Event logs to identify the source of the issue.

a © ) Add system.debug statements to the code to track the execution flow and identify the issue.
C.C© Use the Apex Interactive Debugger to step through the code and identify the issue.
BO Disable the trigger in production and test to see if the issue still occurs.

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

Fc osck nest > Preven al sme exam


x '@ BQ

@ kryterion y OHAKE INTERNATIONAL


SD wire: — i
Salesforce Certified Platform Developer I

Time Remaining: 00:51:18

9 of 65. Managers at Universal Containers want to ensure that only decommissioned containers are able to be deleted in the system. To meet the business requirement a
Salesforce developer adds "Decommissioned" as a picklist value for the Status
_c custom field within the Container
_c object.

hich two approaches could a developer use to enforce only Container records with a status of "Decommissioned" can be deleted?
Choose 2 answers
A. oO Before record-tnggered flaw
B. Ga Apex trigger

iy i | After record-triggered flow


D.O Validation rule

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@ BQ

@, kryterion Sy OWARE INTEMNATIONAL


partner lest Aids~ ?Support Exit Exam

Salesforce Certified Platform Developer I

Time Remaining: 00:50:27

16 of 65. Universal Containers wants to ensure that all new leads created in the system have a valid email address. They have already created a validation rule to enforce this
requirement, but want to add an additional layer of validation using automation.

hat would be the best solution for this requirement?


A, (@) Submit a REST API Callout with a JSON payload and validate the fields on a third party system

B.() Use an Approval Process to enforce the completion of a valid email address using an outbound message action.
co Use a before-save Apex trigger on the Lead abject to validate the email address and display an error message if it is invalid
BC) Use a custom Lightning Web component to make a callout to validate the fields on a third party system.

& Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

es Ss er ee | -
x '@ BQ

@, kryterion y DRAKE INTEMNATIONAL


SD vwr006r ——
Salesforce Certified Platform Developer I

Time Remaining: 00:50:21

17 of 65.
A team of developers is working on a source-driven project that allows them to work independently, with many different org configurations.

hich type of Salesforce orgs should they use for their development?

AO Developer sandboxes.
B.C) Full Copy sandboxes
oat @) Developer orgs
rn ©) Scratch orgs

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

BE Re een ees =
x '®©)' BQ
cides eek Edis
&> sartner
@, kryterion y DRAKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:49:28

21 of 65. A developer needs to allow users to complete a form on an Account record that will create a record for a custom object.

The form needs to display different fields depending on the user's job role. The functionality should only be available to a small group of users.

hich three things should the developer do to satisfy these requirements?


Choose 3 answers
AL oO Add a Dynamic Action to the Users’ assigned Page Layouts.

B. oO Create a Lightning web component.


Gis i | Create a Custom Permission for the users,
DB. i] Add a Dynamic Action te the Account Record Page.

: OQ Create a Dynamic Form:

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


CC
x '@ BQ

@, kryterion y¥ DRAKE INTERWATIONAL


partner lest Aids~ ?Support Exit Exam

Salesforce Certified Platform Developer I

Time Remaining: 00:49:18

22 of 65. A developer needs to prevent the creation of Request_c records when certain conditions exist in the system. A BequestLogic class exists that checks the
conditions.

hat is the correct implementation?


AQ trigger RequestTrigge:on Request__c {efter insert) {
RequeatLogic. validateRacorda (trigger.new);

em © ) trigger RequeatTrigger on Hequeat_-c {before insert) {


ReqiestLogicivalidstetecords |tricger.new);

OQ trigger Request econ Requestoc (before insest) [


if (Request: vGaVelid (Request_c})
Request. addErser (‘Your request cannot be created at this time.');

rt @) trigger RequestTrigger on Request


oc fatter insert) {

2£ (Bequestlogic.isVelid{Request_< 4
Request adderror( "Your ssqueat cannot be created at thie time.');

(D Mark this itern for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x v|/@/B Q
&> — Test Aids~ ?Support Exit Exam
@, kryterion ¥ DG AME INTERWATION AL

Salesforce Certified Platform Developer I

Time Remaining: 00:48:27

29 of 65. 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.

hat is the most efficient way for a developer to implement this?


A.@ Apex trigger on Task
B.C) Task actions
€.0) iAuto-launched flow on Task
Te) Record-triggered flow on Opportunity

& Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

es Ss ee ee |
x '@ Ba

@ kryterion by ORAKE INTEANATIONAL


partner ——————
Salesforce Certified Platform Developer I

Time Remaining: 00:47:30

36 of 65. 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.

ow can the developer find the current user's default record type?
AO Create the opportunity and check the opportunity. cecoratype, which will have the record ID of the current user's default record type, before inserting.

B.C) Query the Profile where the ID equals userinZo.geterofilezo() and then use the profile opportunity. getbefaultkesoratype (} method,
C, [e) Use the schema. userinfe. Opportunity. getDefaultkessrdTyps |) method.
oer © | Use opportunity. s0bjectTyps. getDeacribsa().getRecordTypeInfea {) to get a list of record types, and iterate through therm until isvefaulcrecordtypemapring|) is true.

& Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

es Ss ee ee |
x '@ BQ

@, kryterion y OR AKE INTERNATIONAL


partner Test Aids~ ?Support Exit Exam

Salesforce Certified Platform Developer I

Time Remaining: 00:47:26

37 of 65. The Account object in an organization has a master-detail relationship to a child object called Branch. The following automations exist:
« Roll-up summary fields
« Custom validation rules
* Duplicate rules

developer created a trigger on the Account object.

Which two things should the developer consider while testing the trigger code?
Choose 2 answers
A. i | Rollup summary fields can cause the parent recordto go through Save,
B. O Duplicate rules are executed once all DML operations commit to the database.

Cy The trigger may fire multiple times during a transaction.


BO The validation rules will cause the trigger to fire again.

CD Mark this item for later review,

Provide question feedback here (optional):

Please Provide Feedback here...


x |'® Ba
(Test Aids~ Support ExitExam |
&> —
@, kryterion

Salesforce Certified Platform Developer I

Time Remaining: 00:43:31

50 of 65. A Primaryld© 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.

S 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
d as a data point. Universa! Containers wants to upload this information into Salesforce, while ensuring all data rows are correctly mapped to a candidate in the system.

hich technique should the developer implement to streamline the data upload?
AQ Upload the CSV into-a custom object related to candidate__c.

B. oO Create @ before insert trigger to correctly map the records,


c. o Update the gsimarytd_« field definition to mark it. as.an External Id.
B.C Create a before save flow to correctly map the records.

Oo Mark. this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


Gest Alds~ ?Suppoct eExitexam |
x '@® Ba

@, kryterion SD ower
y DRAKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:43:23

51 of 65. 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:

Account myAccount = new Account (Name = 'MyAccount');


insert myAccount:

Integer x = 1;

List¢Account> newAccounts = new List<Account>(};


do {

Account acet = néw Account (Name = ‘New Account ' + x+t+)?


newhccounta add{acet);

} while (x -< 10);

How many total accounts will be in the org after this code is executed?
AOs
BO 6
c.@ 10
D.© 15

| Mark this item for later review.


x | ® Q

partner SSS eS
@ kryterion y DRAKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:41:31

63 of 65. A developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunityLineltem trigger.

Which method allows access to the price book?


AO Us@ Test .getStandardPriceboskIa() to get the standard price book ID.

B.C Us@ @fsTest [f]eeRiidate=troe| and delete the existing standard price book.
C.C) Use ereatvisitie to allow the test method to see the standard price book.
ra @) Use Teast. loaddata(|| and a static resource to load a standard price book,

(D Mark this item for later review.

Providé question feedback: here (optional):

Please Provide Feedback here...

es SS
x '® Ba

@, kryterion partner
fflest Aids ?Support Exit Exam

y DRAKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:41:26

64 of 65.
A developer must create a Lightning component that allows users to input Contact record information to create a Contact record, including a Salaryc custom field.

hat should the developer use, along with a lightning-record-edit-form, so that Salary__c field functions as a currency input and is only viewable and editable by users that
ave the correct field level permissions on Salary _c¢?

AL oO tlightning-input-currenty value="Salary c™>

“/lLightning-input-currency>
3 (@) Slightning-formatted-number value="Salary oo" formatcetyle="curzency">

¢/lightning-formatted-number>
Les °o <lightning-input-field field-name="salary_o">
</lightoing-ineut—fiela>

ra @) <lightning-input type="numbec" value="selary_c" formatter="currency">


#/Lightning-input>

CD Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x |@ Q

QD 02100 Grectaide- Tiuext Ettem


@ kryterion y OR AKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:53:13

3 of 65. What is the result of the following code snippet?

public woid doWork(Account acct) {

for (Integer i = 0; i <= 2007 i++) {


insert acct;
}

A@ O Accounts are inserted.


B.C) 1 Account is inserted.

iT @) 200 Accounts are inserted.


D.C) 201 Accounts are inserted.

(OD Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

ls.

4
CC
x '®| BQ

@ kryterion partner Best Aids~ ?Sunnost Exit Exam


y CRAKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:52:49

4 of 65. If Apex code executes inside the =xecute() method of an Apex class when implementing the Batchable interface, which two statements are true regarding governor
limits?
Choose 2 answers
AL The Apex governor lirnits are reset for each iteration of the execete () method.

B. The Apex governor limits cannot be exceeded due to the asynchronaus nature of the transaction.

c. oO The Apex governor limits will use the asynchronous limit levels.
D.C) The Apex governor limits are omitted while calling the constructor of the Apex class.

O Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

EE Pe Fe Sana =
( 4_«CDESKTOP-H7VCV70
- Remotely x | —!
<i “e
el A Notsecure | 3.7.120.207/RemoteControl?clientID=1WoONLGKSdtV-NU-NSyDJO&servicelD=57-gAqnWuWQh8xB2amd5_g MD vy fo 6s Re s on

@ kryterion partner a
. Blest Aids* YSupport Exit Exam

i% by GAARE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:52:39

5 of 65. A developer must perform a complex SOQL query that joins two objects in a Lightning component.

How can the Lightning component execute the query?


A. fe] Write the query in a custom Lightning web component wrapper and invoke from the Lightning component.

B. (@) Invoke an Apex class with the method annotated as @AcraBnebied to perform the query.

£O Use the Salesforce Streaming APL to perform the SOQL query.

0.) Create a flow to execute the query end invoke from the Lightning component.

OC Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


vebssessor_x |'®
[ES]
Ba

@kryterion QD verre eee


Salesforce Certified Platform Developer I

Time Remaining: 00:52:04

6 of 65. Which two operations affect the number of times a trigger can fire?

Choose 2 answers
A. | Criteria-based sharing calculations
B. O Email messages

Cc. Roll-up summary fields


Dg After-save record-triggered flow

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@® Ba

partner Gest Aids~ ?Support Exit Exam


@, kryterion y GHAKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:51:59

7 of 65. Which two are best practices when it comes to Aura component and application event handling?
Choose 2 answers
AL (J Try to use application events as opposed to component events.

B. Reuse the event logic in a component bundle, by putting the legic in the helper.

fa O Use component events to communicate actions that should be handled at the application level.

Pe | Handle low-level events in the event handler and re-fire them as higher-level events.

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

es Ss
x '@ BQ

@, kryterion y GHAKE INTERNATIONAL


partner Test Aids ?Support Exit Exam

Salesforce Certified Platform Developer I

Time Remaining: 00:51:53

8 of 65. What are three considerations when using the @lnvocableMethod annotation in Apex?

Choose 3 answers
AL Q Only one methad using the @rnvecsti—emethoa annotation can be defined per Apex class_

B. Oo A method using the @invecableMethsd annotation can have multiple input parameters.

Cy A method using the @invocablemethod annotation must be declaredas static,


Do. GO A method using the @invocablemethed ennotation must define a return value.
E. A method using the @rnvocablewethod annotation can be declared as Public or Global.

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

Ee ee SE! Sra be
x '®@ Ba

@, kryterion y DRAKE INTEMNATIONAL


SD vwr006° —
Salesforce Certified Platform Developer I

Time Remaining: 00:51:10

10 of 65. Which two settings must be defined In order to update a record of a junction object?
Choose 2 answers
AL Read/Write access on the secondary relationship
B. Read/Write access on the primary relationship

Cy. O Read/Write access on the junction object

D.([) Read access on the primary relationship

O Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

-
x '®@ Ba

@, kryterion y DRAKE INTEMNATIONAL


SD vwr006° —
Salesforce Certified Platform Developer I

Time Remaining: 00:51:05

11 of 65. A developer wrote Apex code that calls out to an external system using REST API.

How should a developer write the test to prove the code is working as intended?
Ao Write a class that implements HTTPc=alloutMock.

B.C) Write a class that extends web@=erviceloo.

C.C© Write a class that implements webserzicemock.


DB.) Write a class that extends arrpcailoutmock.

oO Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x @) Q
. lest Aids ?Support Exit Exam
@, kryterion partner
by OWAKE INTEMNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:50:57

12 of 65. Universal Containers wants to assess the advantages of declarative development versus programmatic customization for specific use cases in its Salesforce
implementation.

hat are two characteristics of declarative development over programmatic customization?

Choose 2 answers
AS Declarative development does not require Apex test classes.

B. oO Declarative development has higher design limits and query limits,

Ge Declarative development can be done using the Setup menu.


DB. oO Declarative code logic does not require maintenance or review.

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@® Ba
?Support ExitExam |»
partner lest Aids
@, erion
krytvy CORAKE INTEMNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:50:45

13 of 65. How is a controller and extension specified for a custom object named "Notice" on a Visualforce page?
A@ apexipage standard¢sat=elles="Netice
¢" extensions="myControllerExtension"”

it @) apesipage contsollers="Notice
oc, myContcollerExtension"

CO apexipege=NWotice extends="myControllerExtension”

ba @) apexipage controller="Notice
oc" extensions="myTontrollerExtension"

(CD Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@® Ba
Gest Aids~ Support Exitexam of
&> —
@, kryterion vy CORAKE INTEMNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:50:40

14 of 65. How does the Lightning Component framework help developers implement solutions faster?
AO By providing an Agile process with default steps
BO By providing code review standards and processes

ot @) By providing change history and version control


neo ) By providing device-awareness for mobile and desktops

(CD Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

ey ES ET
x '@® Ba

@, kryterion Sy OWARE INTEMNATIONAL


partner ——
Salesforce Certified Platform Developer I

Time Remaining: 00:50:35

15 of 65. Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records.

Which Visualforce feature supports this requirement?


AO Standard Controller with Custom List Controller extension
B. 7) Custom List Controller with recorasetvar page attribute
€.C) Controller Extension and <spex:listeutton> tag
Pet @ ) Standard controller and the recordsecyar page attribute

© Mark this itern for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@ Ba

@ kryterion y DRAKE INTERNATIONAL


BH mre — a OF

Salesforce Certified Platform Developer I

Time Remaining: 00:49:45

18 of 65. A team of many developers work in their own individual orgs that have the sare configuration as the production org.

Which type of org is best suited for this scenario?


AO Developer Sandbox
ea @ ) Full Sandbox

it @) Developer Edition

rae) Partner Developer Edition

(CD Mark this item for tater review.

Provide question feedback here (optional):

Please Provide Feedback here...


CC
x '®©)' BQ

@, kryterion y DRAKE INTERNATIONAL


partner

Salesforce Certified Platform Developer I

Time Remaining: 00:49:39

19 of 65.
A developer must provide custom user interfaces when users edit a Contact in either Salesforce Classic or Lightning Experience.

hat should the developer use to override the Contact's Edit button and provide this functionality?

A.©) Alightning component in Salesforce Classic and a Lightning component in Lightning Experience
B.C) A Lightning page in Salesfarce Classic and a Visualforce page in Lightning Experience
=r @) A Nisualforce page in Salesforce Classic and a Lightning page in Lightning Experience
ro ) A Visuelforce page in Salesforce Classic and a Lightning component in Lightning Experience

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

een Rea Pea eas sd


x '@ BQ

@, kryterion y DRAKE INTERNATIONAL


partner Elest Aids~ ?Support ExitExam =~

Salesforce Certified Platform Developer I

Time Remaining: 00:49:33

20 of 65. Which code statement includes an Apex method named updateAccounts in the class AccountController for use in a Lightning web component?
AO ampert updateReccunts from "AccountControlles';

&.©@ import updateAccsunts from "Gaalesforce/apex/Accountfontrclie:';


CO import updateAccounts from "Account@ontroller.updateAccounts';
Oo. oO import updateAccounts from "@salesforce/apex/AccountController.updateAccounts";

(CD Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@ BQ

@kryterion y ORAKE TERNATIONAL


SD vwiiver ——— ee
Salesforce Certified Platform Developer I

Time Remaining: 00:49:10

23 of 65. For which three iterns can a trace flag be configured?

Choose 3 answers
AL Apex Class
B. O Flow
(aes User

0.0) Visualforce
E. Apex Trigger

O Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

Bren Se Peer Pres -


vecnssor__ x '@®
ln
Ba
ES
@, kryterion y DG AKE INTERHATIONAL
Dower —— a Ol
Salesforce Certified Platform Developer I

Time Remaining: 00:48:58

24 of 65. Which exception type cannot be caught?


AO A custom exception
Et © ] Linitlscepticn

cO NokccessException
o. oO CelloutException

(CD Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@® Ba

@kryterion y DG AKE INTERHATIONAL


partner — so
Salesforce Certified Platform Developer I

Time Remaining: 00:48:55

25 of 65. What should a developer do to check the code coverage of a class after running all tests?
Ag View the code coverage percentage for the class using the Overall Code Coverage panel in the Developer Console Tests tab,
ae) View the Class Test Percentage tab on the Apex Class list view in Salesforce Setup.
ot @) Select and run the class on the Apex Test Execution page in the Developer Console.
B.C) View the Code Coverage column in the list view an the Apex Classes page.

OC Mark this itern for Jater review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@ BQ
ssarerner Test Aids~ ?Support ExitExam |
kryterion &>
@, y DGARE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:48:49

26 of 65.
A developer creates a new Apex trigger with a helper class, and writes a test class that only exercises 95% coverage of the new Apex helper class.

hange Set deployment to production fails with the test coverage warning:
"Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required.”

hat should the developer do to successfully deploy the new Apex trigger and helper class?

A. oO Increase the test class coverage on the helper class.


Ee © ] Create a test class and methods to cover the Apex trigger.

ot @) Remove the failing test methods from the test class.


Dr @) Run the tests using the ‘Run All Tests’ method.

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@ BQ

&> partner SS
¢@ kryterion

Salesforce Certified Platform Developer I

Time Remaining: 00:48:40

27 of 65. What are three capabilities of the <ltng: require> tag when loading JavaScript resources in Aura components?
Choose 3 answers
AL i] One-time loading for duplicate scripts
B. Loading scripts in parallel

Cy oO Loading Files fram Documents


Pe | Specifying loading order
E. ( Loading externally hosted scripts

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

SES ESS SEE aT =,


x v|/@/B Q
&> — Test Aids~ ?Support Exit Exam
@, kryterion ¥ DG AME INTERWATION AL

Salesforce Certified Platform Developer I

Time Remaining: 00:48:32

28 of 65. A custom picklist field, Pood Preference¢, 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.

hat is the optimal way to ensure a value is selected every time a record is saved?
A. @ Set "Use the first value in the list as the default value" to True,
B. [@) Write an Apex trigger to ensure a value is selected,
€.0) Mark the field as Required on the object's page layout.
ra @) Mark the field as Required on the field definition.

fe Mark this item for later review.

Provide question feedback here (optional): Il

Please Provide Feedback here...

.
x |@® Q

partner EE EE
@ ‘by DORE ion
kryter INTEBHATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:48:20

30 of 65. 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:

ist<Contact> performSearch (String lastName} [


return Database.query('SELECT Id, FirstName, LastName FROM Contact WHERE LastName Like

s'+lastName+'s'")?;

What are two ways the developer can update the method to prevent a SOQL injection attack?
Choose 2 answers
AY oO Use variable binding and replace the dynamic query with a static SOQL.

B. oO Use the sacapesingl equotes method to sanitize the parameter before its use.
c. i | Use the ¢Readoniy annotation and the with sharing keyword on the class.
D. Qa Use a regular expression expression on the parameter to remove special characters.

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@ BQ

@ kryterion y DGAKE INTERNATIONAL


partner lest Aids ?Support it Ex

Salesforce Certified Platform Developer I

Time Remaining: 00:48:10

31 of 65. What are two benefits of using External IDs?


Choose 2 answers
A. An External ID field can be used to reference an ID from another external system.
B. O An External ID can be a formula field ta help create a unique key from two fields in Salesforce.

eC: O An External ID can be used with Salesforce Mobile to make external data visible.

Pe | An External 1D is indexed and can improve the performance of SOOL queries.

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

ss Ss ee |
x '@® Ba

@, kryterion y DGAKE INTERNATIONAL


partner ——

Salesforce Certified Platform Developer I

Time Remaining: 00:48:01

32 of 65. What are two characteristics related to formulas?


Choose 2 answers
AL Formulas are calculated at runtime and are not stored in the database.
8.) Formulas can reference themselves.
fa Formulas can reference values in related objects.

D.() Fields that are used in a formula field can be deleted or edited without editing the formula,

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

es Ss
vecnssor__x '@
ln
BQ
ES

fa
@, kryterion y DGAKE INTERNATIONAL
&> partner — _

Salesforce Certified Platform Developer I

Time Remaining: 00:47:56

33 of 65. What should a developer use to script the deployment and unit test execution as part of continuous integration?
AO Salesforce CLI
B. oO Execute Anonymous

ot @) VS Code
Pre) Developer Console

(CD Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@ Ba

@ kryterion y OR AKE INTERNATIONAL


partner ——————
Salesforce Certified Platform Developer I

Time Remaining: 00:47:42

34 of 65. What are two considerations for deploying from a sandbox to production?
Choose 2 answers
A. O Unit tests must have calls to the System.assert method.
B. All triggers must have at least one line of test coverage.

Cc At least 75% of Apex code must be covered by unit tests.

DO Should deploy during business hours ta ensure feedback can be quickly addressed,

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

es Ss
x '@ Ba

@ kryterion y ORAKE INTEANATIONAL


partner ——————
Salesforce Certified Platform Developer I

Time Remaining: 00:47:37

35 of 65. What is the result of the following code?

Account a = new Account {);

atabase.insert(a, false);

A. (@) The record will not be created and an exception will be thrown.

ie © ) The record will not be created and no error will be reported.


oO The record will be created and no error will be reported.
Lae) The record will be created and a message will be in the debug log.

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

.
x '@ BQ

@, kryterion y¥ DRAKE INTERWATIONAL


partner lest Aids~ ?Support Exit Exam

Salesforce Certified Platform Developer I

Time Remaining: 00:47:18

38 of 65. A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. The wizard accepts data from
user inputs across multiple Visualforce pages and from a parameter on the initial URL.

hich three statements are useful inside the unit test to effectively test the custom controller?

Choose 3 answers
A. Strang nextFage = controller.save|).getttr1 |);

B. ApexPages.currentFage ().getParametera(}.put{'input', "TeatValue');

Ge oO insert pageret;
DB. O public Extendedcontroller (ApexPages.Standardcontraller entrl) { }

E. Q Test. setCurrentPage (paceRef) ;

oO Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@ Ba

QPP. v10e atestAids’ ?Sumort fxit&am


@ kryterion y DRAKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:47:11

39 of 65. 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?
AO Waterfall Model
B.C) Flux (view, action, dispatcher, and store)

C.0) Model-View-Controller (MVC)


D.@ Agile Development

OD Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

[<Back I] next > [Review all f Submit exam


x @) Q
partner fTest Aids~ Support Exit Exam
@, kryterion
by DRAKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:47:06

40 of 65. A developer at AW Computing is tasked to create the supporting test class for a programmatic customization that leverages records stored within the custom object,
Pricing Structure c. AW Computing has a complex pricing structure for each item on the store, spanning more than 500 records.

hich two approaches can the developer use to ensure Pricing _Structure__c records are available when the test class is executed?

Choose 2 answers
A. Use a Test Date Factory class.

3.8 Use the @raTeat (Zesalinpata=true) annotation.

ce O Use the Test. leadtear{) method,


D.-E Use witheut shering on the class declaration.

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


—! “e
( .€@ -DESKTOP-H7VCV70
- Remotely x | Pa

el A Notsecure | 3.7.120.207/RemoteControl?clientID=1WoONLGKSdtV-NU-NSyDJO&servicelD=57-gAqnWuWQh8xB2amd5_g MD vy fo 6s Re s oe

@, kryterion partner itil


. lest Aids YSupport Exit Exam

hh by CHOKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:46:59

41 of 65. Given the following Apex statement:

Account myAccount = [SELECT Id, Name FROM Account);

hat occurs when more than one Account is returned by the SOQL query?
A, oO The variable, myaccount, is automatically cast to the List data type.
B, o An unhandled exception is thrown and the code terminates.
Oo The query fails and an error is written to the debug log.

By oO The first Account retumed is assigned to mykccount.

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@ BQ
&> partner Test Aids~ Support Exit Exam
@, kryterion y DRAKE INTERWATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:46:18

42 of 65.
An org has an existing flow that edits an Opportunity with an Update Records element. A developer must update the flow to also create a Contact and store the created
Contact's ID on the Opportunity.

hich update must the developer make in the flaw?

A, oO Add a new Update Records element,

B.@ Add a new Create Records element.


€.0) Add 2 new Roll Back Records element.
a.C) Add a new Get Records element.

J Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@® Ba

&> partner @iest Aids~ ?Supnort Exitfxam


@, kryterion y DRAKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:46:03

43 of 65. Universal Containers wants to back up all of the data and attachments in Its Salesforce org once a month.

Which approach should a developer use to meet this requirement?


AO Create a Schedulable Apex class.
B.C) Use the Data Loader command line.

ie) Schedule a report.

uo Define a Data Export scheduled job.

Oo Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@® Ba

&> partner BlestAids~ ?Support Exit Exam = |


@, kryterion y ORAME INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:45:58

44 of 65. What should a developer use to fix a Lightning web component bug in a sandbox?
AO Developer Console
Et @) Force.com IDE

cO Execute Anonymous
D. @ VS Code

(CD Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@ BQ

&> partner Glest Aids~ ?Support Exit Exam


@, kryterion y DRAKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:45:52

45 of 65.
A developer must write an Apex method that will be called from a Lightning component. The method may delete an Account stored in the accountRec variable.

hich method should a developer use to ensure only users that should be able to delete Accounts can successfully perform deletions?

A.(D sescunthes.istelscabie()
B. fe] Schema.acbjactTyps.Account.isDeletable(}
it @) aocountHec.s0blectType.iaDeletable (|)
nt @) Recount, isDeletable{)

O Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

EE Pe Fe Sana =.
x ®@
6 Q
Salesforce Certified Platform Developer I

Time Remaining: 00:43:58

46 of 65. A lead developer creates an Apex interface called Laptop. Consider the following code snippet:

public class SilverLaptop{


//code implementation

How can a developer use the Laptop interface within the silverLaptop class?
A@ public clase Silvertaptop implements Laptor

BC Bt Glass filverLaptop extands Laptop

Gy oO Gixtends (class="Laptop")

BE ia Glass Siivetbaptop
re) Ee (elasa="Lapton")
publics class SilverLaptop

(D Mark this itern for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x |\® Ba

@kryterion by DAAGE INTEEWATIONAL


SD vwriver ee

Salesforce Certified Platform Developer I

Time Remaining: 00:43:52

47 of 65. A lead developer creates a virtual class called "OrderRequest". Consider the following code snippet:

public class CustomerOrder({

//code implementation

How can a developer use the OrderRequest class within the CustomerOrder class?
AO Gxtend=(cless="OrdesRequest")

public class CustomerOrder

BO public class CustomerGeder extends Orderhequest

°@ public class Custemerdrder implements Order

B.C) implements |cless="OrderRequest"}


poblic class CustomerOrder

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@ BQ

@, kryterion y DRAKE INTERNATIONAL


partner lest Aids~ ?Support Exit Exam

Salesforce Certified Platform Developer I

Time Remaining: 00:43:42

48 of 65.
What should a developer use to obtain the Id and Name of all the Leads, Accounts, and Contacts that have the company name "Universal Containers"?

a @) FIND ‘Universal Conteiners' IN CompenyName Fields RETURNING leadjid, name), sccount(ad, name}, conteact(id, name)

B.C) SELECT Lead.id, Lead.Neme, Account,Id, Account.Neme, Contact.id, Contact.Neame FROM Lead, Account, Contact WHERE CompanyName = "Universal Containers*
co PIND ‘Universal Centainers’ IN Name Fields RETURNING lead(id, name), saceount(id, mame), contact (id, name)

D.€) SELECT leadiid, name), account (id, name}, contact(id, name) FROM Lead, Account, Contact WHERE Name = "Universal Containera’

(CD Mark this iter for later review.

Proyide question feedback here (optional):

Please Provide Feedback here...


x '@® Ba

partner i Rea Seiten


@ kryterion y DRAKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:43:37

49 of 65. An Opportunity needs to have an amount rolled up from a custom object that is not in a master-detail relationship.

How can this be achieved?


AO Write a trigger on the Opportunity object and use an aggregate function to sum the amount for all related child objects under the Opportunity.

Ea © ) Write a trigger on the child object and use an aggregate furiction to sum the amount for all related child objects under the Opportunity.
C.0) Use the Streaming API to create real-time roll-up summaries,
0.) Use the Metadata API to create real-time roll-up summaries,

Oo Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '@® Ba

Sarthe? Test Aids~ ?Support Exit Exam


@, kryterion y OHAKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:43:14

52 of 65. What are two considerations for running a flow in debug mode?
Choose 2 answers
AL (i Callouts to external systems are not executed when debugging a flow.
B. O DML operations will be rolled back when the debugaing ends.

cy Input variables of type record cannot be passed into the flow.


D.@@ Clicking Pause or executing ¢ Pause element closes the flow and ends debugging.

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

back J Next> revew al suit fam


x '@ BQ

&> partner —— EE
¢@ kryter ion
y ORARE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:43:10

53 of 65. A credit card company needs to implement the functionality for a service agent to process damaged or stolen credit cards. When the customers call in, the service
agent must gather many pieces of information. A developer is tasked to implement this functionality.

hat should the developer use to satisfy this requirement in the most efficient manner?
A.@ Screen-based flow
8. ©) Approval process
iT @) Apex trigger
B.C) Lightning Component

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x ‘© BQ

@, kryterion y OHAKE INTERNATIONAL


SH wre ———
Salesforce Certified Platform Developer I

Time Remaining: 00:43:02

54 of 65. 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.C) <opextmessage fors"infa"/>
B® <erex:pagetessages />
CO <apexipigeMersage severity="inta™ />
BRC) <apex:facet mame="meapages” (>

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

sack J next> Preven af sitet em


x @©@ Ba

fa
vA kryterion y OHAKE INTERNATIONAL
&> partner - _—

Salesforce Certified Platform Developer I

Time Remaining: 00:42:57

55 of 65. Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event?
Ag £ire()
B. oO SegdetesEvent (}

C.C) Firetvent()
ae) |emit()

(CD Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '® Ba

@kryterion y ORARE INTERNATIONAL


SD ariver ————
Salesforce Certified Platform Developer I

Time Remaining: 00:42:51

56 of 65.
A developer must troubleshoct to pinpoint the causes of performance issues when a custom page loads in their org.

hich tool should the developer use to troubleshoot query performance?

A.C) Setup Menu


B.C) AppExchange

€.©) Visual Studio Code IDE


re) Developer Console

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

Ean esa Pea eee :


x ® Q

Salesforce Certified Platform Developer I

Time Remaining: 00:42:40

57 of 65. A developer considers the following snippet of code:

Boolean isOK;
integer x;
String theString = "Hello';

if (isOK == false && theString == 'Hello'){


Ee ly
} else if (is0K == true && theString == "Helle’) {

x= 2;
} else 4f (250K '= null «& theString == 'Helic'){
x = 37
} else {

x= 47

Based an this code, what is the value of x?

AO} 1
BO 2
Lor 3
.@4

(CD Mark this item for later review.

Provide question feedback here (optional):


x |® Q

@, kryterion y DRAKE INTERNATIONAL


ED variner —— en
Salesforce Certified Platform Developer I

Time Remaining: 00:42:07

58 of 65. What does the Lightning Component framework provide to developers?


A. fe} Prebuilt components that can be reused
et @) Extended governor limits for applications

co Support for Classic and Lightning UIs


ae) Templates to create custom components

(CD Mark this iter for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x '©@ BQ

@, kryterion y DRAKE INTERNATIONAL


&> nave ——— a oo

Salesforce Certified Platform Developer I

Time Remaining: 00:42:02

59 of 65. Universal Containers wants to automatically assign new cases to the appropriate support representative based on the case origin. They have created a custom field
on the Case object to store the support representative name.

hat is the best solution to assign the case to the appropriate support representative?
A. fe] Use a trigger on the Case object.
6. oO Use a formula field on the Case object.
it @) Use a validation rule on the Case object.
DB ie) Use an Assignment Flow element.

& Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

Fc tack J next> [revi al suimi om


x '©@ BQ

@, kryterion y DRAKE INTERNATIONAL


ED variner —— en
Salesforce Certified Platform Developer I

Time Remaining: 00:41:58

60 of 65. What are three ways for a developer to execute tests in an org?

Choose 3 answers
4.) Bulk API
B. Salesforce DX
C. BB Tooling APL
Pe v | Setup Menu
E. (() Metadate API

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x io) Q

@ kryterion by OWAKE INTERNATIONAL


partner —— ne
Salesforce Certified Platform Developer I

Time Remaining: 00:41:53

61 of 65. When importing and exporting data into Salesforce, which two statements are true?

Choose 2 answers
A.(() Bulk API can be used to bypass the storage limits when importing large data volumes in development environments.
B. Data import wizard is an application thet is installed on your computer

CG oO Bulk APL can be used to import large data volumes in develprmant environments without bypessing the storage limits.
Dd. iv] Developer and Developer Pro sandboxes have different storage limits.

O Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...

|
x mo) Q

Salesforce Certified Platform Developer I

Time Remaining: 00:41:39

62 of 65.
A developer must implement a CheckPaymentProcessor class that provides check processing payment capabilities that adhere to what is defined for payments in the
Payment Processor interface.

public interface PaymentProcessor {

yoid pay(Decimal amount);

hich implementation is correct to use the PaymentProcessor interface class?


AC Public class CheckPaymentProcessor implements PaymentProcessor {
public void pay(Decimal amount) ;

et @) public class ChecktaymentProceasor extends FaymentProcessce |

public void pay(Decisml amount) {


¢? funetional code here

iat @ ) public class CheckPaymentProcessor implements Payment?rocessor {

public void pay(Decimal amount) [


¢#/ fenetional code here

nt @) public class CheckPaymentProcessor extends PaymentPsocesses |


public void pey{Decimal sxount);
x '@ BQ

&> ee Test Aids~ Support Exit Exam


@, kryterion y DRAKE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Remaining: 00:41:18

65 of 65. Universal Containers decides 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
AL Custom objects and fields

B. (1) Thogers
G iv] Roll-up summaries

Pe y | Relationships
E. O Flows

(CD Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


x |® Q

partner ae: ees Ea


@, kryter ion
y DHARE INTERNATIONAL

Salesforce Certified Platform Developer I

Time Taken: 70 minutes of 105 minutes total


Result: Pass

Developer Fundamentals Fite

Process Automation and Logic Pre)

User Interface 80%

Testing, Debugging, and Deployment 92%

Congratulations! You have successfully completed the certification exam to become a Salesforce Certified Platform Developer 1. Welcome to the Salesforce worldwide community of Certified Professionals!

2023 KRYTERION, Inc. and KRYTERION, Limited - All Rights Reserved, @kryterlon

You might also like