@palerock/exam-qa 1.0.6-patch2 → 1.0.6-patch21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/index.html +1 -1
  2. package/dist/static/css/app.4293d3540537974d843eca825dcda382.css +2 -0
  3. package/dist/static/css/app.4293d3540537974d843eca825dcda382.css.map +1 -0
  4. package/dist/static/js/app.e278f9557d317b4606b0.js +2 -0
  5. package/dist/static/js/app.e278f9557d317b4606b0.js.map +1 -0
  6. package/dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map +1 -1
  7. package/lib-json/Dev1/345/237/272/347/241/200/351/242/230.json +1407 -0
  8. package/lib-json/Dev1/346/250/241/346/213/237/345/215/267A.json +1538 -0
  9. package/lib-json/Dev1/346/250/241/346/213/237/345/215/267B.json +1534 -0
  10. 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 +1587 -0
  11. 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 +1042 -0
  12. package/lib-json/Dev1/346/265/213/350/257/225_/350/260/203/350/257/225_/351/203/250/347/275/262.json +928 -0
  13. package/lib-json/Dev1/347/224/250/346/210/267/347/225/214/351/235/242.json +1243 -0
  14. package/lib-json/[DEV2]Salesforce/345/237/272/347/241/200.json +375 -0
  15. package/lib-json/[DEV2]/346/200/247/350/203/275.json +728 -0
  16. package/lib-json/[DEV2]/346/250/241/346/213/237/345/215/267A.json +1403 -0
  17. package/lib-json/[DEV2]/346/250/241/346/213/237/345/215/267B.json +1387 -0
  18. package/lib-json/[DEV2]/346/265/213/350/257/225/344/270/216/351/203/250/347/275/262.json +828 -0
  19. package/lib-json/[DEV2]/347/224/250/346/210/267/347/225/214/351/235/2421.json +977 -0
  20. package/lib-json/[DEV2]/347/224/250/346/210/267/347/225/214/351/235/2422.json +667 -0
  21. package/lib-json/[DEV2]/351/200/273/350/276/221/343/200/201/346/265/201/347/250/213/350/207/252/345/212/250/345/214/226/345/222/214/351/233/206/346/210/2201.json +1387 -0
  22. package/lib-json/[DEV2]/351/200/273/350/276/221/343/200/201/346/265/201/347/250/213/350/207/252/345/212/250/345/214/226/345/222/214/351/233/206/346/210/2202.json +260 -0
  23. package/lib-json/[JS]/347/254/254/344/270/200/347/253/240 /345/217/230/351/207/217-/347/261/273/345/236/213-/351/233/206/345/220/210.json" +1048 -0
  24. package/lib-json/[JS]/347/254/254/344/270/203/347/253/240 /346/265/213/350/257/225.json" +356 -0
  25. package/lib-json/[JS]/347/254/254/344/270/211/347/253/240 /346/265/217/350/247/210/345/231/250/345/222/214/344/272/213/344/273/266.json" +851 -0
  26. package/lib-json/[JS]/347/254/254/344/272/214/347/253/240 /345/257/271/350/261/241-/345/207/275/346/225/260-/347/261/273.json" +1787 -0
  27. package/lib-json/[JS]/347/254/254/344/272/224/347/253/240 /345/274/202/346/255/245/347/274/226/347/250/213.json" +547 -0
  28. package/lib-json/[JS]/347/254/254/345/205/255/347/253/240 /346/234/215/345/212/241/345/231/250/347/253/257JavaScript.json" +613 -0
  29. package/lib-json/[JS]/347/254/254/345/233/233/347/253/240 /350/260/203/350/257/225/345/222/214/351/224/231/350/257/257/345/244/204/347/220/206.json" +525 -0
  30. package/lib-json/[/345/222/270/351/261/274]AppBuilder-1.json +977 -0
  31. package/lib-json/[/345/222/270/351/261/274]AppBuilder-2.json +941 -0
  32. package/lib-json/[/345/222/270/351/261/274]AppBuilder-3.json +973 -0
  33. package/lib-json/[/345/222/270/351/261/274]AppBuilder-4.json +981 -0
  34. package/lib-json/[/345/222/270/351/261/274]AppBuilder-5.json +771 -0
  35. package/lib-json/map.json +28 -43
  36. package/package.json +4 -2
  37. package/dist/static/css/app.d3e969a579969be885a3462a1e12e37f.css +0 -2
  38. package/dist/static/css/app.d3e969a579969be885a3462a1e12e37f.css.map +0 -1
  39. package/dist/static/js/app.53370ddfe5eba6a10565.js +0 -2
  40. package/dist/static/js/app.53370ddfe5eba6a10565.js.map +0 -1
  41. package/lib-json/Salesforce-Admin(302)-[Set-10].json +0 -321
  42. package/lib-json/Salesforce-Admin(302)-[Set-1].json +0 -301
  43. package/lib-json/Salesforce-Admin(302)-[Set-2].json +0 -325
  44. package/lib-json/Salesforce-Admin(302)-[Set-3].json +0 -305
  45. package/lib-json/Salesforce-Admin(302)-[Set-4].json +0 -325
  46. package/lib-json/Salesforce-Admin(302)-[Set-5].json +0 -329
  47. package/lib-json/Salesforce-Admin(302)-[Set-6].json +0 -322
  48. package/lib-json/Salesforce-Admin(302)-[Set-7].json +0 -321
  49. package/lib-json/Salesforce-Admin(302)-[Set-8].json +0 -321
  50. package/lib-json/Salesforce-Admin(302)-[Set-9].json +0 -325
  51. package/lib-json/Salesforce-Admin-201-[Set-10].json +0 -158
  52. package/lib-json/Salesforce-Admin-201-[Set-1].json +0 -604
  53. package/lib-json/Salesforce-Admin-201-[Set-2].json +0 -621
  54. package/lib-json/Salesforce-Admin-201-[Set-3].json +0 -650
  55. package/lib-json/Salesforce-Admin-201-[Set-4].json +0 -636
  56. package/lib-json/Salesforce-Admin-201-[Set-5].json +0 -640
  57. package/lib-json/Salesforce-Admin-201-[Set-6].json +0 -126
  58. package/lib-json/Salesforce-Admin-201-[Set-7].json +0 -126
  59. package/lib-json/Salesforce-Admin-201-[Set-8].json +0 -126
  60. package/lib-json/Salesforce-Admin-201-[Set-9].json +0 -126
  61. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-1].json +0 -321
  62. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-2].json +0 -325
  63. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-3].json +0 -321
  64. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-4].json +0 -337
  65. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-5].json +0 -329
  66. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-6].json +0 -325
  67. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-7].json +0 -480
  68. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-1].json +0 -305
  69. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-2].json +0 -297
  70. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-3].json +0 -269
  71. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-4].json +0 -309
  72. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-5].json +0 -515
  73. package/lib-json/app-builder-01.json +0 -1
  74. package/lib-json/app-builder-02.json +0 -1
  75. package/lib-json/app-builder-03.json +0 -1
  76. package/lib-json/app-builder-04.json +0 -1
  77. package/lib-json/app-builder-05.json +0 -1
  78. package/lib-json/app-builder-06.json +0 -1
  79. package/lib-json/app-builder-07.json +0 -1
  80. package/lib-json/app-builder-08.json +0 -1
  81. package/lib-json/app-builder-09.json +0 -1
  82. package/lib-json/app-builder-10.json +0 -1
  83. package/lib-json/app-builder-11.json +0 -311
