@palerock/exam-qa 1.0.5 → 1.0.6-patch10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/dist/index.html +1 -1
  2. package/dist/static/css/app.e3a8483dfde3024c7e501c1e46ada2a8.css +2 -0
  3. package/dist/static/css/app.e3a8483dfde3024c7e501c1e46ada2a8.css.map +1 -0
  4. package/dist/static/js/app.4a28c4a16706c6bcac16.js +2 -0
  5. package/dist/static/js/app.4a28c4a16706c6bcac16.js.map +1 -0
  6. package/dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map +1 -1
  7. package/dist/static/js/{vendor.2266aa7b53ec643d4efa.js → vendor.ac467c0d394fa8945db3.js} +3 -3
  8. package/dist/static/js/vendor.ac467c0d394fa8945db3.js.map +1 -0
  9. package/lib-json/Dev1/345/237/272/347/241/200/351/242/230.json +1347 -0
  10. package/lib-json/Dev1/346/250/241/346/213/237/345/215/267A.json +1473 -0
  11. package/lib-json/Dev1/346/250/241/346/213/237/345/215/267B.json +1469 -0
  12. package/lib-json/Dev1/346/265/201/347/250/213/350/207/252/345/212/250/345/214/226/344/270/216/351/200/273/350/276/2211.json +1519 -0
  13. package/lib-json/Dev1/346/265/201/347/250/213/350/207/252/345/212/250/345/214/226/344/270/216/351/200/273/350/276/2212.json +997 -0
  14. package/lib-json/Dev1/346/265/213/350/257/225_/350/260/203/350/257/225_/351/203/250/347/275/262.json +889 -0
  15. package/lib-json/Dev1/347/224/250/346/210/267/347/225/214/351/235/242.json +1191 -0
  16. package/lib-json/Salesforce-Admin-201-[Set-10].json +769 -0
  17. package/lib-json/Salesforce-Admin-201-[Set-1].json +604 -0
  18. package/lib-json/Salesforce-Admin-201-[Set-2].json +621 -0
  19. package/lib-json/Salesforce-Admin-201-[Set-3].json +650 -0
  20. package/lib-json/Salesforce-Admin-201-[Set-4].json +636 -0
  21. package/lib-json/Salesforce-Admin-201-[Set-5].json +640 -0
  22. package/lib-json/Salesforce-Admin-201-[Set-6].json +640 -0
  23. package/lib-json/Salesforce-Admin-201-[Set-7].json +592 -0
  24. package/lib-json/Salesforce-Admin-201-[Set-8].json +539 -0
  25. package/lib-json/Salesforce-Admin-201-[Set-9].json +539 -0
  26. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-1].json +8 -5
  27. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-7].json +5 -5
  28. package/lib-json/map.json +7 -33
  29. package/package.json +3 -2
  30. package/dist/static/css/app.ca55413bb84f381cb1c76ff82cf63b2d.css +0 -2
  31. package/dist/static/css/app.ca55413bb84f381cb1c76ff82cf63b2d.css.map +0 -1
  32. package/dist/static/js/app.bb356da473121a6a22a4.js +0 -2
  33. package/dist/static/js/app.bb356da473121a6a22a4.js.map +0 -1
  34. package/dist/static/js/vendor.2266aa7b53ec643d4efa.js.map +0 -1
