@palerock/exam-qa 1.0.6-patch1 → 1.0.6-patch11

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 (29) hide show
  1. package/dist/index.html +1 -1
  2. package/dist/static/css/app.f76ca65020df1576514751c0b6fb2a25.css +2 -0
  3. package/dist/static/css/app.f76ca65020df1576514751c0b6fb2a25.css.map +1 -0
  4. package/dist/static/js/app.4d3c186ec6cdaa7239cb.js +2 -0
  5. package/dist/static/js/app.4d3c186ec6cdaa7239cb.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/Salesforce-Admin-201-[Set-10].json +769 -0
  15. package/lib-json/Salesforce-Admin-201-[Set-1].json +604 -0
  16. package/lib-json/Salesforce-Admin-201-[Set-2].json +621 -0
  17. package/lib-json/Salesforce-Admin-201-[Set-3].json +650 -0
  18. package/lib-json/Salesforce-Admin-201-[Set-4].json +636 -0
  19. package/lib-json/Salesforce-Admin-201-[Set-5].json +640 -0
  20. package/lib-json/Salesforce-Admin-201-[Set-6].json +640 -0
  21. package/lib-json/Salesforce-Admin-201-[Set-7].json +592 -0
  22. package/lib-json/Salesforce-Admin-201-[Set-8].json +539 -0
  23. package/lib-json/Salesforce-Admin-201-[Set-9].json +539 -0
  24. package/lib-json/map.json +7 -33
  25. package/package.json +3 -2
  26. package/dist/static/css/app.d3e969a579969be885a3462a1e12e37f.css +0 -2
  27. package/dist/static/css/app.d3e969a579969be885a3462a1e12e37f.css.map +0 -1
  28. package/dist/static/js/app.53370ddfe5eba6a10565.js +0 -2
  29. package/dist/static/js/app.53370ddfe5eba6a10565.js.map +0 -1