@@ -0,0 +1,1587 @@
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
+ "analysis": ""
27
+ },
28
+ {
29
+ "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?",
30
+ "answerOptions": [
31
+ {
32
+ "describe": " Create a schedule-triggered flow on ServiceJob__c",
33
+ "isRight": false
34
+ },
35
+ {
36
+ "describe": "Create an Apex trigger on ServiceJob__c",
37
+ "isRight": false
38
+ },
39
+ {
40
+ "describe": "Change TotalJobs__c to a roll-up summary field.",
41
+ "isRight": false
42
+ },
43
+ {
44
+ "describe": "Create a record-triggered flow on ServiceJob__c",
45
+ "isRight": true
46
+ }
47
+ ],
48
+ "hashCode": "1995171575",
49
+ "analysis": ""
50
+ },
51
+ {
52
+ "describe": "Which two scenarious require an Apex method to be called imperatively from a Lightning web component? Choose 2 answers",
53
+ "answerOptions": [
54
+ {
55
+ "describe": "Calling a method that makes a web service callout.",
56
+ "isRight": false
57
+ },
58
+ {
59
+ "describe": "Calling a method that is not annotated with cacheable=true",
60
+ "isRight": true
61
+ },
62
+ {
63
+ "describe": "Calling a method with the click of a button",
64
+ "isRight": true
65
+ },
66
+ {
67
+ "describe": "Calling a method that is external to the main controller for the Lightning web component",
68
+ "isRight": false
69
+ }
70
+ ],
71
+ "hashCode": "1995171574",
72
+ "analysis": ""
73
+ },
74
+ {
75
+ "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?",
76
+ "answerOptions": [
77
+ {
78
+ "describe": "OrgLimits",
79
+ "isRight": false
80
+ },
81
+ {
82
+ "describe": "Messaging",
83
+ "isRight": false
84
+ },
85
+ {
86
+ "describe": "Exception",
87
+ "isRight": false
88
+ },
89
+ {
90
+ "describe": "Limits",
91
+ "isRight": true
92
+ }
93
+ ],
94
+ "hashCode": "1995171572",
95
+ "analysis": ""
96
+ },
97
+ {
98
+ "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?",
99
+ "answerOptions": [
100
+ {
101
+ "describe": "Outbound messaging",
102
+ "isRight": false
103
+ },
104
+ {
105
+ "describe": "Record-triggered flow",
106
+ "isRight": true
107
+ },
108
+ {
109
+ "describe": "Scheduled job",
110
+ "isRight": false
111
+ },
112
+ {
113
+ "describe": "Flow Orchestration",
114
+ "isRight": false
115
+ }
116
+ ],
117
+ "hashCode": "1995171549",
118
+ "analysis": ""
119
+ },
120
+ {
121
+ "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?",
122
+ "answerOptions": [
123
+ {
124
+ "describe": "Create a test class to execute the business logic and run the test in the Developer Console.",
125
+ "isRight": false
126
+ },
127
+ {
128
+ "describe": "Include a try/catch block to the Apex class.",
129
+ "isRight": true
130
+ },
131
+ {
132
+ "describe": "Run the code in an Execute Anonymous block in the Developer Console.",
133
+ "isRight": false
134
+ },
135
+ {
136
+ "describe": "Include a savepoint and Database.rollback().",
137
+ "isRight": false
138
+ }
139
+ ],
140
+ "hashCode": "1988674188",
141
+ "analysis": ""
142
+ },
143
+ {
144
+ "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",
145
+ "answerOptions": [
146
+ {
147
+ "describe": "Record-Triggered flow",
148
+ "isRight": false
149
+ },
150
+ {
151
+ "describe": "Apex trigger",
152
+ "isRight": true
153
+ },
154
+ {
155
+ "describe": "Apex callouts",
156
+ "isRight": false
157
+ },
158
+ {
159
+ "describe": "Platform event",
160
+ "isRight": true
161
+ }
162
+ ],
163
+ "hashCode": "1988674166",
164
+ "analysis": ""
165
+ },
166
+ {
167
+ "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",
168
+ "answerOptions": [
169
+ {
170
+ "describe": "new ParityException('parity does not match');",
171
+ "isRight": false
172
+ },
173
+ {
174
+ "describe": "throw new ParityException('parity does not match');",
175
+ "isRight": true
176
+ },
177
+ {
178
+ "describe": "throw new ParityException ();",
179
+ "isRight": true
180
+ },
181
+ {
182
+ "describe": "new ParityException();",
183
+ "isRight": false
184
+ }
185
+ ],
186
+ "hashCode": "1988674159",
187
+ "analysis": ""
188
+ },
189
+ {
190
+ "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?",
191
+ "answerOptions": [
192
+ {
193
+ "describe": "This can only be automated with Apex code.",
194
+ "isRight": false
195
+ },
196
+ {
197
+ "describe": "This approval step cannot be automated and must be done manually.",
198
+ "isRight": false
199
+ },
200
+ {
201
+ "describe": "The developer can use Einstein Next Best Actions.",
202
+ "isRight": true
203
+ },
204
+ {
205
+ "describe": "The developer can use a record triggered flow with Actions.",
206
+ "isRight": false
207
+ }
208
+ ],
209
+ "hashCode": "1988674158",
210
+ "analysis": ""
211
+ },
212
+ {
213
+ "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>",
214
+ "answerOptions": [
215
+ {
216
+ "describe": "<p>The method must be decorated with (cacheable=true).</p>",
217
+ "isRight": false
218
+ },
219
+ {
220
+ "describe": "<p>The method must be decorated with @AuraEnabled.</p>",
221
+ "isRight": true
222
+ },
223
+ {
224
+ "describe": "<p>The method must return a JSON Object.</p>",
225
+ "isRight": false
226
+ },
227
+ {
228
+ "describe": "<p>The method must return a String of serialized JSON Array.</p>",
229
+ "isRight": false
230
+ }
231
+ ],
232
+ "hashCode": "1988674135",
233
+ "analysis": ""
234
+ },
235
+ {
236
+ "describe": "Which two process automations can be used on their own to send Salesforce Outbound Message?\nChoose 2 answers",
237
+ "answerOptions": [
238
+ {
239
+ "describe": "Process Builder",
240
+ "isRight": false
241
+ },
242
+ {
243
+ "describe": "Workfow Rule",
244
+ "isRight": true
245
+ },
246
+ {
247
+ "describe": "Flow Builder",
248
+ "isRight": true
249
+ },
250
+ {
251
+ "describe": "Strategy Builder",
252
+ "isRight": false
253
+ }
254
+ ],
255
+ "hashCode": "1988674134",
256
+ "analysis": ""
257
+ },
258
+ {
259
+ "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?",
260
+ "answerOptions": [
261
+ {
262
+ "describe": "After record-triggered flow",
263
+ "isRight": false
264
+ },
265
+ {
266
+ "describe": "validation rule",
267
+ "isRight": false
268
+ },
269
+ {
270
+ "describe": "Before record-triggered flow",
271
+ "isRight": false
272
+ },
273
+ {
274
+ "describe": "Apex trigger",
275
+ "isRight": true
276
+ }
277
+ ],
278
+ "hashCode": "1988674128",
279
+ "analysis": ""
280
+ },
281
+ {
282
+ "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",
283
+ "answerOptions": [
284
+ {
285
+ "describe": "The field values on the master record are overwritten by the records being merged.",
286
+ "isRight": false
287
+ },
288
+ {
289
+ "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.",
290
+ "isRight": true
291
+ },
292
+ {
293
+ "describe": "External ID fields can be used with the merge method.",
294
+ "isRight": true
295
+ },
296
+ {
297
+ "describe": "Merge is supported with accounts, contacts,cases, and leads.",
298
+ "isRight": false
299
+ }
300
+ ],
301
+ "hashCode": "1988674099",
302
+ "analysis": ""
303
+ },
304
+ {
305
+ "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?",
306
+ "answerOptions": [
307
+ {
308
+ "describe": "Move the callout to an asynchronous method with @future(callout=true) annotation.",
309
+ "isRight": true
310
+ },
311
+ {
312
+ "describe": "Replace the after update trigger with a before insert trigger.",
313
+ "isRight": false
314
+ },
315
+ {
316
+ "describe": "Surround the external call with a try-catch block to handle the exception.",
317
+ "isRight": false
318
+ },
319
+ {
320
+ "describe": "Write a REST service to integrate with the external web service.",
321
+ "isRight": false
322
+ }
323
+ ],
324
+ "hashCode": "1988674097",
325
+ "analysis": ""
326
+ },
327
+ {
328
+ "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>",
329
+ "answerOptions": [
330
+ {
331
+ "describe": "<p>Fast Field Updates record-triggered flow</p>",
332
+ "isRight": true
333
+ },
334
+ {
335
+ "describe": "<p>Approval process</p>",
336
+ "isRight": false
337
+ },
338
+ {
339
+ "describe": "<p>Quick actions</p>",
340
+ "isRight": false
341
+ },
342
+ {
343
+ "describe": "<p>Account trigger</p>",
344
+ "isRight": true
345
+ }
346
+ ],
347
+ "hashCode": "1988674095",
348
+ "analysis": ""
349
+ },
350
+ {
351
+ "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",
352
+ "answerOptions": [
353
+ {
354
+ "describe": "Flow Builder can be used to check the record criteria and send an outbound message.",
355
+ "isRight": true
356
+ },
357
+ {
358
+ "describe": "Next Best Action can be used to check the record criteria and send an outbound message.",
359
+ "isRight": false
360
+ },
361
+ {
362
+ "describe": "Entitlement Process can be used to check the record criteria and send an outbound message without Apex code.",
363
+ "isRight": false
364
+ },
365
+ {
366
+ "describe": "Approval Process can be used to check the record criteria and send an outbound message withoutApex code.",
367
+ "isRight": true
368
+ }
369
+ ],
370
+ "hashCode": "1988674073",
371
+ "analysis": ""
372
+ },
373
+ {
374
+ "describe": "What are two use cases for executing Anonymous Apex code?\nChoose 2 answers",
375
+ "answerOptions": [
376
+ {
377
+ "describe": "To add unit test code coverage to an org",
378
+ "isRight": false
379
+ },
380
+ {
381
+ "describe": "To run a batch Apex cass to update all Contacts",
382
+ "isRight": true
383
+ },
384
+ {
385
+ "describe": "To delete 15,000 inactive Accounts in a single transaction after a deployment",
386
+ "isRight": false
387
+ },
388
+ {
389
+ "describe": "To schedule an Apex class to run periodically",
390
+ "isRight": true
391
+ }
392
+ ],
393
+ "hashCode": "1988674072",
394
+ "analysis": ""
395
+ },
396
+ {
397
+ "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?",
398
+ "answerOptions": [
399
+ {
400
+ "describe": "SELECT Id,(SELECT Id FROMTrainer_c)FROM Gym__c WHERE Name = \"Viridian City Sym'",
401
+ "isRight": false
402
+ },
403
+ {
404
+ "describe": "SELECT ID FROM Trainer__c WHEREGym_r.Name = 'Viridian city Gym'",
405
+ "isRight": false
406
+ },
407
+ {
408
+ "describe": "SELECT Id,(SELECT Id FROM Trainers_c)FROM Gym_c WHERE Name = 'Viridian City Gym'",
409
+ "isRight": false
410
+ },
411
+ {
412
+ "describe": "SELECT Id,(SELECT Id FROMTrainer__r)FROM Gym_c WHERE Name = 'Viridian City Gym'",
413
+ "isRight": true
414
+ }
415
+ ],
416
+ "hashCode": "1988674067",
417
+ "analysis": ""
418
+ },
419
+ {
420
+ "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?",
421
+ "answerOptions": [
422
+ {
423
+ "describe": "Entitlement Process",
424
+ "isRight": false
425
+ },
426
+ {
427
+ "describe": "Salesforce Flow",
428
+ "isRight": true
429
+ },
430
+ {
431
+ "describe": "Outbound Messaing",
432
+ "isRight": false
433
+ },
434
+ {
435
+ "describe": "Approval Process",
436
+ "isRight": false
437
+ }
438
+ ],
439
+ "hashCode": "1988674066",
440
+ "analysis": ""
441
+ },
442
+ {
443
+ "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?",
444
+ "answerOptions": [
445
+ {
446
+ "describe": "An error condition formula on a validation rule on Opportunity",
447
+ "isRight": true
448
+ },
449
+ {
450
+ "describe": "A record trigger flow on the Opportunity object",
451
+ "isRight": false
452
+ },
453
+ {
454
+ "describe": "An approval process on the Opportunity object",
455
+ "isRight": false
456
+ },
457
+ {
458
+ "describe": "An Apex trigger on the Opportunity object",
459
+ "isRight": false
460
+ }
461
+ ],
462
+ "hashCode": "1988674065",
463
+ "analysis": ""
464
+ },
465
+ {
466
+ "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?",
467
+ "answerOptions": [
468
+ {
469
+ "describe": "1",
470
+ "isRight": false
471
+ },
472
+ {
473
+ "describe": "2",
474
+ "isRight": true
475
+ },
476
+ {
477
+ "describe": "6",
478
+ "isRight": false
479
+ },
480
+ {
481
+ "describe": "4",
482
+ "isRight": false
483
+ }
484
+ ],
485
+ "hashCode": "1988674040",
486
+ "analysis": ""
487
+ },
488
+ {
489
+ "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?",
490
+ "answerOptions": [
491
+ {
492
+ "describe": "Record-Triggered Flow",
493
+ "isRight": false
494
+ },
495
+ {
496
+ "describe": "Entitlement Process",
497
+ "isRight": false
498
+ },
499
+ {
500
+ "describe": "Scheduled Flow",
501
+ "isRight": true
502
+ },
503
+ {
504
+ "describe": "Einstein Next Best Action",
505
+ "isRight": false
506
+ }
507
+ ],
508
+ "hashCode": "1988674039",
509
+ "analysis": ""
510
+ },
511
+ {
512
+ "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?",
513
+ "answerOptions": [
514
+ {
515
+ "describe": "public class PurchaseOrderException implements Exception{}",
516
+ "isRight": false
517
+ },
518
+ {
519
+ "describe": "public class PurchaseOrder extends Exception{}",
520
+ "isRight": false
521
+ },
522
+ {
523
+ "describe": "public class PurchaseOrderException extends Exception{)",
524
+ "isRight": true
525
+ },
526
+ {
527
+ "describe": "public class PurchaseOrder implements Exception{}",
528
+ "isRight": false
529
+ }
530
+ ],
531
+ "hashCode": "1988674037",
532
+ "analysis": ""
533
+ },
534
+ {
535
+ "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?",
536
+ "answerOptions": [
537
+ {
538
+ "describe": "@future",
539
+ "isRight": false
540
+ },
541
+ {
542
+ "describe": "@AuraEnabled",
543
+ "isRight": false
544
+ },
545
+ {
546
+ "describe": "@InvocableMethod",
547
+ "isRight": true
548
+ },
549
+ {
550
+ "describe": "@RemoteAction",
551
+ "isRight": false
552
+ }
553
+ ],
554
+ "hashCode": "1988674034",
555
+ "analysis": ""
556
+ },
557
+ {
558
+ "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?",
559
+ "answerOptions": [
560
+ {
561
+ "describe": "An Apex REST class",
562
+ "isRight": true
563
+ },
564
+ {
565
+ "describe": "An outbound message",
566
+ "isRight": false
567
+ },
568
+ {
569
+ "describe": "An Apex controller",
570
+ "isRight": false
571
+ },
572
+ {
573
+ "describe": "An invocable method",
574
+ "isRight": false
575
+ }
576
+ ],
577
+ "hashCode": "1988674033",
578
+ "analysis": ""
579
+ },
580
+ {
581
+ "describe": "Which process automation should be used to post a message to Chatter without using Apex code?",
582
+ "answerOptions": [
583
+ {
584
+ "describe": "Outbound Message",
585
+ "isRight": false
586
+ },
587
+ {
588
+ "describe": "Entitlement Process",
589
+ "isRight": false
590
+ },
591
+ {
592
+ "describe": "Strategy Builder",
593
+ "isRight": false
594
+ },
595
+ {
596
+ "describe": "Flow Builder",
597
+ "isRight": true
598
+ }
599
+ ],
600
+ "hashCode": "1988674009",
601
+ "analysis": ""
602
+ },
603
+ {
604
+ "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?",
605
+ "answerOptions": [
606
+ {
607
+ "describe": "Lightning Data Service handles sharing rules and field-level security.",
608
+ "isRight": true
609
+ },
610
+ {
611
+ "describe": "Lightning Data Service ignores field-level security.",
612
+ "isRight": false
613
+ },
614
+ {
615
+ "describe": "The ishccessible() method must be used for field-level access checks.",
616
+ "isRight": false
617
+ },
618
+ {
619
+ "describe": "The with sharing keyword must be used to enforce sharing rules.",
620
+ "isRight": false
621
+ }
622
+ ],
623
+ "hashCode": "1988674007",
624
+ "analysis": ""
625
+ },
626
+ {
627
+ "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?",
628
+ "answerOptions": [
629
+ {
630
+ "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.",
631
+ "isRight": false
632
+ },
633
+ {
634
+ "describe": "Write a Process Builder that links the custom object to the Opportunity.",
635
+ "isRight": false
636
+ },
637
+ {
638
+ "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.",
639
+ "isRight": true
640
+ },
641
+ {
642
+ "describe": "Use the Streaming API to create real-time roll-up summaries.",
643
+ "isRight": false
644
+ }
645
+ ],
646
+ "hashCode": "1988674004",
647
+ "analysis": ""
648
+ },
649
+ {
650
+ "describe": "Which statement describes the execution order when triggers are associated to the same object and event?",
651
+ "answerOptions": [
652
+ {
653
+ "describe": "Trigger execution order cannot be guaranteed.",
654
+ "isRight": true
655
+ },
656
+ {
657
+ "describe": "Triggers are executed in the order they are created.",
658
+ "isRight": false
659
+ },
660
+ {
661
+ "describe": "Triggers are executed alphabetically by trigger name.",
662
+ "isRight": false
663
+ },
664
+ {
665
+ "describe": "Triggers are executed in the order they are modified.",
666
+ "isRight": false
667
+ }
668
+ ],
669
+ "hashCode": "1988674003",
670
+ "analysis": ""
671
+ },
672
+ {
673
+ "describe": "UC wants Opportunities to no longer be editable when reaching the Closed/Won stage.\nHow should a developer accomplish this?",
674
+ "answerOptions": [
675
+ {
676
+ "describe": "Use a validation rule.",
677
+ "isRight": true
678
+ },
679
+ {
680
+ "describe": "Use the Process Automation settings.",
681
+ "isRight": false
682
+ },
683
+ {
684
+ "describe": "Use Flow Builder.",
685
+ "isRight": false
686
+ },
687
+ {
688
+ "describe": "Mark fields as read-only on the page layout.",
689
+ "isRight": false
690
+ }
691
+ ],
692
+ "hashCode": "1988673329",
693
+ "analysis": ""
694
+ },
695
+ {
696
+ "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?",
697
+ "answerOptions": [
698
+ {
699
+ "describe": "Use the Database method with allOrNone set to false.",
700
+ "isRight": true
701
+ },
702
+ {
703
+ "describe": "Deactivate the trigger before the integration runs.",
704
+ "isRight": false
705
+ },
706
+ {
707
+ "describe": "Use a try-catch block after the insert statement.",
708
+ "isRight": false
709
+ },
710
+ {
711
+ "describe": "Remove the Apex class from the integration user's profile.",
712
+ "isRight": false
713
+ }
714
+ ],
715
+ "hashCode": "1988673324",
716
+ "analysis": ""
717
+ },
718
+ {
719
+ "describe": "Which annotation exposes an Apex class as a RESTful web service?",
720
+ "answerOptions": [
721
+ {
722
+ "describe": "@AuraEnabled",
723
+ "isRight": false
724
+ },
725
+ {
726
+ "describe": "@RestResource",
727
+ "isRight": true
728
+ },
729
+ {
730
+ "describe": "@RemoteAction",
731
+ "isRight": false
732
+ },
733
+ {
734
+ "describe": "@HttpInvocable",
735
+ "isRight": false
736
+ }
737
+ ],
738
+ "hashCode": "1988673321",
739
+ "analysis": ""
740
+ },
741
+ {
742
+ "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",
743
+ "answerOptions": [
744
+ {
745
+ "describe": "SOQL is able to return more records.",
746
+ "isRight": true
747
+ },
748
+ {
749
+ "describe": "SOSL is faster for text searches.",
750
+ "isRight": true
751
+ },
752
+ {
753
+ "describe": "SOQL is faster for text searches.",
754
+ "isRight": false
755
+ },
756
+ {
757
+ "describe": "SOSL is able to return more records.",
758
+ "isRight": false
759
+ }
760
+ ],
761
+ "hashCode": "1988673320",
762
+ "analysis": ""
763
+ },
764
+ {
765
+ "describe": "What is the value of the Trigger.old context variable in a Before Insert trigger?",
766
+ "answerOptions": [
767
+ {
768
+ "describe": "A list of newly created sObjects without IDs",
769
+ "isRight": false
770
+ },
771
+ {
772
+ "describe": "Undefined",
773
+ "isRight": false
774
+ },
775
+ {
776
+ "describe": "An empty list of sObjects",
777
+ "isRight": false
778
+ },
779
+ {
780
+ "describe": "null",
781
+ "isRight": true
782
+ }
783
+ ],
784
+ "hashCode": "1988673298",
785
+ "analysis": ""
786
+ },
787
+ {
788
+ "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?",
789
+ "answerOptions": [
790
+ {
791
+ "describe": "insert records",
792
+ "isRight": false
793
+ },
794
+ {
795
+ "describe": "Database.insert(records, true)",
796
+ "isRight": false
797
+ },
798
+ {
799
+ "describe": "insert(records, false)",
800
+ "isRight": false
801
+ },
802
+ {
803
+ "describe": "Database.insert(records, false)",
804
+ "isRight": true
805
+ }
806
+ ],
807
+ "hashCode": "1988673297",
808
+ "analysis": ""
809
+ },
810
+ {
811
+ "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?",
812
+ "answerOptions": [
813
+ {
814
+ "describe": "Change the function signature to be private static.",
815
+ "isRight": false
816
+ },
817
+ {
818
+ "describe": "Add static to the server-side method signature.",
819
+ "isRight": true
820
+ },
821
+ {
822
+ "describe": "Decorate the server-side method with (static=true).",
823
+ "isRight": false
824
+ },
825
+ {
826
+ "describe": "Decorate the server-side method with (static=false).",
827
+ "isRight": false
828
+ }
829
+ ],
830
+ "hashCode": "1988673296",
831
+ "analysis": ""
832
+ },
833
+ {
834
+ "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?",
835
+ "answerOptions": [
836
+ {
837
+ "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.",
838
+ "isRight": true
839
+ },
840
+ {
841
+ "describe": "Create two Process Builder, one on Expense_Report__c to mark the related Expense_Item__c to submit the records for approval. ",
842
+ "isRight": false
843
+ },
844
+ {
845
+ "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.",
846
+ "isRight": false
847
+ },
848
+ {
849
+ "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. ",
850
+ "isRight": false
851
+ }
852
+ ],
853
+ "hashCode": "1988673293",
854
+ "analysis": ""
855
+ },
856
+ {
857
+ "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?",
858
+ "answerOptions": [
859
+ {
860
+ "describe": "By writing a Before Insert trigger and accessing the field value from Trigger.new",
861
+ "isRight": false
862
+ },
863
+ {
864
+ "describe": "By writing an After Update trigger and accessing the field value from Trigger.old",
865
+ "isRight": true
866
+ },
867
+ {
868
+ "describe": "By writing a Before Update trigger and accessing the field value from Trigger.new",
869
+ "isRight": false
870
+ },
871
+ {
872
+ "describe": "By writing an After Insert trigger and accessing the field value from Trigger.old",
873
+ "isRight": false
874
+ }
875
+ ],
876
+ "hashCode": "1988673263",
877
+ "analysis": ""
878
+ },
879
+ {
880
+ "describe": "Which action may cause triggers to fire?",
881
+ "answerOptions": [
882
+ {
883
+ "describe": "Updates to Feed Items",
884
+ "isRight": true
885
+ },
886
+ {
887
+ "describe": "Cascading delete operations",
888
+ "isRight": false
889
+ },
890
+ {
891
+ "describe": "Renaming or replacing a picklist entry",
892
+ "isRight": false
893
+ },
894
+ {
895
+ "describe": "Changing a user's default division when the transfer division option is checked",
896
+ "isRight": false
897
+ }
898
+ ],
899
+ "hashCode": "1988673258",
900
+ "analysis": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_ignoring_operations.htm"
901
+ },
902
+ {
903
+ "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?",
904
+ "answerOptions": [
905
+ {
906
+ "describe": "Publish the error event using the addError( ) method and write a trigger to subscribe to the event and notify the external system.",
907
+ "isRight": false
908
+ },
909
+ {
910
+ "describe": "Publish the error event using the Eventbus.publish( ) method and have the external system subscribe to the event using CometD.",
911
+ "isRight": true
912
+ },
913
+ {
914
+ "describe": "Publish the error event using the addError( ) method and have the external system subscribe to the event using CometD.",
915
+ "isRight": false
916
+ },
917
+ {
918
+ "describe": "Have the external System subscribe to the BatchApexError event, no publishing is necessary.",
919
+ "isRight": false
920
+ }
921
+ ],
922
+ "hashCode": "1988673236",
923
+ "analysis": "https://help.salesforce.com/articleView?id=platform_events.htm&type=5"
924
+ },
925
+ {
926
+ "describe": "Which action causes a before trigger to fire by default for Accounts?",
927
+ "answerOptions": [
928
+ {
929
+ "describe": "Importing data using the Data Loader and the Bulk API",
930
+ "isRight": true
931
+ },
932
+ {
933
+ "describe": "Converting Leads to Contact accounts",
934
+ "isRight": false
935
+ },
936
+ {
937
+ "describe": "Updating addresses using the Mass Address update tool",
938
+ "isRight": false
939
+ },
940
+ {
941
+ "describe": "Renaming or replacing picklists",
942
+ "isRight": false
943
+ }
944
+ ],
945
+ "hashCode": "1988673235",
946
+ "analysis": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_ignoring_operations.htm"
947
+ },
948
+ {
949
+ "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",
950
+ "answerOptions": [
951
+ {
952
+ "describe": "Use a validation rule.",
953
+ "isRight": true
954
+ },
955
+ {
956
+ "describe": "Use the Process Automation settings.",
957
+ "isRight": false
958
+ },
959
+ {
960
+ "describe": "Use a trigger. ",
961
+ "isRight": true
962
+ },
963
+ {
964
+ "describe": "Use Flow Builder.",
965
+ "isRight": false
966
+ }
967
+ ],
968
+ "hashCode": "1988673205",
969
+ "analysis": ""
970
+ },
971
+ {
972
+ "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",
973
+ "answerOptions": [
974
+ {
975
+ "describe": "A method implementation can be defined within the Apex Interface.",
976
+ "isRight": false
977
+ },
978
+ {
979
+ "describe": "New methods can be added to a public interface within a released package.",
980
+ "isRight": true
981
+ },
982
+ {
983
+ "describe": "The Apex class must be declared using the interface keyword.",
984
+ "isRight": true
985
+ },
986
+ {
987
+ "describe": "The Apex class access modifier can be set to Private, Public, or Global.",
988
+ "isRight": false
989
+ },
990
+ {
991
+ "describe": "A method defined in an Apex interface cannot have an access modifier. ",
992
+ "isRight": true
993
+ }
994
+ ],
995
+ "hashCode": "1988673200",
996
+ "analysis": ""
997
+ },
998
+ {
999
+ "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",
1000
+ "answerOptions": [
1001
+ {
1002
+ "describe": "Process builder can be used to check the record criteria and send an outbound message without Apex Code.",
1003
+ "isRight": false
1004
+ },
1005
+ {
1006
+ "describe": "Visual Workflow can be used to check the record criteria and send an outbound message without Apex Code.",
1007
+ "isRight": false
1008
+ },
1009
+ {
1010
+ "describe": "Process builder can be used to check the record criteria and send an outbound message with Apex Code.",
1011
+ "isRight": true
1012
+ },
1013
+ {
1014
+ "describe": "Approval Process has the capability to check the record criteria and send an outbound message without Apex Code.",
1015
+ "isRight": true
1016
+ },
1017
+ {
1018
+ "describe": "Workfows can be used to check the record citeria and send an outbound message.",
1019
+ "isRight": true
1020
+ }
1021
+ ],
1022
+ "hashCode": "1988673174",
1023
+ "analysis": ""
1024
+ },
1025
+ {
1026
+ "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?",
1027
+ "answerOptions": [
1028
+ {
1029
+ "describe": "Use the Schema.userInfo.Opportunity.getDefaultRecordType( ) method.",
1030
+ "isRight": false
1031
+ },
1032
+ {
1033
+ "describe": "Query the Profile where the ID equals userInfo.getProfileID( ) and then use the profile.Opportunity.getDefaultRecordType( ) method.",
1034
+ "isRight": false
1035
+ },
1036
+ {
1037
+ "describe": "Use Opportunity.SObjectType.getDescribe( ).getRecordTypeInfos( ) to get a list of record types, and iterate through them until isDefaultRecordTypeMapping( ) is true.",
1038
+ "isRight": true
1039
+ },
1040
+ {
1041
+ "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.",
1042
+ "isRight": false
1043
+ }
1044
+ ],
1045
+ "hashCode": "1988673171",
1046
+ "analysis": ""
1047
+ },
1048
+ {
1049
+ "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?",
1050
+ "answerOptions": [
1051
+ {
1052
+ "describe": "Validation Rule",
1053
+ "isRight": true
1054
+ },
1055
+ {
1056
+ "describe": "Formula Field",
1057
+ "isRight": false
1058
+ },
1059
+ {
1060
+ "describe": "Process Builder",
1061
+ "isRight": false
1062
+ },
1063
+ {
1064
+ "describe": "Workflow Rule",
1065
+ "isRight": false
1066
+ }
1067
+ ],
1068
+ "hashCode": "1988673169",
1069
+ "analysis": ""
1070
+ },
1071
+ {
1072
+ "describe": "Which two operations can be performed using a formula field? Choose 2 answers",
1073
+ "answerOptions": [
1074
+ {
1075
+ "describe": "Displaying the lasy four digits of an encrypted Social Security number.",
1076
+ "isRight": false
1077
+ },
1078
+ {
1079
+ "describe": "Triggering a Process Builder.",
1080
+ "isRight": false
1081
+ },
1082
+ {
1083
+ "describe": "Displaying an Image based on the Opportunity Amount.",
1084
+ "isRight": true
1085
+ },
1086
+ {
1087
+ "describe": "Calculating a score on a Lead based on the information from another field.",
1088
+ "isRight": true
1089
+ }
1090
+ ],
1091
+ "hashCode": "1988673141",
1092
+ "analysis": ""
1093
+ },
1094
+ {
1095
+ "describe": "What are three considerations when using the @InvocableMethod annotation in Apex? Choose 3 answers",
1096
+ "answerOptions": [
1097
+ {
1098
+ "describe": "Only one method using the @InvocableMethod annotation can be defined per Apex class.",
1099
+ "isRight": true
1100
+ },
1101
+ {
1102
+ "describe": "A method using the @InvocableMethod annotation must be declared as static. ",
1103
+ "isRight": true
1104
+ },
1105
+ {
1106
+ "describe": "A method using the @InvocableMethod annotation must define a return value.",
1107
+ "isRight": false
1108
+ },
1109
+ {
1110
+ "describe": "A method using the @InvocableMethod can have multiple input parameters.",
1111
+ "isRight": false
1112
+ },
1113
+ {
1114
+ "describe": "A method using the @InvocableMethod annotation can be declared as Public or Global.",
1115
+ "isRight": true
1116
+ }
1117
+ ],
1118
+ "hashCode": "1988673140",
1119
+ "analysis": ""
1120
+ },
1121
+ {
1122
+ "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",
1123
+ "answerOptions": [
1124
+ {
1125
+ "describe": "Use the final keyword and assign its value in the class constructor. ",
1126
+ "isRight": true
1127
+ },
1128
+ {
1129
+ "describe": "Use the static keyword and assign its value in the dass constructor. ",
1130
+ "isRight": false
1131
+ },
1132
+ {
1133
+ "describe": "Use the static keyword and assign its value in sstatic initializer. ",
1134
+ "isRight": false
1135
+ },
1136
+ {
1137
+ "describe": "Use the final keyword and assign its value when declaring the variable. ",
1138
+ "isRight": true
1139
+ }
1140
+ ],
1141
+ "hashCode": "1988673139",
1142
+ "analysis": ""
1143
+ },
1144
+ {
1145
+ "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",
1146
+ "answerOptions": [
1147
+ {
1148
+ "describe": "Unify all three triggers in a single trigger on the Expense__c object that includes all events.",
1149
+ "isRight": true
1150
+ },
1151
+ {
1152
+ "describe": "Create helper classes to execute the appropriate logic when a record is saved.",
1153
+ "isRight": true
1154
+ },
1155
+ {
1156
+ "describe": "Maintain all three triggers on the Expense__c object, but move the Apex logic out of the trigger definition.",
1157
+ "isRight": false
1158
+ },
1159
+ {
1160
+ "describe": "Unify the before insert and before update triggers and use Process Builder for the delete action.",
1161
+ "isRight": false
1162
+ }
1163
+ ],
1164
+ "hashCode": "1988673136",
1165
+ "analysis": ""
1166
+ },
1167
+ {
1168
+ "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?",
1169
+ "answerOptions": [
1170
+ {
1171
+ "describe": "[SELECT Id, (SELECT Id FROM Job_ Application__ c) FROM Contact WHERE Accounts. Industry = 'Technology'];",
1172
+ "isRight": false
1173
+ },
1174
+ {
1175
+ "describe": "[SELECT Id, (SELECT Id FROM Job_ Application__ c) FROM Contact WHERE Account. Industry = 'Technology'];",
1176
+ "isRight": false
1177
+ },
1178
+ {
1179
+ "describe": "[SELECT Id, (SELECT Id FROM Job_ Application__ r) FROM Contact WHERE Account. Industry = 'Technology'];",
1180
+ "isRight": true
1181
+ },
1182
+ {
1183
+ "describe": "[SELECT Id, (SELECT Id FROM Job_ Application__ r) FROM Contact WHERE Accounts. Industry = 'Technology'];",
1184
+ "isRight": false
1185
+ }
1186
+ ],
1187
+ "hashCode": "1988673134",
1188
+ "analysis": ""
1189
+ },
1190
+ {
1191
+ "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",
1192
+ "answerOptions": [
1193
+ {
1194
+ "describe": "Use the Database.Savepoint method to enforce database integrity.",
1195
+ "isRight": true
1196
+ },
1197
+ {
1198
+ "describe": "Use the @ReadOnly annotation to bypass the number of rows returned by a SOQL.",
1199
+ "isRight": false
1200
+ },
1201
+ {
1202
+ "describe": "Use the System.Limit class to monitor the current CPU governor limit consumption. ",
1203
+ "isRight": true
1204
+ },
1205
+ {
1206
+ "describe": "Use Partial DML statements to ensure only valid data is committed.",
1207
+ "isRight": false
1208
+ }
1209
+ ],
1210
+ "hashCode": "1988673110",
1211
+ "analysis": ""
1212
+ },
1213
+ {
1214
+ "describe": "Which three data types can a SOQL query return? Choose 3 answers",
1215
+ "answerOptions": [
1216
+ {
1217
+ "describe": "Long",
1218
+ "isRight": false
1219
+ },
1220
+ {
1221
+ "describe": "sObject",
1222
+ "isRight": true
1223
+ },
1224
+ {
1225
+ "describe": "List",
1226
+ "isRight": true
1227
+ },
1228
+ {
1229
+ "describe": "Integer",
1230
+ "isRight": true
1231
+ },
1232
+ {
1233
+ "describe": "Double",
1234
+ "isRight": false
1235
+ }
1236
+ ],
1237
+ "hashCode": "1988673109",
1238
+ "analysis": ""
1239
+ },
1240
+ {
1241
+ "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",
1242
+ "answerOptions": [
1243
+ {
1244
+ "describe": "Create a flow that initiates a new Case.",
1245
+ "isRight": true
1246
+ },
1247
+ {
1248
+ "describe": "Use platform events add create a trigger on after insert of the Complaint__c record to create the Case.",
1249
+ "isRight": true
1250
+ },
1251
+ {
1252
+ "describe": "Create a Lightning Conponent that listens for the event and calls an Apex method to create the Case",
1253
+ "isRight": false
1254
+ },
1255
+ {
1256
+ "describe": "Create a Process Builder that triggers when a Complaint__c record is created, and create the Case.",
1257
+ "isRight": false
1258
+ }
1259
+ ],
1260
+ "hashCode": "1988673108",
1261
+ "analysis": ""
1262
+ },
1263
+ {
1264
+ "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?",
1265
+ "answerOptions": [
1266
+ {
1267
+ "describe": "Publish the error event using the Eventbus.publish() method and have the external system subscribe to the event using CometD.",
1268
+ "isRight": true
1269
+ },
1270
+ {
1271
+ "describe": "Have the external system subscribe to the BatchApexError event, no publishing is necessary.",
1272
+ "isRight": false
1273
+ },
1274
+ {
1275
+ "describe": "Publish the error event using the addError() method and write a trigger to subscribe to the event and notify the external system.",
1276
+ "isRight": false
1277
+ },
1278
+ {
1279
+ "describe": "Publish the error event using the addError() method and have the external system subscribe to the event suing CometD.",
1280
+ "isRight": false
1281
+ }
1282
+ ],
1283
+ "hashCode": "1988673077",
1284
+ "analysis": ""
1285
+ },
1286
+ {
1287
+ "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?",
1288
+ "answerOptions": [
1289
+ {
1290
+ "describe": "break",
1291
+ "isRight": true
1292
+ },
1293
+ {
1294
+ "describe": "continue;",
1295
+ "isRight": false
1296
+ },
1297
+ {
1298
+ "describe": "return;",
1299
+ "isRight": false
1300
+ },
1301
+ {
1302
+ "describe": "System.assert(false);",
1303
+ "isRight": false
1304
+ }
1305
+ ],
1306
+ "hashCode": "1988673075",
1307
+ "analysis": ""
1308
+ },
1309
+ {
1310
+ "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?",
1311
+ "answerOptions": [
1312
+ {
1313
+ "describe": "Declare the class and method using the global asscess modifier.",
1314
+ "isRight": true
1315
+ },
1316
+ {
1317
+ "describe": "Declare the class and method using the public asscess modifier.",
1318
+ "isRight": false
1319
+ },
1320
+ {
1321
+ "describe": "Declare the class as global and use the public access modifier on the method.",
1322
+ "isRight": false
1323
+ },
1324
+ {
1325
+ "describe": "Declare the class as public and use the global access modifier on the method.",
1326
+ "isRight": false
1327
+ }
1328
+ ],
1329
+ "hashCode": "1988673049",
1330
+ "analysis": ""
1331
+ },
1332
+ {
1333
+ "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",
1334
+ "answerOptions": [
1335
+ {
1336
+ "describe": "The Apex governor limits are reset for each iteration of execute() method.",
1337
+ "isRight": true
1338
+ },
1339
+ {
1340
+ "describe": "The Apex governor limits cannot be exceeded due to the asynchronous nature of the transaction.",
1341
+ "isRight": true
1342
+ },
1343
+ {
1344
+ "describe": "The Apex governor limits might be higher due to the asynchronous nature of the transaction.",
1345
+ "isRight": false
1346
+ },
1347
+ {
1348
+ "describe": "The Apex governor limits are relaxed while calling the constructor of the Apex class.",
1349
+ "isRight": false
1350
+ }
1351
+ ],
1352
+ "hashCode": "1988673048",
1353
+ "analysis": ""
1354
+ },
1355
+ {
1356
+ "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?",
1357
+ "answerOptions": [
1358
+ {
1359
+ "describe": "The transaction fails and all the changes are rolled back.",
1360
+ "isRight": true
1361
+ },
1362
+ {
1363
+ "describe": "The transaction succeeds as long as the Contact trigger stack depth is less than 16.",
1364
+ "isRight": false
1365
+ },
1366
+ {
1367
+ "describe": "The transaction succeeds and all changes are committed to the database.",
1368
+ "isRight": false
1369
+ },
1370
+ {
1371
+ "describe": "The transaction fails only if the Contact trigger stack depth is greater or equal to 16.",
1372
+ "isRight": false
1373
+ }
1374
+ ],
1375
+ "hashCode": "1988673047",
1376
+ "analysis": ""
1377
+ },
1378
+ {
1379
+ "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?",
1380
+ "answerOptions": [
1381
+ {
1382
+ "describe": "Use the with sharing keyword on the class declaration.",
1383
+ "isRight": true
1384
+ },
1385
+ {
1386
+ "describe": "Use the UserInfo Apex class to filter all SOQL queries to returned records owned by the logged-in user.",
1387
+ "isRight": false
1388
+ },
1389
+ {
1390
+ "describe": "Use the without sharing keyword on the class declaration.",
1391
+ "isRight": false
1392
+ },
1393
+ {
1394
+ "describe": "Use the schema describe calls to detemine if the logged-in user has access to the Account object.",
1395
+ "isRight": false
1396
+ }
1397
+ ],
1398
+ "hashCode": "1988673046",
1399
+ "analysis": ""
1400
+ },
1401
+ {
1402
+ "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?",
1403
+ "answerOptions": [
1404
+ {
1405
+ "describe": "accountRec.isDeletable()",
1406
+ "isRight": false
1407
+ },
1408
+ {
1409
+ "describe": "Schema.sObjectType.Account.isDeletable()",
1410
+ "isRight": true
1411
+ },
1412
+ {
1413
+ "describe": "accountRec.sObjectType.isDeletable()",
1414
+ "isRight": false
1415
+ },
1416
+ {
1417
+ "describe": "Account.isDeletable()",
1418
+ "isRight": false
1419
+ }
1420
+ ],
1421
+ "hashCode": "1988673044",
1422
+ "analysis": ""
1423
+ },
1424
+ {
1425
+ "describe": "Which Salesforce feature allows a developer to see when a user last logged in to Salesforce if real-time notification is not required?",
1426
+ "answerOptions": [
1427
+ {
1428
+ "describe": "Calendar Events",
1429
+ "isRight": false
1430
+ },
1431
+ {
1432
+ "describe": "Event Monitoring Log",
1433
+ "isRight": true
1434
+ },
1435
+ {
1436
+ "describe": "Developer Log",
1437
+ "isRight": false
1438
+ },
1439
+ {
1440
+ "describe": "Asynchronous Data Capture Events",
1441
+ "isRight": false
1442
+ }
1443
+ ],
1444
+ "hashCode": "1988672362",
1445
+ "analysis": ""
1446
+ },
1447
+ {
1448
+ "describe": "Which exception type cannot be caught?",
1449
+ "answerOptions": [
1450
+ {
1451
+ "describe": "A Custom Exception",
1452
+ "isRight": false
1453
+ },
1454
+ {
1455
+ "describe": "NoAccessException",
1456
+ "isRight": false
1457
+ },
1458
+ {
1459
+ "describe": "CalloutException",
1460
+ "isRight": false
1461
+ },
1462
+ {
1463
+ "describe": "LimitException",
1464
+ "isRight": true
1465
+ }
1466
+ ],
1467
+ "hashCode": "1988672359",
1468
+ "analysis": ""
1469
+ },
1470
+ {
1471
+ "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",
1472
+ "answerOptions": [
1473
+ {
1474
+ "describe": "public without sharing class ContactController",
1475
+ "isRight": false
1476
+ },
1477
+ {
1478
+ "describe": "public class ContactController",
1479
+ "isRight": false
1480
+ },
1481
+ {
1482
+ "describe": "public inherited sharing class ContactController",
1483
+ "isRight": true
1484
+ },
1485
+ {
1486
+ "describe": "public with sharing class ContactController",
1487
+ "isRight": true
1488
+ }
1489
+ ],
1490
+ "hashCode": "1988672334",
1491
+ "analysis": ""
1492
+ },
1493
+ {
1494
+ "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?",
1495
+ "answerOptions": [
1496
+ {
1497
+ "describe": "Declare maxAttempts as a variable on a helper class.",
1498
+ "isRight": false
1499
+ },
1500
+ {
1501
+ "describe": "Declare maxAttempts as constant using the static and final keywords.",
1502
+ "isRight": true
1503
+ },
1504
+ {
1505
+ "describe": "Declare maxAttempts as a private static variable on a helper class. ",
1506
+ "isRight": false
1507
+ },
1508
+ {
1509
+ "describe": "Declare maxAttempts as a member variable on the trigger definition.",
1510
+ "isRight": false
1511
+ }
1512
+ ],
1513
+ "hashCode": "1988672305",
1514
+ "analysis": ""
1515
+ },
1516
+ {
1517
+ "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?",
1518
+ "answerOptions": [
1519
+ {
1520
+ "describe": "8",
1521
+ "isRight": false
1522
+ },
1523
+ {
1524
+ "describe": "1",
1525
+ "isRight": false
1526
+ },
1527
+ {
1528
+ "describe": "4",
1529
+ "isRight": false
1530
+ },
1531
+ {
1532
+ "describe": "2",
1533
+ "isRight": true
1534
+ }
1535
+ ],
1536
+ "hashCode": "1988672304",
1537
+ "analysis": ""
1538
+ },
1539
+ {
1540
+ "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?",
1541
+ "answerOptions": [
1542
+ {
1543
+ "describe": "4",
1544
+ "isRight": false
1545
+ },
1546
+ {
1547
+ "describe": "2",
1548
+ "isRight": true
1549
+ },
1550
+ {
1551
+ "describe": "1",
1552
+ "isRight": false
1553
+ },
1554
+ {
1555
+ "describe": "3",
1556
+ "isRight": false
1557
+ }
1558
+ ],
1559
+ "hashCode": "1988672299",
1560
+ "analysis": ""
1561
+ },
1562
+ {
1563
+ "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?",
1564
+ "answerOptions": [
1565
+ {
1566
+ "describe": "Create an after trigger on the Opportunity object that calls a helper method using @Future(Callout=true) to perform \nthe HTTP REST callout.",
1567
+ "isRight": true
1568
+ },
1569
+ {
1570
+ "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.",
1571
+ "isRight": false
1572
+ },
1573
+ {
1574
+ "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.",
1575
+ "isRight": true
1576
+ },
1577
+ {
1578
+ "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.",
1579
+ "isRight": false
1580
+ }
1581
+ ],
1582
+ "hashCode": "1988672275",
1583
+ "analysis": ""
1584
+ }
1585
+ ],
1586
+ "hashCode": "1494717394"
1587
+ }