@@ -0,0 +1,1519 @@
1
+ {
2
+ "title": "Dev1流程自动化与逻辑1",
3
+ "category": "Dev1-自由部落侠",
4
+ "questions": [
5
+ {
6
+ "describe": "UC processes orders in Salesforce in a custom object, Order__c. They also allow sales reps to upload CSV files with thousands of orders at a time.\nA developer is tasked with integrating orders places in Salesforce with UC's enterprise resource planning (ERP) system.\nAfter the status for an Order__c is first set to 'Placed', the order information must be sent to a REST endpoint in the ERP system that can process one order at a time.\nWhat should the developer implement to accomplish this?",
7
+ "answerOptions": [
8
+ {
9
+ "describe": "Flow with a callout from an invovable method",
10
+ "isRight": false
11
+ },
12
+ {
13
+ "describe": "Callout from an @future method called from a trigger",
14
+ "isRight": false
15
+ },
16
+ {
17
+ "describe": "Callout from a Barchable class called from a scheduled job",
18
+ "isRight": true
19
+ },
20
+ {
21
+ "describe": "Callout from a Queueable class from a trigger",
22
+ "isRight": false
23
+ }
24
+ ],
25
+ "hashCode": "1995171578"
26
+ },
27
+ {
28
+ "describe": "UMS has a custom object, ServiceJob__c, with an optinal Lookup field to Account called Partner_Service_Provider__c.\nThe TotalJobs__c field on Account tracks the total number of ServiceJob__c records to which a partner service provider Account is related.\nWhat is the most efficient way to ensure that the TotalJobs__c field is kept up to date?",
29
+ "answerOptions": [
30
+ {
31
+ "describe": " Create a schedule-triggered flow on ServiceJob__c",
32
+ "isRight": false
33
+ },
34
+ {
35
+ "describe": "Create an Apex trigger on ServiceJob__c",
36
+ "isRight": false
37
+ },
38
+ {
39
+ "describe": "Change TotalJobs__c to a roll-up summary field.",
40
+ "isRight": false
41
+ },
42
+ {
43
+ "describe": "Create a record-triggered flow on ServiceJob__c",
44
+ "isRight": true
45
+ }
46
+ ],
47
+ "hashCode": "1995171575"
48
+ },
49
+ {
50
+ "describe": "Which two scenarious require an Apex method to be called imperatively from a Lightning web component? Choose 2 answers",
51
+ "answerOptions": [
52
+ {
53
+ "describe": "Calling a method that makes a web service callout.",
54
+ "isRight": false
55
+ },
56
+ {
57
+ "describe": "Calling a method that is not annotated with cacheable=true",
58
+ "isRight": true
59
+ },
60
+ {
61
+ "describe": "Calling a method with the click of a button",
62
+ "isRight": true
63
+ },
64
+ {
65
+ "describe": "Calling a method that is external to the main controller for the Lightning web component",
66
+ "isRight": false
67
+ }
68
+ ],
69
+ "hashCode": "1995171574"
70
+ },
71
+ {
72
+ "describe": "Which Apex class contains methods to return the amount of resources that have been used for a particular governor, such as the number of DML statements?",
73
+ "answerOptions": [
74
+ {
75
+ "describe": "OrgLimits",
76
+ "isRight": false
77
+ },
78
+ {
79
+ "describe": "Messaging",
80
+ "isRight": false
81
+ },
82
+ {
83
+ "describe": "Exception",
84
+ "isRight": false
85
+ },
86
+ {
87
+ "describe": "Limits",
88
+ "isRight": true
89
+ }
90
+ ],
91
+ "hashCode": "1995171572"
92
+ },
93
+ {
94
+ "describe": "As part of a data cleanup strategy, AW Computing wants to proactively delete associated opportunity records when the related Account is deleted.\nWhich automation tool should be used to meet this business requirement?",
95
+ "answerOptions": [
96
+ {
97
+ "describe": "Outbound messaging",
98
+ "isRight": false
99
+ },
100
+ {
101
+ "describe": "Record-triggered flow",
102
+ "isRight": true
103
+ },
104
+ {
105
+ "describe": "Scheduled job",
106
+ "isRight": false
107
+ },
108
+ {
109
+ "describe": "Flow Orchestration",
110
+ "isRight": false
111
+ }
112
+ ],
113
+ "hashCode": "1995171549"
114
+ },
115
+ {
116
+ "describe": "While writing an Apex class, a developer wants to make sure that all functionality being developed is handled as specified by the requirements.\nWhich approach should the developer use to be sure that the Apex class is working according to specifications?",
117
+ "answerOptions": [
118
+ {
119
+ "describe": "Create a test class to execute the business logic and run the test in the Developer Console.",
120
+ "isRight": false
121
+ },
122
+ {
123
+ "describe": "Include a try/catch block to the Apex class.",
124
+ "isRight": true
125
+ },
126
+ {
127
+ "describe": "Run the code in an Execute Anonymous block in the Developer Console.",
128
+ "isRight": false
129
+ },
130
+ {
131
+ "describe": "Include a savepoint and Database.rollback().",
132
+ "isRight": false
133
+ }
134
+ ],
135
+ "hashCode": "1988674188"
136
+ },
137
+ {
138
+ "describe": "Universal Containers has created a unique process for tracking container repairs. A custom Field,Status_c has been created within the container_c custom object. A developer is tasked with sending notifications to multiple external systems every time the value of the status_c picklist changes.\nWhich two tools should the developer use to meet the business requirement and ensure low maintenance of the solution?\nChoose 2 answers",
139
+ "answerOptions": [
140
+ {
141
+ "describe": "Record-Triggered flow",
142
+ "isRight": false
143
+ },
144
+ {
145
+ "describe": "Apex trigger",
146
+ "isRight": true
147
+ },
148
+ {
149
+ "describe": "Apex callouts",
150
+ "isRight": false
151
+ },
152
+ {
153
+ "describe": "Platform event",
154
+ "isRight": true
155
+ }
156
+ ],
157
+ "hashCode": "1988674166"
158
+ },
159
+ {
160
+ "describe": "A developer creates a custom exception as shown below:\n\npublic class ParityException extends Exception {}\n\nWhat are two ways the developer can fire the exception in Apex?\nChoose 2 answers",
161
+ "answerOptions": [
162
+ {
163
+ "describe": "new ParityException('parity does not match');",
164
+ "isRight": false
165
+ },
166
+ {
167
+ "describe": "throw new ParityException('parity does not match');",
168
+ "isRight": true
169
+ },
170
+ {
171
+ "describe": "throw new ParityException ();",
172
+ "isRight": true
173
+ },
174
+ {
175
+ "describe": "new ParityException();",
176
+ "isRight": false
177
+ }
178
+ ],
179
+ "hashCode": "1988674159"
180
+ },
181
+ {
182
+ "describe": "An Approval Process is defined in the Expense_Item_c object.A business rule dictates that whenever a changes the Status to 'Submitted' on an Expense _Report_ c record,all the Expense_Itemc records related the expense report must enter the approval process individually.\nA developer is asked to explore if this automation can be implemented without writing any Apex code.\nWhich statement is true regarding this automation request?",
183
+ "answerOptions": [
184
+ {
185
+ "describe": "This can only be automated with Apex code.",
186
+ "isRight": false
187
+ },
188
+ {
189
+ "describe": "This approval step cannot be automated and must be done manually.",
190
+ "isRight": false
191
+ },
192
+ {
193
+ "describe": "The developer can use Einstein Next Best Actions.",
194
+ "isRight": true
195
+ },
196
+ {
197
+ "describe": "The developer can use a record triggered flow with Actions.",
198
+ "isRight": false
199
+ }
200
+ ],
201
+ "hashCode": "1988674158"
202
+ },
203
+ {
204
+ "describe": "<p>A developer migrated functionallty from JavaScriptRemoting to a Lightning web component and existing getopportunities() method to provide data.\nWhich modification to the method Is necessary?</p>",
205
+ "answerOptions": [
206
+ {
207
+ "describe": "<p>The method must be decorated with (cacheable=true).</p>",
208
+ "isRight": false
209
+ },
210
+ {
211
+ "describe": "<p>The method must be decorated with @AuraEnabled.</p>",
212
+ "isRight": true
213
+ },
214
+ {
215
+ "describe": "<p>The method must return a JSON Object.</p>",
216
+ "isRight": false
217
+ },
218
+ {
219
+ "describe": "<p>The method must return a String of serialized JSON Array.</p>",
220
+ "isRight": false
221
+ }
222
+ ],
223
+ "hashCode": "1988674135"
224
+ },
225
+ {
226
+ "describe": "Which two process automations can be used on their own to send Salesforce Outbound Message?\nChoose 2 answers",
227
+ "answerOptions": [
228
+ {
229
+ "describe": "Process Builder",
230
+ "isRight": false
231
+ },
232
+ {
233
+ "describe": "Workfow Rule",
234
+ "isRight": true
235
+ },
236
+ {
237
+ "describe": "Flow Builder",
238
+ "isRight": true
239
+ },
240
+ {
241
+ "describe": "Strategy Builder",
242
+ "isRight": false
243
+ }
244
+ ],
245
+ "hashCode": "1988674134"
246
+ },
247
+ {
248
+ "describe": "Managers at Universal Containers want to ensure that only decommissioned containers are able the system. To meet the business requirement a Salesforce developer adds \"Decommissioned\"for the status_c custom field within the container_c object.\nWhich tool should the developer use to enforce only Container records with a status of \"Decommissioned\" delated?",
249
+ "answerOptions": [
250
+ {
251
+ "describe": "After record-triggered flow",
252
+ "isRight": false
253
+ },
254
+ {
255
+ "describe": "validation rule",
256
+ "isRight": false
257
+ },
258
+ {
259
+ "describe": "Before record-triggered flow",
260
+ "isRight": false
261
+ },
262
+ {
263
+ "describe": "Apex trigger",
264
+ "isRight": true
265
+ }
266
+ ],
267
+ "hashCode": "1988674128"
268
+ },
269
+ {
270
+ "describe": "A company has been adding data to Salesforce and has not done a good job of limiting the creation of duplicate Lead records. The developer is considering writing an Apex process to identify duplicates and merge the recordstogether.\nWhich two statements are valid considerations when using merge?\nChoose 2 answers",
271
+ "answerOptions": [
272
+ {
273
+ "describe": "The field values on the master record are overwritten by the records being merged.",
274
+ "isRight": false
275
+ },
276
+ {
277
+ "describe": "The merge method allows up to three records, including the master and two additional records withthe same sObject type,to be merged into the master record.",
278
+ "isRight": true
279
+ },
280
+ {
281
+ "describe": "External ID fields can be used with the merge method.",
282
+ "isRight": true
283
+ },
284
+ {
285
+ "describe": "Merge is supported with accounts, contacts,cases, and leads.",
286
+ "isRight": false
287
+ }
288
+ ],
289
+ "hashCode": "1988674099"
290
+ },
291
+ {
292
+ "describe": "A business implemented a gamification plan to encourage its customers to watch some educational videos.\nCustomers can watch videos over several days, and their progress is recorded.Award points are grantedcustomers for all completed videos. When the video is marked as completed in Salesforce, an external webservice must be called so that points can be awarded to the user.\nA developer implemented these requirements in the after update trigger by making a call to an external webservice.However, a Syetem,Cal1outException is occurring.\nWhat should the developer do to fix this error?",
293
+ "answerOptions": [
294
+ {
295
+ "describe": "Move the callout to an asynchronous method with @future(callout=true) annotation.",
296
+ "isRight": true
297
+ },
298
+ {
299
+ "describe": "Replace the after update trigger with a before insert trigger.",
300
+ "isRight": false
301
+ },
302
+ {
303
+ "describe": "Surround the external call with a try-catch block to handle the exception.",
304
+ "isRight": false
305
+ },
306
+ {
307
+ "describe": "Write a REST service to integrate with the external web service.",
308
+ "isRight": false
309
+ }
310
+ ],
311
+ "hashCode": "1988674097"
312
+ },
313
+ {
314
+ "describe": "<p>When a user edits the Postal Code on an Account, a custom Account text field named &quot;Timezone&quot; must be updated based on the values in a PostalCodeToTimezone__c custom object.\nWhich two automation tools can be used to implement this feature?\nChoose 2 answers</p>",
315
+ "answerOptions": [
316
+ {
317
+ "describe": "<p>Fast Field Updates record-triggered flow</p>",
318
+ "isRight": true
319
+ },
320
+ {
321
+ "describe": "<p>Approval process</p>",
322
+ "isRight": false
323
+ },
324
+ {
325
+ "describe": "<p>Quick actions</p>",
326
+ "isRight": false
327
+ },
328
+ {
329
+ "describe": "<p>Account trigger</p>",
330
+ "isRight": true
331
+ }
332
+ ],
333
+ "hashCode": "1988674095"
334
+ },
335
+ {
336
+ "describe": "A developer wants to invoke an outbound message when a record meets a specific criteria.\nWhich two features satisfy this use case?\nChoose 2 answers",
337
+ "answerOptions": [
338
+ {
339
+ "describe": "Flow Builder can be used to check the record criteria and send an outbound message.",
340
+ "isRight": true
341
+ },
342
+ {
343
+ "describe": "Next Best Action can be used to check the record criteria and send an outbound message.",
344
+ "isRight": false
345
+ },
346
+ {
347
+ "describe": "Entitlement Process can be used to check the record criteria and send an outbound message without Apex code.",
348
+ "isRight": false
349
+ },
350
+ {
351
+ "describe": "Approval Process can be used to check the record criteria and send an outbound message withoutApex code.",
352
+ "isRight": true
353
+ }
354
+ ],
355
+ "hashCode": "1988674073"
356
+ },
357
+ {
358
+ "describe": "What are two use cases for executing Anonymous Apex code?\nChoose 2 answers",
359
+ "answerOptions": [
360
+ {
361
+ "describe": "To add unit test code coverage to an org",
362
+ "isRight": false
363
+ },
364
+ {
365
+ "describe": "To run a batch Apex cass to update all Contacts",
366
+ "isRight": true
367
+ },
368
+ {
369
+ "describe": "To delete 15,000 inactive Accounts in a single transaction after a deployment",
370
+ "isRight": false
371
+ },
372
+ {
373
+ "describe": "To schedule an Apex class to run periodically",
374
+ "isRight": true
375
+ }
376
+ ],
377
+ "hashCode": "1988674072"
378
+ },
379
+ {
380
+ "describe": "A custom object Trainer_c has a lookup field to another custom object Gym_c.\nWhich SOQL query will get the record for the Viridian City Gym and all it's trainers?",
381
+ "answerOptions": [
382
+ {
383
+ "describe": "SELECT Id,(SELECT Id FROMTrainer_c)FROM Gym__c WHERE Name = \"Viridian City Sym'",
384
+ "isRight": false
385
+ },
386
+ {
387
+ "describe": "SELECT ID FROM Trainer__c WHEREGym_r.Name = 'Viridian city Gym'",
388
+ "isRight": false
389
+ },
390
+ {
391
+ "describe": "SELECT Id,(SELECT Id FROM Trainers_c)FROM Gym_c WHERE Name = 'Viridian City Gym'",
392
+ "isRight": false
393
+ },
394
+ {
395
+ "describe": "SELECT Id,(SELECT Id FROMTrainer__r)FROM Gym_c WHERE Name = 'Viridian City Gym'",
396
+ "isRight": true
397
+ }
398
+ ],
399
+ "hashCode": "1988674067"
400
+ },
401
+ {
402
+ "describe": "The Salesforce Administrator created a custom picklist field Account_ status_c, on the Account object. This picklist has possible values of \"Inactive\" and \"Active\". As part of a new business process, management wants to ensure an opportunity record is created only for Accounts marked as Active. A developer is asked to implement this business requirement.\nWhich automation tool should be used to fulfill the business need?",
403
+ "answerOptions": [
404
+ {
405
+ "describe": "Entitlement Process",
406
+ "isRight": false
407
+ },
408
+ {
409
+ "describe": "Salesforce Flow",
410
+ "isRight": true
411
+ },
412
+ {
413
+ "describe": "Outbound Messaing",
414
+ "isRight": false
415
+ },
416
+ {
417
+ "describe": "Approval Process",
418
+ "isRight": false
419
+ }
420
+ ],
421
+ "hashCode": "1988674066"
422
+ },
423
+ {
424
+ "describe": "A developer is asked to prevent anyone other than a user with Sales Manager profile from changing the Opportunity Status to Closed Lost If the lost reason is blank.\nWhich automation allows the developer to satisfy this requirement in the most efficient manner?",
425
+ "answerOptions": [
426
+ {
427
+ "describe": "An error condition formula on a validation rule on Opportunity",
428
+ "isRight": true
429
+ },
430
+ {
431
+ "describe": "A record trigger flow on the Opportunity object",
432
+ "isRight": false
433
+ },
434
+ {
435
+ "describe": "An approval process on the Opportunity object",
436
+ "isRight": false
437
+ },
438
+ {
439
+ "describe": "An Apex trigger on the Opportunity object",
440
+ "isRight": false
441
+ }
442
+ ],
443
+ "hashCode": "1988674065"
444
+ },
445
+ {
446
+ "describe": "Universal Containers uses Service Cloud with a custom field, stage_c, on the Case object.\nManagement wants to send a follow-up email reminder 6 hours after the stage_c field is set to \"Waiting on Customer\". The Salesforce Administrator wants to ensure the solution used is bulk safe.\nWhich automation tool should a developer recommend to meet these business requirements?",
447
+ "answerOptions": [
448
+ {
449
+ "describe": "Record-Triggered Flow",
450
+ "isRight": false
451
+ },
452
+ {
453
+ "describe": "Entitlement Process",
454
+ "isRight": false
455
+ },
456
+ {
457
+ "describe": "Scheduled Flow",
458
+ "isRight": true
459
+ },
460
+ {
461
+ "describe": "Einstein Next Best Action",
462
+ "isRight": false
463
+ }
464
+ ],
465
+ "hashCode": "1988674039"
466
+ },
467
+ {
468
+ "describe": "On a 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.\nHow many times will the AccountTrigger fire if a new Account is inserted, assuming no other automation logic is implemented on the Account?",
469
+ "answerOptions": [
470
+ {
471
+ "describe": "1",
472
+ "isRight": false
473
+ },
474
+ {
475
+ "describe": "2",
476
+ "isRight": true
477
+ },
478
+ {
479
+ "describe": "6",
480
+ "isRight": false
481
+ },
482
+ {
483
+ "describe": "4",
484
+ "isRight": false
485
+ }
486
+ ],
487
+ "hashCode": "1988674040"
488
+ },
489
+ {
490
+ "describe": "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.\nWhat is the correct way for the developer to declare a class that can be used as an exception?",
491
+ "answerOptions": [
492
+ {
493
+ "describe": "public class PurchaseOrderException implements Exception{}",
494
+ "isRight": false
495
+ },
496
+ {
497
+ "describe": "public class PurchaseOrder extends Exception{}",
498
+ "isRight": false
499
+ },
500
+ {
501
+ "describe": "public class PurchaseOrderException extends Exception{)",
502
+ "isRight": true
503
+ },
504
+ {
505
+ "describe": "public class PurchaseOrder implements Exception{}",
506
+ "isRight": false
507
+ }
508
+ ],
509
+ "hashCode": "1988674037"
510
+ },
511
+ {
512
+ "describe": "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.\nWhen creating the Apex method, which annotation should a developer use to ensure the method can be used within the flow?",
513
+ "answerOptions": [
514
+ {
515
+ "describe": "@future",
516
+ "isRight": false
517
+ },
518
+ {
519
+ "describe": "@AuraEnabled",
520
+ "isRight": false
521
+ },
522
+ {
523
+ "describe": "@InvocableMethod",
524
+ "isRight": true
525
+ },
526
+ {
527
+ "describe": "@RemoteAction",
528
+ "isRight": false
529
+ }
530
+ ],
531
+ "hashCode": "1988674034"
532
+ },
533
+ {
534
+ "describe": "CK has a multi-screen flow that its call center agents use when handling inbound service desk calls.\nAt 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.\nWhat should a developer use to satisfy this requirement?",
535
+ "answerOptions": [
536
+ {
537
+ "describe": "An Apex REST class",
538
+ "isRight": true
539
+ },
540
+ {
541
+ "describe": "An outbound message",
542
+ "isRight": false
543
+ },
544
+ {
545
+ "describe": "An Apex controller",
546
+ "isRight": false
547
+ },
548
+ {
549
+ "describe": "An invocable method",
550
+ "isRight": false
551
+ }
552
+ ],
553
+ "hashCode": "1988674033"
554
+ },
555
+ {
556
+ "describe": "Which process automation should be used to post a message to Chatter without using Apex code?",
557
+ "answerOptions": [
558
+ {
559
+ "describe": "Outbound Message",
560
+ "isRight": false
561
+ },
562
+ {
563
+ "describe": "Entitlement Process",
564
+ "isRight": false
565
+ },
566
+ {
567
+ "describe": "Strategy Builder",
568
+ "isRight": false
569
+ },
570
+ {
571
+ "describe": "Flow Builder",
572
+ "isRight": true
573
+ }
574
+ ],
575
+ "hashCode": "1988674009"
576
+ },
577
+ {
578
+ "describe": "A developer is migrating a Visualforce page into a Lightning web component.\nThe Visualforce page shows information about a single record. The developer decides to use Lightning Data Service to access record data.\nWhich security consideration should the developer be aware of?",
579
+ "answerOptions": [
580
+ {
581
+ "describe": "Lightning Data Service handles sharing rules and field-level security.",
582
+ "isRight": true
583
+ },
584
+ {
585
+ "describe": "Lightning Data Service ignores field-level security.",
586
+ "isRight": false
587
+ },
588
+ {
589
+ "describe": "The ishccessible() method must be used for field-level access checks.",
590
+ "isRight": false
591
+ },
592
+ {
593
+ "describe": "The with sharing keyword must be used to enforce sharing rules.",
594
+ "isRight": false
595
+ }
596
+ ],
597
+ "hashCode": "1988674007"
598
+ },
599
+ {
600
+ "describe": "An Opportunity needs to have an amount rolled up from a custom object that is not in a master-detail relationship.\nHow can this be achieved?",
601
+ "answerOptions": [
602
+ {
603
+ "describe": "Write a trigger on the child object and use a red-black tree sorting to sum the amount for all related child objects under the Opportunity.",
604
+ "isRight": false
605
+ },
606
+ {
607
+ "describe": "Write a Process Builder that links the custom object to the Opportunity.",
608
+ "isRight": false
609
+ },
610
+ {
611
+ "describe": "Write a trigger on the child object and use an aggregate function to sum the amount for all related child objects under the Opportunity.",
612
+ "isRight": true
613
+ },
614
+ {
615
+ "describe": "Use the Streaming API to create real-time roll-up summaries.",
616
+ "isRight": false
617
+ }
618
+ ],
619
+ "hashCode": "1988674004"
620
+ },
621
+ {
622
+ "describe": "Which statement describes the execution order when triggers are associated to the same object and event?",
623
+ "answerOptions": [
624
+ {
625
+ "describe": "Trigger execution order cannot be guaranteed.",
626
+ "isRight": true
627
+ },
628
+ {
629
+ "describe": "Triggers are executed in the order they are created.",
630
+ "isRight": false
631
+ },
632
+ {
633
+ "describe": "Triggers are executed alphabetically by trigger name.",
634
+ "isRight": false
635
+ },
636
+ {
637
+ "describe": "Triggers are executed in the order they are modified.",
638
+ "isRight": false
639
+ }
640
+ ],
641
+ "hashCode": "1988674003"
642
+ },
643
+ {
644
+ "describe": "UC wants Opportunities to no longer be editable when reaching the Closed/Won stage.\nHow should a developer accomplish this?",
645
+ "answerOptions": [
646
+ {
647
+ "describe": "Use a validation rule.",
648
+ "isRight": true
649
+ },
650
+ {
651
+ "describe": "Use the Process Automation settings.",
652
+ "isRight": false
653
+ },
654
+ {
655
+ "describe": "Use Flow Builder.",
656
+ "isRight": false
657
+ },
658
+ {
659
+ "describe": "Mark fields as read-only on the page layout.",
660
+ "isRight": false
661
+ }
662
+ ],
663
+ "hashCode": "1988673329"
664
+ },
665
+ {
666
+ "describe": "A developer created a new trigger that inserts a Task when a new Lead is created. After deploying to production, an outside integration that reads task \nrecords is periodically reporting errors.\nWhich change should the developer make to ensure the integration is not affected with minimal impact to business logic?",
667
+ "answerOptions": [
668
+ {
669
+ "describe": "Use the Database method with allOrNone set to false.",
670
+ "isRight": true
671
+ },
672
+ {
673
+ "describe": "Deactivate the trigger before the integration runs.",
674
+ "isRight": false
675
+ },
676
+ {
677
+ "describe": "Use a try-catch block after the insert statement.",
678
+ "isRight": false
679
+ },
680
+ {
681
+ "describe": "Remove the Apex class from the integration user's profile.",
682
+ "isRight": false
683
+ }
684
+ ],
685
+ "hashCode": "1988673324"
686
+ },
687
+ {
688
+ "describe": "Which annotation exposes an Apex class as a RESTful web service?",
689
+ "answerOptions": [
690
+ {
691
+ "describe": "@AuraEnabled",
692
+ "isRight": false
693
+ },
694
+ {
695
+ "describe": "@RestResource",
696
+ "isRight": true
697
+ },
698
+ {
699
+ "describe": "@RemoteAction",
700
+ "isRight": false
701
+ },
702
+ {
703
+ "describe": "@HttpInvocable",
704
+ "isRight": false
705
+ }
706
+ ],
707
+ "hashCode": "1988673321"
708
+ },
709
+ {
710
+ "describe": "UC hires a developer to built a custom search page to help users find the Accounts they want.\nUsers will be able to search on Name, Description, and a custom comments field.\nWhich consideration should the developer be aware of when deciding between SOQL and SOSL?\nChoose 2 answers",
711
+ "answerOptions": [
712
+ {
713
+ "describe": "SOQL is able to return more records.",
714
+ "isRight": true
715
+ },
716
+ {
717
+ "describe": "SOSL is faster for text searches.",
718
+ "isRight": true
719
+ },
720
+ {
721
+ "describe": "SOQL is faster for text searches.",
722
+ "isRight": false
723
+ },
724
+ {
725
+ "describe": "SOSL is able to return more records.",
726
+ "isRight": false
727
+ }
728
+ ],
729
+ "hashCode": "1988673320"
730
+ },
731
+ {
732
+ "describe": "What is the value of the Trigger.old context variable in a Before Insert trigger?",
733
+ "answerOptions": [
734
+ {
735
+ "describe": "A list of newly created sObjects without IDs",
736
+ "isRight": false
737
+ },
738
+ {
739
+ "describe": "Undefined",
740
+ "isRight": false
741
+ },
742
+ {
743
+ "describe": "An empty list of sObjects",
744
+ "isRight": false
745
+ },
746
+ {
747
+ "describe": "null",
748
+ "isRight": true
749
+ }
750
+ ],
751
+ "hashCode": "1988673298"
752
+ },
753
+ {
754
+ "describe": "Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?",
755
+ "answerOptions": [
756
+ {
757
+ "describe": "insert records",
758
+ "isRight": false
759
+ },
760
+ {
761
+ "describe": "Database.insert(records, true)",
762
+ "isRight": false
763
+ },
764
+ {
765
+ "describe": "insert(records, false)",
766
+ "isRight": false
767
+ },
768
+ {
769
+ "describe": "Database.insert(records, false)",
770
+ "isRight": true
771
+ }
772
+ ],
773
+ "hashCode": "1988673297"
774
+ },
775
+ {
776
+ "describe": "A developer receives an error when trying to call a global server-side method using the @remoteAction decorator.\nHow can the developer resolve the error?",
777
+ "answerOptions": [
778
+ {
779
+ "describe": "Change the function signature to be private static.",
780
+ "isRight": false
781
+ },
782
+ {
783
+ "describe": "Add static to the server-side method signature.",
784
+ "isRight": false
785
+ },
786
+ {
787
+ "describe": "Decorate the server-side method with (static=true).",
788
+ "isRight": true
789
+ },
790
+ {
791
+ "describe": "Decorate the server-side method with (static=false).",
792
+ "isRight": false
793
+ }
794
+ ],
795
+ "hashCode": "1988673296"
796
+ },
797
+ {
798
+ "describe": "An Approval Process is defined in the Expense_Item__c object. A business rule dictates that whenever a user changes the Status to 'Submitted' on an Expense_Export__c record, all the Expense_Item__c records related to the expense report must enter the approval process individually. \n\nWhat approach should be used to ensure the business requirement is met?",
799
+ "answerOptions": [
800
+ {
801
+ "describe": "Create a Process Builder on Expense_Report__c with an 'Apex' action type to submit all related Expense_Item__c records when the criteria is met.",
802
+ "isRight": true
803
+ },
804
+ {
805
+ "describe": "Create two Process Builder, one on Expense_Report__c to mark the related Expense_Item__c to submit the records for approval. ",
806
+ "isRight": false
807
+ },
808
+ {
809
+ "describe": "Create a Process Builder on Expense_Report__c with a 'Submit for Approval' action type to submit all related Expense_Item__c records when the criteria is met.",
810
+ "isRight": false
811
+ },
812
+ {
813
+ "describe": "Create a Process Builder on Expense_Report__c to mark the related Expense_Item__c as submittable and a trigger on Expense_Item__c to submit the records for approval. ",
814
+ "isRight": false
815
+ }
816
+ ],
817
+ "hashCode": "1988673293"
818
+ },
819
+ {
820
+ "describe": "A workflow updates the value of a custom field for an existing Account.\nHow can a developer access the updated custom field value from a trigger?",
821
+ "answerOptions": [
822
+ {
823
+ "describe": "By writing a Before Insert trigger and accessing the field value from Trigger.new",
824
+ "isRight": false
825
+ },
826
+ {
827
+ "describe": "By writing an After Update trigger and accessing the field value from Trigger.old",
828
+ "isRight": true
829
+ },
830
+ {
831
+ "describe": "By writing a Before Update trigger and accessing the field value from Trigger.new",
832
+ "isRight": false
833
+ },
834
+ {
835
+ "describe": "By writing an After Insert trigger and accessing the field value from Trigger.old",
836
+ "isRight": false
837
+ }
838
+ ],
839
+ "hashCode": "1988673263"
840
+ },
841
+ {
842
+ "describe": "Which action may cause triggers to fire?",
843
+ "answerOptions": [
844
+ {
845
+ "describe": "Updates to Feed Items",
846
+ "isRight": true
847
+ },
848
+ {
849
+ "describe": "Cascading delete operations",
850
+ "isRight": false
851
+ },
852
+ {
853
+ "describe": "Renaming or replacing a picklist entry",
854
+ "isRight": false
855
+ },
856
+ {
857
+ "describe": "Changing a user's default division when the transfer division option is checked",
858
+ "isRight": false
859
+ }
860
+ ],
861
+ "hashCode": "1988673258"
862
+ },
863
+ {
864
+ "describe": "Instead of sending emails to support personnel directly from Salesforce, UC wants to notify an external system in the event that an unhandled exception occurs. \n\nWhat is the appropriate publish/subscribe logic to meet this requirement?",
865
+ "answerOptions": [
866
+ {
867
+ "describe": "Publish the error event using the addError( ) method and write a trigger to subscribe to the event and notify the external system.",
868
+ "isRight": false
869
+ },
870
+ {
871
+ "describe": "Publish the error event using the Eventbus.publish( ) method and have the external system subscribe to the event using CometD.",
872
+ "isRight": true
873
+ },
874
+ {
875
+ "describe": "Publish the error event using the addError( ) method and have the external system subscribe to the event using CometD.",
876
+ "isRight": false
877
+ },
878
+ {
879
+ "describe": "Have the external System subscribe to the BatchApexError event, no publishing is necessary.",
880
+ "isRight": false
881
+ }
882
+ ],
883
+ "hashCode": "1988673236"
884
+ },
885
+ {
886
+ "describe": "Which action causes a before trigger to fire by default for Accounts?",
887
+ "answerOptions": [
888
+ {
889
+ "describe": "Importing data using the Data Loader and the Bulk API",
890
+ "isRight": true
891
+ },
892
+ {
893
+ "describe": "Converting Leads to Contact accounts",
894
+ "isRight": false
895
+ },
896
+ {
897
+ "describe": "Updating addresses using the Mass Address update tool",
898
+ "isRight": false
899
+ },
900
+ {
901
+ "describe": "Renaming or replacing picklists",
902
+ "isRight": false
903
+ }
904
+ ],
905
+ "hashCode": "1988673235"
906
+ },
907
+ {
908
+ "describe": "Uiversal Containers wants Opporunities to be locked from editing when reaching the Closed/Won stage.\nWhich two strategies should a developer use to accomplish this? Choose 2 answers",
909
+ "answerOptions": [
910
+ {
911
+ "describe": "Use a validation rule.",
912
+ "isRight": true
913
+ },
914
+ {
915
+ "describe": "Use the Process Automation settings.",
916
+ "isRight": false
917
+ },
918
+ {
919
+ "describe": "Use a trigger. ",
920
+ "isRight": true
921
+ },
922
+ {
923
+ "describe": "Use Flow Builder.",
924
+ "isRight": false
925
+ }
926
+ ],
927
+ "hashCode": "1988673205"
928
+ },
929
+ {
930
+ "describe": "A developer needs to create a custom interface in Apex. Which three considerations must the developer keep in mind while developing the Apex interface? Choose 3 answers",
931
+ "answerOptions": [
932
+ {
933
+ "describe": "A method implementation can be defined within the Apex Interface.",
934
+ "isRight": false
935
+ },
936
+ {
937
+ "describe": "New methods can be added to a public interface within a released package.",
938
+ "isRight": true
939
+ },
940
+ {
941
+ "describe": "The Apex class must be declared using the interface keyword.",
942
+ "isRight": true
943
+ },
944
+ {
945
+ "describe": "The Apex class access modifier can be set to Private, Public, or Global.",
946
+ "isRight": false
947
+ },
948
+ {
949
+ "describe": "A method defined in an Apex interface cannot have an access modifier. ",
950
+ "isRight": true
951
+ }
952
+ ],
953
+ "hashCode": "1988673200"
954
+ },
955
+ {
956
+ "describe": "A developer wants to invoke an outbound message when a record meets a specific criteria. \nWhich three features satisfy this use case? Choose 3 answers",
957
+ "answerOptions": [
958
+ {
959
+ "describe": "Process builder can be used to check the record criteria and send an outbound message without Apex Code.",
960
+ "isRight": false
961
+ },
962
+ {
963
+ "describe": "Visual Workflow can be used to check the record criteria and send an outbound message without Apex Code.",
964
+ "isRight": false
965
+ },
966
+ {
967
+ "describe": "Process builder can be used to check the record criteria and send an outbound message with Apex Code.",
968
+ "isRight": true
969
+ },
970
+ {
971
+ "describe": "Approval Process has the capability to check the record criteria and send an outbound message without Apex Code.",
972
+ "isRight": true
973
+ },
974
+ {
975
+ "describe": "Workfows can be used to check the record citeria and send an outbound message.",
976
+ "isRight": true
977
+ }
978
+ ],
979
+ "hashCode": "1988673174"
980
+ },
981
+ {
982
+ "describe": "A developer is creating a page that allows users to create multiple Opportunities. The deceloper 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.\nHow can the developer find the current user's default record type?",
983
+ "answerOptions": [
984
+ {
985
+ "describe": "Use the Schema.userInfo.Opportunity.getDefaultRecordType( ) method.",
986
+ "isRight": false
987
+ },
988
+ {
989
+ "describe": "Query the Profile where the ID equals userInfo.getProfileID( ) and then use the profile.Opportunity.getDefaultRecordType( ) method.",
990
+ "isRight": false
991
+ },
992
+ {
993
+ "describe": "Use Opportunity.SObjectType.getDescribe( ).getRecordTypeInfos( ) to get a list of record types, and iterate through them until isDefaultRecordTypeMapping( ) is true.",
994
+ "isRight": true
995
+ },
996
+ {
997
+ "describe": "Create the opportunity and check the opportunity.recordType before inserting, which will have the record ID of the current user's default record type.",
998
+ "isRight": false
999
+ }
1000
+ ],
1001
+ "hashCode": "1988673171"
1002
+ },
1003
+ {
1004
+ "describe": "The sales management team at Universal Containers requires that the Lead Source field of the Lead record be populated when a Lead is converted.\nWhat should be used to ensure that user poulates the Lead Source field prior to converting a Lead?",
1005
+ "answerOptions": [
1006
+ {
1007
+ "describe": "Validation Rule",
1008
+ "isRight": true
1009
+ },
1010
+ {
1011
+ "describe": "Formula Field",
1012
+ "isRight": false
1013
+ },
1014
+ {
1015
+ "describe": "Process Builder",
1016
+ "isRight": false
1017
+ },
1018
+ {
1019
+ "describe": "Workflow Rule",
1020
+ "isRight": false
1021
+ }
1022
+ ],
1023
+ "hashCode": "1988673169"
1024
+ },
1025
+ {
1026
+ "describe": "Which two operations can be performed using a formula field? Choose 2 answers",
1027
+ "answerOptions": [
1028
+ {
1029
+ "describe": "Displaying the lasy four digits of an encrypted Social Security number.",
1030
+ "isRight": false
1031
+ },
1032
+ {
1033
+ "describe": "Triggering a Process Builder.",
1034
+ "isRight": false
1035
+ },
1036
+ {
1037
+ "describe": "Displaying an Image based on the Opportunity Amount.",
1038
+ "isRight": true
1039
+ },
1040
+ {
1041
+ "describe": "Calculating a score on a Lead based on the information from another field.",
1042
+ "isRight": true
1043
+ }
1044
+ ],
1045
+ "hashCode": "1988673141"
1046
+ },
1047
+ {
1048
+ "describe": "What are three considerations when using the @InvocableMethod annotation in Apex? Choose 3 answers",
1049
+ "answerOptions": [
1050
+ {
1051
+ "describe": "Only one method using the @InvocableMethod annotation can be defined per Apex class.",
1052
+ "isRight": true
1053
+ },
1054
+ {
1055
+ "describe": "A method using the @InvocableMethod annotation must be declared as static. ",
1056
+ "isRight": true
1057
+ },
1058
+ {
1059
+ "describe": "A method using the @InvocableMethod annotation must define a return value.",
1060
+ "isRight": false
1061
+ },
1062
+ {
1063
+ "describe": "A method using the @InvocableMethod can have multiple input parameters.",
1064
+ "isRight": false
1065
+ },
1066
+ {
1067
+ "describe": "A method using the @InvocableMethod annotation can be declared as Public or Global.",
1068
+ "isRight": true
1069
+ }
1070
+ ],
1071
+ "hashCode": "1988673140"
1072
+ },
1073
+ {
1074
+ "describe": "A developer is implementing an Apex class for a financial system. Within the class, the variables 'creditAmount' and 'debitAmount' should not be able to change once a value is assigned.\nIn which two ways can the developer declare the variables to ensure their value can only be assigned one time? Choose 2 answers",
1075
+ "answerOptions": [
1076
+ {
1077
+ "describe": "Use the final keyword and assign its value in the class constructor. ",
1078
+ "isRight": true
1079
+ },
1080
+ {
1081
+ "describe": "Use the static keyword and assign its value in the dass constructor. ",
1082
+ "isRight": false
1083
+ },
1084
+ {
1085
+ "describe": "Use the static keyword and assign its value in sstatic initializer. ",
1086
+ "isRight": false
1087
+ },
1088
+ {
1089
+ "describe": "Use the final keyword and assign its value when declaring the variable. ",
1090
+ "isRight": true
1091
+ }
1092
+ ],
1093
+ "hashCode": "1988673139"
1094
+ },
1095
+ {
1096
+ "describe": "A developer identifies the following triggers on the Expense__c object:\ndeleteExpense;\napplyDefaultsToExpense;\nvalidateExpenseUpdate;\n\nThe triggers process before delete, before insert, and before update event respectively.\nWhich two techniques should the developer implement to ensure reigger best practices are followed? Chooose 2 answers",
1097
+ "answerOptions": [
1098
+ {
1099
+ "describe": "Unify all three triggers in a single trigger on the Expense__c object that includes all events.",
1100
+ "isRight": true
1101
+ },
1102
+ {
1103
+ "describe": "Create helper classes to execute the appropriate logic when a record is saved.",
1104
+ "isRight": true
1105
+ },
1106
+ {
1107
+ "describe": "Maintain all three triggers on the Expense__c object, but move the Apex logic out of the trigger definition.",
1108
+ "isRight": false
1109
+ },
1110
+ {
1111
+ "describe": "Unify the before insert and before update triggers and use Process Builder for the delete action.",
1112
+ "isRight": false
1113
+ }
1114
+ ],
1115
+ "hashCode": "1988673136"
1116
+ },
1117
+ {
1118
+ "describe": "The Job_Application__c custom object has a field that is a Master-Detail relationship to the Contact object, where the Contact object is the Master. As part of a feature implementation, a developer needs to retrieve a list containing all Contact records where the related Account Industry is 'Technology' while also retrieving the contact's Job_ Application__ c records.\n\nBased on the object's relationships, what is the most efficient statement to retrieve the list of contacts?",
1119
+ "answerOptions": [
1120
+ {
1121
+ "describe": "[SELECT Id, (SELECT Id FROM Job_ Application__ c) FROM Contact WHERE Accounts. Industry = 'Technology'];",
1122
+ "isRight": false
1123
+ },
1124
+ {
1125
+ "describe": "[SELECT Id, (SELECT Id FROM Job_ Application__ c) FROM Contact WHERE Account. Industry = 'Technology'];",
1126
+ "isRight": false
1127
+ },
1128
+ {
1129
+ "describe": "[SELECT Id, (SELECT Id FROM Job_ Application__ r) FROM Contact WHERE Account. Industry = 'Technology'];",
1130
+ "isRight": true
1131
+ },
1132
+ {
1133
+ "describe": "[SELECT Id, (SELECT Id FROM Job_ Application__ r) FROM Contact WHERE Accounts. Industry = 'Technology'];",
1134
+ "isRight": false
1135
+ }
1136
+ ],
1137
+ "hashCode": "1988673134"
1138
+ },
1139
+ {
1140
+ "describe": "A developer has to identify a method in an Apex class that performs resource intensive actions in memory by iterating over the result set of a SOQL statement on the account. The method also performs a DML statement to save the changes to the database.\n\nWhich two techniques should the developer implement as a best practice to ensure transaction control and avoid exceeding governor limits? Choose 2 answers",
1141
+ "answerOptions": [
1142
+ {
1143
+ "describe": "Use the Database.Savepoint method to enforce database integrity.",
1144
+ "isRight": true
1145
+ },
1146
+ {
1147
+ "describe": "Use the @ReadOnly annotation to bypass the number of rows returned by a SOQL.",
1148
+ "isRight": false
1149
+ },
1150
+ {
1151
+ "describe": "Use the System.Limit class to monitor the current CPU governor limit consumption. ",
1152
+ "isRight": true
1153
+ },
1154
+ {
1155
+ "describe": "Use Partial DML statements to ensure only valid data is committed.",
1156
+ "isRight": false
1157
+ }
1158
+ ],
1159
+ "hashCode": "1988673110"
1160
+ },
1161
+ {
1162
+ "describe": "Which three data types can a SOQL query return? Choose 3 answers",
1163
+ "answerOptions": [
1164
+ {
1165
+ "describe": "Long",
1166
+ "isRight": false
1167
+ },
1168
+ {
1169
+ "describe": "sObject",
1170
+ "isRight": true
1171
+ },
1172
+ {
1173
+ "describe": "List",
1174
+ "isRight": true
1175
+ },
1176
+ {
1177
+ "describe": "Integer",
1178
+ "isRight": true
1179
+ },
1180
+ {
1181
+ "describe": "Double",
1182
+ "isRight": false
1183
+ }
1184
+ ],
1185
+ "hashCode": "1988673109"
1186
+ },
1187
+ {
1188
+ "describe": "A developer has a requirement to create a Case when a record on the Complaint__c object is created. Which two ways can this be solved? \nChoose 2 answers",
1189
+ "answerOptions": [
1190
+ {
1191
+ "describe": "Create a flow that initiates a new Case.",
1192
+ "isRight": true
1193
+ },
1194
+ {
1195
+ "describe": "Use platform events add create a trigger on after insert of the Complaint__c record to create the Case.",
1196
+ "isRight": true
1197
+ },
1198
+ {
1199
+ "describe": "Create a Lightning Conponent that listens for the event and calls an Apex method to create the Case",
1200
+ "isRight": false
1201
+ },
1202
+ {
1203
+ "describe": "Create a Process Builder that triggers when a Complaint__c record is created, and create the Case.",
1204
+ "isRight": false
1205
+ }
1206
+ ],
1207
+ "hashCode": "1988673108"
1208
+ },
1209
+ {
1210
+ "describe": "UC decides it will not to send emails to support personnel directly from Salesforce in the event that an unhandled \nexception occurs. Instead, UC wants an external system be notified of the error.\nWhat is the appropriate publish/subscribe logic to meet these requirements?",
1211
+ "answerOptions": [
1212
+ {
1213
+ "describe": "Publish the error event using the Eventbus.publish() method and have the external system subscribe to the event using CometD.",
1214
+ "isRight": true
1215
+ },
1216
+ {
1217
+ "describe": "Have the external system subscribe to the BatchApexError event, no publishing is necessary.",
1218
+ "isRight": false
1219
+ },
1220
+ {
1221
+ "describe": "Publish the error event using the addError() method and write a trigger to subscribe to the event and notify the external system.",
1222
+ "isRight": false
1223
+ },
1224
+ {
1225
+ "describe": "Publish the error event using the addError() method and have the external system subscribe to the event suing CometD.",
1226
+ "isRight": false
1227
+ }
1228
+ ],
1229
+ "hashCode": "1988673077"
1230
+ },
1231
+ {
1232
+ "describe": "A devveloper uses a loop to check each Contact in a list. When a Contact with the Title of 'Boss' is found, the Apex method should jump to \nthe first line of code outside of the for loop.\nWhich Apex solution will let the developer implement this requirement?",
1233
+ "answerOptions": [
1234
+ {
1235
+ "describe": "break",
1236
+ "isRight": true
1237
+ },
1238
+ {
1239
+ "describe": "continue;",
1240
+ "isRight": false
1241
+ },
1242
+ {
1243
+ "describe": "return;",
1244
+ "isRight": false
1245
+ },
1246
+ {
1247
+ "describe": "System.assert(false);",
1248
+ "isRight": false
1249
+ }
1250
+ ],
1251
+ "hashCode": "1988673075"
1252
+ },
1253
+ {
1254
+ "describe": "Cloud Kicks Fitness, an ISV Salesforce partner, is developing a managed package application, One of the application modules allows the user to \ncalculate body fat using the Apex class, BodyFat, and its method, calculateBodyFat(). The product owner wants to ensure this method is accessible by \nthe consumer of the application when developing customizations outside the ISV's package namespace.\nWhich approach should a developer take to ensure calculateBodyFat() is accessible outside the package namespace?",
1255
+ "answerOptions": [
1256
+ {
1257
+ "describe": "Declare the class and method using the global asscess modifier.",
1258
+ "isRight": true
1259
+ },
1260
+ {
1261
+ "describe": "Declare the class and method using the public asscess modifier.",
1262
+ "isRight": false
1263
+ },
1264
+ {
1265
+ "describe": "Declare the class as global and use the public access modifier on the method.",
1266
+ "isRight": false
1267
+ },
1268
+ {
1269
+ "describe": "Declare the class as public and use the global access modifier on the method.",
1270
+ "isRight": false
1271
+ }
1272
+ ],
1273
+ "hashCode": "1988673049"
1274
+ },
1275
+ {
1276
+ "describe": "If Apex code executes inside the execute() method of an Apex class when implementing the Batchable interface, which two statement are true regarding governor limits? Choose 2 answers",
1277
+ "answerOptions": [
1278
+ {
1279
+ "describe": "The Apex governor limits are reset for each iteration of execute() method.",
1280
+ "isRight": true
1281
+ },
1282
+ {
1283
+ "describe": "The Apex governor limits cannot be exceeded due to the asynchronous nature of the transaction.",
1284
+ "isRight": true
1285
+ },
1286
+ {
1287
+ "describe": "The Apex governor limits might be higher due to the asynchronous nature of the transaction.",
1288
+ "isRight": false
1289
+ },
1290
+ {
1291
+ "describe": "The Apex governor limits are relaxed while calling the constructor of the Apex class.",
1292
+ "isRight": false
1293
+ }
1294
+ ],
1295
+ "hashCode": "1988673048"
1296
+ },
1297
+ {
1298
+ "describe": "A recursive transaction is initiated by a DML statement creating records for these two objects:\n1. Accounts\n2. Contacts\nThe Account trigger hits a stack depth of 16:\nWhich statement is true regarding the outcome of the transaction?",
1299
+ "answerOptions": [
1300
+ {
1301
+ "describe": "The transaction fails and all the changes are rolled back.",
1302
+ "isRight": true
1303
+ },
1304
+ {
1305
+ "describe": "The transaction succeeds as long as the Contact trigger stack depth is less than 16.",
1306
+ "isRight": false
1307
+ },
1308
+ {
1309
+ "describe": "The transaction succeeds and all changes are committed to the database.",
1310
+ "isRight": false
1311
+ },
1312
+ {
1313
+ "describe": "The transaction fails only if the Contact trigger stack depth is greater or equal to 16.",
1314
+ "isRight": false
1315
+ }
1316
+ ],
1317
+ "hashCode": "1988673047"
1318
+ },
1319
+ {
1320
+ "describe": "Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developer with Apex to \nhelp sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report can see Accounts they do not own.\nWhat should the developer use to enforce sharing permissions for the currently logged-in user while using the custom search tool?",
1321
+ "answerOptions": [
1322
+ {
1323
+ "describe": "Use the with sharing keyword on the class declaration.",
1324
+ "isRight": true
1325
+ },
1326
+ {
1327
+ "describe": "Use the UserInfo Apex class to filter all SOQL queries to returned records owned by the logged-in user.",
1328
+ "isRight": false
1329
+ },
1330
+ {
1331
+ "describe": "Use the without sharing keyword on the class declaration.",
1332
+ "isRight": false
1333
+ },
1334
+ {
1335
+ "describe": "Use the schema describe calls to detemine if the logged-in user has access to the Account object.",
1336
+ "isRight": false
1337
+ }
1338
+ ],
1339
+ "hashCode": "1988673046"
1340
+ },
1341
+ {
1342
+ "describe": "A developer must write an Apex method that will be called from a Lightning component. The method may delete an Account stored in the accountRec variable.\nWhich method should a developer use to ensure only users that should be able to delete Accounts can successfully perform deletions?",
1343
+ "answerOptions": [
1344
+ {
1345
+ "describe": "accountRec.isDeletable()",
1346
+ "isRight": false
1347
+ },
1348
+ {
1349
+ "describe": "Schema.sObjectType.Account.isDeletable()",
1350
+ "isRight": true
1351
+ },
1352
+ {
1353
+ "describe": "accountRec.sObjectType.isDeletable()",
1354
+ "isRight": false
1355
+ },
1356
+ {
1357
+ "describe": "Account.isDeletable()",
1358
+ "isRight": false
1359
+ }
1360
+ ],
1361
+ "hashCode": "1988673044"
1362
+ },
1363
+ {
1364
+ "describe": "Which Salesforce feature allows a developer to see when a user last logged in to Salesforce if real-time notification is not required?",
1365
+ "answerOptions": [
1366
+ {
1367
+ "describe": "Calendar Events",
1368
+ "isRight": false
1369
+ },
1370
+ {
1371
+ "describe": "Event Monitoring Log",
1372
+ "isRight": true
1373
+ },
1374
+ {
1375
+ "describe": "Developer Log",
1376
+ "isRight": false
1377
+ },
1378
+ {
1379
+ "describe": "Asynchronous Data Capture Events",
1380
+ "isRight": false
1381
+ }
1382
+ ],
1383
+ "hashCode": "1988672362"
1384
+ },
1385
+ {
1386
+ "describe": "Which exception type cannot be caught?",
1387
+ "answerOptions": [
1388
+ {
1389
+ "describe": "A Custom Exception",
1390
+ "isRight": false
1391
+ },
1392
+ {
1393
+ "describe": "NoAccessException",
1394
+ "isRight": false
1395
+ },
1396
+ {
1397
+ "describe": "CalloutException",
1398
+ "isRight": false
1399
+ },
1400
+ {
1401
+ "describe": "LimitException",
1402
+ "isRight": true
1403
+ }
1404
+ ],
1405
+ "hashCode": "1988672359"
1406
+ },
1407
+ {
1408
+ "describe": "A developer must create an Apex class, ContactController, that a Lightning component can use to search for Contact records. Users of the \nLightning component should only be able to search for Contact records to which they have access.\nWhich two will restrict records correctly? Choose 2 answers",
1409
+ "answerOptions": [
1410
+ {
1411
+ "describe": "public without sharing class ContactController",
1412
+ "isRight": false
1413
+ },
1414
+ {
1415
+ "describe": "public class ContactController",
1416
+ "isRight": false
1417
+ },
1418
+ {
1419
+ "describe": "public inherited sharing class ContactController",
1420
+ "isRight": true
1421
+ },
1422
+ {
1423
+ "describe": "public with sharing class ContactController",
1424
+ "isRight": true
1425
+ }
1426
+ ],
1427
+ "hashCode": "1988672334"
1428
+ },
1429
+ {
1430
+ "describe": "A developer has an integer variable called maxAttempts. The developer needs to ensure that once maxAttempts is initialized, it preserves its value for the length of the Apex transaction; while being able to share the variable's state between trigger executions.\n\nHow should the developer declare max attempts to meet these requirements?",
1431
+ "answerOptions": [
1432
+ {
1433
+ "describe": "Declare maxAttempts as a variable on a helper class.",
1434
+ "isRight": false
1435
+ },
1436
+ {
1437
+ "describe": "Declare maxAttempts as constant using the static and final keywords.",
1438
+ "isRight": true
1439
+ },
1440
+ {
1441
+ "describe": "Declare maxAttempts as a private static variable on a helper class. ",
1442
+ "isRight": false
1443
+ },
1444
+ {
1445
+ "describe": "Declare maxAttempts as a member variable on the trigger definition.",
1446
+ "isRight": false
1447
+ }
1448
+ ],
1449
+ "hashCode": "1988672305"
1450
+ },
1451
+ {
1452
+ "describe": "A developer writes a single trigger on the Account object on the after insert and after update events. A workflow rule modifies a field every time an Account is created or updated.\nHow many times will the trigger fire if a new Account is inserted, assuming no other automation logic is implemented on the Account?",
1453
+ "answerOptions": [
1454
+ {
1455
+ "describe": "8",
1456
+ "isRight": false
1457
+ },
1458
+ {
1459
+ "describe": "1",
1460
+ "isRight": false
1461
+ },
1462
+ {
1463
+ "describe": "4",
1464
+ "isRight": false
1465
+ },
1466
+ {
1467
+ "describe": "2",
1468
+ "isRight": true
1469
+ }
1470
+ ],
1471
+ "hashCode": "1988672304"
1472
+ },
1473
+ {
1474
+ "describe": "A develper writes a trigger on the Account object on the before update event that increments a count field. A workflow rule also increments the count field every time that an Account is created or updated. The field update in the workflow rule is configured to not re-evaluate workflow rules.\nWhat is the value of the count field if an Account is inserted with an initial value of zero, assuming no other automation logic is implemented on theAccount?",
1475
+ "answerOptions": [
1476
+ {
1477
+ "describe": "4",
1478
+ "isRight": false
1479
+ },
1480
+ {
1481
+ "describe": "2",
1482
+ "isRight": true
1483
+ },
1484
+ {
1485
+ "describe": "1",
1486
+ "isRight": false
1487
+ },
1488
+ {
1489
+ "describe": "3",
1490
+ "isRight": false
1491
+ }
1492
+ ],
1493
+ "hashCode": "1988672299"
1494
+ },
1495
+ {
1496
+ "describe": "Universal Containers recently transltioned from Classic to Lightning Experience. One of its business processes requires \ncontain values from the Opportunity object to be sent via an HTTP REST callout to its external order management system \nbased on a user-initiated action on the Opportunity detail page, Example values are as follows:\nName\nAmount\nAccount\nWhich two methods should the developer implement to fulfill the business requirement?",
1497
+ "answerOptions": [
1498
+ {
1499
+ "describe": "Create an after trigger on the Opportunity object that calls a helper method using @Future(Callout=true) to perform \nthe HTTP REST callout.",
1500
+ "isRight": true
1501
+ },
1502
+ {
1503
+ "describe": "Create a Visualforce page that performs the HTTP REST callout, and use a Visualforce quick action to expose the component \non the Opportunity detail page.",
1504
+ "isRight": false
1505
+ },
1506
+ {
1507
+ "describe": "Create a Lightning component that performs the HTTP REST callout, and use a Lightning Action to expose the component \non the Opportunity detail page.",
1508
+ "isRight": true
1509
+ },
1510
+ {
1511
+ "describe": "Create a Process Builder on the Opportunity object that exeutes an Apex immediate action to perform the HTTP RESR callout \nwhenever the Opportunity is updated.",
1512
+ "isRight": false
1513
+ }
1514
+ ],
1515
+ "hashCode": "1988672275"
1516
+ }
1517
+ ],
1518
+ "hashCode": "1494717394"
1519
+ }