¥.
kryterion &
Salesforce Certified Platform Developer I1 - Multiple Choice
Time Taken: 64 minutes of 120 minutes total
Result: Pass
Advanced Developer Fundamentals 100¢
Process Automation, Logic, and Integration 76%
%User Interface o _ 1 83%
Testing, Debugging, and Deployment 1%
Performance 809%
Congratulations! You have successfully completed the Salesforce Certified Platform Developer II Multiple Cholice exam.
If you've completed the Advanced Apex Specialist Superbadge on Trailhead, please allow 1 business day to receive your certific
number indicate you have marked that item for review. Click on the item
number to return to the desired item. When you are ready to submit your
assessment, click the 'Submit Exam' button below to submit your responses
and end the assessment.
Assessment Summary
Number of Items 62
Answered:
Number of Items o
Unanswered:
Number of Ttems 0o
Marked for Review:
Answers
1. 8 2. CD 3. B 4. B
S. ABD | T = e E 8. B
S. A 10. C 11. D 12. D
13. A 14, C 15. C 16. B8
17. A i8. AD 19. D 20. D
21. AD 22. D 23. 8 29. C
25. C 26. A 22. C 28. C
=9. CDA =20. C 1. B S22. D
33. B 394. B 35. D 36. D
37. B 38. B 39. D 40. A
41. 8B 42. CD 43. D 44, D
45. B 4. B 47. D 48. D
48. 8 50.D 51. A8 S52.A
53. DC 54, A8 55 A 55. D
s572. € s58. A 59. CD 60, B
B.(:) [SELECT AccountId, CreatedbDate, Subiject
FROM Ta=sk
WHERE What.Type — "Account' AND Orcancdaibate =3 tinitsialbDatnce AND
Croanadnar, e toancilanc ATT. ROwsS) ;
C.o [SELECT Accountid, CreatedDace, Subjact
FROM Task
WIERE Whal
. fype — "Accounce' AND ilsAcrchiived—Lius AND CrealedDacs —»
sdnitiallDat= NAND CrealtedDale “— tendbDate];
D.o [SELECT AccountiId, CreatedDate, Subij=ct
FROM Task
WHERE What.Type — "Account' AND isDolatad-=talszsca AND QraatedDate ==
rinimialData AND Croanadbana <-— tandbDate AT ROWs=) ;.
C] Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
Review Al | Submit Exam.
L A Kryterion DY DREAKE INTEANATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:56:34
62 of 62. A developer needs to implement a historical Task reporting
feature that allows users, assigned to a custom profile named
"Auditors"”, to perform searches against the Tasks related to the
Account object.
The developer must ensure the search is able to return Tasks that are
between 12 and 24 months old. It should exclude any tasks which
have been deleted, and include Tasks whether archived or not.
Given the following code, which select statement should be inserted at
the placeholder as a valid way to retrieve the Tasks ranging from 12
to 24 month old?
Dale inilLialDale = Syslem.Today () .addManths{ 24) ;
Dale sndDale = Syslem.Today() .addMonlthis (-12) 2
P — 4 L ———i — A a
S
LA
.-
e
CINP s,
e
T
Sag A
m 'e
<ligntning: layounThnom Aisc—="12" mocdiumhovyiaalisc-—"6"2>
(v _acomomanrt
. Nawee)
</lighting:layouniItam>
wlighLning:layoutliten =2ize="12" mediumlDevicesSize~="g" -
{lv.aceounl . AccountLNwulse s }
w/lighting:layoutltem»
<lightning:laycutItem sizxe="12" mediumbDeviceSize="&">
{lv.account.Industry}
</lighting:iayounItaem>
=/ lightning: layotns
O Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
A N & by ORAXE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:57:08
61 of 62. Refer to the component code and requirements below:
<lightning:layout multipleRows—"truco">
<lightning:layoutltom sSizc "12">( !'v.account.Namc)
</lighting:layoutitcem>
<lightning:layoutltem size="12">
{!v.account
. AccountiNumber }
</lighting:layoutltem>
<lightning:layoutt.tTtem size="12">
(lv.account.. Tndust.ry}
</lightning: layout.Ttem>
</lighlning: layoul.>
Requirements:
1. For mobile devices, the information should display in three rows.
A N o by ORAXKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:57:48
60 of 62. How should a developer verify that a specific Account
record is being tested in a test class for a Visualforce controller?
A o Insert the Account into Salesforce, instantiate the page reference in the test
class, then use sSysartrm.aanParyrannRacaYaATd () .ga () to set the Account ID.
B.@ Inzsert the Account in the test class, instantiate the page reference in the test
class, then use sSysten.currentPageraeferaence () .getraranecters() .puct () to
set the Account ID.
C. o Instantiate the page reference in the test class, Insert the Account in the test
class, then use Systcem.secFassntRecordld() .g=: () to set the Account ID.
D. O Instantiate the page reference In the test class, Insert the Account In the test
class, then use =csaAl lData-trus= to view the Account.
D Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
A N o by ORAXE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:57:56
59 of 62. A developer created an Opportunity trigger that updates
the account rating when an associated opportunity is considered high
value. Current criteria for an opportunity to be considered high value
is an amount greater than or equal to $1,000,000. However, this
criteria value can change over time.
There is a new requirement to also display high value opportunities in
a Lightning web component.
Which two actions should the developer take to meet these business
requirements, and also prevent the business logic that obtains the
high value opportunities from being repeated in more than one place?
Choose 2 answers
AL D Call the trigger from the Lightning web component.
B. O Leave the business logic code Inside the trigger for efficiency.
=2t Create a helper class that fetches the high value opportunities.
D. Use custom metadata to hoid the high value amount.
A N o by ORAXE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:58:07
59 of 62. A developer created an Opportunity trigger that updates
the account rating when an associated opportunity is considered high
value. Current criteria for an opportunity to be considered high value
is an amount greater than or equal to $1,000,000. However, this
criteria value can change over time.
There is a new requirement to also display high value opportunities in
a Lightning web component.
Which two actions should the developer take to meet these business
requirements, and also prevent the business logic that obtains the
high value opportunities from being repeated in more than one place?
Choose 2 answers
A O Call the trigger from the Lightning web component.
B. CJ Leave the business logic code Inside the trigger for efficiency.
C. Create a helper class that fetches the high value opportunities.
D. Use custom metadata to hoid the high value amount.
¥, Kryrterion by DRAKE INTEANATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:58:14
58 of 62. A developer has a test class that creates test data before
making a mock callout but now receives a '"You have uncommitted
work pending. Please commit or rollback before calling out' error.
Which step should be taken to resolve the error?
A Ensure the records are inserted before the J=e=_ . 2 Laz == () statement and
the mock callout occurs after the ITesL . sLas L le=L ().
B. o Ensure both the Insertion and mock callout occur after the Tes. . =tarccTe=L ().
¥ o Ensure the records are inserted before the Tosar.anarmToans () statement and
the mock callout occurs within a method annotated with @rastsanup.
D. o Ensure both the insertion and mock callout occur after the Test . stoplest ().
D Mark this item for later review.
Provide question fesdback hare (optional):
Please Provide Feedback here.,.
The test fails to execute and exits with an error: "Methods defined as
TestMethod do not support Web service callouts.”
What is the optimal way to fix this?
A o Add Taar.snarcTasrnt () before and Taarn.stopTast () after
CalloutUtil.sendAccocuntiUpdate.
B. o Add ==L .starclesL () before and tezL ,2etruck and lest.sLople=L () after
CallouluLil isendaccouwniuUpilale,
° Add LT==_ . g asile=L{) and l==t . =se_mMock before and re=. . 2 opl==. () after
CalloutUtil.sendiccountUpdate,.
D. O Add if (!Test_ isRunningTes=t()) around CalloutUtil =sendAaccountUpdate=.
D Mark this Item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
Review Al
Va Kryrterion Dy DRAKE INTEANATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:58:249
57 of 62. Refer to the test method below:
@isTast
slalic void LesbtAccounlUpdalble() {
Accounlt acocl. = new Accounbl (Name = "Te:msll')
accl.Tnlegration Updaled o = lalse;
insert acctLt;
CalloutuUtil.sendAccountiUpdate
(acct.Id) ;
Account acctAfter = [SELECT Id, Integration Updated e
FROM Account WHERE Id — :acct.IdAdli0]:
sSysteom.assert (true, acctAafter.lntogration
updated <)
Va Kryrerion Dy DRERAEKEELE INTEANATIONAMA
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:58:35
56 of 62. A Salesforce Platform Developer is leading a team that is
tasked with deploying a new application to production. The team has
used source-driven development, and they want to ensure that the
application is deployed successfully.
What tool or mechanism should be used to verify that the deployment
is successful?
A, o Salesforce Inspector
B. O Apex Test Execution
c. o Force.com Migration Tool
o@ Salesforce DX CLI
D Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
¥, Kryrterion Yy DRAEKEELE TNTEANATIONAMA
Salesforce Certified Platform Developer 11 - Multiple Choice
T me Remaining: 00:58:39
55 of 62. Which use case can be performed only by using
asynchronous Apex?
A.@ Calling a web service from an Apex trigger
B. O Updating & record after the completion of an insert
O Querying tens of thousands of records
D. O Making a call to schedule a batch process to complete in the future
CJ Mark this item for later review.
Provide question feedback here (optional):
~
Please Provide Feedback here...
¥, Kryrterion vy DRERAEKEELE INTEANATIONMA
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:58:44
54 of 62. A business currently has a process to manually upload
orders from its external Order Management System (OMS) into
Salesforce.
This is a labor intensive process since accounts must be exported out
of Salesforce to get the IDs. The upload file must be updated with the
correct account IDs to relate the orders to the corresponding
accounts.
Which two recommendations should make this process more efficient?
Choose 2 answers
A. ;;:ntify unique fields on Order and Account and set them as External
B. Use the upsert wizard in the Data Loader to import the data.
o O Ensure the data In the flle I1s sorted by the order ID.
D. D Use the insert wizard in the Data Loader to import the data.
¥, Kryrterion Dy DRERAEKEELE INTEANATIONAMA
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:58:48
53 of 62. A Salesforce org has more than 50,000 contacts. A new
business process requires a calculation that aggregates data from all
of these contact records. This calculation needs to run once a day
after business hours.
Which two steps should a developer take to accomplish this?
Choose 2 answers
A, O Use the 2rucure annotation.,
B. D Implement the Database . Bactchakble Interface.
C. Implement the Quauanle interface.
D. Implement the schnedulaol= Interface.
(:] Mark this item for later review.
Provide question feadback here (optional):
Va Kryrerion Dy DRAKELE INTEANATIONAMA
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:58:53
52 of 62. A developer is responsible for formulating the deployment
process for a Salesforce project. The project follows a source-driven
development approach, and the developer wants to ensure efficient
deployment and version control of the metadata changes.
Which tool or mechanism should be utilized for managing the source-
driven deployment process?
A.@ Salesforce CLI with Salesforce DX
B. O Data Loader
C. O Change Sets
D. o Change Sets
C) Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
['AKry'rerlon Dy DRAKELE INTEANATIONAMA
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:58:57
51 of 62. Which two queries are selective SOQL queries and can be
used for a large data set of 200,000 Account records?
Choose 2 answers
A. SELECT Id FROM Account WHERE I4d IN (List of Account Ids)
B. SELECT Id FROM Account WHERE Name IN (Li=t of Names=) AND
‘:‘u:::mcr_wum):':r S = "VaiueA'
C.O SELECT TH FROM Account WEHERE Nanece TL.TEFR ‘“rarcnoer’
D.O SELECT 1d rEOM Arvcoulll WILERE Najge !— *°
C) Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
The test method fails at the Line 20 because of too many SOQL
queries.
What is the correct way to fix this?
A-O Add 1e=sL . starLi==L () before and add 1oL .2 Lopli==L () after both Line 7 and
Line 20 of the code.
B. o Change the pacaraciozry class to create fewer Accounts so that the number of
queries In the trigger is reduced.
o o Use Limic= _geclLimicgueriea=() to find the total number of queries that can be
Issued.
D@ Add Tosrt.starsToast () before and add Tost.snopTonsn () after Line 18 of the
code.
C] Mark this Item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
Review Al
Va Kryrterion by DRAKE INTEANATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:59:04
50 of 62. Refer to the test method below:
Tvine 1: @isTest
Thvine 2: stalic vaoid LestMyTrigger ()
Line 3: ({
Line 4: / /D0 a bunch ol dala selup
Line 5: DalLaFaclory.setupDataForMyTriggerTest () 2
Line &:
Line 7: List<Account> acctsPefore = |[SELECT
IS Customex ¢ FROM Account WHERE Id IN
tDataFactory.accounts| ;
Linc 8:
Linc 9: //0tility to asscrt all accounts arc not
customcrs boefore the updatce
Line 10: Aszecrtutil.asscortiNotCustomers (acctspefore) ;
Line 11:
Va Kryrterion Dy DRAKELE INTEANATIONAMA
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:59:14
49 of 62. A developer is asked to develop a new AppExchange
application. A feature of the program creates Survey records when a
Case reaches a certain stage and is of a certain Record Type. This
feature needs to be configurable, as different Salesforce instances
require Surveys at different times. Additionally, the out-of-the-box
AppExchange app needs to come with a set of best practice settings
that apply to most customers.
What should the developer use to store and package the custom
configuration settings for the app?
A. o Custom labels
8.@ Custom metadata
<. O Custom objects
D.O Custom settings
D Mark this item for later review.
order o object,
The order < object has private organization-wide defaults. The
Ordex < object has a custom field, Quality Controllex <, that is
a Lookup to User and is used to indicate that the specified User is
performing quality control on the Order .
What should be used to automatically give read only access to the
User set in the gual ity Controllier_ o field?
A O User managed sharing
B. O Record ownership
- O Criteria-based sharing
D@ Apex managed sharing
D Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
¥, Kryrterion by DRAKE INTEANATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:59:29
48 of 62. Universal Containers uses Salesforce to track orders in an
Order c: object-
The ordcxr < object has private organization-wide defaults. The
order < object has a custom field, cuality Controllexr <, thatis
a Lookup to User and is used to indicate that the specified User is
performing quality control on the Order .
What should be used to automatically give read only access to the
User set in the Quality controller o field?
A o User managed sharing
B. O Record ownership
C. O Criteria-based sharing
D@ Apex managed sharing
D Mark this item for later review.
¥, Kryrterion Yy DRAKE INTEANATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:59:35
47 of 62. Which interface needs to be implemented by an Aura
component so that it may be displayed in modal dialog by clicking a
button on a Lightning record page?
A. (O fuzve:lighiniuguditaciion
B. O tighoning:aditAacsion
Gs o lighiniang guickaciion
D@ rarca: lightningfuickaction
O Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
Va Kryrterion by DRAKE INTEANATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 00:59:40
46 of 62. Which method should be used to convert a Date to a String
in the current user's locale?
A. O Scring.valucor
B@ LUale. fusmal
C.O Datciparsc
D-O SLzing.fozitial
D Mark this item for later review.
Provide question feedback here (optional):
-
Please Provide Feedback here...
45 of 62. Universal Containers wants to use a Customer Community
with Customer Community Plus licenses to allow their customers
access to track how many containers they have rented and when they
are due back. Universal Containers uses a Private sharing model for
External users.
Many of their customers are multi-national corporations with complex
Account hierarchies. Each account on the hierarchy represents a
department within the same business.
One of the requirements is to allow certain community users within
the same Account hierarchy to see several departments' containers,
based on a custom junction object that relates the Contact to the
various Account records that represent the departments.
Which solution solves these requirements?
A, o A custom list view on the junction object with filters that will show the proper
records based on owner
B.@ An Apex trigger that creates Apex managed sharing records based on the
junction object's relationships
&, O A Visualforce page that uses a custom controller that specifies wi-rnou=
sharing to expose the records
D. O A Lightning web component on the Community Home Page that uses Lightning
Data Services.
D Mark this item for later review.
Provide question feedback here (optional):
l P e e PV2 8 e B B B M o
WA = F oy onaxe INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:00:05
44 of 62. Which Salesforce feature allows a developer to see when a
user last logged in to Salesforce if real-time notification is not
required?
A, O Asynchronous Data Capture Events
B. O Developer Log
ot o Calendar Events
o@ Event Monitoring Log
O Mark thi=s item for later review.
Provide gquestion feedback here (optional):
Please Provide Feedback here...
WA = F oy onaxe INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:00:10
43 of 62. An org records customer order information in a custom
object, ard=r_ , that has fields for the shipping address. A
developer is tasked with adding code to calculate shipping charges on
an order, based on a flat percentage rate associated with the region of
the shipping address.
What should the developer use to store the rates by region, so that
when the changes are deployed to production no additional steps are
needed for the calculation to work?
AL O Custom object
B. O Custom hierarchy setting
> o Custom list setting
D@ Custom metadata type
D Mark this item for later review.
Provide question feadback here (optional):
¥ e S — |
What should be changed to most optimize the code's efficiency?
Choose 2 answers
A D Bulid a Map<atring, TastcsAccount:>:> of audit code to accounts.
B. D Add an initial SOQL query to get all distinct audit codes.
C. Add a weEEnR® clause to the SOQL query to filter on audit codes.
D. Build a Map=1d, LisL«<SLring>> of Account Id to audit codes.
O Mark this Item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
v‘ T T T oV by ORAKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:00:23
42 of 62. The Account object has a field, nudit Code <, that is used
to specify what type of auditing the Account needs and a Lookup to
User, Auditor ¢, that is the assigned auditor.
When an Account is initially created, the user specifies the
Audil Code . Each User in the org has a unique text field,
Audil Codeo, that is used to automatically assign the correct user
to the Account’s AuditLoro field.
trigger AccountTrigger on Account (bsfore insert) (
AuditAssigner.setAuditor (Trigger.new) ;
public aclass Audi tAssigner |
publ ioc static void setAudi
btor (T sb<Acacount.> acaounts) {
for (User u @ | SELECT Td, Audi L Code ¢ FROM U:mber])
WA = F oy onace inTEanaTIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:00:41
41 of 62. A company uses an external system to manage its custom
account territory assignments. Every quarter, millions of Accounts
may be updated in Salesforce with new Owners when the territory
assignments are completed in the external system.
What is the optimal way to update the Accounts from the external
system?
A. (D SOAP API
B.@ Apex REST Web Service
ol O Composite REST API
D. () Bulk API
O Mark this item for later review.
Provide question fesdback here (optional):
Please Provide Feedback here...
WA = F oy onaxe inTEanATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:00:50
40 of 62. A developer is inserting, updating, and deleting multiple
lists of records in a single transaction and wants to ensure that any
error prevents all execution.
How should the developer implement error exception handling in their
code to handle this?
A.@ Use Dasacasc.scanfavepoint () and Dataknascs.ryall®Back () with a try-catch
statement.
B. O Use Namabass mMethods to obtain lists of Naranasa.SavaRasulna.
C. (O Use a try-catch and use =objescs.addEzcoz () on any fallures.
D. O Use a try-catch statement and handle DML cleanup in the catch statement.
[:] Mark this item for |later review,
Provide question feedback here (optional):
-
Please Provide Feedback here...
WA = F oy onace inTEaNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:01:03
39 of 62. A developer is asked to look into an issue where a
scheduled Apex is running into DML |limits. Upon investigation, the
developer finds that the number of records processed by the
scheduled Apex has recently increased to more than 10,000.
What should the developer do to eliminate the |limit exception error?
AL O Implement the oucucmae Lo Interface.
B. O Use the ¢fuLuz= annotation.
C. O Use platform events.
D@ Implement the vaLcl:abl= interface.
O Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
WA = F oy onace inTEaNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:01:13
38 of 62. A company accepts orders for customers in their enterprise
resource planning (ERP) system that must be integrated into
Salesforce as Order < records with a lookup field to Account. The
Account object has an external ID field, crr Customoxr
1D e
What should the integration use to create new Orde=r « records that
will automatically be related to the correct Account?
A o Insert on the oraexr < object followed by an update on the order< object.
B.@ Upsert on the order< object and specify the ErF _customer 1D < for the
Account relationship.
Ce o Upsert on the Account and specify the sy Cus_omers 10 o for the relationship.
D. (O Merge on the oracy_ « object and specify the mnr_Sustomsy_Tr_ =~ for the
Account relationship.
O Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
WA = F oy onace inTeanaTionar
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:01:22
37 of 62. A developer created a Lightning web component that uses a
lightning recaord =dit. form to collect information about Leads.
Users complain that they only see one error message at a time about
their input when trying to save a Lead record.
Which best practice should the developer use to perform the
validations on more than one field, thus allowing more than one error
message to be displayed simultaneously?
A, O Next Best Action
B. Client-side validation
o O Custom validation rules
D.O Apex REST
O Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
WA — F oy oAt INTEANATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:01:28
36 of 62. What is a benefit of JavaScript remoting over Visualforce
Remote Objects?
A. (O Does not require any JavaScript code
B. O Allows for specified re-render targets
|> O Does not require any Apex code
D.@ Supports complex server-side application logic
CJ Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
Time Remaining: 01:01:35
35 of 62. Consider the following code snippet:
public slallic Lisb<Accounl> gelAccounbl: (Dale LhisDale, Td
goldenRiRT) {
List<Account> accountList = |[Selecl ITd, Name, Industry FROM
Account WHERE CreatedDalte tthisDate OR RecordTypeId =
tgoldenRT)
return accountList;
The Apex method is executed in an environment with a large data
volume count for Accounts, and the query is performing poorly.
Which technique should the developer implement to ensure the query
performs optimally, while preserving the entire result set?
A o Use the nataoass
. gqueoryl.oaca=or method to retrieve the accounts.
B. O Annotate the method with the ¢rucucs= annotation.
€. O Create a formula field to combine the Crecatsabars and secocdiyvo= value, then
filter based on the formula.
D.@ Break down the query Into two individual queries and join the two result sets.,
O Mark this item for later review.
Provlde_qugsslon feedgack_heze (_optionel):_
Dy DRAXKE INTERANATIONAMAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:01:47
34 of 62. A developer is asked to find a way to store secret data with
an ability to specify which profiles and users can access which secrets.
What should be used to store this data?
A. O UyzlLem.Covkie class
B.@ Custom settings
C. O Static resources
D. O Custom metadata
D Mark this item for later review.
Provide question feadback here (optional):
Please Provide Feedback here...
v‘ o by ORAKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:01:54
33 of 62. A developer notices the execution of all the test methods in
a class takes a long time to run, due to the initial setup of all the test
data that is needed to perform the tests.
What should the developer do to speed up test execution?
- O Dafine a method that creates test data and annotate with Vcrexl=Dala,
B.@ Define a method that creates test data and annotate with Ece=srac-ur.
- O Ensure proper usage of test data factory in all test methods.
D. O Reduce the amount of test methods In the class.
D Mark this item for later review.
Provide question feadback here (optional):
Please Provide Feedback here...
v‘ o by ORAKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:02:03
32 0of 62. A company has an Apex process that makes multiple
extensive database operations and web service callouts. The database
processes and web services can take a long time to run and must be
run sequentially.
How should the developer write this Apex code without running into
governor limits and system limitations?
A. o Use multiple 2fulur= methods for each process and callout.
B. O Use Apex Scheduler to schedule each process.
L O Use Limits class to stop entire process once governor limits are reached.
D@ Use Queueable Apex to chain the jobs to run sequentially.
O Mark this item for later review.
Provide question fesdback here (optional):
Please Provide Feedback here...
v‘ o by ORAKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:02:13
31 of 62. A developer is debugging an Apex-based aorder creation
process that has a requirement to have three savepoints, SP1, SP2,
and SP3 (created in order), before the final execution of the process.
During the final execution process, the developer has a routine to roll
back to SP1 for a given condition. Once the condition is fixed, the
code then calls a roll back to SP3 to continue with final execution.
However, when the roll back to SP3 is called, a runtime error occurs.
Why does the developer receive a runtime error?
AL O The developer used too many savepoints In one trigger session.
B.@ SP2 became invalid when SP1 was rolled back,
€ o The developer has too many DML statements between the savepoints.
D. o The developer should have called SP2 before calling SP3.
D Mark this item for later review.
Provide question feedback here (optional):
v‘ o by ORAKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:02:22
30 of 62. The head of recruiting at Universal Containers (UC) wants
to provide all internal users the ability to search for open positions by
role, department, and location via a new recruiting app. In addition to
search, users of the app should be able to refer a friend, apply for a
position, and review the status of their current submissions.
The app will be surfaced to UC’s existing iOS and Android users via
the standard mobile app that Salesforce provides. It has a custom
user interface design and offline access is not required.
Given these requirements, what is the recommended approach to
develop the app?
AL o Lightning Experience Bullder
B. o Salesforce SDK
C. o Lightning Web Components
D.O Visualforce
O Mark this item for later review,.
The Lightning Component allows users to click a button to save their
changes and then redirects them to a different page. Currently when
the user hits the Save button, the records are getting saved, but they
- e et o-aaio—ao-.-a
are not redirected.
Which three techniques can a developer use to debug the JavaScript?
Choose 3 answers
A. Use console.log() messages in the JavaScript.
B. Use Developer Console to view the debug log.
Enable Debug Mode for Lightning components for the user,
moon
oo
Use the browser's dev tools to debug the JavaScript.
Usze Developer Console to view checkpoints,
CJ Mark this item for later review.
Provide question feadback here (optional):
Please Provide Feedback here...
N\
WA = F oy onaxe INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:02:40
29 of 62. Refer to the Lightning component below:
<lightning:but.bbon 1Tabel1="Save" onaclick="{!c. . handleSave}" /=
({
handleSave : lunclLion (componenl., evenlL, helper) {
helper .. saveAndRedliraecl (component) ;
})
The Lightning Component allows users to click a button to save their
changes and then redirects them to a different page. Currently when
the user hits the Save button, the records are getting saved, but they
are not redirected.
Which three techniques can a developer use to debug the JavaScript?
Choose 3 answers
WA = F oy onace inTianaTionad
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:02:51
28 of 62. A developer is working with existing functionality that
tracks how many times a stage has changed for an Opportunity. When
the Opportunity’s stage is changed, a workflow rule is fired to increase
the value of a field by one. The developer wrote an after trigger to
create a child record when the field changes from 4 to 5.
A user changes the stage of an Opportunity and manually sets the
count field to 4. The count field updates to 5, but the child record is
not created.
What is the reason this is happening?
A, o After triggers are not fired after field updates.
B. o Trigger.old does not contain the updated value of the count field.
C@ After triggers fire before workflow rules,
D. O Trigger.new does not change after a field update.
O Mark this item for later review.
Based on the code snippets, what change should be made to display
the contacts' mailing addresses in the Lightning web component?
Al O Add a new method In the Apex controller class to retrieve the malling addresses
separately and modify the Lightning web component to Invoke this method.
B. O Modify the SOQL query In the getAccountContacts method to Include the
MailingAddress field.
C@ Modify the SOQL query in the getAccountContacts method to include the
MailingAddress field and update the columns attribute in javascript file to add
Mailing address fields.
D. o Extend the lightning-datatable component in tha Lightning web component to
Include a column for the MallingAddress field.
O Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
Time Remaining: 01:03:07
27 of 62. Universal Containers analyzes a Lightning web component
and its Apex controller class that retrieves a list of contacts associated
with an account. The code snippets are as follows:
Lightning wetl . =2mnt (: mtCont ts.htmli):
_ ccarcred Lal WAL 6§ 6 TS -
<template>
wlirgnuning - -cdatal da b= . acls ) columns=
> - A ae=" mint Con
{columns} key Lield=""qb19}d/1%_{ 3 dalalLable>
. B 2 =400 -y
</lightning-card:> >
. / iqt" Sl b "TCAP ght.ni ne
< emplata:
Apex controller class (AccountContactsController.cls):
public with sharing class AccountContactsController |
aurakEnablad
public static List<Contact> gotAccountContacts (sSstring
accountid) |
return [(SELECT 1d, Name, Email, Phonce FROM Contact
wWilkEEl Accountlild raccountildl] ;
Based on the code snippets, what change should be made to display
the contacts' mailing addresses in the Lightning web component?
AN N A a maw rvathanAd T Pha Anmav reantrallar AMace bt ratviaviea Pha maailllnms addvacoas
'A by DRAXKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:03:20
26 of 62. Consider the following code snippet:
<c—scloctoed—-orxrdor>
<tcmplate for:cach (ordors.data) for:item "ordcecxv:-
<Cc—ordcer ordeorld (order.ld)></c—ordcr>
</template
</c—selected—-order>
How should the «¢c-order> component communicate to the <« -
salected-order> component that an order has been selected by the
user?
A.@ Create and dispatch a custom event.
B. O Create and fire a component event.
cC. O Create and fire a standard DOM event,
D. O Create and fire an application event.
D Mark this item for |later review,
WA = F oy onace inTianaTionad
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:03:29
25 of 62. There is an Apex controller and a Visualforce page in an org
that displays records with a custom filter consisting of a combination
of picklist values selected by the user.
The page takes too long to display results for some of the input
combinations, while for other input choices it throws the exception,
"Maximum view state size limit exceeded".
What step should the developer take to resolve this issue?
A. Remove instances of the transient keyword from the Apex controller to avoid
the view state error
B. O Split the layout to filter records In one Visualforce page and display the list of
records In a second page using the same Apex controller.
c Use a StandardSetController or SOQL LIMIT In the Apex controller to Iimit the
number of records displayed at a time.
D. o Adjust any code that filters by picklist values since they are not indexed.
O Mark this item for |ater review,
Provide question feedback here (optional):
liqgiitziisidsliayoulLloem =ige—" 132" JlazgeleviceSise—"¢
{lv.zec. . Descsociption <)
</lightning:lavoustItcem>
</lightning:layoutct>
B. O Llightning: layous multiplicRawa—="talna">
L1igntrning: taynunToan samal INavi aasSi 2a="12" largoeDavi casiza="a">
{ v, rac.Nama )
</lighoning:lavyouclitem>
wliglhitaling:lavyouliven smalleviceUicse—"]18" larygeLevicelSlize—"¢"
{iv.zec Descziprion o}
</lightoning:layoutlcems
</lightning:layoutr™>
C.@ lighmning: layour muiniplicRaws—="nrisa™>
ZTightming: TaynunTham AizZa="12" JTarganaviaasSiza—="6">
(lv.rac.Nama)
</lightning:laycutlcem>
<iigntning: tays Lt SIizZS—="12" 1argchevicasSizc="66"2
’.'
i
G
(tv.rac.Doasaripnian o)
</1ighrtning: layniclItem>
</lightning:layouc>
D. o clighuining:layoul muliiplerRows="Lius">
ligiitnnlisigrlayoultlos 2allleyviceSice—"]128" laryelDeviceSisde—"E"S
lwv_ o Natu=}
TRy
< /lightning: layvouctIcem>
<lightning:liayoutItem smallDeviceSize="12" largeDeviceSize="a">
(fv.rac.Dascription o)
/lightoning: | ayounTooms
ot Y A ernernd vaumr el meriun s
VA T T T AP by ORAKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:03:37
23 of 62. Consider the following code snippet:
0l public class with =sharing AccountsController |
02
03 Gaurarnakbhled
04 pubklic List<accounts> goetAllAccounts
() (
05 return [Select 1d, Name, I1ndustry FrROM Account];
06 }
07
08 )
As part of the deployment cycle, a developer creates the following test
class:
071 private class with sharing AccountaContraller
Test {
02
03 ETeslLS=tup
Which change should the developer implement in the Apex test
method to ensure the test method executes successfully?
A. o Add Vislesrl (geealllaa~Lzu=) to line 12 and enclose lines 15 and 16 within
LTesl starille=l () anNd Te=L . =LonTesl ().
B. Query the Administrator user Into memory and enclose lines 15 and 16 within
the syscem. zunis= (u==xr) method.
C. o Query the Standard User Into memory and enclose lines 15 and 16 within the
Sy=stem.rurnfAs (uascr) method.
D. O Add sy~roam.yunas (TIacy) to line 14 and enclose [Ine 15
within Taan.arareTast () and Tean.stonTaarn ().
O Mark this Item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
Review All ll Submit Exam.
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:03:51
23 of 62. Consider the following code snippet:
D1l public clans wilh sharing AccounblsControl ler{
02
03 FARAUraEnableaed
04 public List<Accounts> getAllAccounts
() {
0S return |Selaeact Id, Name, Industry FROM Account);
0o }
07
og )
As part of the deployment cycle, a developer creates the following test
class- USCcYr us
ile.Name '*Sstar Jame
Ul Pr@+rest.com' and--3 Sharing AccountsCo.. 9.
0z
03 TestUtils.insertlAccounts (10, userl.1d);
04 TestUtils.insertAccounts (20, user2.1d):;
05 }
PFrotf
WA = F oy onaxe INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:04:08
22 of 62. In an organization that has multi-currency enabled, a
developer is tasked with building a Lighting component that displays
the top ten Opportunities most recently accessed by the logged in
user. The developer must ensure the Amount and LastModifiedDate
field values are displayed according to the user's locale.
What is the most effective approach to ensure values displayed
respect the user's locale settings?
AL O Use reosx expressions to format the values retrieved via SOQL.
B. O Use a wrapper class to format the values retrieved via SOQL.
c. O Use the mon vTEw clause In the SOQL query.
o@ Use the rowmal () Function in the SOQL query,
O Mark this item for later review,
Provide question feadback here (optional):
[ Please Provide Feedback here...
WA = F oy onaxe INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:04:16
21 of 62. As part of point-to-point integration, a developer must call
an external web service which, due to high demand, takes a long time
to provide a response. As part of the request, the developer must
collect key inputs from the end user before making the callout.
Which two elements should the developer use to implement these
business requirements?
Choose 2 answers
A. Lightning web component
B. D Batch Apex
c. D Screen Flow
D. Apex method that returns a Continuation object
O Mark this item for later review.
Provide question feedback here (optional):
WA = F oy onaxe INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:04:21
20 of 62. What is the best practice to initialize a Visualforce page in a
test class?
A o Use cantral lar. . cunrranthage. scnPage. (MyTassTage) ;
B. (O Use resL. =zellusren Faus . MylesLPage;
C. O Use Tast ..currantilago . goanParanatars.puns (MyTassPagae) ;
D@ USEe les. . smlilusiel Fayge (Fage MylesLbaygs) ;
CJ Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
D
WA = F oy onacc inTianaTionad
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:04:27
19 of 62. An org has a requirement that addresses on Contacts and
Accounts should be normalized to a company standard by Apex code
any time that they are saved.
What is the optimal way to implement this?
A. O Apex trigger on Account that calls the Contact trigger to normalize the address
B. o Apex trigger on Contact that calls the Account trigger to normalize the address
C. o Apex triggers on Contact and Account that normalize the address
D@ Apex triggers on Contact and Account that call a helper class to normalize the
address
O Mark this item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
Which two changes should a developer make in this trigger to adhere
to best practices?
Choose 2 answers
A. Remove the last line that updates accountiiasn because it is not
needed.
B. D Use a Map to cache the results of the ==yu.lo:no gquery by Id.
c. D Add it (!accountIiist.isEmpty()) before updarte acoocuntlist.
D. Move the s=gyion< query to outside the loop.
O Mark this Item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
WA F oy onaxe iNnTEanNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:04:35
18 of 62. Consider the below trigger intended to assign the Account
to the manager of the Account's region:
tL.rigger AnsignOwnerByRegion on Account ( before insert,
belfore updale )
{
Lisl<aAccounl> accounlLislt = new LislLcAccounbl>
()
for( Account anAccount @ Lrigger.new )
(
Ragion ¢ theRaegion = |
SELECT Id, Name, Reogion Manager c
FROM Rogion <C
WHERE Namc ranAccount .Raegion Name <
12
anAccount.Oownoerld thecRoegion.Rogion
Managexr <
accountlList.add( anAccount ) ;
WA = F oy onaxe iINTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:04:48
17 of 62. Universal Containers implements a private sharing model
for the convention Attendss o custom object. As part of a new
quality assurance effort, the company created an
Lvent Rocvicwocr< user lookup field on the object. Management
wants the event reviewer to automatically gain Read/Write access to
every record they are assigned to.
What is the best approach to ensure the assigned reviewer obtains Read/Write
access to the record?
A Create an after Insert trigger on the Convention Attendee custom object, and
use Apex Sharing Reasons and Apex Managed Sharing.
B. O Create a before insert trigger on the Convention Attendee custom object, and
use Apex Sharing Reasons and Apex Managed Sharing.
C. (O Create a criteria-based sharing rule on the Convention Attendee custom object
to share the records with a group of Event Reviewsers.
D. Create criteria-based sharing rules on the Convention Attendee custom object
to share the records with the Event Reviewers.
D Mark this item for later review.
WA = F oy onace inTianaTionad
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:04:57
ade if
16 of 62. A developer created an Apex class that updates an Acc
based on input from a Lightning web component that is used to
register an Account. The update to the Account should only be mq: RE
it‘o — ew@mvVv.t A 1al , ’
1 F (laccount.. Ts_Registered ) ¥
account. . Ts Reginteraed = Lrue;
/7 .i.beal olhar accounl. [i1elds. ..
updale accounl.;
What should the developer do to ensure that users do not overwrite
each other's updates to the same Account if they make updates at the
same time?
AL o Add a try/catch block around the update.
B. Include Las=trModifi=dDac= In the query to make sure it wasn't recently
updated.
C. O Use up=seares Instead of upanrce.
However, when the test runs, no data is returned and the assertion
fails.
Which edit should the developer make to ensure the test class runs
successfully?
A o Implement the seaaAllData=crue attribute in the G1lsTast annotation.
B. O Enclose the method call within Te=zc . starcTe=x () and Te=t . =topTe=t ().
C,© Implement the sacfFixedSearchiResulnas method in the test class.,
D. o Implement the without sharing keyword In the searchreacture= Apex class.
O Mark this Item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
VA T T T AP by ORAKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:05:07
15 of 62. Consider the following code snippet:
public class scarchfcaturo{
rublic static List<List<sObijcct>> scarchRccords (string
scarchqguery) {
return [FLIND scarchguery 1IN ALL FlELDS RETURNING
Account, Opportunity, Lead]:;
}
A developer created the following test class to provide the proper
code coverage for the snippet above:
PisTest
private clams searchFeature Test{
@TesL8=up
A developer receives complaints that the component loads slowly.
Which change can the developer implement to make the component
perform faster?
A. (O Change the type of contactinro to "Map”.
B. o Move the contents of <c:contactinfc> Into the component.,
C@ Change the default for ahowContactinrTo to "false”,
D. o Add a change event handler for snowContactIinto.
O Mark this Item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
W EEEE S -“----—------U- TR B WRET wi R R
14 of 62. Refer to the Aura component below:
Component markup:
<aura:componcecnt>>
<aurasattribute name "contactinfo" typoe- "Object"/>
<aura:attribute name—-"showContactinfo" tvyvpe-"boolean”™
default="txrue"
/>
<aura:handler name="init" wvalue="{!this}"™ action="
{ Ll aAnityr/>
O sie o PILEDRY COIN <. >
<caunraz:if isTrues=s"{!v.showContact.Tnfo} "=
vwozconbtachlTnfo value="{!v.contacttTnfo})"/>
</aurcas:
Lz
</Aaurazcomponenlb >
Controller 1S:
({
init: function(cmp, helper) {
// ...0ther code ...
var show = helper.gefShowContactInlio
()
cp.set (Yv.showContacstInio”, show) ?
e
// othexr code...
VA T T T oV by ORAKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:05:27
13 of 62. Which technique can run custom logic when a Lightning
web component is loaded?
AL Use the comnecasodcal laack () method.
B. O Use the tendec=dcallivack () method.
|> O Use an <aura:nandlisrs ini= event to call a function.
D. o Call sa.engueus=acLiva and pass in the method to call.
O Mark this item for later review.
Provide question feedback here (optional):
r y
Please Provide Feedback here...
</1lighlning layoul.>
Which should the developer add to the code to meet the
requirements?
A O Add small-device-size="12"to the <l:gntning-lavout—item> elements
B. (O Add medium-device-size="6" to the <lightning-layoutr-ictem> elements
C. o Add size="12" medium-device-size="6" to the <lightning-layout-item->
elements
D Add size="6" small-device-size="12" to the <l igntring-layour—1noms
elements
O Mark this Item for later review.
Provide question feedback here (optional):
Please Provide Feedback here...
VA T T T AP by ORAKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:05:33
12 of 62. A developer is asked to modify a Lightning web component
so that it displays in one column on phones and in two columns on
tablets, desktops, and larger devices.
Given to the code below:
<lightning—-layout multiplcec—-rows "txruc">
<lightning-layout-—-itom:>
<divrLxample l</div>
</lightning-layout—-item:>
<lightning-layout-item:>
<divrExample 2</div>
</lightning-layout—-item>
</lightning-layout>
Which should the developer add to the code to meet the
requirements?
// do some logic Recoxrd Typ=s 1
erlxme if (c.RoecaordTypaTd — roacTypa Ranawsl ) 4
// do ocome logico foxr Recoxrd Type 2
}
. ’
°<:>ln;mxuecordType> recilypes = [SELECT I1Id, Nam= ¥FROM
RecordType WHERE SObjectType — ‘Opportunity’® AND IsActive
- True);
Map<String, 1d> reclypsesMap = new Map<gftring, 1d>() :
lor(RecordType rl : recTypes) |
recTypeMap
. pul (rt
. Name, rLCL.Td);
lor(Oppurtunily o :: Triggetero.new) {
il (. RecordTypeTdd == recTypoeMap.gel ("New') {
// do some logic NRecorxd Yype 1
e2lxes I (O.RecurdTypeaeTd — rocTypeMap
. .gel ("Rencwal ')
// do some logic for Recoxrd Type 2
O Mark this item for later review.
"u.‘;— T 7 dV by ORAKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:05:53
11 of 62. A company wants to run different logic based on an
Opportunity's record type.
Which code segment handles this request and follows best practices?
A.O RecordType recType New — |SELECT Td, Name FROM RecordTypes
WHERE SObjesctlilype — 'OCpportunity' ANLD l1sActive — True And
LDevelopexrName — "'New' L1MIYT 1]
RuecuordTyper zacTypoe Ronawal — [SELECT Td, Name: FROM
Hecoxrdlyps WHENRE SObhjectilypes — 'Opportunity' AND l1lsAcTtive
— True And DevelopsrName — "HRenewal' LiMiT 17:;
For (Oppoartbunily o = Trigger.now) 4
if(o.Recoxdlypeld —— recType bNNew ) |
// do osomes logic Recoxd Type 1
}
erlsn: if (o.RaoacaordTypaTd — racTypa Roncwsasl ) {
/7 do some logic for Recoxrd Type 2
WA = F oy onaxe INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:06:02
10 of 62. A developer used custom settings to store some
configuration data that changes occasionally. However, tests are now
failing in some of the sandboxes that were recently refreshed.
What should be done to eliminate this issue going forward?
A, O Set the setting type on the custom setting to List,
B. O Replace custom settings with static resources.
C.@ Replace custom settings with custom metadata.
D. O Set the setting type on the custom setting to Hierarchy.
O Mark this item for later review.
Provide question feadback here (optional):
Please Provide Feedback here...
WA F oy onaxe INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:06:08
9 of 62. A developer writes a Lightning web component that displays
a dropdown list of all custom objects in the org from which a user will
select. An Apex method prepares and returns data to the component.
What should the developer do to determine which objects to include in
the response?
A.@ Check the i=cust~m () value on the sObject describe result.
B. O Check the g=L0b j=ciLliyw= () value for 'Custom’' or 'Standard’ on the sObject
describe result,
c. o Use the gecCustomobj=ct= () method from the Schema class.
D. O Import the list of all custom objects from Eaalasatoraa/narnama.
D Mark this item for |later review,
Provide question feedback here (optional):
-
Please Provide Feedback here...
WA = F oy onace inTEaNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:06:13
8 of 62. Universal Containers develops a Visualforce page that
requires the inclusion of external JavaScript and CSS files. They want
to ensure efficient loading and caching of the page.
Which feature should be utilized to achieve this goal?
A, O FPageBlockTable
B. Static resources
e O ActionFunction
D. O RemoteAction
D Mark this item for later review.
Provide question feadback here (optional):
Please Provide Feedback here...
WA = F oy onace inTEanaTIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:06:18
7 of 62. A developer is asked to build a solution that will
automatically send an email to the customer when an Opportunity
stage changes. The solution must scale to allow for 10,000 emails per
day. The criteria to send the email should be evaluated after certain
conditions are met.
What is the optimal way to accomplish this?
A, o Use vinglecuallMmes=ayg= () with an Apex trigger.
B. O Use Mas=sFmaiilMeassage () with an Apex trigger.
c@ Use an Email Alert with Flow Builder.
D. O Use an Apex trigger with Batch Apex.
O Mark this item for later review.
Provide question fesdback here (optional):
Please Provide Feedback here...
VA T T T AP by ORAKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:06:28
6 of 62. A developer is trying to access org data from within a test
class.
Which sObject type requires the test class to have the
(seeAllData=true) annotation?
A O Profils
B. O User
C.@ Report
D. O RecordType o 4
O Mark this item for later review,
Provide guestion fesedback here (oprtional):
Please Provide Feedback here...
VA T T T AP by ORAKE INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:06:32
5 of 62. Which three Visualforce components can be used to initiate
Ajax behavior to perform partial page updates?
Choose 3 answers
A. Tapex:commandllink>
B. <apex:commandButton™>
& D <apex:actionStatus>
D. <apex:actionSuppors=>
E. D <apeax:forms>
O Mark this Item for later review,.
Provide question feedback here (optional):
Please Provide Feedback here...
WA = F oy onaxe INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:06:43
3 of 62. A developer created and tested a Visualforce page in their
developer sandbox, but now receives reports that user encounter view
state errors when using it in production.
What should the developer ensure to correct these errors?
A, O Ensure profiles have access to the Visualforce pags.
B. o Ensure variables are marked as rran=i-~nr.
C. O Ensure queries do not excead governor limits.
D. O Ensure properties are marked as privarce.
O Mark this item for later review.
Provide question feaedback here (optional):
Please Provide Feedback here...
WA = F oy onaxe INTERNATIONAL
Salesforce Certified Platform Developer 11 - Multiple Choice
Time Remaining: 01:06:48
3 of 62. A developer created and tested a Visualforce page in their
developer sandbox, but now receives reports that user encounter view
state errors when using it in production.
What should the developer ensure to correct these errors?
A. O Ensure profiles have access to the Visualforce pags.
B.@ Ensure variables are marked as rran=siont.
C. o Ensure queries do not exceed governor limits.
D. O Ensure properties are marked as privare.
O Mark this item for later review.
Provide question feadback here (optional):
Please Provide Feedback here...