Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

SU22 - PD1 - Set1

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

KRYTERION :

© Sentinel Secure q x

tersion: 18.0.0

Test Aids

” KRYTERION”

a
partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:42:10

1of65. A developer is tasked to perform a security review of the contactsSearch Apex class that exists In the system.
Within the class, the developer identifies the following method as a security threat:

List<Contact> performSearch (String lastName){


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

$'+lastName+'%");

|
What are two ways the developer can update the method to prevent a SOQL injection attack?
Choose 2 answers
A. QO Use the escapeSingleQuotes method to sanitize the parameter before its use.

B./ | Use a regular expression expression on the parameter to remove special characters.
C./" |) Use the GReadonly 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.


© Sentinel Secure ? x

KRYTERION aie Version: 18.0.0


= ) Test Aids

"KRY
I< TERION' partner
Be cic8n TESTING SOLUTIONS

:
Salesforce Certified Platform Developer I
r—|
3 {"
: Time Remaining : 01:42:04
f

| 2of 65. A developer needs to have records with specific field values in order to test a mew Apex class.

\ What should the developer do to ensure the data is available to the test? |
A. oOo Use Test.loadData() and reference a CSV file in a static resource.
' B. ) Use Anonymous Apex to create the required data.
' C.(~) Use SOQL to query the org for the required data.
D.(”) Use Test. loadbata() and reference a JSON file in Documents. Pencil & Paper

| |
[_) Mark this item for later review, |TS) B
| |

Provide question feedback here (optional): Written


e Materials
Please Provide Feedback here... 7 Le> Windaews,
nda
© Sentinel Secure ? x

KRYTERION 2] [P Version: 18.0.0


. ) Test Aids

"KRY
Ix TERION” partner
A ctoen TESTING SOLUTIONS

Single Book
; | }
Salesforce Certified Platform Developer I
|
Time Remaining : 01:41:57
i

| 3 of 65. If Apex code executes inside the execute |) method of an Apex class when Implementing the Satchable interface,
which two statements are true regarding governor limits?
| Choose 2 answers |
' A. & The Apex governor limits might be higher due to the asynchronous nature of the transaction.
' B./ | The Apex governor limits are omitted while calling the constructor of the Apex class.
' C./| The Apex governor limits are reset for each iteration of the execute () method. |
D. Qo The Apex governor limits cannot be exceeded due to the asynchronous nature of the transaction.