@@ -0,0 +1,1538 @@
1
+ {
2
+ "title": "Dev1模拟卷A",
3
+ "category": "Dev1-自由部落侠",
4
+ "questions": [
5
+ {
6
+ "describe": "A custom picklist field Food_Preference__c, exists an a custom object. The picklist contains the following options:\n'Vegan'. 'Kosher', 'No Preference'. The developer must ensure a value is populated every time a record is created or updated.",
7
+ "answerOptions": [
8
+ {
9
+ "describe": "Mark the field as Required on the object's page Layout.",
10
+ "isRight": false
11
+ },
12
+ {
13
+ "describe": "Mark the field as Required on the field definition.",
14
+ "isRight": true
15
+ },
16
+ {
17
+ "describe": "Set \"Use the first value in the list as default value\" as True.",
18
+ "isRight": false
19
+ },
20
+ {
21
+ "describe": "Set a validation rule to enforce a value is selected.",
22
+ "isRight": false
23
+ }
24
+ ],
25
+ "hashCode": "1988673081",
26
+ "analysis": ""
27
+ },
28
+ {
29
+ "describe": "A SSN__c custom field exists on the Candidate __c custom object. The field is used to store each candidate's social security number and is marked as Unique in the schema definition.\n\nAs part of a data enrichment process, Universal Containers has a CSV file that contains updated data for all candidates in the system. The file contains each Candidate's social security number as a data point. Universal Containers wants to upload this information into Salesforce, while ensuring all data rows are correctly mapped to a candidate in the system. Which technique should the developer implement to streamline the data upload?",
30
+ "answerOptions": [
31
+ {
32
+ "describe": "Upload the CSV into a custom object related to Candidate__c. ",
33
+ "isRight": false
34
+ },
35
+ {
36
+ "describe": "Update the SSN__c field definition to mark it as an External Id.",
37
+ "isRight": true
38
+ },
39
+ {
40
+ "describe": "Create a before insert trigger to correctly map the records. ",
41
+ "isRight": false
42
+ },
43
+ {
44
+ "describe": "Create a process Builder on the Candidate__c object to map the records.",
45
+ "isRight": false
46
+ }
47
+ ],
48
+ "hashCode": "1988673197",
49
+ "analysis": ""
50
+ },
51
+ {
52
+ "describe": "A developer created a custom order management app that uses an Apex class. The order is represented by an Order object and an OrderItem object that has a master-detail relationship to Order. During order processing, an order may be split into multiple orders.\nWhat should a developer do to allow their code to move some existing OrderItem records to a new Order record?",
53
+ "answerOptions": [
54
+ {
55
+ "describe": "Select the Allow reparenting option on the master-detail relationship.",
56
+ "isRight": false
57
+ },
58
+ {
59
+ "describe": "Change the master-detail relationship to an external lookup relationship.",
60
+ "isRight": false
61
+ },
62
+ {
63
+ "describe": "Add without sharing to the Apex class declaration.",
64
+ "isRight": false
65
+ },
66
+ {
67
+ "describe": "Create a junction object between OrderItem and Order.",
68
+ "isRight": true
69
+ }
70
+ ],
71
+ "hashCode": "1988674041",
72
+ "analysis": ""
73
+ },
74
+ {
75
+ "describe": "A developer has a requirement to create an Order when an Opportunity reaches a 'Closed-Won' status.\nWhich tool should be used to implement this requirement?",
76
+ "answerOptions": [
77
+ {
78
+ "describe": "Lightning Flow",
79
+ "isRight": false
80
+ },
81
+ {
82
+ "describe": "Process Builder",
83
+ "isRight": true
84
+ },
85
+ {
86
+ "describe": "Apex Trigger",
87
+ "isRight": false
88
+ },
89
+ {
90
+ "describe": "Lightning Component",
91
+ "isRight": false
92
+ }
93
+ ],
94
+ "hashCode": "1988672361",
95
+ "analysis": ""
96
+ },
97
+ {
98
+ "describe": "In the Lightning UI, where should a developer look to find information about a Paused Flow Interview?",
99
+ "answerOptions": [
100
+ {
101
+ "describe": "In the system debug log by filtering on Paused Flow Interview",
102
+ "isRight": false
103
+ },
104
+ {
105
+ "describe": "On the Paused Flow Interviews related list for a given record",
106
+ "isRight": false
107
+ },
108
+ {
109
+ "describe": "On the Paused Flow Interviews component on the Home page",
110
+ "isRight": true
111
+ },
112
+ {
113
+ "describe": "In the Paused Interviews section of the Apex Flex Queue",
114
+ "isRight": false
115
+ }
116
+ ],
117
+ "hashCode": "1988673326",
118
+ "analysis": ""
119
+ },
120
+ {
121
+ "describe": "UC uses a Master-Detail relationship and stores the availability date on each Line Item of an Order and Orders are only shipped when all of the Line Items \nare available.\nWhich method should be used to calculate the estimated ship date for an Order?",
122
+ "answerOptions": [
123
+ {
124
+ "describe": "Use a LATEST formula on each of the latest availability date fields.",
125
+ "isRight": false
126
+ },
127
+ {
128
+ "describe": "Use a CEILING formula on each of the latest availability date fields.",
129
+ "isRight": false
130
+ },
131
+ {
132
+ "describe": "Use a MAX Roll-Up Summary field on the latest availability date fields.",
133
+ "isRight": true
134
+ },
135
+ {
136
+ "describe": "Use a DAYS formula on each of the availability date fields and a COUNT Roll-Up Summary field on the Order.",
137
+ "isRight": false
138
+ }
139
+ ],
140
+ "hashCode": "1988674006",
141
+ "analysis": ""
142
+ },
143
+ {
144
+ "describe": "UH is using Salesforce to capture job applications. A salesforce administrator created two custom objects; Job__c acting as the master object, Job_Application__c acting as the detail.\nWithin the Job__c object, a custom multi-select picklist, Preferred_Locations__c, contains a list of approved status for the position. Each Job_Application__c record relates to a Contact within the system through a master-detail relationship.\nRecruiters have requested the ability to view whether the Contact's Mailing State value matches a value selected on the Preferred_Locations__c field, within the Job_Application__c record. Recruiters would like this value to be kept in sync, if changes occur to the Contact's Mailing State or if the Job's Preferred_Locations__c field is updated.\nWhat is the recommended tool a developer should use to meet the business requirement?",
145
+ "answerOptions": [
146
+ {
147
+ "describe": "Apex trigger",
148
+ "isRight": true
149
+ },
150
+ {
151
+ "describe": "Record-triggered flow",
152
+ "isRight": false
153
+ },
154
+ {
155
+ "describe": "Formula field",
156
+ "isRight": false
157
+ },
158
+ {
159
+ "describe": "Process Builder",
160
+ "isRight": false
161
+ }
162
+ ],
163
+ "hashCode": "1988674162",
164
+ "analysis": ""
165
+ },
166
+ {
167
+ "describe": "A developer has the following requirements:\n1. Calculate the total amount on an Order.\n2. Calculate the line amount for each Line Item based on quantity selected and price.\n3. Move Line Items to a different Order if a Line Item is not in stock.\nWhich relationship implementation supports these requirements?",
168
+ "answerOptions": [
169
+ {
170
+ "describe": "Line Item has a Master-Detail field to Order and the Master can be re-parented.",
171
+ "isRight": true
172
+ },
173
+ {
174
+ "describe": "Order has a Lookup field to Line Item and there can be many Line Item per Order.",
175
+ "isRight": false
176
+ },
177
+ {
178
+ "describe": "Line Item has a Lookup field to Order and there can be many Line Item per Order.",
179
+ "isRight": false
180
+ },
181
+ {
182
+ "describe": "Order has a Master-Detail field to Line Item and there can be many Line Item per Order.",
183
+ "isRight": false
184
+ }
185
+ ],
186
+ "hashCode": "1988672306",
187
+ "analysis": ""
188
+ },
189
+ {
190
+ "describe": "Universal Containers wants to back up all of the data and attachments in Salesforce org once a month.\nWhich approach should a developer use to meet this requirement?",
191
+ "answerOptions": [
192
+ {
193
+ "describe": "Schedule a report",
194
+ "isRight": false
195
+ },
196
+ {
197
+ "describe": "Create a Schedulable Apex Class",
198
+ "isRight": false
199
+ },
200
+ {
201
+ "describe": "Define a Data Export scheduled job.",
202
+ "isRight": true
203
+ },
204
+ {
205
+ "describe": "Use the data loader command line.",
206
+ "isRight": false
207
+ }
208
+ ],
209
+ "hashCode": "1988672365",
210
+ "analysis": ""
211
+ },
212
+ {
213
+ "describe": "When a user edits the Postal Code on an Account,a custom Account text field named \"Tim updated based on the values in another custom object called PostalCodeToTimezone_c.\nWhat is the optimal way to implement this feature?",
214
+ "answerOptions": [
215
+ {
216
+ "describe": "Create an account approval proce",
217
+ "isRight": false
218
+ },
219
+ {
220
+ "describe": "Build a flow with Flow Builder.",
221
+ "isRight": true
222
+ },
223
+ {
224
+ "describe": "Create a formula field.",
225
+ "isRight": false
226
+ },
227
+ {
228
+ "describe": "Build an account assignment rule,",
229
+ "isRight": false
230
+ }
231
+ ],
232
+ "hashCode": "1988674131",
233
+ "analysis": ""
234
+ },
235
+ {
236
+ "describe": "Universal Containers has a support process that allows users to request support from its engineering team using custom object, Engineering_Support_c.\nUsers should be able to associate multiple Engineering Support_c records to a single Opportunty record.Addltionally, aggregate information about the Engineering Support _c records should be shown on the Opportunity record.\nWhat should a developer implement to support these requirements?",
237
+ "answerOptions": [
238
+ {
239
+ "describe": "Lookup field from Engineering_Support_c to Opportunity",
240
+ "isRight": false
241
+ },
242
+ {
243
+ "describe": "Master-detail field from EngineeringSupport_c to Opportunity",
244
+ "isRight": true
245
+ },
246
+ {
247
+ "describe": "Lookup field from Opportunity to Engineering Support_c",
248
+ "isRight": false
249
+ },
250
+ {
251
+ "describe": "Master-detail field from Opportunity to Engineering Support_c",
252
+ "isRight": false
253
+ }
254
+ ],
255
+ "hashCode": "1988674126",
256
+ "analysis": ""
257
+ },
258
+ {
259
+ "describe": "A business has a proprietary Order Management System (OMS) that creates orders from their website and the orders.When the order Is created in the OMS,an integration also creates an order record In Salesforce relates it to the contact as identified by the email on the order As the order goes through different stages inOMS, the integration also updates it in Salesforce.\nIt is noticed that each update from the OMS creates new order record in Salesforce.\nWhich two actions will prevent the duplicate order records from being created in Salesforce?\nChoose 2 answers",
260
+ "answerOptions": [
261
+ {
262
+ "describe": "Ensure that the order number in the OMS is unique",
263
+ "isRight": true
264
+ },
265
+ {
266
+ "describe": "Use the order number from the OMS as an external ID.",
267
+ "isRight": true
268
+ },
269
+ {
270
+ "describe": "Use the email on the contact record as an external ID.",
271
+ "isRight": false
272
+ },
273
+ {
274
+ "describe": "Write a before trigger on the order object to delete any duplicates",
275
+ "isRight": false
276
+ }
277
+ ],
278
+ "hashCode": "1988674164",
279
+ "analysis": ""
280
+ },
281
+ {
282
+ "describe": "A developer at Universal Containers is tasked with implementing a new Salesforce application that must built by their company's Salesforce administrator.\nWhich three options should be considered for building out the business logic layer of the application? Choose 3 answers",
283
+ "answerOptions": [
284
+ {
285
+ "describe": "Scheduled Jobs",
286
+ "isRight": false
287
+ },
288
+ {
289
+ "describe": "Validation Rules",
290
+ "isRight": true
291
+ },
292
+ {
293
+ "describe": "Invocable Actions",
294
+ "isRight": false
295
+ },
296
+ {
297
+ "describe": "Workflows",
298
+ "isRight": true
299
+ },
300
+ {
301
+ "describe": "Process Builder",
302
+ "isRight": true
303
+ }
304
+ ],
305
+ "hashCode": "1988672328",
306
+ "analysis": ""
307
+ },
308
+ {
309
+ "describe": "What are two benefits of using declarative customizations over code? Choose 2 answers",
310
+ "answerOptions": [
311
+ {
312
+ "describe": "Declarative customizations automatically update with each Salesforce release.",
313
+ "isRight": true
314
+ },
315
+ {
316
+ "describe": "Declarative customizations cannot generate run time errors.",
317
+ "isRight": false
318
+ },
319
+ {
320
+ "describe": "Declarative customizations automatically generate test classes.",
321
+ "isRight": false
322
+ },
323
+ {
324
+ "describe": "Declarative customizations generally require less maintenance.",
325
+ "isRight": true
326
+ }
327
+ ],
328
+ "hashCode": "1988673323",
329
+ "analysis": ""
330
+ },
331
+ {
332
+ "describe": "When importing and exporting data into Salesforce, Which two statement are true?\nChoose 2 answers",
333
+ "answerOptions": [
334
+ {
335
+ "describe": "Data import wizard is a client application provided by Salesforce.",
336
+ "isRight": false
337
+ },
338
+ {
339
+ "describe": "Developer and Developer Pro sandboxes have different storage limits.",
340
+ "isRight": true
341
+ },
342
+ {
343
+ "describe": "Bulk API can be used to import large data volumes in development environments without bypassing the storage limits.",
344
+ "isRight": true
345
+ },
346
+ {
347
+ "describe": "Bulk API can be used to bypass the storage limits when importing large data volumes in development environments.",
348
+ "isRight": false
349
+ }
350
+ ],
351
+ "hashCode": "1988673294",
352
+ "analysis": ""
353
+ },
354
+ {
355
+ "describe": "Which action may cause triggers to fire?",
356
+ "answerOptions": [
357
+ {
358
+ "describe": "Updates to Feed Items",
359
+ "isRight": true
360
+ },
361
+ {
362
+ "describe": "Cascading delete operations",
363
+ "isRight": false
364
+ },
365
+ {
366
+ "describe": "Renaming or replacing a picklist entry",
367
+ "isRight": false
368
+ },
369
+ {
370
+ "describe": "Changing a user's default division when the transfer division option is checked",
371
+ "isRight": false
372
+ }
373
+ ],
374
+ "hashCode": "1988673258",
375
+ "analysis": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_ignoring_operations.htm"
376
+ },
377
+ {
378
+ "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?",
379
+ "answerOptions": [
380
+ {
381
+ "describe": "Use the Schema.userInfo.Opportunity.getDefaultRecordType( ) method.",
382
+ "isRight": false
383
+ },
384
+ {
385
+ "describe": "Query the Profile where the ID equals userInfo.getProfileID( ) and then use the profile.Opportunity.getDefaultRecordType( ) method.",
386
+ "isRight": false
387
+ },
388
+ {
389
+ "describe": "Use Opportunity.SObjectType.getDescribe( ).getRecordTypeInfos( ) to get a list of record types, and iterate through them until isDefaultRecordTypeMapping( ) is true.",
390
+ "isRight": true
391
+ },
392
+ {
393
+ "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.",
394
+ "isRight": false
395
+ }
396
+ ],
397
+ "hashCode": "1988673171",
398
+ "analysis": ""
399
+ },
400
+ {
401
+ "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?",
402
+ "answerOptions": [
403
+ {
404
+ "describe": "Change the function signature to be private static.",
405
+ "isRight": false
406
+ },
407
+ {
408
+ "describe": "Add static to the server-side method signature.",
409
+ "isRight": false
410
+ },
411
+ {
412
+ "describe": "Decorate the server-side method with (static=true).",
413
+ "isRight": true
414
+ },
415
+ {
416
+ "describe": "Decorate the server-side method with (static=false).",
417
+ "isRight": false
418
+ }
419
+ ],
420
+ "hashCode": "1988673296",
421
+ "analysis": ""
422
+ },
423
+ {
424
+ "describe": "UC wants Opportunities to no longer be editable when reaching the Closed/Won stage.\nHow should a developer accomplish this?",
425
+ "answerOptions": [
426
+ {
427
+ "describe": "Use a validation rule.",
428
+ "isRight": true
429
+ },
430
+ {
431
+ "describe": "Use the Process Automation settings.",
432
+ "isRight": false
433
+ },
434
+ {
435
+ "describe": "Use Flow Builder.",
436
+ "isRight": false
437
+ },
438
+ {
439
+ "describe": "Mark fields as read-only on the page layout.",
440
+ "isRight": false
441
+ }
442
+ ],
443
+ "hashCode": "1988673329",
444
+ "analysis": ""
445
+ },
446
+ {
447
+ "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?",
448
+ "answerOptions": [
449
+ {
450
+ "describe": "Move the callout to an asynchronous method with @future(callout=true) annotation.",
451
+ "isRight": true
452
+ },
453
+ {
454
+ "describe": "Replace the after update trigger with a before insert trigger.",
455
+ "isRight": false
456
+ },
457
+ {
458
+ "describe": "Surround the external call with a try-catch block to handle the exception.",
459
+ "isRight": false
460
+ },
461
+ {
462
+ "describe": "Write a REST service to integrate with the external web service.",
463
+ "isRight": false
464
+ }
465
+ ],
466
+ "hashCode": "1988674097",
467
+ "analysis": ""
468
+ },
469
+ {
470
+ "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?",
471
+ "answerOptions": [
472
+ {
473
+ "describe": "@future",
474
+ "isRight": false
475
+ },
476
+ {
477
+ "describe": "@AuraEnabled",
478
+ "isRight": false
479
+ },
480
+ {
481
+ "describe": "@InvocableMethod",
482
+ "isRight": true
483
+ },
484
+ {
485
+ "describe": "@RemoteAction",
486
+ "isRight": false
487
+ }
488
+ ],
489
+ "hashCode": "1988674034",
490
+ "analysis": ""
491
+ },
492
+ {
493
+ "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?",
494
+ "answerOptions": [
495
+ {
496
+ "describe": "An error condition formula on a validation rule on Opportunity",
497
+ "isRight": true
498
+ },
499
+ {
500
+ "describe": "A record trigger flow on the Opportunity object",
501
+ "isRight": false
502
+ },
503
+ {
504
+ "describe": "An approval process on the Opportunity object",
505
+ "isRight": false
506
+ },
507
+ {
508
+ "describe": "An Apex trigger on the Opportunity object",
509
+ "isRight": false
510
+ }
511
+ ],
512
+ "hashCode": "1988674065",
513
+ "analysis": ""
514
+ },
515
+ {
516
+ "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?",
517
+ "answerOptions": [
518
+ {
519
+ "describe": "public class PurchaseOrderException implements Exception{}",
520
+ "isRight": false
521
+ },
522
+ {
523
+ "describe": "public class PurchaseOrder extends Exception{}",
524
+ "isRight": false
525
+ },
526
+ {
527
+ "describe": "public class PurchaseOrderException extends Exception{)",
528
+ "isRight": true
529
+ },
530
+ {
531
+ "describe": "public class PurchaseOrder implements Exception{}",
532
+ "isRight": false
533
+ }
534
+ ],
535
+ "hashCode": "1988674037",
536
+ "analysis": ""
537
+ },
538
+ {
539
+ "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",
540
+ "answerOptions": [
541
+ {
542
+ "describe": "Record-Triggered flow",
543
+ "isRight": false
544
+ },
545
+ {
546
+ "describe": "Apex trigger",
547
+ "isRight": true
548
+ },
549
+ {
550
+ "describe": "Apex callouts",
551
+ "isRight": false
552
+ },
553
+ {
554
+ "describe": "Platform event",
555
+ "isRight": true
556
+ }
557
+ ],
558
+ "hashCode": "1988674166",
559
+ "analysis": ""
560
+ },
561
+ {
562
+ "describe": "Which three data types can a SOQL query return? Choose 3 answers",
563
+ "answerOptions": [
564
+ {
565
+ "describe": "Long",
566
+ "isRight": false
567
+ },
568
+ {
569
+ "describe": "sObject",
570
+ "isRight": true
571
+ },
572
+ {
573
+ "describe": "List",
574
+ "isRight": true
575
+ },
576
+ {
577
+ "describe": "Integer",
578
+ "isRight": true
579
+ },
580
+ {
581
+ "describe": "Double",
582
+ "isRight": false
583
+ }
584
+ ],
585
+ "hashCode": "1988673109",
586
+ "analysis": ""
587
+ },
588
+ {
589
+ "describe": "What are two use cases for executing Anonymous Apex code?\nChoose 2 answers",
590
+ "answerOptions": [
591
+ {
592
+ "describe": "To add unit test code coverage to an org",
593
+ "isRight": false
594
+ },
595
+ {
596
+ "describe": "To run a batch Apex cass to update all Contacts",
597
+ "isRight": true
598
+ },
599
+ {
600
+ "describe": "To delete 15,000 inactive Accounts in a single transaction after a deployment",
601
+ "isRight": false
602
+ },
603
+ {
604
+ "describe": "To schedule an Apex class to run periodically",
605
+ "isRight": true
606
+ }
607
+ ],
608
+ "hashCode": "1988674072",
609
+ "analysis": ""
610
+ },
611
+ {
612
+ "describe": "A developer is asked to create a Visualforce page that lists the contacts owned by the current user. This component will be embedded in a Lightning page.\nWithout writing unnecessary code, which controller should be used for this purpose?",
613
+ "answerOptions": [
614
+ {
615
+ "describe": "Lightning controller",
616
+ "isRight": false
617
+ },
618
+ {
619
+ "describe": "Standard list controller",
620
+ "isRight": false
621
+ },
622
+ {
623
+ "describe": "Standard controller",
624
+ "isRight": true
625
+ },
626
+ {
627
+ "describe": "Custom controller",
628
+ "isRight": false
629
+ }
630
+ ],
631
+ "hashCode": "1995171573",
632
+ "analysis": ""
633
+ },
634
+ {
635
+ "describe": "A credit card company needs to implement the functionality for a service agent to process credit cards. When the customers call in, the service agent must gather many places of information tasked to implement this functionality.\nWhat should the developer use to satisfy this requirement in the most efficient manner?",
636
+ "answerOptions": [
637
+ {
638
+ "describe": "Flow Builder",
639
+ "isRight": false
640
+ },
641
+ {
642
+ "describe": "Lightning Component",
643
+ "isRight": true
644
+ },
645
+ {
646
+ "describe": "Approval Process",
647
+ "isRight": false
648
+ },
649
+ {
650
+ "describe": "Apex Trigger",
651
+ "isRight": false
652
+ }
653
+ ],
654
+ "hashCode": "1988674132",
655
+ "analysis": ""
656
+ },
657
+ {
658
+ "describe": "A developer created a weather app that contains multiple Lightning web components.\nOne of the components, called Toggle, has a toggle for Fahrenheit or Celsius units,Another Temperature, displays the current temperature in the unit selected in the Toggle component,.When a user toggles from Fahrenheit to Celsius or vice versa in the Toggle component, sent to the Temperature component so the temperature can be converted and displayed.\nWhat is the recommended way to accomplish this?",
659
+ "answerOptions": [
660
+ {
661
+ "describe": "The Toggle component should call a method in the Temperature component.",
662
+ "isRight": false
663
+ },
664
+ {
665
+ "describe": "Create a custom event to handle the communication between components.",
666
+ "isRight": true
667
+ },
668
+ {
669
+ "describe": "Use an application event to communicate between the components.",
670
+ "isRight": false
671
+ },
672
+ {
673
+ "describe": "Use Lightning Message Service to communicate between the components.",
674
+ "isRight": false
675
+ }
676
+ ],
677
+ "hashCode": "1988674133",
678
+ "analysis": ""
679
+ },
680
+ {
681
+ "describe": "How does the Lightning Component framework help developers implement solutions faster?",
682
+ "answerOptions": [
683
+ {
684
+ "describe": "By providing an Agile process with default steps",
685
+ "isRight": false
686
+ },
687
+ {
688
+ "describe": "By providing device-awarenedd for mobile and desktops",
689
+ "isRight": true
690
+ },
691
+ {
692
+ "describe": "By providing code review standards and processes",
693
+ "isRight": false
694
+ },
695
+ {
696
+ "describe": "By providing change history and version control",
697
+ "isRight": false
698
+ }
699
+ ],
700
+ "hashCode": "1988673168",
701
+ "analysis": ""
702
+ },
703
+ {
704
+ "describe": "Which three web technologies can be integrated into a Visualforce page?",
705
+ "answerOptions": [
706
+ {
707
+ "describe": "JavaScript",
708
+ "isRight": true
709
+ },
710
+ {
711
+ "describe": "HTML",
712
+ "isRight": true
713
+ },
714
+ {
715
+ "describe": "Java",
716
+ "isRight": false
717
+ },
718
+ {
719
+ "describe": "CSS",
720
+ "isRight": true
721
+ },
722
+ {
723
+ "describe": "PHP",
724
+ "isRight": false
725
+ }
726
+ ],
727
+ "hashCode": "1988673078",
728
+ "analysis": ""
729
+ },
730
+ {
731
+ "describe": "A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. The wizard accepts \ndata from user inputs across multiple Visualforce pages and from a parameter on the initial URL.\nWhich three statements are useful inside the unit test to effectively test the custom controller? Choose 3 answers",
732
+ "answerOptions": [
733
+ {
734
+ "describe": "String nextPage = controller.save( ).getUrl( );",
735
+ "isRight": true
736
+ },
737
+ {
738
+ "describe": "Test.setCurrentPage(pageRef);",
739
+ "isRight": true
740
+ },
741
+ {
742
+ "describe": "insert pageRef;",
743
+ "isRight": false
744
+ },
745
+ {
746
+ "describe": "ApexPages.currentPage( ).getParameters( ).put('input', 'TestValue');",
747
+ "isRight": true
748
+ },
749
+ {
750
+ "describe": "public ExtendedController(ApexPages.StandardController cntrl) { }",
751
+ "isRight": false
752
+ }
753
+ ],
754
+ "hashCode": "1988674002",
755
+ "analysis": ""
756
+ },
757
+ {
758
+ "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",
759
+ "answerOptions": [
760
+ {
761
+ "describe": "new ParityException('parity does not match');",
762
+ "isRight": false
763
+ },
764
+ {
765
+ "describe": "throw new ParityException('parity does not match');",
766
+ "isRight": true
767
+ },
768
+ {
769
+ "describe": "throw new ParityException ();",
770
+ "isRight": true
771
+ },
772
+ {
773
+ "describe": "new ParityException();",
774
+ "isRight": false
775
+ }
776
+ ],
777
+ "hashCode": "1988674159",
778
+ "analysis": ""
779
+ },
780
+ {
781
+ "describe": "What are two best practices when it comes to Lightning Web Component events?\nChoose 2 answers",
782
+ "answerOptions": [
783
+ {
784
+ "describe": "Use event.target to communicate data to elements that aren't in the same shadow tree.",
785
+ "isRight": true
786
+ },
787
+ {
788
+ "describe": "Use events configured with bubbles: false and composed: false.",
789
+ "isRight": false
790
+ },
791
+ {
792
+ "describe": "Use CuatomEvent to pass data from a child to a parent component.",
793
+ "isRight": true
794
+ },
795
+ {
796
+ "describe": "Use event.detail to communicate data to elements in the same shadow tree.",
797
+ "isRight": false
798
+ }
799
+ ],
800
+ "hashCode": "1988674103",
801
+ "analysis": ""
802
+ },
803
+ {
804
+ "describe": "Which two characteristics are true for Aura component events? Choose 2 answers",
805
+ "answerOptions": [
806
+ {
807
+ "describe": "The event propagates to every owner in the containment hierarchy.",
808
+ "isRight": true
809
+ },
810
+ {
811
+ "describe": "Only parent components that create subcomponents(either in their markup or programmatically) can handle events.",
812
+ "isRight": false
813
+ },
814
+ {
815
+ "describe": "lf a container component needs to handle a component event, add a handleFacets=\"true\" attribute to its handler.",
816
+ "isRight": true
817
+ },
818
+ {
819
+ "describe": "Depending on the current propagation phase, calling event.stopPropagation( ) may not propagation.",
820
+ "isRight": false
821
+ }
822
+ ],
823
+ "hashCode": "1988673289",
824
+ "analysis": ""
825
+ },
826
+ {
827
+ "describe": "Which three steps allow a custom SVG to be included in a Lightning web component?Choose 3 answers",
828
+ "answerOptions": [
829
+ {
830
+ "describe": "Reference the getter in the HTML template.",
831
+ "isRight": false
832
+ },
833
+ {
834
+ "describe": "Upload the SVG as a static resource.",
835
+ "isRight": true
836
+ },
837
+ {
838
+ "describe": "Import the SVG as a content asset file.",
839
+ "isRight": false
840
+ },
841
+ {
842
+ "describe": "Import the static resource and provide a getter for it in JavaScript.",
843
+ "isRight": true
844
+ },
845
+ {
846
+ "describe": "Reference the import in the HTML template.",
847
+ "isRight": true
848
+ }
849
+ ],
850
+ "hashCode": "1988673076",
851
+ "analysis": ""
852
+ },
853
+ {
854
+ "describe": "A developer must troubleshoot to pinpoint the causes of performance issues when a custom page loads in their org.\nWhich tool should the developer use to troubleshoot?",
855
+ "answerOptions": [
856
+ {
857
+ "describe": "AppExchange",
858
+ "isRight": false
859
+ },
860
+ {
861
+ "describe": "Developer Console",
862
+ "isRight": true
863
+ },
864
+ {
865
+ "describe": "Visual Studio Code IDE",
866
+ "isRight": false
867
+ },
868
+ {
869
+ "describe": "Setup Menu",
870
+ "isRight": false
871
+ }
872
+ ],
873
+ "hashCode": "1988673325",
874
+ "analysis": ""
875
+ },
876
+ {
877
+ "describe": "Which Salesforce org has a complete duplicate copy of the production org including data and configuration?",
878
+ "answerOptions": [
879
+ {
880
+ "describe": "Full Sandbox",
881
+ "isRight": true
882
+ },
883
+ {
884
+ "describe": "Developer Pro Sandbox",
885
+ "isRight": false
886
+ },
887
+ {
888
+ "describe": "Production",
889
+ "isRight": false
890
+ },
891
+ {
892
+ "describe": "Partial Copy Sandbox",
893
+ "isRight": false
894
+ }
895
+ ],
896
+ "hashCode": "1988673203",
897
+ "analysis": ""
898
+ },
899
+ {
900
+ "describe": "A developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunityLineItem trigger.\nWhich method allows access to the price book?",
901
+ "answerOptions": [
902
+ {
903
+ "describe": "Use Test.getStandardPricebookId() to get the standard price book ID.",
904
+ "isRight": true
905
+ },
906
+ {
907
+ "describe": "Use @TestVisible to allow the test method to see the standard price book.",
908
+ "isRight": false
909
+ },
910
+ {
911
+ "describe": "Use @IsTest(SeeAllData=true) and delete the existing standard price book.",
912
+ "isRight": false
913
+ },
914
+ {
915
+ "describe": "Use Test.loadData() and a static resource to load a standard price book.",
916
+ "isRight": false
917
+ }
918
+ ],
919
+ "hashCode": "1988672302",
920
+ "analysis": ""
921
+ },
922
+ {
923
+ "describe": "Which Salesforce org has a complete duplicate copy of the production org including data and configuration?",
924
+ "answerOptions": [
925
+ {
926
+ "describe": "Developer Pro Sandbox",
927
+ "isRight": false
928
+ },
929
+ {
930
+ "describe": "Production",
931
+ "isRight": false
932
+ },
933
+ {
934
+ "describe": "Partial Copy Sandbox",
935
+ "isRight": false
936
+ },
937
+ {
938
+ "describe": "Full Sandbox",
939
+ "isRight": true
940
+ }
941
+ ],
942
+ "hashCode": "1988673112",
943
+ "analysis": ""
944
+ },
945
+ {
946
+ "describe": "A development team wants to use a deployment script to automatically deploy to a sandbox during their deployment cycles.\nWhich tool should they use to deploy to the sandbox?",
947
+ "answerOptions": [
948
+ {
949
+ "describe": "Ant Migration Tool",
950
+ "isRight": true
951
+ },
952
+ {
953
+ "describe": "Developer Console",
954
+ "isRight": false
955
+ },
956
+ {
957
+ "describe": "VSCode",
958
+ "isRight": false
959
+ },
960
+ {
961
+ "describe": "Change Sets",
962
+ "isRight": false
963
+ }
964
+ ],
965
+ "hashCode": "1988673135",
966
+ "analysis": ""
967
+ },
968
+ {
969
+ "describe": "What should a developer use to script the deployment and unit test execution as part of continuous Integration?",
970
+ "answerOptions": [
971
+ {
972
+ "describe": "Execute Anonymous",
973
+ "isRight": false
974
+ },
975
+ {
976
+ "describe": "VS Code",
977
+ "isRight": false
978
+ },
979
+ {
980
+ "describe": "Developer Console",
981
+ "isRight": false
982
+ },
983
+ {
984
+ "describe": "Salesforce CLI",
985
+ "isRight": true
986
+ }
987
+ ],
988
+ "hashCode": "1988674160",
989
+ "analysis": ""
990
+ },
991
+ {
992
+ "describe": "What should a developer do to check the code coverage of a class after running all tests?",
993
+ "answerOptions": [
994
+ {
995
+ "describe": "Select and run the class on the Apex Test Execution page in the Developer Console.",
996
+ "isRight": false
997
+ },
998
+ {
999
+ "describe": "View the Code Coverage column in the list view on the Apex Classes page.",
1000
+ "isRight": false
1001
+ },
1002
+ {
1003
+ "describe": "View the Code Coverage percentage for the class using the Overall Code Coverage panel in the Developer Console Tests tab.",
1004
+ "isRight": true
1005
+ },
1006
+ {
1007
+ "describe": "View the Class Test Percentage tab on the Apex Class list view in Salesforce Setup.",
1008
+ "isRight": false
1009
+ }
1010
+ ],
1011
+ "hashCode": "1988673327",
1012
+ "analysis": ""
1013
+ },
1014
+ {
1015
+ "describe": "While working in a sandbox an Apex test fails when run in the Test Framework, but the Apex test logic succeeds with no exceptions or errors when run in the Developer Console.\n\nWhy did the method fail in the sandbox test framework but succeed in the Developer Console?",
1016
+ "answerOptions": [
1017
+ {
1018
+ "describe": "The test method does not use System.runAs to execute as a specific user. ",
1019
+ "isRight": false
1020
+ },
1021
+ {
1022
+ "describe": "The test method is calling an @future method.",
1023
+ "isRight": false
1024
+ },
1025
+ {
1026
+ "describe": "The test method has a syntax error in the code. ",
1027
+ "isRight": false
1028
+ },
1029
+ {
1030
+ "describe": "The test method relies on exiting data in the sandbox.",
1031
+ "isRight": true
1032
+ }
1033
+ ],
1034
+ "hashCode": "1988673232",
1035
+ "analysis": ""
1036
+ },
1037
+ {
1038
+ "describe": "A developer observes that an Apex test method fails in the Sandbox. To identify the issue, the developer copies the code inside the test method and execute it \nvia the Execute Anonymous tool in the Developer Console. The code then executes with no exceptions or errors.\nWhy did the test method fail in the sandbox and pass in the Developer Console?",
1039
+ "answerOptions": [
1040
+ {
1041
+ "describe": "The test method does not use System.runAs to execute as a specific user.",
1042
+ "isRight": false
1043
+ },
1044
+ {
1045
+ "describe": "A developer needs to provide way to mass edit, update and delete records from list view, which two ways can this be achieved? Choose 2",
1046
+ "isRight": false
1047
+ },
1048
+ {
1049
+ "describe": "The test method relies on existing data in the sandbox.",
1050
+ "isRight": true
1051
+ },
1052
+ {
1053
+ "describe": "The test method has syntax error in the code.",
1054
+ "isRight": false
1055
+ }
1056
+ ],
1057
+ "hashCode": "1988673074",
1058
+ "analysis": ""
1059
+ },
1060
+ {
1061
+ "describe": "The Account object in an organization has a master detail relationship to a child object called Branch. The following automations exist:\nRollup summary fields.\nCustom validation rules\nDuplicate rules\nA developer created a trigger on the Account object.\nWhat two things should the developer consider while testing the trigger code?\nChoose 2 answers",
1062
+ "answerOptions": [
1063
+ {
1064
+ "describe": "Rollup summary fields can cause the parent record to go through Save.",
1065
+ "isRight": true
1066
+ },
1067
+ {
1068
+ "describe": "The trigger may fire multiple times during a transaction.",
1069
+ "isRight": true
1070
+ },
1071
+ {
1072
+ "describe": "Duplicate rules are executed once all DML operations commit to the database.",
1073
+ "isRight": false
1074
+ },
1075
+ {
1076
+ "describe": "The validation rules will cause the trigger to fire again.",
1077
+ "isRight": false
1078
+ }
1079
+ ],
1080
+ "hashCode": "1988674104",
1081
+ "analysis": ""
1082
+ },
1083
+ {
1084
+ "describe": "Where are two locations a developer can look to find information about the status of asynchronous or future calls? Choose 2 answers",
1085
+ "answerOptions": [
1086
+ {
1087
+ "describe": "Time-Based Workflow Monitor",
1088
+ "isRight": false
1089
+ },
1090
+ {
1091
+ "describe": "Apex Flex Queue",
1092
+ "isRight": true
1093
+ },
1094
+ {
1095
+ "describe": "Apex Jobs",
1096
+ "isRight": true
1097
+ },
1098
+ {
1099
+ "describe": "Paused Flow Interviews component",
1100
+ "isRight": false
1101
+ }
1102
+ ],
1103
+ "hashCode": "1988672363",
1104
+ "analysis": ""
1105
+ },
1106
+ {
1107
+ "describe": "Which three statements are true regarding custom exceptions in Apex? Choose 3 answers",
1108
+ "answerOptions": [
1109
+ {
1110
+ "describe": "A custom exception class cannot contain member variables or methods.",
1111
+ "isRight": false
1112
+ },
1113
+ {
1114
+ "describe": "A custom exception class can implement one or many interfaces.",
1115
+ "isRight": true
1116
+ },
1117
+ {
1118
+ "describe": "A custom exception class name must be end with \"Exception\".",
1119
+ "isRight": true
1120
+ },
1121
+ {
1122
+ "describe": "A custom exception class must extend the system Exception class.",
1123
+ "isRight": true
1124
+ },
1125
+ {
1126
+ "describe": "A custom exception class can extend other classes besides the Exception class.",
1127
+ "isRight": false
1128
+ }
1129
+ ],
1130
+ "hashCode": "1988672301",
1131
+ "analysis": ""
1132
+ },
1133
+ {
1134
+ "describe": "Which three statements are accurate about debug logs?\nChoose 3 answers",
1135
+ "answerOptions": [
1136
+ {
1137
+ "describe": "Debug log levels are cumulative; where FINE log level includes all events logged at the DEBUG, INFO,WARN,and ERROR levels.",
1138
+ "isRight": false
1139
+ },
1140
+ {
1141
+ "describe": "The maximum size of a debug log is 5 MB.",
1142
+ "isRight": false
1143
+ },
1144
+ {
1145
+ "describe": "Only the 20 most recent debug logs for a user are kept.",
1146
+ "isRight": true
1147
+ },
1148
+ {
1149
+ "describe": "Debug logs can be set for specific users, classes, and triggers.",
1150
+ "isRight": true
1151
+ },
1152
+ {
1153
+ "describe": "System debug logs are retained for 24 hours.",
1154
+ "isRight": true
1155
+ }
1156
+ ],
1157
+ "hashCode": "1988674098",
1158
+ "analysis": ""
1159
+ },
1160
+ {
1161
+ "describe": "For which three items can a trace flag be configured? Choose 3 answers",
1162
+ "answerOptions": [
1163
+ {
1164
+ "describe": "Flow",
1165
+ "isRight": false
1166
+ },
1167
+ {
1168
+ "describe": "Visualforce",
1169
+ "isRight": false
1170
+ },
1171
+ {
1172
+ "describe": "Apex Class",
1173
+ "isRight": true
1174
+ },
1175
+ {
1176
+ "describe": "User",
1177
+ "isRight": true
1178
+ },
1179
+ {
1180
+ "describe": "Apex Trigger",
1181
+ "isRight": true
1182
+ }
1183
+ ],
1184
+ "hashCode": "1988673196",
1185
+ "analysis": ""
1186
+ },
1187
+ {
1188
+ "describe": "A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles.\n\nWhich two tools can they use to run a script that deploys to a sandbox? Choose 2 answers",
1189
+ "answerOptions": [
1190
+ {
1191
+ "describe": "Change Sets",
1192
+ "isRight": false
1193
+ },
1194
+ {
1195
+ "describe": "SFDX CLI",
1196
+ "isRight": true
1197
+ },
1198
+ {
1199
+ "describe": "Developer Console",
1200
+ "isRight": false
1201
+ },
1202
+ {
1203
+ "describe": "Ant Migration Tool",
1204
+ "isRight": true
1205
+ }
1206
+ ],
1207
+ "hashCode": "1988673229",
1208
+ "analysis": ""
1209
+ },
1210
+ {
1211
+ "describe": "A developer must create a CreditCardPayment class that provides an implementation of an existing Payment class.\npublic virtual class Payment{\n public virtual void makePayment(Decimal amount) { /*implementation*/}\n}\nWhich is the correct implementation?",
1212
+ "answerOptions": [
1213
+ {
1214
+ "describe": "public class CreditCardPayment extends Payment{\n public virtual void makePayment(Decimal amount){/*implementation*/}\n}",
1215
+ "isRight": false
1216
+ },
1217
+ {
1218
+ "describe": "public class CreditCardPayment extends Payment{\n public override void makePayment(Decimal amount){/*implementation*/}\n}",
1219
+ "isRight": true
1220
+ },
1221
+ {
1222
+ "describe": "public class CreditCardPayment implements Payment{\n public override void makePayment(Decimal amount){/*implementation*/}\n}",
1223
+ "isRight": false
1224
+ },
1225
+ {
1226
+ "describe": "public class CreditCardPayment implements Payment{\n public virtual void makePayment(Decimal amount){/*implementation*/}\n}",
1227
+ "isRight": false
1228
+ }
1229
+ ],
1230
+ "hashCode": "1988674197",
1231
+ "analysis": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_extending.htm?search_text=virtual"
1232
+ },
1233
+ {
1234
+ "describe": "<p>What is the result of the following code snippet?</p><p><br/></p><p>public void doWork(Account acct){</p><p>&nbsp; &nbsp; &nbsp; for (Integer i = 0; i &lt;= 200; i++){</p><p>&nbsp; &nbsp; &nbsp; &nbsp; insert acct;</p><p>&nbsp; &nbsp; &nbsp; }</p><p>&nbsp;}</p><p><br/></p>",
1235
+ "answerOptions": [
1236
+ {
1237
+ "describe": "<p>0 Accounts are inserted.</p>",
1238
+ "isRight": true
1239
+ },
1240
+ {
1241
+ "describe": "<p>1 Account is inserted.</p>",
1242
+ "isRight": false
1243
+ },
1244
+ {
1245
+ "describe": "<p>200 Accounts are inserted.</p>",
1246
+ "isRight": false
1247
+ },
1248
+ {
1249
+ "describe": "<p>201 Acconts are inerted.</p>",
1250
+ "isRight": false
1251
+ }
1252
+ ],
1253
+ "hashCode": "1988674282",
1254
+ "analysis": ""
1255
+ },
1256
+ {
1257
+ "describe": "<p>The orderHelper class is a utility class that contains business logic for processing orders. Consider the code snippet:</p><p><br/></p><p>public class without sharing OrderHelper{</p><p>//code implementation.</p><p>}</p><p><br/></p><p>A developer needs to create a constant named DELIVERY_MULTIPLIER with a value of 4.15, The valua of instant should not change at any time in the code.</p><p>How should the developer declare the DELIVERY_MULTIPLIER Constant to meet the business objectives?</p><p><br/></p>",
1258
+ "answerOptions": [
1259
+ {
1260
+ "describe": "<p>static decimal DELIVERY MULTIPLIER =4.15;</p>",
1261
+ "isRight": false
1262
+ },
1263
+ {
1264
+ "describe": "<p>static final decimal DELIVERY MULTIPLIER =4.15;</p>",
1265
+ "isRight": true
1266
+ },
1267
+ {
1268
+ "describe": "<p>decimal DELIVERY MULTIPLIER =4.15;</p>",
1269
+ "isRight": false
1270
+ },
1271
+ {
1272
+ "describe": "<p>constant decimal DELIVERY MULTIPLIER =4.15;</p>",
1273
+ "isRight": false
1274
+ }
1275
+ ],
1276
+ "hashCode": "1988675000",
1277
+ "analysis": ""
1278
+ },
1279
+ {
1280
+ "describe": "A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable interfaces.\nPublic interface Sortable{\nvoid sort();\n}\nPublic interface Drawable{\nvoid draw();\n}\nWhich is the correct implementation?",
1281
+ "answerOptions": [
1282
+ {
1283
+ "describe": "public class DrawList implements Sortable, implements Drawable{\n\n public void sort() { /*implementation*/ }\n\n public void draw(){ /*implementation*/ }\n\n}",
1284
+ "isRight": false
1285
+ },
1286
+ {
1287
+ "describe": "public class DrawList extends Sortable, Drawable{\n public void sort() { /*implementation*/ }\n public void draw(){ /*implementation*/ }\n}",
1288
+ "isRight": false
1289
+ },
1290
+ {
1291
+ "describe": "public class DrawList extends Sortable, extends Drawable{\n public void sort() { /*implementation*/ }\n public void draw(){ /*implementation*/ }\n}",
1292
+ "isRight": false
1293
+ },
1294
+ {
1295
+ "describe": "public class DrawList implements Sortable, Drawable{\n public void sort() { /*implementation*/ }\n public void draw(){ /*implementation*/ }\n}",
1296
+ "isRight": true
1297
+ }
1298
+ ],
1299
+ "hashCode": "1988674219",
1300
+ "analysis": ""
1301
+ },
1302
+ {
1303
+ "describe": "A developer needs to prevent the creation of Request records when certain exist in the system. A RequestLogic class exists that checks the conditions.\nWhat is the correct implementation?",
1304
+ "answerOptions": [
1305
+ {
1306
+ "describe": "trigger RequestTrigger on Request (before insert){\nRequestLogic.validateRecords(trigger.new);\n}",
1307
+ "isRight": true
1308
+ },
1309
+ {
1310
+ "describe": "trigger RequestTrigger on Request (after insert){\nRequestLogic.validateRecords(trigger.new);\n}",
1311
+ "isRight": false
1312
+ },
1313
+ {
1314
+ "describe": "trigger RequestTrigger on Request (after insert){\nif(RequestLogic.isValid(Request))\nrequest.addError('Your request cannot be created at this time.');\n}",
1315
+ "isRight": false
1316
+ },
1317
+ {
1318
+ "describe": "trigger RequestTrigger on Request (before insert){\nif(RequestLogic.isValid(Request))\nrequest.addError('Your request cannot be created at this time.');\n}",
1319
+ "isRight": false
1320
+ }
1321
+ ],
1322
+ "hashCode": "1988674222",
1323
+ "analysis": ""
1324
+ },
1325
+ {
1326
+ "describe": "<p>A Next Best Action strategy uses an Enhance Element that invokes an Apex method to determine a discount level for a Contact, based on a number of factors.\nWhat is the correct definition of the Apex method?</p>",
1327
+ "answerOptions": [
1328
+ {
1329
+ "describe": "<p>&nbsp;@InvocableMethod</p><p>&nbsp;global static List&lt;List&lt;Recommendation&gt;&gt;</p><p>&nbsp;getLevel (List&lt;ContactWrapper&gt; input)</p><p>&nbsp;{ /*implementation*/ }</p><p><br/></p>",
1330
+ "isRight": true
1331
+ },
1332
+ {
1333
+ "describe": "<p>&nbsp;@InvocableMethod</p><p>&nbsp;global List&lt;List&lt;Recommendation&gt;&gt;</p><p>&nbsp;getLevel (List&lt;ContactWrapper&gt; input)</p><p>&nbsp;{ /*implementation*/ }</p><p><br/></p>",
1334
+ "isRight": false
1335
+ },
1336
+ {
1337
+ "describe": "<p>&nbsp;@InvocableMethod</p><p>&nbsp;global Recommendation getLevel (ContactWrapper input)</p><p>&nbsp;{ /*implementation*/ }</p><p><br/></p>",
1338
+ "isRight": false
1339
+ },
1340
+ {
1341
+ "describe": "<p>&nbsp;@InvocableMethod</p><p>&nbsp;global static ListRecommendation</p><p>&nbsp;getLevel (List&lt;ContactWrapper&gt; input)</p><p>&nbsp;{ /*implementation*/ }</p><p><br/></p>",
1342
+ "isRight": false
1343
+ }
1344
+ ],
1345
+ "hashCode": "1988674290",
1346
+ "analysis": "<p>https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_InvocableMethod.htm</p>"
1347
+ },
1348
+ {
1349
+ "describe": "<p>What should a developer use to obtain the Id and Name of all the Leads, Accounts, and Contacts that have the company name &quot;UC&quot;?</p>",
1350
+ "answerOptions": [
1351
+ {
1352
+ "describe": "<p>SELECT lead(id, name), account(id, name), contact(id, name) FROM Lead, Account, Contact WHERE Name = &#39;UC&#39;</p>",
1353
+ "isRight": false
1354
+ },
1355
+ {
1356
+ "describe": "<p>FIND &#39;UC&#39; IN Name Fields RETURNING lead (id, name), account (id, name), contact (id, name)</p>",
1357
+ "isRight": true
1358
+ },
1359
+ {
1360
+ "describe": "<p>SELECT Lead.id, Lead.Name, Account.Id, Account.Name, Contact.Id, Contact.Name FROM Lead, Account, Contact WHERE CompanyName = &#39;UC&#39;</p>",
1361
+ "isRight": false
1362
+ },
1363
+ {
1364
+ "describe": "<p>FIND &#39;UC&#39; IN CompanyName Fields RETURNING lead(id, name), account(id, name), contact(id, name)</p>",
1365
+ "isRight": false
1366
+ }
1367
+ ],
1368
+ "hashCode": "1988674969",
1369
+ "analysis": ""
1370
+ },
1371
+ {
1372
+ "describe": "<p>Management asked for opportunities to be automatically created for accounts with annual revenue greater then $1000000. A developer created the following trigger on the Account object to satisfy this requirement.</p><p>For(Account a : Trigger.new) {</p><p>&nbsp; &nbsp; &nbsp; if(a.AnnualRevenue &gt; 1000000) {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List&lt;Opportunity&gt; oppList = [SELECT Id FROM Opportunity WHERE accountId = :a.Id];</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(oppList.size() ==0) {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Opportunity oppty = new Opportunity(Name = a.Name, StageName = &#39;Prospecting&#39;, CloseDate = system.today().addDays(30);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; insert oppty;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</p><p>&nbsp; &nbsp; }</p><p>}</p><p>Users are able to update the account records via the UI and can see an opportunity created for high annual revenue accounts. However, when the administrator tries to upload a list of 179 accounts using Data Loader, if fails with System.Exception errors.</p><p>Which two actions should the developer take to fix the code segment shown above? Choose 2 answers</p><p><br/></p>",
1373
+ "answerOptions": [
1374
+ {
1375
+ "describe": "<p>Move the DML that saves opportunities outside the for loop.</p>",
1376
+ "isRight": true
1377
+ },
1378
+ {
1379
+ "describe": "<p>Use Database.query to query the opportunities.</p>",
1380
+ "isRight": false
1381
+ },
1382
+ {
1383
+ "describe": "<p>Check if all the required fields for Opportunity are being added on creation.</p>",
1384
+ "isRight": false
1385
+ },
1386
+ {
1387
+ "describe": "<p>Query for existing opportunities outside the for loop.</p>",
1388
+ "isRight": true
1389
+ }
1390
+ ],
1391
+ "hashCode": "1988674996",
1392
+ "analysis": ""
1393
+ },
1394
+ {
1395
+ "describe": "<p>Which code in a Visualforce page and/or cotroller might present a security vulnerability?</p>",
1396
+ "answerOptions": [
1397
+ {
1398
+ "describe": "<p>&lt;apex : outputText escape=&quot;false&quot; value= &quot;{ !$CurrentPage . parameters .userInput } &quot; /&gt;</p>",
1399
+ "isRight": true
1400
+ },
1401
+ {
1402
+ "describe": "<p>&lt;apex : outputField value=&quot;{ !ctrl . userInput }&quot; / &gt;</p>",
1403
+ "isRight": false
1404
+ },
1405
+ {
1406
+ "describe": "<p>&lt;apex : outputText value=&quot;{ !$CurrentPage . parameters . userInput } &quot; /&gt;</p>",
1407
+ "isRight": false
1408
+ },
1409
+ {
1410
+ "describe": "<p>&lt;apex : outputField escape=&quot;false&quot; value=&quot;{ !ctrl . userInput }&quot; /&gt;</p>",
1411
+ "isRight": false
1412
+ }
1413
+ ],
1414
+ "hashCode": "1988674283",
1415
+ "analysis": ""
1416
+ },
1417
+ {
1418
+ "describe": "<p>Which code displays the contents of a Visualforce page as a PDF?</p>",
1419
+ "answerOptions": [
1420
+ {
1421
+ "describe": "<p>&lt;apex:page renderAs=&quot;pdf&quot;&gt;</p>",
1422
+ "isRight": true
1423
+ },
1424
+ {
1425
+ "describe": "<p>&lt;apex:page contentType=&quot;pdf&quot;&gt;</p>",
1426
+ "isRight": false
1427
+ },
1428
+ {
1429
+ "describe": "<p>&lt;apex:page contentType=&quot;application/pdf&quot;&gt;</p>",
1430
+ "isRight": false
1431
+ },
1432
+ {
1433
+ "describe": "<p>&lt;apex:page renderAs=&quot;application/pdf&quot;&gt;</p>",
1434
+ "isRight": false
1435
+ }
1436
+ ],
1437
+ "hashCode": "1988674193",
1438
+ "analysis": ""
1439
+ },
1440
+ {
1441
+ "describe": "<p>A developer has a Visualforce page and custom controller to save Account records. The developer wants to display any validation rule violations to the user.\n\nHow can the developer make sure that validation rule violations are displayed?</p>",
1442
+ "answerOptions": [
1443
+ {
1444
+ "describe": "<p>Include &lt;apex:messages&gt; on the Visualforce page.</p>",
1445
+ "isRight": true
1446
+ },
1447
+ {
1448
+ "describe": "<p>Perform the DML using the Database.upsert( ) method.</p>",
1449
+ "isRight": false
1450
+ },
1451
+ {
1452
+ "describe": "<p>Add custom controller attributes to display the message.</p>",
1453
+ "isRight": false
1454
+ },
1455
+ {
1456
+ "describe": "<p>Use a try/catch with a custom exception class.</p>",
1457
+ "isRight": false
1458
+ }
1459
+ ],
1460
+ "hashCode": "1988674196",
1461
+ "analysis": ""
1462
+ },
1463
+ {
1464
+ "describe": "<p>Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records.\nWhich Visualforce feature supports this requirement?</p>",
1465
+ "answerOptions": [
1466
+ {
1467
+ "describe": "<p>recordSetVar page attribute</p>",
1468
+ "isRight": true
1469
+ },
1470
+ {
1471
+ "describe": "<p>&lt;apex:listButton&gt; tag</p>",
1472
+ "isRight": false
1473
+ },
1474
+ {
1475
+ "describe": "<p>custom controller</p>",
1476
+ "isRight": false
1477
+ },
1478
+ {
1479
+ "describe": "<p>controller extension</p>",
1480
+ "isRight": false
1481
+ }
1482
+ ],
1483
+ "hashCode": "1988674226",
1484
+ "analysis": ""
1485
+ },
1486
+ {
1487
+ "describe": "<p>Which three code lines are required to create a Lightning component on a Visualforce page? Choose 3 answers</p>",
1488
+ "answerOptions": [
1489
+ {
1490
+ "describe": "<p>$lightning.useComponent</p>",
1491
+ "isRight": false
1492
+ },
1493
+ {
1494
+ "describe": "<p>&lt;apex:slds/&gt;</p>",
1495
+ "isRight": false
1496
+ },
1497
+ {
1498
+ "describe": "<p>$lightning.use</p>",
1499
+ "isRight": true
1500
+ },
1501
+ {
1502
+ "describe": "<p>&lt;apex:includeLightning/&gt;</p>",
1503
+ "isRight": true
1504
+ },
1505
+ {
1506
+ "describe": "<p>$Lightning.createComponent</p>",
1507
+ "isRight": true
1508
+ }
1509
+ ],
1510
+ "hashCode": "1988674968",
1511
+ "analysis": ""
1512
+ },
1513
+ {
1514
+ "describe": "<p>A developer created a Lightning web component called statusComponent to be inserted into the Account record page.\nWhich two things should the developer do to make this component available? Choose 2 answers</p>",
1515
+ "answerOptions": [
1516
+ {
1517
+ "describe": "<p>Add &lt;isExposed&gt;true&lt;/isExposed&gt; to the statusComponent.js-meta.xml file.</p>",
1518
+ "isRight": true
1519
+ },
1520
+ {
1521
+ "describe": "<p>Add &lt;target&gt;lightning__RecordPage&lt;/target&gt; to the statusComponent.js-meta.xml file.</p>",
1522
+ "isRight": true
1523
+ },
1524
+ {
1525
+ "describe": "<p>Add &lt;masterLabel&gt;Account&lt;/masterLabel&gt; to the statusComponent.js-meta.xml file.</p>",
1526
+ "isRight": false
1527
+ },
1528
+ {
1529
+ "describe": "<p>Add &lt;target&gt;lightning__RecordPage&lt;/target&gt; to the statusComponent.js file.</p>",
1530
+ "isRight": false
1531
+ }
1532
+ ],
1533
+ "hashCode": "1988675025",
1534
+ "analysis": ""
1535
+ }
1536
+ ],
1537
+ "hashCode": "525179575"
1538
+ }