0 ratings0% found this document useful (0 votes) 1K views61 pages25 Aug - PD1 - SET5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
KRYTERION™
GLOBAL TESTING SOLUTIONS
Salesforce Certified Platform Developer I
laining : 01:38:38
Whit are two ways a daveloper can get the status of an enaveued job for a clase that implements the queueable interface?
jose 2 answers :
View the Apex Alex Ques) //
ex Status page
6 Ra yaeAben cb object208 G0_ A custom picklist field, kooa Preference _c, exists on a custom
Preference’. The developer must ensure 4 value is populated every time 3
What is the optimal way to ensure a value is selected every time 2,
Ax} Mark the field as Required on the field definition.
Be) Set “Use the first value in the list as the default valug
G:C) Mark the field as Required on the object's page
Di) White an Apex trigger to ensure a value isSalesforce Certified WER Developer 1
aining : 01:38:24
. Refer to the following code snippet for an environment that has more than 200 Accounts belonging to the
or (Account thisAccount : [SELECT 1d,
Tnictus:
Se(enisAccount.Industry == 'Tecnnoiogy'}{
ShisAccount.Is Tech c = crue;
y FROM Recount: LIMIT 150])
:
Update thichccounc;
3
When the code executes, wifSt happens as a result of the Apax trancacjon?
#eC Wf executed in-an asynchronous context,
the Apex transaction is Ijkely to fail by exceeding the DML gavernor ii
executed in a synchronous context: the Apex transaction is liRION
IG SOLUTIONSGLOBAL TESTING SOLUTIONS Partner
‘ime Remaining : 01:38:06
Sf 60. An org has an existing flow
hat creates an Opportunity wi
Contact and store the cr.
ith an Update Records element
ffed Contact's
) on the Opportunity
developer must update the flow to also create aSalesforce Certified Platform Developer I
6 of 60.
Fecord will not be created and an excep!
will be throw
© record will not be created and no error will
ord will be
The record wilSalesforce Certified Platform Developer I
Time Remaining : 01:37:52
7 0f 60.” Refer to the following Apex code.IZ-KRYTERION'
GLOBAL TESTING SOLUTIONS
Time Remaining : 01:37:47
Bf 60. What should 5
ist in the Developer Console tests babeIZKRYTERION'
GLOBAL TESTING SOLUTIONS
Salesforce Certi
Platform Developer T
Time Remaining : 01:3
242
Ubrwersal Contaigers recently transitioned fram Classic te Lightning Experience.
‘One of its busidess pro
SSES requires
ystem baced-on an
Certain values from the Opportunit
'y object to, be sent
ad-hoc base when the
via an HTTP REST callout to its external ordemees
ustox
vm button cr the Opportunity detail page. kame Wales ara
lope? implament to Fulfil de
9 Action fo expose the component on
immediate action to pi
mm the HTTP REST calleut
Susiforce quick ackien'te expose the component Of
cnethad using az:‘GLOBAL TESTING SOLUTIONS se
Salesforce Certified Platform Developer T
Time Remaining : 01:37:36
APof 60-—A developer is creating a page th
Opportunity record type, and
#ers fo: create multiple Opportunities, The
developer is asked to verify-the current user's defadie
certain default values based on the record £
before inserting the record.
How can the developer find the
5 2
nt user's default record type?
to get a list of record types, and iterate through them
which will have the record ID of the current user's defaule
SS Herkthis item forTKRYTERION’
‘GLOBAL TESTING SOLUTIONS
Salesforce Certified Platform Developer
a7 Remaining : 01:37:31
ESO. A develoner wants to mark each Account ina t
‘ccounc® as either Actiys
Sf each Account being greater than $0 daye in the past.
Which Apex technique should the developer use?
foon, with an if-else statement inside
Statement, with 2 zoz loop inside
CAN IG elbe statement, witha cs leon ineidyERION"
k GLOBAL TESTING SoiUTiONSSalesforce Certiea MMAR Developer 1
Time Remaining : 01:37:17
AP OF 60. A developer must troubleshoot to pinpoint ‘he causes of performance issues when a custom Page loads in their org.
Which tool should the developer
to trouble
A.) AppExchange
B.@ Developer Con:Salesforce Certi ica NA, Developer 1
Time Remai ining : 01:37:13
AS -0f GO. Cloud Kicks has a multi-screen flow tha ‘when handling inbound service desk calls.
At one of the steps in the flow,
© agents should be pres
‘order management syst
ed with
Creal time and di
3 list of order numbers and dates that aré:retrieved from on extematTime Remaining : 0
16 of 60.
Mark th
Provide qui
Which three resources
hoose 3 answers
Renderer
8. Cont
C8 Helper
D.-} Design
e
SiR
7:09
tein JavaScript functions?Time Remaining : 01:37:07
AF OF 60. A developer is asked to
the lost reason is blank
Prevent anyone other than a user with Sales Man,
nage Profile from changing the Opportunity Status tq
Which automation allows the devel the most efficient manner?
a
i
\
“
aSalesforce Certified A Developer 1
Time Remaining : 01:37:03
48 of 60. A developer must create ap
Capabilities defined in the so.
¢ and
interfaces,ANS
Mt
= Wich code segment shows the correct declaration ofthe clace and methods?
AG sicbeiIZ KRYTERION”
GLOBAL TESTING SOLUTIONS
‘order management application. Each Order can hav
oblect is related to the: Order vie n master-detail relationship. For each Order Line ite
Une item price with the quantity ordered.
Mihat is the: best practice to yet the suri of all Order Lins item tobale-So the Order record?
A Rollup summary field
Bes Apex trigper
Cie =-Formuts fieldSalesforce Certified Platform Developer I
Ateam of developers is working on a Source-dnven project that atiows them to work independently,
vith many differene rations:
Which type of Salesforce orgs should they use tor their development?
Developer sandboxes
Developer orc
3 Flt Copy sandboxes< SLOBAL TESTING SOLUTIONS
Time Remaining : 01:36:41
22 ot 60. “Universal Containers
< being rented by a given: Adcount: Recenly this page
is failing wi containers,
What
ae load errors?‘GLOBAL TESTING SOLUTIONS
Time Remaining : 01:36:37
23 :0f 60-—“Universal Containers hires @ developer to bul
Salesforce Certified Platform Developer £
id'a custom search page to help users find the Accounts they want. Users will-be able to-search —
en Neme; Description, and a custom comments eld
Which consideration should the developer be aware of when decd ing between SOQ
Choose 2 answers
A.[) SOSI is 2b
Bef) SOQU js faster for text searches
E cB S00:
3 S0SLis
Mark this item for later x
Provide question feedback here (optiona!
Please Pp
to return more r
and SOSL?YTERION’
& GLOBAL TESTING SOLUTIONS
the Testvisible annotation,
Adda test method in the Apex class,
iit (optional):Salesforce Certified Platform Developer ¥
25 of 60. Which statement des.
cribes the
order when triggers are associated to the same object and event
B() TWGgers arpExecuted in the order they are modified
BS Wiggers are executed alphabetically by trigger name.
© TWager execution order cannot be gua
are executed in the arder they ar
E> Mark this item for {ater
Provide question feedback here
PleaSalesforce Cert ied Platform Developer 1
Time Remaining : 01:3
26 of 60.A developer must implement +
defined for payments in the
that provides check processing payment cspabitice that adhere to what js.
Payne!— [X¢KRYTERION”
GLOBAL TESTING SOLUTIONS
Salesforce Certified Platform Developer I
S8— * business has -# proprietary Order Management Sysiem (OMS) that creates orders from their website and fulfils t
3 Sects = gevaccounrs(};
Devabese-inserciaccts, false};
Hew should the code be altered to help debug the iscue?
‘Change the DML statement to
Collect the in: variable,Salesforce Certified Platform Developer I
Time Rem.
ing : 01:35:55
SS OE S90 K developer must create a Lightning SOmponent that allows users te input Contact record information to create a Contact record, including a
Seiary__c custom field,
What should the developer
=; along with a lightning-record-edit-form, so that .
Mewable snd editable by users that have the correct Feld
-—« Field Functions as a currency input and is only
level permissions on
Mark this item tor
Provide
PleaseTime Remaining : 01:35:5)
SE EGO. “Universal Containers uses a Master
Detail relationsi
ShiPpEd when all Of the Line Items are avaliable
' 2vallabilty date on each Line Item of an Order and Orders are only
Which method should be used to calculate the estimated ship date for an Order?
>
oD Use 4 MAX Rol-Up Summary field on the latest availability date fields.
bility date
Ae
Up Summary field on the Orden
°Salesforce Certified Platform Developer I
Time Remaining : 01:35:38
SB OF ON: A developer created a child Lightning web component nes
a string value to the child component.
inside 2 Parent Lightning web component. The parent component needs fo pase
Ih which two ways can this be accomplished?
Choose 2 answers
A:() The parent component can use the Apex controller class to send
B./— The parent component con invoke
€. ff The parent component can u
Provide question feeabact here (opt
Please Provide FSalesforce Certified Platform Developer I
Time Remaining : 01:3
86 Of 60.4 developer has a single custom control
wizard accepts date from user inputs
that works with a Vieu:
across multiple Visualforce
ores Ward to support creating and editing multiple sObjeck, The
Pages and from a parameter on the initial URL.
Which three statements are useful inside the unittest to efe
vely test the ¢‘A developer created these three Rollup Summary fields in the custom object, Pzoject_e:
Total Timecheets c
Total Approved Tinesheess <
Feral Rejected Timesneet_=
‘Ths developer is asked to create 2 new field that shons the ratio between rejected par ‘Spproved timesheets
Mich should the developer use to implement the business requirement jailer to minihize maintenance
A, Record-triggered flow
> Apex trigger
) Field Update actions
Formula field‘Given the following Anonymous block:
BEstsCase> conestotedane|—
See seete hsweshe) | MBRaECE lei Ae pace cose Lar s90601){
ShesCase Status >| 'Working?;
easestoVedate. addithi scene),
new Lineccases(j;
2
tee
Datsbane undete (caseeraupeste, Fsuec\,
Satoh iessepeien 2)))
System debigi= gentses
iction will fail due to exceeding the covernar imi,
atch block will handle exceptions throan by gavemor ji©) Set the attribute enableLightning to true in the definition.
Rewrite afi Visuaiforce pages as Lightning components.
=> Enable Available for Lightning Experience,
application.
Ughtning Compefities, and the mobile app on visual‘GLOBAL TESTING SOLUTIONS
Salesforce Certified Platform Developer T
Time Remai
ing : 01:35:16
40 0f 60. “A Lightning component has a wired Propet
that stores a list of Opportunities,
Which definit
i)
on of the Apex method, to w
perty is wired, should be used?Salesforce Certified Platform Developer
need to happen when deploying to a production org?
‘Choose 2 answers
ASG] Ail tagers must have some test coverage.
BG] 4il Apex code must have at least 75% test coverage,
[> All Visual flows must have at least 1% test coverave.
Def > All Worldiow rules must have at least 1% tect coverage.
ki beresGLOBAL TESTING §
Salesforce Certified Platform Developer 1
Time Remaining : 01
42 0f 60. How can a developer check the test “overage of autolaunched Flows before deploying them in a change set?
A:(()) Use the Code Coverage Setup pane.‘Choose 3 anewers
4-(1) A method using the szavoces tose
hod annetation can have multiple input parameters.
B.() A method using the ¢
Tevarabietlethod annotation must define a retum value,
:@ OPly one method using the atnycesbiavechoa ann:
9: A methed using the @ravacan:,
E,@ A method using the etnve
jatation can be defined per Apex class.
‘s¥l=thed annotation can be decared as Public or Global,
AeNethad annotation must be decired as static.GLOBAL TESTING SOLUTIONS
Salesforce Certified Platform Developer I
Time Remaining : 01:35:03
44 0f 60. A developer created a custom
Orderitem object that ha:
2 master-detai
app that uses
an Apex dass. The order is repre
Order. During order processi
nted by an Order object and an
ing, an order may be split into multiple orders.
to a new Order record?
Mark thPreHertunities() method to provide cists
Sere modification to the method is necessary?
Ax The method must be decorated with (Cacheabiene
8.
J THE method must be decorated with edavatneniea
TPE method must return 3 String of a serialized ISON apeay
‘The method must return @ ISON Object.Adeveloper created a Lightning web component called "ratisConpenens to be inserted into the Account reco
‘which thro things should the developer do to make this
Choose 2 answers
BQY Add to the = 3e-meta ae file
xa file,
35 file,
thie item for ister review, eee‘GLOBAL TESTING SOLUTIONS
Salesforce Certified Platform Developer I
47 of GO. & developer writes
count field. & workflow rule also increments
wv cule is configured to not re-evaluate
ion logic is implemented‘One-time loading for duplicate scripts
© [5 Loading files from Documents
DiGJ Loading scripts in paraitel
ED Loading externally hosted ‘ots
ck yere (optional);
eédbeck Hers...01:34:45
.0tg tracks customer orders on an
Order object and the line items of
relationship to the Order obje:
ct.
‘S-pumeric formula field and the order amount as @ roll-up summary field. =
bunt as a currency field and the order amount as 3 SUM formula field. |‘While working in a sandbox, an Apex test fails
when run in the Test Framework. However, running the
Anonymous window succeeds with no
Ape
‘exceptions or errors.
vhy did the method fail in the sandbox test framework but succeed in the Developer Console?
© The test method has a syntax error in the code,
oO ‘The test method relies on existing date in the sandbox.
iS: ‘The test method does not use System. runt to execute as a specifiD.[} Visualforce
4Pex ClassHriwerss! Containers uses Service Cloud with a custom field, Stage _<, on the Case object.
_ Management wants to send a follow-up email reminder 6 hours
29% after the stage__c field is sot to
_ Administrator wants to ‘ensure the solution used ic bulk safe,
A) Entitlement process
8.) Scheduled Flow
C.0) Einstein Next Best action
DAQ Retord triggered Flow
m for later review.
bon feedback here (optional):
Feedback betel.)ot sternite te
Which approach should a developer use to meet this requirement?
A.C) Schedule a report.
BC) Use the Data Loader command line.
ae: ‘Create a Schedulable Apex class.
Dui} Define Data Export scheduled job.
@ Provide FeadbasSalesforce certified RE, Developer 1
Time Remaining : 01:34:25
SF OF 69. A developer has the following requirements:
* Geleulate the total amount on an Order.
F Guculate the line amount for each Line Item based on quantity selected and price
* Move Line items to a different Order if a Line Item is not in stock,
Which relationship implementation susports these requirements on its own?
#1) Order hes a re-parentable lookup fel
0 Line Item,
Bs) Une Item has a re-parentable lookup field to or der.
SD Une Item has a re-patentable master-detail field ¢
D.7y Order
has 3 re-perentable master.
Mark this item tor later review.
Provide question feedback here (aptio
Plesse Provide Fe22(e-BnnualRevenue > 1009000);
Aist eppliss = [SELEcr 1a
FROM Oppertanity WHERE accountid
Af (epplistsize() == 9);
Sppor Suni ¥_Spety_= new. Opportonicy fame =a. name,—Seagelaae = ‘Prospecting’
=SleseDate-ssysten.todayt} addDays{30));
insert oppcys
the DML that saves opportunities autside the rar loop,
paiiahtse gear} to query the cppersunies,
Auired Fields for Oppartunity ere being
Wty
nn
NNN
aUniversal Containers decides to use exclusively Seclarative development to build out a new Salesforce a
_ Which three options should be used to build out the datebase layer for the application?
Choose 3 answers
A, Flows
8. Roll-up summaries
{") Custom objects and fieldsOBAL TESTING SOLUTIONS
Salesforce Certified Platform Developer 1
ing : 01:34:11
57 of 60.
Universal Containers (UC) wants st while making the shipping process more effici
UC to implement global addre:
Behe Foe hot multiple Accounts to share a default pickup address. The dev,
Supporting object and relationship for this bus: the Setup Menu to create a
to lower its shipping co: ient. The Distribution Officer advises
cloper is tasked to create the
custom object called “Global Address",
the business need?
siNeSs requirement and us
Which field should the developer add to create the
As} Add a lookup field on the Account
B,
it model that supports
c.
i) Add a maste,
J/Merk this items for later re
Provide question feedback-here (oational
Pigiaseining : 01:34:07
AMeveloper must create 2 Crediccaravaysent
‘ass that provides an implementation of an existing Paynent dass.
ePublic wirtusl class paynen: (
PUBLic virtusl void nalePaymenc!
(Mesiael ‘aaunty:({ 7*implementacion*/ }
3
‘Which is the correct implementation?
Fdragnens \Asolements Paynes 7
{ /*implenentaiens/ }
samplenercarions/ )Ae{_> Test methods must be declared with the cezeecnoa keyword.
BJ Ab|x classes must have at least 75% code coverage org-wide.
Cif) All methods in the test classes must use @ictest,
AG AE least one line of code must be executed for the Apex trigger,
m) for later review.ested tern When im BStetaks(=) next o:the items number indicate you a
desired item. Ween you are ready to submit your assessment, cick the “Ste oe
lev
lo
EERERPEEEN
5
IIZ/KRYTERION'
GLOBAL TESTING SOLUTIONS.
eTaken: 11 minutes of 105 minutes total
4 Deployment
i SuggaASfUlly. completed the certification exam to become a Salesforce Certified Platform
rofessionals!