{| Mark this item for later review.

Provide question feedback here (optional);

Please Provide Feedback here... # a

ad

Z
© Sentinel Secure ? x

KRYTERION mie Version: 1810.0


[ZKRYTERION™ ee |
Test Aids

Be cosa. TESTING SOLUTIONS

Single Book

Salesforce Certified Platform Developer I

Time Remaining : 01:41:46


(

| 40f65. 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.

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

f Choose 3 answers
A. Create a Lightning web component.
B. ("| Create a custom permission for the users.
C./) Add a dynamic action to the user's assigned page layouts.
D. Create a dynamic form.
E. G Add a dynamic action to the Account record page.

{| Mark this item for later review.

Provide question feedback here (optional):


KRYTERION :
© Sentinel Secure q x

tersion: 18.0.0

{ZKRYTERION™
Test Aids

partner
Be ciosa. TESTING SOLUTIONS

Single Book

Salesforce Certified Platform Developer I

Time Remaining : 01:41:38

Sof 65. 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, Description, and a custom comments field.

Which consideration should the developer be aware of when deciding between SOQL and SOSL?
Choose 2 answers
A./~) SOSL Is able to return more records.

B. ("| SOQL is faster for text searches.


c. SOSL is faster for text searches.

D. Qo SOQL is able to return more records.

{| Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


© Sentinel Secure ? x

KRYTERION mie Version: 18.0.0


= Test Aids

"KRY
ly TERION partner
B ctoen TESTING SOLUTIONS

:
Salesforce Certified Platform Developer I
r—|
4 {"
: Time Remaining : 01:41:29
f

| Gof65. A developer needs to create a custom button for the Account object that, when clicked, will perform a series of
calculations and redirect the user to a custom Visualforce page. The developer wants to ensure the Visualforce
\ page matches the Lightning Experience user interface. |

What attribute needs to be defined within the <apex:page> tag to meet the requirement?

f A. ° lightningStylesheets="true"

B. (7) wizard="true" 1 ne

C.() applyktmltag="true" Peg

setup="true" | |

| |

{—) Mark this item for later review. |


A3 | S

2 oe Materials
A Winaday
Provide question feedback here (optional): _ pao | Wiridaws
to ag 2 Windews,

Please Provide Feedback here...


© Sentinel Secure q x

KRYTERION AP Version: 18.0.0

Salesforce Certified Platform Developer I

Time Remaining : 01:41:11

7 of 65. A developer needs to implement a custom SOAP Web Service that is used by an external Web Application. The
developer chooses to include helper methods that are not used by the Web Application in the implementation of
the Web Service Class.

Which code segment shows the correct declaration of the class and methods?

A.() global class WebServiceclass {


private Boolean helperMethod() { /* implementation ... */ )
webservice static String updateRecords() { /* implementation ... */ }

}
B. fy webservice class WebServiceClass [
: private Boolean helperMethod() ( /* implementation ... */ }
webservice static String updateRecords() { /* implementation ... */ }
}
© gicbal class WebServiceclass {
private Boolean helperMethod() { /* implementation ... */ )
global String updateRecords() { /* implementation ... */ }
}
BD. QO webservice class WebServiceClass [ iE
- private Boolean helperMethod() { /* implementation ... */ }
fe Windaws.
global static String updateRecords() ( /* implementation ... */ }
KRYTERION a>
© Sentinel Secure q x

‘version: 18.0.0

- ) ___TestAids
Test Aids |
Salesforce Certified Platform Developer I

Time Remaining : 01:40:53

8 of 65. Considering the following code snippet:

public static void insertAccounts({List<Account> theseAccounts){


for{Account thisAccount : theseAccounts) [{
if(thisaccount.website == null){
thisAccount.website = ‘https: //www.demo.com';

)
update theseAccounts;

When the code executes, a DML exception is thrown.

How should the developer modify the code to ensure exceptions are handled gracefully?
A.(~) Implement Change Data Capture.
5. ) Remove null items from the list of Accounts.
C.(~) Implement the upsert DML statement.
Dd. o Implement a try/catch block for the DML,

acgwe
{] Mark this item for later review.
Vee Windows,

Provide question feedback here (optional):


© Sentinel Secure ? x

BP Pp Version: 18.0.0
KRY TERION
=| Test Aids
/
Salesforce Certified Platform Developer I

Time Remaining : 01:40:33

9o0f65. Universal Hiring is using Salesforce to capture job applications. A salesforce administrator created two custom
objects; Job__c acting as the master object, Job_Application__e acting as the detail.

Within the Job__¢ object, a custom multi-select picklist, preferred Locations, contains a list of approved
states for the position. Each Job_Application__c record relates to a Contact within the system through a
i master-detail relationship.

| Recruiters have requested the ability to view whether the Contact's Mailing State value matches a value selected
\ on the Preferred _Locations__c field, within the Job_Application__c record. Recruiters would like this value to
be kept in sync, if changes occur to the Contact's Mailing State or if the Job's Preferred _Locations_c field is
updated.

What is the recommended tool a developer should use to meet the business requirement?

A.(") Apex trigger


B.() Record-triggered flow
c@ Formula field
D.(”) Process Bullder

{) Mark this item for later review. Activate Windea a_i

Provide question feedback here (optional):

a ich ele ems


© Sentinel Secure ? x

KRYTERION PA] [P Version: 18.0.0


|

1% KRYTERION”
[ =) Testids
partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

: Time Remaining : 01:40:22


f

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

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

f A.() A Lightning page in Salesforce Classic and a Visualforce page in Lightning Experience
B.(") A Lightning component In Salesforce Classic and a Lightning component in Lightning Experience a F
ce oO A Visualforce page in Salesforce Classic and a Lightning component in Lightning Experience
D.() A Visualforce page in Salesforce Classic and a Lightning page in Lightning Experience

{| Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


© Sentinel Secure ? x

KRYTE RION Be 3 Version: 18.0.0

Test Aids

Time Remaining : 01:31:23

11 0f 65. A developer must implement @ checkPaymentProcessor class that provides check processing payment capabilities
that adhere to what is defined for payments in the FaymentProcessor Interface.

public interface PaymentProcessor {


void pay(Decimal amount);

Which is the correct implementation to use the Payment Processor interface class?

| A© public class CheckPaymentProcessor implements PaymentProcessor |

public void pay(Decimal amount) [


\ // functional code here
{ }
\
i }
f 6B. © public class CheckPaymentProcessor extends FaymentProcessor |
public void pay(Decimal amount);

}
c. QO public class CheckPaymentProcessor implements PaymentProcessor |
public void pay(Decimal amount};

}
O.() public class CheckPaymentProcessor extends PaymentProcessor {
public void pay(Decimal amount) {
// functional code here =
Activate Winde \F
Go to Sett la 1 Windaws,
KRYTERION
© Sentinel Secure q x

Version: 18.0.0
7
Test Aids

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

Boolean isOK;
integer x;
String thesString = 'Hello';

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

x= 1;
} else if (isOK == true && theString "Hello')
x = 2;
} @lse if (isOK != null 66 thestring "Hello')(
x= 3;
} else {
x= 43

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

AO 4
B.C) 1
cc) 3

ate Windda
{_) Mark this item for later review. |. Windaws,

Provide question feedback here (optional):


© Sentinel Secure ? x

KRYTERION mie Version: 18.0.0


= Test Aids

"KRY
ly TERION partner
Be cto TESTING SOLUTIONS

Salesforce Certified Platform Developer I

: Time Remaining : 01:30:52


i

| 13 of 65. Given the following Apex statement:

\ Account myAccount = [SELECT Id, Name FROM Account];

What occurs when more than one Account is returned by the SOQL query?
f A. o An unhandled exception Is thrown and the code terminates.
B. (>) The first Account returned is assigned to myAccount. 1,
C.(-) The query fails and an error is written to the debug log. 8 Pay
D.(-) The variable, nyaccount, is automatically cast to the List data type. a |

| |

{—) Mark this item for later review. |


A3 | S

z se Materials
A VV INGA
Provide question feedback here (optional): _ pao | Wiridaws
LQ aly 2 VV IFKOOWS,

Please Provide Feedback here...


© Sentinel Secure ? x

KRYTERION a) Version: 18.0.0


|: KRYTERION
Be cto TESTING SOLUTIONS
BD vv
=

gw
Test Aids

Single Book
=
Salesforce Certified Platform Developer I ©
5 |
: Time Remaining : 01:30:46 Multiple Books
‘ =

| 14 of 65. For which three items can a trace flag be configured? G1 )


\ Choose 3 answers —
A.(_) Flow Calculator
: B. @ User Tee)
| \ |
f C.{) Visualforce
D.@ Apex Trigger | yya |
E. @ Apex Class Pencil & Paper

y=
{| Mark this item for later review. |(as B
7 |
Provide question feedback here (optional): snc
5
Please Provide Feedback here... VE Windows,
© Sentinel Secure q x

KRYTERION ‘version: 18.0.0

{ZKRYTERION™
Test Aids

partner
Be ciosa. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:30:38

15 of 65. Which action causes a before trigger to fire by default for Accounts?

A./ i | Updating addresses using the Mass Address update tool


B. o Importing data using the Data Loader and the Bulk API
ac) Renaming or replacing picklists

D.{ - Converting Leads to Contacts

{| Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


indgays
fe Windaws,
KRYTERION i
© Sentinel Secure q x

Version: 18.0.0

|: KRYTERION
7 Test Aids

partner
Be ciosa. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:30:29

16 of 65. An Apex method, getAccounts, that returns a List of Accounts given a searchTerm, is available for Lightning Web
components to use.

What is the correct definition of a Lightning Web component property that uses the getAccounts method?

A.() @wire(getAcecounts, "SsearchTerm")


- accountList;

B.C) @AuraEnabled(getAccounts, [ searchTerm: ‘$searchTerm" })


accountList;
oO @wire (getAccounts, { searchTerm: "SsearchTerm" })}
accountList;
O.() GAuraEnabled(getAccounts, 'SsearchTerm')
7 accountList;

{| Mark this item for later review, dae


fe Windaws.

Provide question feedback here (optional):


KRYTERION
© Sentinel Secure q x

Version: 18.0.0
"|
- Test Aids
17 of 65. The following Apex method is part of the ContactService class that Is called from a trigger:

public static void setBusinesstInitToEMEA (Contact thisContact)[


thisContact.Business Unit_c = 'EMEA';
update thiscontact;

How should the developer modify the code to ensure best practices are met?

AO public static void setBusinessUnitToEMEA(List<Contact> contacts)(


for (Contact thisContact : contacts){

thisContact.Business_Unit_c = 'EMEA';

}
update contacts;

ir ) public void setBusinessUnitToEMEA(List<Contact> contacts){


contacts[0].Business
Unit c= "EMEA";

update contacts[0];

) public static void setBusinessUnitToEMEA(List<Contact> contacts)(


for (Contact thisContact : contacts){
thisContact.Business Unit_c = ‘EMEA';
update contacts [0];

public Static void setBusinessUnitToEMEA (Contact thisContact){ i Windews,


List<Contact> contacts = new List<Contact>();
contacts.add(thisContact.Business Unit_¢ = "EMEA');
ane
© Sentinel Secure ? x

KRYTERION 5) [P Version: 18.0.0

| KRYTERION
BR cioea TESTING SOLUTIONS
partner =
Single Book

Salesforce Certified Platform Developer I

Time Remaining : 01:29:58


f

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

Choose 3 answers
A.(") Import the SVG as a content asset file.
8. Upload the SVG as a static resource.
c oO Reference the import in the HTML template.
98 Import the static resource and provide a JavaScript property for it.

E. (| Reference the property in the HTML template.

{| Mark this item for later review.

Provide question feedback here (optional): Acti

Please Provide Feedback here...


KRYTERION
© Sentinel Secure q x

BS Version: 18.0.0

19 of 65. A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable
interfaces.

public interface Sortable [{


void sort ();

public interface Drawable {


void draw();

Which is the correct implementation?

A. O public class DrawList extends Sortable, extends Drawable {


public void sort({) { /*implementation*™/)

public yoid draw() { /*implementation*t/)}

Oo public class DrawList extends Sortable, Drawable [


public void sort () ( /*implementation™/}
public void draw() { /*implementation*/)

c (_) public class DrawList implements Sortable, Drawable |


public void sort () { /*implementation™/)

public void draw({) { /*timplementationt/)


}
D. () Public class DrawList implements Sortable, implements Drawable {
Activate Wind
Windews,
public void sort i) { /*implementation*/}
public void draw() { /*implementation"™/)
© Sentinel Secure ? x

KRYTERION PA] [P Version: 18.0.0


|

1% KRYTERION”
[ =) Testids
partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

: Time Remaining : 01:29:29


(

| 20 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.

Which tool should the developer use to enforce only Container records with a status of "Decommissioned" can be
‘ deleted?
4
A. Validation rule
B.@ After record-triggered flow
C.;”) Before record-triggered flow
D. Apex trigger

{_)

Mark this item for later review. a * LA

Provide question feedback here (optional):

Please Provide Feedback here... ~


© Sentinel Secure q x

KRYTERION a ‘version: 18.0.0

[ZKRYTERION™ &>
) Test Aids

partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

: Time Remaining : 01:29:21


f

| 21 0f 65. A developer is integrating with a legacy on-premise SQL database.

\ What should the developer use to ensure the data being integrated is matched to the right records in Salesforce?
' A69 External 1D field
B./”) Formula field

C.() External Object


D.(") Lookup field

{ | Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


© Sentinel Secure ? x

KRYTERION 5 Version: 180.0


[ =| Test Aids

| KRYTERION’
Be cioea. TESTING SOLUTIONS
partner ~

Salesforce Certified Platform Developer I

= Time Remaining : 01:29:14


{

| 22 of 65. What Is the result of the following code snippet?

public void doWork(Account acct){


' for {Integer i = 6; i <= 200; it++){
' insert acct;
f }
}

A.@ 9 Accounts are inserted.


B. (~) 201 Accounts are inserted.
€.(~) 200 Accounts are inserted.
D. C 1 Account is inserted.

{_) Mark this item for later review. Pp


; fe Windows,

Provide question feedback here (optional):


© Sentinel Secure q x

KRYTERION ‘version: 18.0.0

[ZKRYTERION™
) Test Aids

partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:29:07

23 of 65. Which scenario Is valid for execution by unit tests?

A. °o Execute anonymous Apex as a different user.


B.(_) Set the created date of a record using a system method.
C.(") Load data from a remote site with a callout.
D.(>) Generate a Visualforce PDF with getcontentAsPDF().

{ | Mark this item for later review,

Provide question feedback here (optional):

Please Provide Feedback here...


>
Vee Windows,
© Sentinel Secure ? x

KRYTERION 5 Version: 180.0


[ =| Test Aids

| KRYTERION’
Be cioea. TESTING SOLUTIONS
partner >

Salesforce Certified Platform Developer I

= Time Remaining : 01:29:00


f

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

i Which type of Salesforce orgs should they use for their development?

f A. @ Developer sandboxes
B.(") Full Copy sandboxes
C.(") Scratch orgs
D.() Developer orgs

[| Mark this item for later review.

Pp
Provide question feedback here (optional): © Wind
> Windaews,

Please Provide Feedback here...


© Sentinel Secure q x

KRYTERION _ ‘version:

) ___TestAids
Test Aids
18.0.0

- |

Salesforce Certified Platform Developer I

Time Remaining : 01:28:49

25 of 65. A developer created these three Rollup Summary fields in the custom object, Project__c:

Total Timesheets_
ToL al_Approved_Time sheets oc

Total
_ Rejected Timesheet_c

The developer Is asked to create a new field that shows the ratio between rejected and approved timesheets for a
given project.

What are two benefits of choosing a formula field instead of an Apex trigger to fulfill the request?

Choose 2 answers
A. QO 4 formula field will calculate the value retroactively for existing records.
B./") Using a formula field reduces maintenance overhead.
c, @ A formula field will trigger existing automation when deployed.
D.{") A test class that validates the formula field is needed for deployment.

Written
Materials
|) Mark this Item for later review. dhe

ee Windows,

Provide question feedback here (optional):


© Sentinel Secure q x

KRYTERION ‘version: 18.0.0

[ZKRYTERION™
) Test Aids

partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:28:43

26 of 65. What are two benefits of using declarative customizations over code?

Choose 2 answers
4.|") Declarative customizations automatically generate test classes.
B. Declarative customizations automatically update with each Salesforce release.
C. @ Declarative customizations generally require less maintenance.
D./~) Declarative customizations cannot generate run time errors.

{| Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here... awe


fe Windaws,
© Sentinel Secure ? x

KRYTERION 5 Version: 180.0


[ =| Test Aids

| KRYTERION’
Be cioea. TESTING SOLUTIONS
partner ~

Salesforce Certified Platform Developer I

= Time Remaining : 01:28:33


f

| 27 of G5. 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?
t A.() aura: fiow
( 5.6 lightning: flow

C.() lightning-flow
D. / é ) aura-flow

| | Mark this item for later review.

Provide question feedback here (optional): ib

fe Windaws,
Please Provide Feedback here...
© Sentinel Secure ? x

KRYTERION F] |p Version: 18.0.0


= Test Aids

"KR
lx y ERION &> partner |
Be ciosa. TESTING SOLUTIONS

Single Book
- =
Salesforce Certified Platform Developer I @
4 |
: Time Remaining : 01:28:27 Multiple Books
i

j | Aa |
| 28 of 65. Which two are phases in the Aura application event propagation framework? |ON )

| Choose 2 answers — |
A. @ Default Calculator
B.(_) Control —
C.(@ Bubble )
D.(-) Emit — |
Pencil
& Paper
(_) Mark this Item for later review. | =n |

Provide question feedback here (optional): | ae |


Written
Please Provide Feedback here... indae ene
5 tO ack gee Windews.
© Sentinel Secure q x

KRYTERION a ~
‘version:

) Test Aids
18.0.0

” KRYTERION”
Be cioea. TESTING SOLUTIONS
partner

Salesforce Certified Platform Developer I

Time Remaining : 01:28:21

29 of 65. A developer must create an Apex class, ContactController, that a Lightning component can use to search for
Contact records, Users of the Lightning component should only be able to search for Contact records to which
they have access.

Which two will restrict the records correctly?

Choose 2 answers
Ag public with sharing class ContactController

B. Q public inherited sharing class ContactController

C.(") public without sharing class ContactController

D. | public class ContactController

{| Mark this item for later review. cgwe

fe Windaws,
Provide question feedback here (optional):
© Sentinel Secure ? x

KRYTERION 3/73 Version: 18.0.0


~ ) Test Aids

| KRYTERION’
BS ciosa. TESTING SOLUTIONS
partner
:
Salesforce Certified Platform Developer I
r—|
3 {"
: Time Remaining : 01:28:15
f

| 30 of G5. 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?

f A. o Use Opportunity. sObjectType.getDescribe().getRecordTypeInfos() to get a list of record


types, and iterate through them until isDefaultRecordTypeMapping () Is true.
B./") Query the Profile where the ID equals userInfo.getProfileiID() and then use the
profile. Opportunity. getDefaultRecordtyre() mathod, —_
C.(") Create the opportunity and check the opportunity. recordType, which will have the record ID of | Pa |
the current user's default record type, before inserting. |(as |
0.) Use the schema.userInfo.Opportunity.getDefaultRecordType() method, =
Written
Materials
{_) Mark this item for later review. y b

Provide question feedback here (optional):


ial
© Sentinel Secure ? x

KRYTERION i Version: 18.0.0


= Test Aids
Fa]

"KRY
lx TERION partner
BS cic TESTING SOLUTIONS

:
Salesforce Certified Platform Developer I
r—|
3 {"
: Time Remaining : 01:28:09
i

| 31 0f 65. What are three considerations when using the @invecablemethod annotation in Apex?

| Choose 3 answers
AB Only one method using the @InvocableMethod annotation can be defined per Apex class.
' B.{ | A method using the @invocableMethod annotation can have multiple input parameters.
( c. A method using the @InvocableMethod annotation must be declared as static.
D./") A method using the Ginvocablemethod annotation must define a return value. —
E. @ A method using the @InvocableMethod annotation can be declared as Public or Global. Pencil& Paper

| |
{| Mark this item for later review. |(as B
| |

Provide question feedback here (optional): ; “ Materials


Ninde
Please Provide Feedback here... (Lee
KRYTERION s
© Sentinel Secure q x

tersion: 18.0.0

{ZKRYTERION™
Test Aids

partner
Be ciosa. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:28:02

32 0f 65. A developer is asked to prevent anyone other than a user with Sales Manager profile fram changing the
Opportunity Status to Closed Lost if the lost reason is blank.

Which automation allows the developer to satisfy this requirement in the most efficient manner?

A.(~) A record trigger flow on the Opportunity object


6. °o An error condition formula on a validation rule on Opportunity
Cc.) An approval process on the Opportunity object
D./) An Apex trigger on the Opportunity object

{| Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


© Sentinel Secure q x

KRYTERION ‘version: 18.0.0

{ZKRYTERION™
Test Aids

partner
BR cioea TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:27:55

33 of 65. Which two events need to happen when deploying to a production org?

Choose 2 answers
A. e All Apex code must have at least 75% test coverage.

B./) All Workflow rules must have at least 1% test coverage.


Cc. All Visual flows must have at least 1% test coverage.
8 All triggers must have some test coverage.

[_) Mark this item for later review.

Provide question feedback here (optional):

PI
Please Provide Feedback here...
Vee Windows,
© Sentinel Secure ? x

KRYTERION ) (P Version: 18.0.0


= Test Aids
a

"KRY
lx TERION partner
Be ciosa: TESTING SOLUTIONS

Salesforce Certified Platform Developer I

: Time Remaining : 01:27:49


i

| 34 of 65. A developer has a Visualforce page and custom controller to save Account records. The developer wants to display
any validation rule violations to the user.

| How can the developer make sure that validation rule violations are displayed?
&.(~) Add custom controller attributes to display the message.
( 5.6 Use a try/catch with a custom exception class.
C. (>) Perform the DML using the Database.upsert () method, > a aad
D.() Include <apex:messages> on the Visualforce page. ee
AAD

EF} Mark this item for later review. | Ww |

Written
Provide question feedback here (optional): Activate Winddive a_i

Please Provide Feedback here... 2 to Settings to acai | Windows,


© Sentinel Secure ? x

KRYTERION P| [P Version: 18.0.0

| KRYTERION” QD owe aT
7 Test Aids

Be cosa. TESTING SOLUTIONS


|
Single Book
- =
Salesforce Certified Platform Developer I @
4
: Time Remaining : 01:27:42 Multiple Books
i
| Aaa |
| 35 of 65. Which three resources In an Aura Component can contain JavaScript functions? |ON )
| Choose 3 answers — |
A.) Style Calculator

: B. @ Renderer Te |
)
C.{_) Design
.@ Controller q ee J
E. @ Helper Pencil & Paper

KA
{) Mark this item for later review. |(as B
~ \ J

Provide question feedback here (optional): an


AX =
Please Provide Feedback here... Ge 5 adivege Windows.
© Sentinel Secure ? x

KRYTERION aie Version: 18.0.0


7 Test Aids

| KRYTERION
BS ctoen TESTING SOLUTIONS
partner
- =)
Salesforce Certified Platform Developer I
3 {"
: Time Remaining : 01:27:37 oe
(

| 36 of 65. A developer completed modifications to a customized feature that is comprised of two elements:
* Apex trigger
\ * Trigger handler Apex class

‘ What are two factors that the developer must take Into account to properly deploy the modification to the
‘ production environment?
Choose 2 answers Pe il & P, =
A. Apex classes must have at least 75% code coverage org-wide.
6./") Test methods must be declared with the testmethod keyword. f

C./ = | All methods in the test classes must use @isTest. |TS) B
| |

8 At least one line of code must be executed for the Apex trigger. =
Written
I Materials
{_) Mark this item for later review. ay 1 Windaws.

Provide question feedback here (optional): a


KRYTERION _
© Sentinel Secure q x

‘version: 18.0.0

|: KRYTERION
7 Test Aids

partner
Be ciosa. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:27:29

37 of 65. A Salesforce Administrator is creating a record-triggered flow, When certain criteria are met, the flow must call an
Apex method to execute a complex validation involving several types of objects.

When creating the Apex method, which annotation should a developer use to ensure the method can be used
within the flow?

A.(") @AuraEnabled
6. o @Invocablemethod
c./ : @RemoteAction

D.() @fucure

|_| Mark this item for later review.

I ac /

Provide question feedback here (optional):


i 1 Windows,
Please Provide Feedback here...
© Sentinel Secure q x

KRYTERION _ ‘version: 18.0.0

|: KRYTERION
7 Test Aids

partner
Be ciosa. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:27:22

38 of 65. Cloud Kicks has a multi-screen flow that its call center agents use when handling inbound service desk calls.

At one of the steps in the flow, the agents should be presented with a list of order numbers and dates that are
retrieved from an external order management system in real time and displayed on the screen.

What should a developer use to satisfy this requirement?

A.) An outbound message


B. ; >) An Apex REST class
Cc.) An Apex controller
2.0 An Invocable method

{| Mark this item for later review.


\ / ac i

O ae ih Windaws.
Provide question feedback here (optional):

Please Provide Feedback here...


KRYTERION :
© Sentinel Secure q x

Version: 18.0.0

[ZKRYTERION™
Be ciosa. TESTING SOLUTIONS
partner

Salesforce Certified Platform Developer I

Time Remaining : 01:27:14

39 of 65. Assuming that name is a String obtained by an <apex:inputText> tag on a Visualforce page, which two SOQL
queries performed are safe from SOQL injection?

Choose 2 answers
AB String query = "SELECT Id FROM Account WHERE Name LIKE \"%' +
String.#scapeSingleQuotes
(name) + '$\''; List<Account> results =
Database.
query (query) 7
5.8 String query = '$" + mame + '$';
List<Account> results = [SELECT Id FROM Account WHERE Name LIKE :query];
ar] String query = "SELECT Id FROM Account WHERE Name LIKE \'$' + name.ncQuotes() +

'S\''; List<Account> results = Database. query(query) ;


0./ String query = "SELECT Id FROM Account WHERE Name LIFE \'$' + name + "&\"';
List<Account> results = Database.query (query);

{| Mark this item for later review, BI


Vere Windows,

Provide question feedback here (optional):


KRYTERION s
© Sentinel Secure q x

tersion: 18.0.0

{ZKRYTERION™
Test Aids

partner
Be cioeA. TESTING SOLUTIONS

Single Book

Salesforce Certified Platform Developer I

Time Remaining : 01:27:03

40 of 65. Universal Containers (UC) uses a custom object called Vendor, The Vendor custom object has a master-detail
relationship with the standard Account object.

Based on some internal discussions, the UC administrator tried to change the master-detail relationship to a
lookup relationship, but was not able to do so.

What is a possible reason that this change was not permitted?


A.(”) The organization wide default for the Vendor object is Public Read/Write. Pencil
& Paper
6. / ; Some of the Vendor records have null for the Account field.
C.(") The Account object does not allow changing a field type for a custom field.
°.6 The Account object has a roll-up summary field on the Vendor object.

{| Mark this item for later review.

Provide question feedback here (optional):


© Sentinel Secure ? x

KRYTERION FP Version: 18.0.0

”, KRYTERION’
lx &> partner
Be ciosa. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

: Time Remaining : 01:26:56


f

| 41 0f 65. Which annotation exposes an Apex class as a RESTful web service?

| AO GResthesource

| B. ( 3) @HttpInvocable

a ©) @AuraEnabled
f D.() @RemoteAction

{) Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


AWB
Ve Windows,
© Sentinel Secure q x

KRYTERION tersion:
i
18.0.0

[ZKRYTERION™
Test Aids

partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:26:49

42 0f 65. An org tracks customer orders on an Order object and the line items of an Order on the Line Item object. The Line
Ttem object has a master-detail relationship to the Order object.

A developer has a requirement to calculate the order amount on an Order and the line amount on each Line Item
based on quantity and price.

What is the correct implementation?


A.() Implement the line amount as a currency field and the order amount as a SUM formula field. Pencil & Paper
B./~) Write a single before trigger on the Line Item that calculates the item amount and updates the order
amount on the Order.
& Implement the line amount as a numeric formula field and the order amount as a roll-up summary
field.
D./") Write a process on the Line Item that calculates the item amount and order amount and updates
the fields on the Line Item and the Order.

{| Mark this item for later review.


© Sentinel Secure q x

KRYTERION . ‘version: 18.0.0

[ZKRYTERION™
) Test Aids

partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:26:41

43 of 65. Universal Containers uses Service Cloud with a custom field, stage__c, on the Case object.

Management wants to send a follow-up email reminder 6 hours after the stage__c fleld is set to “Waiting on
Customer". The Salesforce Administrator wants to ensure the solution used is bulk safe.

Which automation tool should a developer recommend to meet these business requirements?

A.(-) Einstein Next Best Action


B.C) Entitlement Process
C.(") Scheduled Flow
© Record-Triggered Flow

{_) Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


© Sentinel Secure q x

KRYTERION _ ‘version: 18.0.0

[ZKRYTERION™
) Test Aids

partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:26:34

44 0f 65. While writing an Apex class, a developer wants to make sure that all functionality being developed Is handled as
specified by the requirements.

Which approach should the developer use to be sure that the Apex class is working according to specifications?
4.) Include a try/catch block to the Apex class.
6.) Run the code in an Execute Anonymous block in the Developer Console.
C. (>) Include a savepoint and Database. rollback ().
2.6 Create a test class to execute the business logic and run the test in the Developer Console.

| | Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


© Sentinel Secure q x

KRYTERION . ‘version: 18.0.0

[ZKRYTERION™
) Test Aids

partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:26:26

45 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?

A.@ Write a trigger on the child object and use an aggregate function to sum the amount for all related
child objects under the Opportunity.
Use the Streaming API to create real-time roll-up summaries.
C.(-) Write a trigger on the Opportunity object and use tree sorting to sum the amount for all related
child objects under the Opportunity.
D.(") Use the Metadata API to create real-time roll-up summaries.

[| Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


© Sentinel Secure ? x

KRYTERION PA] [P Version: 18.0.0

[ =] testaids___|

| KRYTERION”
Be cioea. TESTING SOLUTIONS
partner >

Salesforce Certified Platform Developer I

= Time Remaining : 01:26:18


f

| 46 of 65. Universal! Containers Is building a recruiting app with an Applicant object that stores Information about an
individual person and a Job object that represents a job, Each applicant may apply for more than one job.

What should a developer implement to represent that an applicant has applied for a job?
&.(~) Lookup field from Applicant to Job
5.() Junction object between Applicant and Job
9 Master-detail fleld from Applicant to Job
D.() Formula field on Applicant that references Job

| | Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


© Sentinel Secure ? x

KRYTERION PA] [P Version: 18.0.0


|

1% KRYTERION”
[ =) Testids
partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

: Time Remaining : 01:26:11


f

| 47 of G5. A developer created a custom order management app that uses an Apex class. The order is represented by an
Order object and an OrderItem object that has a master-detail relationship to Order. During order processing, an
\ order may be split into multiple orders.

What should a developer do to allow their code to move some existing OrderItem records to a new Order record?

f 4.(>) Select the Allow reparenting option on the master-detail relationship.


6.) Change the master-detail relationship to an external lookup relationship.
ce °o Create a junction object between OrderItem and Order.

D./) Add without sharing to the Apex class declaration.

[|_| Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


© Sentinel Secure ? x

KRYTERION F] |p Version: 18.0.0

1% KRYTERION”
[ - Test Aids

partner [ ]
Be ciosal TestiING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:26:04

48 of 65. A custom Wisualforce 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.(_) <apex:facet name="messages" />
( 5..© <apex:pageMessages />

Cc. ‘) <apeximessage for="info"/>

D.(”) <apex:pageMessage severity="info" />

[| Mark this item for later review.

Provide question feedback here (optional): Ws


fe Windaws.
Please Provide Feedback here..,
© Sentinel Secure ? x

KRYTERION PA] [P Version: 18.0.0


|

1% KRYTERION”
[ =) Testids
partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

: Time Remaining : 01:25:58


f

| 49 of 65. A developer created a child Lightning web component nested inside a parent Lightning web component. The
Parent component needs to pass a string value to the child component.

In which two ways can this be accomplished?


i Choose 2 answers
f A. The parent component can use a public property to pass the data to the child component.
B. CO The parent component can invoke a method in the child component. | “eS
fa The parent component can use a custom event to pass the data to the child component.

Dd. The parent component can use the Apex controller class to send data to the child component.

[|_| Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


© Sentinel Secure ? x

KRYTERION 5 Version: 180.0


[ =| Test Aids

| KRYTERION’
Be cioea. TESTING SOLUTIONS
partner >

Salesforce Certified Platform Developer I

= Time Remaining : 01:25:48


f

| 50 of 65. Universal Containers decides to use purely declarative development to build out a new Salesforce application.

Which two options can be used to build out the business logic layer for this application?

‘ Choose 2 answers
‘ A. @ Validation Rules
( 5.6 Flow Builder
C./") Remote Actions
D.(") Batch Jobs

| | Mark this item for later review.

Provide question feedback here (optional): ib

fe Windaws,
Please Provide Feedback here...
© Sentinel Secure ? x

KRYTERION PA] [P Version: 18.0.0


|

1% KRYTERION”
[ =) Testids
partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

: Time Remaining : 01:25:42


f

| 51 of 65. Ona brand new developer org, a developer writes a single trigger named AccountTrigger on the Account object to
perform complex validations on the after Insert and after update DML events. A Salesforce administrator creates a
\ Process Builder to update a custom field within the same object every time an Account is created or updated.

How many times will the AccountTrigger fire if a mew Account is inserted, assuming no other automation logic is
‘ implemented on the Account?
4
A) 6
BO 1

¢© 2
a.) 4

{| Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


© Sentinel Secure ? x

KRYTE RION F] |p Version: 18.0.0

[ . Test Aids

lx” KRYTERION” &> partner BA


Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

: Time Remaining : 01:25:35


f

| 52 of 65. What should a developer use to script the deployment and unit test execution as part of continuous integration?

| A. @ Salesforce CLI
| B.() Execute Anonymous
C.(") Developer Console
f D. C VS Code

{| Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


iE

ee Windows,
© Sentinel Secure q x

KRYTERION ‘version: 18.0.0

[ZKRYTERION™
) Test Aids

partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:25:27

53 of 65. A developer wants to import 500 Opportunity records into a sandbox.

Why should the developer choose to use Data Loader instead of Data Import Wizard?
A.() Data Loader automatically relates Opportunities to Accounts.

B. o Data Import Wizard does not support Opportunities.


C.() Data Loader runs from the developer's browser.
D.(") Data Import Wizard can not import all 500 records.

{ | Mark this item for later review.

Provide question feedback here (optional):


awe
Please Provide Feedback here...
fe Windaws,
© Sentinel Secure ? x

5s) 3 Version: 18.0.0


KRYTE RION
- Test Aids

54 of 65. Given the following Anonymous block:

List<Case> casesToUpdate = new List<Case>();


for(Case thisCase : [SELECT Id, Status FROM Case LIMIT 59000))[

thiscase.Status = ‘'Working';
casesToUpdate.add(thiscase);
}
try{
Database.update (casesToUpdate, false);
}eatch (Exception e) {
System.debug(e.getMessage());

What should a developer consider for an environment that has over 10,000 Case records?

4. (>) The try-cateh block will handie any DML exceptions thrown.

f B.(~) The try-catch block will handle exceptions thrown by governor limits.
€.() The transaction will fail due to exceeding the governor limit.
© The transaction will succeed and changes will be committed.

{_) Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here... | 1 Windaws.


© Sentinel Secure ? x

KRYTERION PA] [P Version: 18.0.0


|

1% KRYTERION”
[ =) Testids
partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

: Time Remaining : 01:25:09


f

| 55 of 65. A developer has the following requirements:


* Calculate the total amount on an Order.
\ * Calculate 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 supports these requirements on its own?


'
A. (>) Order has 4 re-parentable lookup field to Line Iter.
5.) Line Item has a re-parentable lookup field to Order. Pencil& Paper
c. Cc Order has a re-parentable master-detail field to Line Item. —
ba |
6 Line Item has a re-parentable master-detail field to Order. CN | g
| |

Written
(_] Mark this item for later review.
=A re Materials

Provide question feedback here (optional): Go to Settings to adil VEE Winds

Please Provide Feedback here... *


© Sentinel Secure q x

KRYTERION: ‘version: 18.0.0

- ) ___TestAids
Test Aids |

Salesforce Certified Platform Developer I

Time Remaining : 01:24:53

56 of 65. Consider the following code snippet:

public static List<Lead> obtainAllfields(Set<Id> leadTds)[


List<Lead> result = new List<Lead>();
for(Id leadId : leadids)|
result.add([SELECT FIELDS(ALL) FROM Lead WHERE Id = :leadTfd];

)
return result;

Given the multi-tenant architecture of the Salesforce platform, what is a best practice a developer should
implement and ensure successful execution of the method?
AO Avoid performing queries inside for loops.
B. (>) Avoid executing queries without a limit clause,
C.(~) Avoid using variables as query filters.
DB.) Avoid returning an empty List of records.

ddave
{] Mark this item for later review.
fe Windaws,

Provide question feedback here (optional):


© Sentinel Secure ? x

KRYTERION A (P Version: 18.0.0

|
”KRYTERION' ae =]
lel3 Test Aids

Be cioea. TESTING SOLUTIONS

- "
Salesforce Certified Platform Developer I ©
4 |
: Time Remaining : 01:24:45 Multiple Books
i

| 57 of 65. Which action may cause triggers to fire? | G1 )


A.(>) Changing a user's default division when the transfer division option Is checked — |
\ x Calculator
B.(") Cascading delete operations
' C.(~) Renaming or replacing a picklist entry

f 2.9 Updates to Feed Items Os |

Pencil & Paper


{| Mark this item for later review. -
| Fee]

Provide question feedback here (optional): | EN B

Please Provide Feedback here... begins


© Sentinel Secure q x

KRYTERION ‘version: 18.0.0

[ZKRYTERION™
) Test Aids

partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:24:38

58 of 65. A developer wrote Apex code that calls out to an external system.

How should a developer write the test to provide test coverage?


A.() Writea class that extends webServiceMock.
B. °o Write a class that implements HTTP>calloutMock.
C.() Write a class that implements webservicetock.
BD.) Write a class that extends HTTPCalloutMock.

{ | Mark this item for later review.

Provide question feedback here (optional):

>
Please Provide Feedback here...
Vee Windows,
© Sentinel Secure ? x

KRYTERION 3/73 Version: 18.0.0


~ ) Test Aids

| KRYTERION"
BS ciosa. TESTING SOLUTIONS
palin |
Salesforce Certified Platform Developer I

: Time Remaining : 01:24:30


f

| 59 of G5. A developer is migrating a Visualforce page into a Lightning web component.

\ The Visualforce page shows information about a single record, The developer decides to use Lightning Data
1 Service to access record data.

' Which security consideration should the developer be aware of?


4
A.(”) The with sharing keyword must be used to enforce sharing rules. q |

B.() The isAccessible() method must be used for field-level access checks. Pencil& Paper
C.() Lightning Data Service ignores field-level security. Lk
D. @ Lightning Data Service handles sharing rules and field-level security. (as | B

— Written
{| Mark this item for later review. Material
BI
Provide question feedback here (optional): See re wines

Please Provide Feedback here... 7


© Sentinel Secure ? x

KRYTERION F] |p Version: 18.0.0


|

1% KRYTERION”
[ =) Testids
partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I |

: Time Remaining : 01:24:23 ne


i

| 60 of 65. A developer is debugging the following code to determine why Accounts are not being created.

\ List<Account> accts = getAccounts(); // getAccounts implemented elsewhere


\ Database.insert(accts, false);

( How should the code be altered to help debug the issue?

Ao Add a try-catch around the insert method.


B.C) Change the DML statement to insert accts.
c.( ‘) Collect the insert method return value in a SaveResult variable,
D./>) Set the second insert method parameter to true.

{_) Mark this item for later review.


CUB
Vee Windows,
Provide question feedback here (optional):

Please Provide Feedback here... ¥


© Sentinel Secure ? x

KRYTERION F] |p Version: 18.0.0


= Test Aids

"KRY
lx ERION &> partner |
BS ciosa. TESTING SOLUTIONS

Single Book
=
Salesforce Certified Platform Developer I @
4 |
: Time Remaining : 01:24:16 Multiple Books

| Aa |
| 61 of 65. Which exception type cannot be caught? ON )

| A.C) CalloutException —
| B. GC A Custom Exception Calculator

C. (>) NoAccessException =
f D. @ Limitexception )

Pencil
& Paper
{| Mark this item for later review.
KA
Provide question feedback here (optional): EN B

Please Provide Feedback here... snc


| Materials
iIndaive
5 to agiiaae Windaws.
© Sentinel Secure ? x

KRYTERION F] |p Version: 18.0.0


= Test Aids

"KRY
lx TERION &> partner |
BS ciosa. TESTING SOLUTIONS

Single Book
- =
Salesforce Certified Platform Developer I @
:
: Time Remaining : 01:24:09 Multiple Books

| Aaa |
| 62 0f 65. When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs? |ON )

| A.) Environment Hub —


Production Calculator
| B.(")
co Dev Hub <<
f D. (>) Sandbox

Pencil
& Paper
{| Mark this item for later review.
kK)
Provide question feedback here (optional): EN B

Please Provide Feedback here... hina


| Materials
indie
5 to agiiaae Windaws.
© Sentinel Secure ? x

KRYTERION F] |p Version: 18.0.0

1% KRYTERION”
[ : Test Aids
partner [ ]
Be ciosal TestiING SOLUTIONS

Salesforce Certified Platform Developer I gs

ji Time Remaining : 01:24:02

63 of G5. A lead developer creates an Apex interface called "Laptop". Consider the following code snippet:

public class SilverLaptop{


/fcode implementation

How can a developer use the Laptop interface within the SilverLaptop class?

*O public class SilverLaptop implements Laptop

public class SilverLaptop extends Laptop a

() @Extends (class="Laptop")
public class SilverLaptop

DO.) @Interface (class="Laptop")


- public class SilverLaptop
Accs . 4d Materials

ee Windows.
(5) Mark this item for later review.
© Sentinel Secure q x

KRYTERION a Version: 18.0.0

[ZKRYTERION™
Test Aids

partner
Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

Time Remaining : 01:23:54

64 of 65. A developer is tasked with performing a complex validation using Apex as part of advanced business logic. When
certain criteria are met for a PurchaseOrder, the developer must throw a custom exception.

What is the correct way for the developer to declare a class that can be used as an exception?
A.(") public class FurchaseOrder implements Exception{)

6. (_) public class PurchaseOrder extends Exception{}

co public class BurchaseOrderException implements Exception{}

D.() public class PurchaseOrderException extends Exception{)

| | Mark this item for later review.

Provide question feedback here (optional): | Ve

fe Windaws.
Please Provide Feedback here...
© Sentinel Secure ? x

KRYTE RION F] |p Version: 18.0.0

[ . Test Aids

lx” KRYTERION” &> partner BA


Be cioea. TESTING SOLUTIONS

Salesforce Certified Platform Developer I

ji Time Remaining : 01:23:47

| 65 of 65. Which process automation should be used to post a message to Chatter without using Apex code?

| A.) Entitlement Process


B.(") Outbound Message
co Flow Builder
f D.(>) Strategy Builder

{| Mark this item for later review.

Provide question feedback here (optional):

Please Provide Feedback here...


iE

ee Windows,
KRYTERION
© Sentinel Secure q x

Version: 18.0.0

Test Aids

( KRYTERION’
Be cioea. TESTING SOLUTIONS
partner

Salesforce Certified Platform Developer I

Time Taken: 21 minutes of 105 minutes total


Result: Pass

‘ercentage Correct

Salesforce Fundamentals 75%

Data Modeling and Management 75%

Process Automation and Logic 75%

User Interface 78%

Testing, Debugging, and Deployment 80%

Congratulations! You have successfully completed the certification exam to become a Salesforce Certified Platform Developer I. Welcome to the
Salesforce worldwide community of Certified Professionals!
te Winde
|. Windews,

You might also like