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

Sign up to get free protection for your applications and to get access to all the features.
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,1534 @@
1
+ {
2
+ "title": "Dev1模拟卷B",
3
+ "category": "Dev1-自由部落侠",
4
+ "questions": [
5
+ {
6
+ "describe": "Which aspect of Apex programming is limited due to multitenancy?",
7
+ "answerOptions": [
8
+ {
9
+ "describe": "The number of methods in an Apex class",
10
+ "isRight": false
11
+ },
12
+ {
13
+ "describe": "The number of records returned from database queries",
14
+ "isRight": true
15
+ },
16
+ {
17
+ "describe": "The number of active Apex classes",
18
+ "isRight": false
19
+ },
20
+ {
21
+ "describe": "The number of records processed in a loop.",
22
+ "isRight": false
23
+ }
24
+ ],
25
+ "hashCode": "1988673041",
26
+ "analysis": ""
27
+ },
28
+ {
29
+ "describe": "In the Lightning UI, where should a developer look to find information about a Paused Flow Interview?",
30
+ "answerOptions": [
31
+ {
32
+ "describe": "In the system debug log by filtering on Paused Flow Interview",
33
+ "isRight": false
34
+ },
35
+ {
36
+ "describe": "On the Paused Flow Interviews related list for a given record",
37
+ "isRight": false
38
+ },
39
+ {
40
+ "describe": "On the Paused Flow Interviews component on the Home page",
41
+ "isRight": true
42
+ },
43
+ {
44
+ "describe": "In the Paused Interviews section of the Apex Flex Queue",
45
+ "isRight": false
46
+ }
47
+ ],
48
+ "hashCode": "1988673326",
49
+ "analysis": ""
50
+ },
51
+ {
52
+ "describe": "What is a benefit of developing applications in a multi-tenant environment?",
53
+ "answerOptions": [
54
+ {
55
+ "describe": "Default out-of-the-box configuration",
56
+ "isRight": true
57
+ },
58
+ {
59
+ "describe": "Access to predefined computing resources",
60
+ "isRight": false
61
+ },
62
+ {
63
+ "describe": "Unlimited processing power and memory",
64
+ "isRight": false
65
+ },
66
+ {
67
+ "describe": "Enforced best practices for development",
68
+ "isRight": false
69
+ }
70
+ ],
71
+ "hashCode": "1988673199",
72
+ "analysis": ""
73
+ },
74
+ {
75
+ "describe": "Which process automation should be used to send an outbound message without using Apex code?",
76
+ "answerOptions": [
77
+ {
78
+ "describe": "Flow Builder",
79
+ "isRight": false
80
+ },
81
+ {
82
+ "describe": "Process Builder",
83
+ "isRight": false
84
+ },
85
+ {
86
+ "describe": "Approval Process",
87
+ "isRight": false
88
+ },
89
+ {
90
+ "describe": "Workflow Rule",
91
+ "isRight": true
92
+ }
93
+ ],
94
+ "hashCode": "1988672329",
95
+ "analysis": ""
96
+ },
97
+ {
98
+ "describe": "An org tracks customer orders on an Order object and the line items of an Order on the Line Item object. The Line Item object has a \nMaster/Detail relationship to the Order object. A developer has requirement to calculate the order amount on an Order and the line amount \non each Line Item based on quantity and price.\nWhat is the correct implementation?",
99
+ "answerOptions": [
100
+ {
101
+ "describe": "Write a process an the Line Item that calculated the item amount and order amount and updates the fields on the Line Item and the Order.",
102
+ "isRight": false
103
+ },
104
+ {
105
+ "describe": "Implement the line amount as a numeric formula field and the order amount as a roll-up summary field.",
106
+ "isRight": true
107
+ },
108
+ {
109
+ "describe": "Implement the line amount as a currency field and the order amount as SUM formula field.",
110
+ "isRight": false
111
+ },
112
+ {
113
+ "describe": "Write a single before trigger on the Line Item that calculates the item amount and updates the order amount on the Order.",
114
+ "isRight": false
115
+ }
116
+ ],
117
+ "hashCode": "1988673045",
118
+ "analysis": ""
119
+ },
120
+ {
121
+ "describe": "Universal Containers stores Orders and Line Items in Salesforce. For security reasons, financial representatives are allowed to see information\non the Order such as order amount, but they are not allowed to see the Line Item on the Order.\nWhich type of relationship should be user?",
122
+ "answerOptions": [
123
+ {
124
+ "describe": "Indirect Lookup",
125
+ "isRight": false
126
+ },
127
+ {
128
+ "describe": "Lookup",
129
+ "isRight": true
130
+ },
131
+ {
132
+ "describe": "Master-Detail",
133
+ "isRight": false
134
+ },
135
+ {
136
+ "describe": "Direct Lookup",
137
+ "isRight": false
138
+ }
139
+ ],
140
+ "hashCode": "1988672368",
141
+ "analysis": ""
142
+ },
143
+ {
144
+ "describe": "A large corporation stores Orders and Line Items in Salesforce for different lines of business. Users are allowed see Orders across the entire organization,but,for security purposes, should only be able to see the Line Orders in their line of business.\nWhich type of relationship should be used between Line Items and Orders?",
145
+ "answerOptions": [
146
+ {
147
+ "describe": "Master-Detail",
148
+ "isRight": true
149
+ },
150
+ {
151
+ "describe": "Lookup",
152
+ "isRight": false
153
+ },
154
+ {
155
+ "describe": "Direct Lookup",
156
+ "isRight": false
157
+ },
158
+ {
159
+ "describe": "Indirect Lookup",
160
+ "isRight": false
161
+ }
162
+ ],
163
+ "hashCode": "1988674161",
164
+ "analysis": ""
165
+ },
166
+ {
167
+ "describe": "A developer needs to join data received from an integration with an external system with parent records in Salesforce. The data set does not contain the Salesforce IDs of the parent records, but it does have a foreign key attribute that can be used to identify the parent.\n\nWhich action will allow the developer to relate records in the data model without knowing the salesforce ID?",
168
+ "answerOptions": [
169
+ {
170
+ "describe": "Create and populate a custom field on the parent object marked as an External ID.",
171
+ "isRight": true
172
+ },
173
+ {
174
+ "describe": "Create a custom field on the child object of type Lookup. ",
175
+ "isRight": false
176
+ },
177
+ {
178
+ "describe": "Create a custom field on the child object of type External Relationship.",
179
+ "isRight": false
180
+ },
181
+ {
182
+ "describe": "Create and populate a custom field on the parent object marked as Unique.",
183
+ "isRight": false
184
+ }
185
+ ],
186
+ "hashCode": "1988673292",
187
+ "analysis": ""
188
+ },
189
+ {
190
+ "describe": "A developer wants to import 500 Opportunity records into a sandbox.\nWhy should the developer choose to use Data Loader instead of Data Import Wizard?",
191
+ "answerOptions": [
192
+ {
193
+ "describe": "Data Import Wizard does not support Opportunities.",
194
+ "isRight": true
195
+ },
196
+ {
197
+ "describe": "Data Import Wizard can not import all 500 records.",
198
+ "isRight": false
199
+ },
200
+ {
201
+ "describe": "Data Loader runs from the developer's browser.",
202
+ "isRight": false
203
+ },
204
+ {
205
+ "describe": "Data Loader automatically relates Opportunities to Accounts.",
206
+ "isRight": false
207
+ }
208
+ ],
209
+ "hashCode": "1988673138",
210
+ "analysis": ""
211
+ },
212
+ {
213
+ "describe": "UC has implemented an order management application. Each Order can have one or more Order Line items. The order Line object is related to the Order via a master-detail relationship. For each Order Line item, the total price is calculated by multiplying the Order Line item price with the quantity ordered.\nWhat is the best practice to get the sum of all Order Line item totals on the Order record?",
214
+ "answerOptions": [
215
+ {
216
+ "describe": "Roll-up summary field",
217
+ "isRight": true
218
+ },
219
+ {
220
+ "describe": "Quick action",
221
+ "isRight": false
222
+ },
223
+ {
224
+ "describe": "Apex trigger",
225
+ "isRight": false
226
+ },
227
+ {
228
+ "describe": "Formula field",
229
+ "isRight": false
230
+ }
231
+ ],
232
+ "hashCode": "1988674071",
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": "In terms of the MVC paradigm,what are two advantages of lmplementing the viewlayer of application using Lightning Web Component-based development over Visualforce?\nChoose 2 answers",
260
+ "answerOptions": [
261
+ {
262
+ "describe": "Built-in standard and custom set controllers",
263
+ "isRight": false
264
+ },
265
+ {
266
+ "describe": "Log capturing via the Debug Logs Setup page",
267
+ "isRight": false
268
+ },
269
+ {
270
+ "describe": "Self-contained and reusable units of an application",
271
+ "isRight": true
272
+ },
273
+ {
274
+ "describe": "Rich component ecosystem",
275
+ "isRight": true
276
+ }
277
+ ],
278
+ "hashCode": "1988674130",
279
+ "analysis": ""
280
+ },
281
+ {
282
+ "describe": "Universal Containers decides to use exclusively declarative development to build out a new Salesforce application.\nWhich three options should be used to build out the database layer for the application? Choose 3 answers",
283
+ "answerOptions": [
284
+ {
285
+ "describe": "Relationships",
286
+ "isRight": true
287
+ },
288
+ {
289
+ "describe": "Flows",
290
+ "isRight": false
291
+ },
292
+ {
293
+ "describe": "Triggers",
294
+ "isRight": false
295
+ },
296
+ {
297
+ "describe": "Custom Objects and Fields",
298
+ "isRight": true
299
+ },
300
+ {
301
+ "describe": "Roll-up Summaries",
302
+ "isRight": true
303
+ }
304
+ ],
305
+ "hashCode": "1988673079",
306
+ "analysis": ""
307
+ },
308
+ {
309
+ "describe": "Which three process automations can immediately send an email notification to the owner of an Opportunity \nwhen its Amount is changed to be greater than $10.000? Choose 3 answers",
310
+ "answerOptions": [
311
+ {
312
+ "describe": "Escalation Rule",
313
+ "isRight": false
314
+ },
315
+ {
316
+ "describe": "Workflow Rule",
317
+ "isRight": true
318
+ },
319
+ {
320
+ "describe": "Process Builder",
321
+ "isRight": true
322
+ },
323
+ {
324
+ "describe": "Flow Builder",
325
+ "isRight": true
326
+ },
327
+ {
328
+ "describe": "Approval Process",
329
+ "isRight": false
330
+ }
331
+ ],
332
+ "hashCode": "1988672330",
333
+ "analysis": ""
334
+ },
335
+ {
336
+ "describe": "When importing and exporting data into Salesforce, Which two statement are true?\nChoose 2 answers",
337
+ "answerOptions": [
338
+ {
339
+ "describe": "Data import wizard is a client application provided by Salesforce.",
340
+ "isRight": false
341
+ },
342
+ {
343
+ "describe": "Developer and Developer Pro sandboxes have different storage limits.",
344
+ "isRight": true
345
+ },
346
+ {
347
+ "describe": "Bulk API can be used to import large data volumes in development environments without bypassing the storage limits.",
348
+ "isRight": true
349
+ },
350
+ {
351
+ "describe": "Bulk API can be used to bypass the storage limits when importing large data volumes in development environments.",
352
+ "isRight": false
353
+ }
354
+ ],
355
+ "hashCode": "1988673294",
356
+ "analysis": ""
357
+ },
358
+ {
359
+ "describe": "Which process automation should be used to post a message to Chatter without using Apex code?",
360
+ "answerOptions": [
361
+ {
362
+ "describe": "Outbound Message",
363
+ "isRight": false
364
+ },
365
+ {
366
+ "describe": "Entitlement Process",
367
+ "isRight": false
368
+ },
369
+ {
370
+ "describe": "Strategy Builder",
371
+ "isRight": false
372
+ },
373
+ {
374
+ "describe": "Flow Builder",
375
+ "isRight": true
376
+ }
377
+ ],
378
+ "hashCode": "1988674009",
379
+ "analysis": ""
380
+ },
381
+ {
382
+ "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?",
383
+ "answerOptions": [
384
+ {
385
+ "describe": "Outbound messaging",
386
+ "isRight": false
387
+ },
388
+ {
389
+ "describe": "Record-triggered flow",
390
+ "isRight": true
391
+ },
392
+ {
393
+ "describe": "Scheduled job",
394
+ "isRight": false
395
+ },
396
+ {
397
+ "describe": "Flow Orchestration",
398
+ "isRight": false
399
+ }
400
+ ],
401
+ "hashCode": "1995171549",
402
+ "analysis": ""
403
+ },
404
+ {
405
+ "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?",
406
+ "answerOptions": [
407
+ {
408
+ "describe": "Declare maxAttempts as a variable on a helper class.",
409
+ "isRight": false
410
+ },
411
+ {
412
+ "describe": "Declare maxAttempts as constant using the static and final keywords.",
413
+ "isRight": true
414
+ },
415
+ {
416
+ "describe": "Declare maxAttempts as a private static variable on a helper class. ",
417
+ "isRight": false
418
+ },
419
+ {
420
+ "describe": "Declare maxAttempts as a member variable on the trigger definition.",
421
+ "isRight": false
422
+ }
423
+ ],
424
+ "hashCode": "1988672305",
425
+ "analysis": ""
426
+ },
427
+ {
428
+ "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?",
429
+ "answerOptions": [
430
+ {
431
+ "describe": "The transaction fails and all the changes are rolled back.",
432
+ "isRight": true
433
+ },
434
+ {
435
+ "describe": "The transaction succeeds as long as the Contact trigger stack depth is less than 16.",
436
+ "isRight": false
437
+ },
438
+ {
439
+ "describe": "The transaction succeeds and all changes are committed to the database.",
440
+ "isRight": false
441
+ },
442
+ {
443
+ "describe": "The transaction fails only if the Contact trigger stack depth is greater or equal to 16.",
444
+ "isRight": false
445
+ }
446
+ ],
447
+ "hashCode": "1988673047",
448
+ "analysis": ""
449
+ },
450
+ {
451
+ "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?",
452
+ "answerOptions": [
453
+ {
454
+ "describe": "4",
455
+ "isRight": false
456
+ },
457
+ {
458
+ "describe": "2",
459
+ "isRight": true
460
+ },
461
+ {
462
+ "describe": "1",
463
+ "isRight": false
464
+ },
465
+ {
466
+ "describe": "3",
467
+ "isRight": false
468
+ }
469
+ ],
470
+ "hashCode": "1988672299",
471
+ "analysis": ""
472
+ },
473
+ {
474
+ "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?",
475
+ "answerOptions": [
476
+ {
477
+ "describe": "Entitlement Process",
478
+ "isRight": false
479
+ },
480
+ {
481
+ "describe": "Salesforce Flow",
482
+ "isRight": true
483
+ },
484
+ {
485
+ "describe": "Outbound Messaing",
486
+ "isRight": false
487
+ },
488
+ {
489
+ "describe": "Approval Process",
490
+ "isRight": false
491
+ }
492
+ ],
493
+ "hashCode": "1988674066",
494
+ "analysis": ""
495
+ },
496
+ {
497
+ "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?",
498
+ "answerOptions": [
499
+ {
500
+ "describe": " Create a schedule-triggered flow on ServiceJob__c",
501
+ "isRight": false
502
+ },
503
+ {
504
+ "describe": "Create an Apex trigger on ServiceJob__c",
505
+ "isRight": false
506
+ },
507
+ {
508
+ "describe": "Change TotalJobs__c to a roll-up summary field.",
509
+ "isRight": false
510
+ },
511
+ {
512
+ "describe": "Create a record-triggered flow on ServiceJob__c",
513
+ "isRight": true
514
+ }
515
+ ],
516
+ "hashCode": "1995171575",
517
+ "analysis": ""
518
+ },
519
+ {
520
+ "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?",
521
+ "answerOptions": [
522
+ {
523
+ "describe": "An Apex REST class",
524
+ "isRight": true
525
+ },
526
+ {
527
+ "describe": "An outbound message",
528
+ "isRight": false
529
+ },
530
+ {
531
+ "describe": "An Apex controller",
532
+ "isRight": false
533
+ },
534
+ {
535
+ "describe": "An invocable method",
536
+ "isRight": false
537
+ }
538
+ ],
539
+ "hashCode": "1988674033",
540
+ "analysis": ""
541
+ },
542
+ {
543
+ "describe": "Which two process automations can be used on their own to send Salesforce Outbound Message?\nChoose 2 answers",
544
+ "answerOptions": [
545
+ {
546
+ "describe": "Process Builder",
547
+ "isRight": false
548
+ },
549
+ {
550
+ "describe": "Workfow Rule",
551
+ "isRight": true
552
+ },
553
+ {
554
+ "describe": "Flow Builder",
555
+ "isRight": true
556
+ },
557
+ {
558
+ "describe": "Strategy Builder",
559
+ "isRight": false
560
+ }
561
+ ],
562
+ "hashCode": "1988674134",
563
+ "analysis": ""
564
+ },
565
+ {
566
+ "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",
567
+ "answerOptions": [
568
+ {
569
+ "describe": "The Apex governor limits are reset for each iteration of execute() method.",
570
+ "isRight": true
571
+ },
572
+ {
573
+ "describe": "The Apex governor limits cannot be exceeded due to the asynchronous nature of the transaction.",
574
+ "isRight": true
575
+ },
576
+ {
577
+ "describe": "The Apex governor limits might be higher due to the asynchronous nature of the transaction.",
578
+ "isRight": false
579
+ },
580
+ {
581
+ "describe": "The Apex governor limits are relaxed while calling the constructor of the Apex class.",
582
+ "isRight": false
583
+ }
584
+ ],
585
+ "hashCode": "1988673048",
586
+ "analysis": ""
587
+ },
588
+ {
589
+ "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",
590
+ "answerOptions": [
591
+ {
592
+ "describe": "Unify all three triggers in a single trigger on the Expense__c object that includes all events.",
593
+ "isRight": true
594
+ },
595
+ {
596
+ "describe": "Create helper classes to execute the appropriate logic when a record is saved.",
597
+ "isRight": true
598
+ },
599
+ {
600
+ "describe": "Maintain all three triggers on the Expense__c object, but move the Apex logic out of the trigger definition.",
601
+ "isRight": false
602
+ },
603
+ {
604
+ "describe": "Unify the before insert and before update triggers and use Process Builder for the delete action.",
605
+ "isRight": false
606
+ }
607
+ ],
608
+ "hashCode": "1988673136",
609
+ "analysis": ""
610
+ },
611
+ {
612
+ "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>",
613
+ "answerOptions": [
614
+ {
615
+ "describe": "<p>Fast Field Updates record-triggered flow</p>",
616
+ "isRight": true
617
+ },
618
+ {
619
+ "describe": "<p>Approval process</p>",
620
+ "isRight": false
621
+ },
622
+ {
623
+ "describe": "<p>Quick actions</p>",
624
+ "isRight": false
625
+ },
626
+ {
627
+ "describe": "<p>Account trigger</p>",
628
+ "isRight": true
629
+ }
630
+ ],
631
+ "hashCode": "1988674095",
632
+ "analysis": ""
633
+ },
634
+ {
635
+ "describe": "UC has a Visualforce page that displays a table of every Container__c being rented by a given Account. Recently this page is failing with a view state limit because some of the customers rent over 10,000 containers.\nWhat should a developer change about the Visualforce page to help with the page load errors?",
636
+ "answerOptions": [
637
+ {
638
+ "describe": "Implement pagination with a StandardSetController.",
639
+ "isRight": true
640
+ },
641
+ {
642
+ "describe": "Implement pagination with an OffsetController.",
643
+ "isRight": false
644
+ },
645
+ {
646
+ "describe": "Use JavaScript remoting with SOQL Offset.",
647
+ "isRight": false
648
+ },
649
+ {
650
+ "describe": "Use lazy loading and a transient List variable.",
651
+ "isRight": false
652
+ }
653
+ ],
654
+ "hashCode": "1988674189",
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": "A developer needs to create a custom button for the Account object that, when clicked, will perform a series of calculations and redirect the user to a custom Visualforce page. The developer wants to ensure the Visualforce page matches the Lightning Experience user interface.\nWhat attribute needs to be defined within the <apex:page> tag to meet the requirement?",
682
+ "answerOptions": [
683
+ {
684
+ "describe": "applyHtmlTag=\"true\"",
685
+ "isRight": false
686
+ },
687
+ {
688
+ "describe": "wizard=\"true\"",
689
+ "isRight": false
690
+ },
691
+ {
692
+ "describe": "setup=\"true\"",
693
+ "isRight": false
694
+ },
695
+ {
696
+ "describe": "lightningStylesheets=\"true\"",
697
+ "isRight": true
698
+ }
699
+ ],
700
+ "hashCode": "1988674011",
701
+ "analysis": ""
702
+ },
703
+ {
704
+ "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?",
705
+ "answerOptions": [
706
+ {
707
+ "describe": "Flow Builder",
708
+ "isRight": false
709
+ },
710
+ {
711
+ "describe": "Lightning Component",
712
+ "isRight": true
713
+ },
714
+ {
715
+ "describe": "Approval Process",
716
+ "isRight": false
717
+ },
718
+ {
719
+ "describe": "Apex Trigger",
720
+ "isRight": false
721
+ }
722
+ ],
723
+ "hashCode": "1988674132",
724
+ "analysis": ""
725
+ },
726
+ {
727
+ "describe": "A Salesforce Administrator used Flow Builder to create a flow named \"accountOnboarding\". The flow must be used inside an Aura component.\nWhich tag should a developer use to display the flow in the component?",
728
+ "answerOptions": [
729
+ {
730
+ "describe": "lightning-flow",
731
+ "isRight": false
732
+ },
733
+ {
734
+ "describe": "aura:flow",
735
+ "isRight": false
736
+ },
737
+ {
738
+ "describe": "aura-flow",
739
+ "isRight": false
740
+ },
741
+ {
742
+ "describe": "lightning:flow",
743
+ "isRight": true
744
+ }
745
+ ],
746
+ "hashCode": "1988674008",
747
+ "analysis": ""
748
+ },
749
+ {
750
+ "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",
751
+ "answerOptions": [
752
+ {
753
+ "describe": "String nextPage = controller.save( ).getUrl( );",
754
+ "isRight": true
755
+ },
756
+ {
757
+ "describe": "Test.setCurrentPage(pageRef);",
758
+ "isRight": true
759
+ },
760
+ {
761
+ "describe": "insert pageRef;",
762
+ "isRight": false
763
+ },
764
+ {
765
+ "describe": "ApexPages.currentPage( ).getParameters( ).put('input', 'TestValue');",
766
+ "isRight": true
767
+ },
768
+ {
769
+ "describe": "public ExtendedController(ApexPages.StandardController cntrl) { }",
770
+ "isRight": false
771
+ }
772
+ ],
773
+ "hashCode": "1988674002",
774
+ "analysis": ""
775
+ },
776
+ {
777
+ "describe": "A developer needs to allow users to complete a form on an Account record that will create a record for a custom object. The form needs to display different fields depending on the user's job role. The functionality should only be available to a small group of users.\nWhich three things should the developer do to satisfy these requirements?\nChoose 3 answers",
778
+ "answerOptions": [
779
+ {
780
+ "describe": "Add a dynamic action to the user's assigned page layouts.",
781
+ "isRight": false
782
+ },
783
+ {
784
+ "describe": "Create a Lightning web component.",
785
+ "isRight": false
786
+ },
787
+ {
788
+ "describe": "Create a dynamic form.",
789
+ "isRight": true
790
+ },
791
+ {
792
+ "describe": "Add a dynamic action to the Account record page.",
793
+ "isRight": true
794
+ },
795
+ {
796
+ "describe": "Create a custom permission for the users.",
797
+ "isRight": true
798
+ }
799
+ ],
800
+ "hashCode": "1988674010",
801
+ "analysis": ""
802
+ },
803
+ {
804
+ "describe": "Which three web technologies can be integrated into a Visualforce page?",
805
+ "answerOptions": [
806
+ {
807
+ "describe": "JavaScript",
808
+ "isRight": true
809
+ },
810
+ {
811
+ "describe": "HTML",
812
+ "isRight": true
813
+ },
814
+ {
815
+ "describe": "Java",
816
+ "isRight": false
817
+ },
818
+ {
819
+ "describe": "CSS",
820
+ "isRight": true
821
+ },
822
+ {
823
+ "describe": "PHP",
824
+ "isRight": false
825
+ }
826
+ ],
827
+ "hashCode": "1988673078",
828
+ "analysis": ""
829
+ },
830
+ {
831
+ "describe": "Which three Salesforce resources can be accessed from a Lighting web component? Choose 3 answers",
832
+ "answerOptions": [
833
+ {
834
+ "describe": "All external libraries",
835
+ "isRight": false
836
+ },
837
+ {
838
+ "describe": "Static resources",
839
+ "isRight": true
840
+ },
841
+ {
842
+ "describe": "Content asset files",
843
+ "isRight": true
844
+ },
845
+ {
846
+ "describe": "Third-party web components",
847
+ "isRight": false
848
+ },
849
+ {
850
+ "describe": "SVG resources",
851
+ "isRight": true
852
+ }
853
+ ],
854
+ "hashCode": "1988673173",
855
+ "analysis": "https://developer.salesforce.com/docs/component-library/documentation/en/lwc/create_global_value_providers"
856
+ },
857
+ {
858
+ "describe": "Which two statements are true about Getter and Setter methods as they relate to Visualforce? Choose 2 answers",
859
+ "answerOptions": [
860
+ {
861
+ "describe": "Getter methods can pass a value from a controller to a page.",
862
+ "isRight": true
863
+ },
864
+ {
865
+ "describe": "There is no guarantee for the order in which Getter or Setter methods are executed.",
866
+ "isRight": true
867
+ },
868
+ {
869
+ "describe": "Setter methods always have to be declared global.",
870
+ "isRight": false
871
+ },
872
+ {
873
+ "describe": "Setter methods can pass a value from a controller to a page.",
874
+ "isRight": false
875
+ }
876
+ ],
877
+ "hashCode": "1988673291",
878
+ "analysis": ""
879
+ },
880
+ {
881
+ "describe": "How should a developer write unit tests for a private method in an Apex class?",
882
+ "answerOptions": [
883
+ {
884
+ "describe": "Add a test method in the Apex class.",
885
+ "isRight": false
886
+ },
887
+ {
888
+ "describe": "Use the TestVisible annotation.",
889
+ "isRight": true
890
+ },
891
+ {
892
+ "describe": "Use the SeeAllData annotation.",
893
+ "isRight": false
894
+ },
895
+ {
896
+ "describe": "Mark the Apex class as global.",
897
+ "isRight": false
898
+ }
899
+ ],
900
+ "hashCode": "1988673137",
901
+ "analysis": ""
902
+ },
903
+ {
904
+ "describe": "A developer created a new Apex trigger with a helper class, and writes a test class that only exercises 95% coverage of the new Apex helper class.\nChange set deployment to production fails with the test coverage warning:\n\"Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required.\"\nWhat should the developer do to successfully deploy the new Apex trigger and helper class?",
905
+ "answerOptions": [
906
+ {
907
+ "describe": "Increase the test class coverage on the helper class.",
908
+ "isRight": false
909
+ },
910
+ {
911
+ "describe": "Run the tests using the 'Run All Tests' method.",
912
+ "isRight": false
913
+ },
914
+ {
915
+ "describe": "Create a test class and methods to cover the Apex trigger.",
916
+ "isRight": true
917
+ },
918
+ {
919
+ "describe": "Remove the failing test methods from the test class.",
920
+ "isRight": false
921
+ }
922
+ ],
923
+ "hashCode": "1988672366",
924
+ "analysis": ""
925
+ },
926
+ {
927
+ "describe": "While writing an Apex class that creates Accounts, a developer wants to make sure that all required fields are handled properly.\nWhich approach should the developer use to be sure that the Apex classworks correctly?",
928
+ "answerOptions": [
929
+ {
930
+ "describe": "Add the business logic to a test class.",
931
+ "isRight": true
932
+ },
933
+ {
934
+ "describe": "Include a try/catch block to the Apex class. ",
935
+ "isRight": false
936
+ },
937
+ {
938
+ "describe": "Perform a code review with another developer.",
939
+ "isRight": false
940
+ },
941
+ {
942
+ "describe": "Run the code in an Execute Anonymous block.",
943
+ "isRight": false
944
+ }
945
+ ],
946
+ "hashCode": "1988673198",
947
+ "analysis": ""
948
+ },
949
+ {
950
+ "describe": "When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?",
951
+ "answerOptions": [
952
+ {
953
+ "describe": "Sandbox",
954
+ "isRight": false
955
+ },
956
+ {
957
+ "describe": "Dev Hub",
958
+ "isRight": true
959
+ },
960
+ {
961
+ "describe": "Environment Hub",
962
+ "isRight": false
963
+ },
964
+ {
965
+ "describe": "Production",
966
+ "isRight": false
967
+ }
968
+ ],
969
+ "hashCode": "1988673230",
970
+ "analysis": "https://help.salesforce.com/articleView?id=managing_scratch_orgs.htm&type=5"
971
+ },
972
+ {
973
+ "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?",
974
+ "answerOptions": [
975
+ {
976
+ "describe": "The test method does not use System.runAs to execute as a specific user. ",
977
+ "isRight": false
978
+ },
979
+ {
980
+ "describe": "The test method is calling an @future method.",
981
+ "isRight": false
982
+ },
983
+ {
984
+ "describe": "The test method has a syntax error in the code. ",
985
+ "isRight": false
986
+ },
987
+ {
988
+ "describe": "The test method relies on exiting data in the sandbox.",
989
+ "isRight": true
990
+ }
991
+ ],
992
+ "hashCode": "1988673232",
993
+ "analysis": ""
994
+ },
995
+ {
996
+ "describe": "A team of developers is working on a source-driven project that allows them to work independently, with many different org configurations.\nWhich type of Salesforce orgs should they use for their development?",
997
+ "answerOptions": [
998
+ {
999
+ "describe": "Full Copy sandboxes",
1000
+ "isRight": false
1001
+ },
1002
+ {
1003
+ "describe": "Developer orgs",
1004
+ "isRight": false
1005
+ },
1006
+ {
1007
+ "describe": "Developer sandboxes",
1008
+ "isRight": false
1009
+ },
1010
+ {
1011
+ "describe": "Scratch orgs.",
1012
+ "isRight": true
1013
+ }
1014
+ ],
1015
+ "hashCode": "1988672300",
1016
+ "analysis": ""
1017
+ },
1018
+ {
1019
+ "describe": "Which scenario is valid for execution by unit tests?",
1020
+ "answerOptions": [
1021
+ {
1022
+ "describe": "Execute anonymous Apex as a different user.",
1023
+ "isRight": false
1024
+ },
1025
+ {
1026
+ "describe": "Generate a Visualforce PDF with getContentAsPDF( )·",
1027
+ "isRight": false
1028
+ },
1029
+ {
1030
+ "describe": "Load data from a remote site with a callout.",
1031
+ "isRight": true
1032
+ },
1033
+ {
1034
+ "describe": "Set the created date of a record using a system method.",
1035
+ "isRight": false
1036
+ }
1037
+ ],
1038
+ "hashCode": "1988673227",
1039
+ "analysis": ""
1040
+ },
1041
+ {
1042
+ "describe": "A developer is writing tests for a class and needs to insert records to validate functionality.\nWhich annotation method should be used to create records for every method in the test class?",
1043
+ "answerOptions": [
1044
+ {
1045
+ "describe": "@PreTest",
1046
+ "isRight": false
1047
+ },
1048
+ {
1049
+ "describe": "@StartTest",
1050
+ "isRight": false
1051
+ },
1052
+ {
1053
+ "describe": "@isTest(SeeAllData=true)",
1054
+ "isRight": false
1055
+ },
1056
+ {
1057
+ "describe": "@TestSetup",
1058
+ "isRight": true
1059
+ }
1060
+ ],
1061
+ "hashCode": "1988672333",
1062
+ "analysis": ""
1063
+ },
1064
+ {
1065
+ "describe": "A developer created a trigger on the Account object and wants to test if the trigger is properly bulkified.The developer team decided that the trigger should be tested with 200 account records with unique names.\nWhat two things should be done to create the test data within the unit test with the least amount of code?Choose 2 answers",
1066
+ "answerOptions": [
1067
+ {
1068
+ "describe": "Use the @isTest(seeAllData=true)annotation in the test class.",
1069
+ "isRight": false
1070
+ },
1071
+ {
1072
+ "describe": "Create a static resource containing test data.",
1073
+ "isRight": true
1074
+ },
1075
+ {
1076
+ "describe": "Use Test.loadData to populate data in your test methods.",
1077
+ "isRight": true
1078
+ },
1079
+ {
1080
+ "describe": "Use the @isTest(isParallel=true) annotation in the test class.",
1081
+ "isRight": false
1082
+ }
1083
+ ],
1084
+ "hashCode": "1988674070",
1085
+ "analysis": ""
1086
+ },
1087
+ {
1088
+ "describe": "A developer completed modifications to a customized feature that is comprised of two elements:\n●Apex trigger\n●Trigger handler Apex class\nWhat are two factors that the developer must take into account to properly deploy the modification to the production environment?\nChoose 2 answers",
1089
+ "answerOptions": [
1090
+ {
1091
+ "describe": "Apex classes must have at least 75% code coverage org-wide.",
1092
+ "isRight": true
1093
+ },
1094
+ {
1095
+ "describe": "Test methods must be declared with the testMethod keyword.",
1096
+ "isRight": false
1097
+ },
1098
+ {
1099
+ "describe": "At least one line of code must be executed for the Apex trigger.",
1100
+ "isRight": true
1101
+ },
1102
+ {
1103
+ "describe": "All methods in the test classes must use @isTest.",
1104
+ "isRight": false
1105
+ }
1106
+ ],
1107
+ "hashCode": "1988674042",
1108
+ "analysis": ""
1109
+ },
1110
+ {
1111
+ "describe": "Which two events need to happen when deploying to a production org?Choose 2 answers",
1112
+ "answerOptions": [
1113
+ {
1114
+ "describe": "All Apex code must have at least 75% test coverage.",
1115
+ "isRight": true
1116
+ },
1117
+ {
1118
+ "describe": "All Process Builder Processes must have at least 1% test coverage.",
1119
+ "isRight": false
1120
+ },
1121
+ {
1122
+ "describe": "All Visual Flows must have at least 1% test coverage.",
1123
+ "isRight": false
1124
+ },
1125
+ {
1126
+ "describe": "All Triggers must have at least 1% test coverage.",
1127
+ "isRight": true
1128
+ }
1129
+ ],
1130
+ "hashCode": "1988673073",
1131
+ "analysis": ""
1132
+ },
1133
+ {
1134
+ "describe": "Which two sfdx commands can be used to add testing data to a Developer sandbox?\nChoose 2 answers",
1135
+ "answerOptions": [
1136
+ {
1137
+ "describe": "force:data:tree:import",
1138
+ "isRight": true
1139
+ },
1140
+ {
1141
+ "describe": "force: data:object:create",
1142
+ "isRight": false
1143
+ },
1144
+ {
1145
+ "describe": "force:data:bulk: upsert",
1146
+ "isRight": true
1147
+ },
1148
+ {
1149
+ "describe": "force:data:async:apsert",
1150
+ "isRight": false
1151
+ }
1152
+ ],
1153
+ "hashCode": "1988674100",
1154
+ "analysis": ""
1155
+ },
1156
+ {
1157
+ "describe": "Which three statements are true regarding custom exceptions in Apex? Choose 3 answers",
1158
+ "answerOptions": [
1159
+ {
1160
+ "describe": "A custom exception class cannot contain member variables or methods.",
1161
+ "isRight": false
1162
+ },
1163
+ {
1164
+ "describe": "A custom exception class can implement one or many interfaces.",
1165
+ "isRight": true
1166
+ },
1167
+ {
1168
+ "describe": "A custom exception class name must be end with \"Exception\".",
1169
+ "isRight": true
1170
+ },
1171
+ {
1172
+ "describe": "A custom exception class must extend the system Exception class.",
1173
+ "isRight": true
1174
+ },
1175
+ {
1176
+ "describe": "A custom exception class can extend other classes besides the Exception class.",
1177
+ "isRight": false
1178
+ }
1179
+ ],
1180
+ "hashCode": "1988672301",
1181
+ "analysis": ""
1182
+ },
1183
+ {
1184
+ "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",
1185
+ "answerOptions": [
1186
+ {
1187
+ "describe": "Rollup summary fields can cause the parent record to go through Save.",
1188
+ "isRight": true
1189
+ },
1190
+ {
1191
+ "describe": "The trigger may fire multiple times during a transaction.",
1192
+ "isRight": true
1193
+ },
1194
+ {
1195
+ "describe": "Duplicate rules are executed once all DML operations commit to the database.",
1196
+ "isRight": false
1197
+ },
1198
+ {
1199
+ "describe": "The validation rules will cause the trigger to fire again.",
1200
+ "isRight": false
1201
+ }
1202
+ ],
1203
+ "hashCode": "1988674104",
1204
+ "analysis": ""
1205
+ },
1206
+ {
1207
+ "describe": "<p>The following Apex method is part of the ContactSertvice class that is called from a trigger:</p><p>public static void setBusinessUnitToEMEA(Contact thisContact){</p><p>&nbsp; &nbsp; &nbsp; &nbsp; thisContact . Business_Unit__c = &#39;EMEA&#39;;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; update thisContact;</p><p>}</p><p><br/></p><p>How should the developer modify the code to ensure best practices are met?</p><p><br/></p>",
1208
+ "answerOptions": [
1209
+ {
1210
+ "describe": "<p>public static void setBusinessUnitToEMEA(List&lt;Contact&gt; contacts){</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for(Contact thisContact : contacts){</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;thisContact . Business_Unit__ c = &#39;EMEA&#39;;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;update contacts[0];</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}&nbsp; &nbsp;</p><p>}</p><p><br/></p>",
1211
+ "isRight": false
1212
+ },
1213
+ {
1214
+ "describe": "<p>public static void setBusinessUnitToEMEA(List&lt;Contact&gt; contacts){</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for(Contact thisContact : contacts){</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;thisContact . Business_Unit__ c = &#39;EMEA&#39;;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;update contacts;</p><p>}</p><p><br/></p>",
1215
+ "isRight": true
1216
+ },
1217
+ {
1218
+ "describe": "<p>public static void setBusinessUnitToEMEA(Contact thisContact){</p><p>&nbsp; &nbsp; &nbsp; &nbsp; List&lt;Contact&gt; contacts = new list&lt;Contacts&gt;( );</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;contacts. add(thisContact. Business_Unit__c = &#39;EMEA&#39;);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; update contacts;</p><p>}</p><p><br/></p>",
1219
+ "isRight": false
1220
+ },
1221
+ {
1222
+ "describe": "<p>public void setBusinessUnitToEMEA(List&lt;Contact&gt; contacts){</p><p>&nbsp; &nbsp; &nbsp; &nbsp; contact[0]. Business_Unit__ c = &#39;EMEA&#39;;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;update contacts[0];</p><p>}</p><p><br/></p>",
1223
+ "isRight": false
1224
+ }
1225
+ ],
1226
+ "hashCode": "1988674285",
1227
+ "analysis": ""
1228
+ },
1229
+ {
1230
+ "describe": "<p>Refer to the following code snippet for an environment has more than 200 Accounts belonging to the &#39;Technology&#39; industry:</p><p>for(Account thisAccount : [Select Id, Industry FROM Account LIMIT 150]){</p><p>&nbsp; &nbsp; &nbsp;if(thisAccount.Industry == &#39;Technology&#39; ){</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;thisAccount.Is_Tech__c = true;</p><p>&nbsp; &nbsp; &nbsp; }</p><p>update thisAccount;</p><p>}</p><p><br/></p><p>When the code executes, what happens as a result of the Apex transaction?</p><p><br/></p>",
1231
+ "answerOptions": [
1232
+ {
1233
+ "describe": "<p>If executed in an asynchronous context, the Apex transaction is likely to fail by exceeding the DML governor limit.</p>",
1234
+ "isRight": false
1235
+ },
1236
+ {
1237
+ "describe": "<p>If executed in a synchronous context, the Apex transaction is likely to fail by exceeding the DML governor limit.</p>",
1238
+ "isRight": false
1239
+ },
1240
+ {
1241
+ "describe": "<p>The Apex transaction succeeds regardless of any uncaught exception and all processed accounts are updated.</p>",
1242
+ "isRight": false
1243
+ },
1244
+ {
1245
+ "describe": "<p>The Apex transaction fails with the following message: Sobject row was retrieved via SOQL without querying the requested field: Account.Is_Tech__c.</p>",
1246
+ "isRight": true
1247
+ }
1248
+ ],
1249
+ "hashCode": "1988675002",
1250
+ "analysis": ""
1251
+ },
1252
+ {
1253
+ "describe": "<p>A developer needs to implement a custom SOAP Web Service that is used by an external Web Application. The developer chooses to include helper methods that are not used by the Web Application in the implementation of the Web Service Class.\nWhich code segment shows the correct declaration of the class and methods?</p>",
1254
+ "answerOptions": [
1255
+ {
1256
+ "describe": "<p>webservice class WebserviceClass {\nprivate Boolean helperMethod() { /* implementation ... */ } \nwebservice static string updateRecords() { /* implementation ... */}\n}</p>",
1257
+ "isRight": false
1258
+ },
1259
+ {
1260
+ "describe": "<p>global class WebServiceClass{\nprivate Boolean helperMethod() { /* implementation ... */ }\nglobal string updateRecords() ( /* implementation ... */ }\n}</p>",
1261
+ "isRight": false
1262
+ },
1263
+ {
1264
+ "describe": "<p>global class WebServiceClass {\nprivate Boolean helperMethod() { 1* implementation ... &quot;/ }\nwebservice static string updateRecords() { 1* implementation ... */ }\n}</p>",
1265
+ "isRight": true
1266
+ },
1267
+ {
1268
+ "describe": "<p>webservice class WebServiceClass {\nprivate Boolean helperMethod() { /* implementation ... */ }\nglobal static string updateRecords() { 1* implementation ... */}\n}</p>",
1269
+ "isRight": false
1270
+ }
1271
+ ],
1272
+ "hashCode": "1988674994",
1273
+ "analysis": ""
1274
+ },
1275
+ {
1276
+ "describe": "<p>A developer wrote the following two classes:</p><p><br/></p><p>public with sharing class statusFetcher{</p><p>private Boolean active = true;</p><p>private Boolean isActive(){</p><p>return active;</p><p>}</p><p>}</p><p>public with sharing class Calculator{</p><p>public void doCalculations()</p><p>StatusFetcher sFetcher = new StatusFetcher();</p><p>if(sFetcher.isActive())</p><p>//do calculatlons here</p><p>}</p><p>&nbsp; }</p><p>}</p><p><br/></p><p>The StatusFetcher class successfully complled and saved.However, the calculator class has a compile time error.</p><p>How should the developer fix this code?</p><p><br/></p>",
1277
+ "answerOptions": [
1278
+ {
1279
+ "describe": "<p>Make the docalculations method in the calculator class private.</p>",
1280
+ "isRight": false
1281
+ },
1282
+ {
1283
+ "describe": "<p>Change the class declaration for the calculator class to public with inherited sharing.</p>",
1284
+ "isRight": false
1285
+ },
1286
+ {
1287
+ "describe": "<p>Change the class declaration for the statusFetcher class to public with inherited sharing.</p>",
1288
+ "isRight": false
1289
+ },
1290
+ {
1291
+ "describe": "<p>Make the isActive method in the statusFetcher class public.</p>",
1292
+ "isRight": true
1293
+ }
1294
+ ],
1295
+ "hashCode": "1988674999",
1296
+ "analysis": ""
1297
+ },
1298
+ {
1299
+ "describe": "<p>A developer must modify the following code snippet to prevent the number of SOQL queries issued from exceeding the platform governor limit.</p><p>public without sharing class OpportunityService{</p><p><br/></p><p>&nbsp; &nbsp; &nbsp; public static List&lt;OpportunityLineItem&gt; getOpportunityProducts(Set&lt;Id&gt; opportunityIds){</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List&lt;OpportunityLineItem&gt; oppLineItems = new List&lt;OpportunityLineItem&gt;();</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for(Id thisOppId : opportunityIds){</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oppLineItems. addAll([Select Id FROM OppLineItem WHERE OpportunityId = :thisOppId]);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</p><p>&nbsp; &nbsp; &nbsp; &nbsp; return oppLineItems;</p><p>&nbsp; &nbsp; &nbsp;}</p><p>&nbsp;}</p><p><br/></p><p>The above method might be called during a trigger execution via a Lightning component.</p><p>Which technique should be implemented to avoid reaching the governor limit?</p><p><br/></p>",
1300
+ "answerOptions": [
1301
+ {
1302
+ "describe": "<p>Refactor the code above to perform the SOQL query only if the Set of opportunityIds contains less 100 Ids.</p>",
1303
+ "isRight": false
1304
+ },
1305
+ {
1306
+ "describe": "<p>Refactor the code above to perform only one SOQL query, filtering by the Set of opportunityIds.</p>",
1307
+ "isRight": true
1308
+ },
1309
+ {
1310
+ "describe": "<p>Use the System. Limits. getQueries( ) method to ensure the number of queries is less than 100.</p>",
1311
+ "isRight": false
1312
+ },
1313
+ {
1314
+ "describe": "<p>Use the System. Limits. getLimitQueries( ) method to ensure the number of queries is less than 100.</p>",
1315
+ "isRight": false
1316
+ }
1317
+ ],
1318
+ "hashCode": "1988674194",
1319
+ "analysis": ""
1320
+ },
1321
+ {
1322
+ "describe": "<p>Refer to the following code that runs in an Execute Anonymous block:</p><p>for( List&lt;Lead&gt; theseLeads : [SELECT LastName, Company, Email FROM Lead LIMIT 20000]) {</p><p>&nbsp; &nbsp; for(Lead thisLead : theseLeads) {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(thisLead.Email == null)</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; thisLead.Email = assignGenericEmail(thisLead.LastName, thisLead.Company);</p><p>&nbsp; &nbsp; &nbsp;}</p><p>&nbsp; &nbsp; &nbsp;Database.Update(theseLeads, false);</p><p>}</p><p>In an environment where the full result set is returned, what is a possible outcome of this code?</p><p><br/></p>",
1323
+ "answerOptions": [
1324
+ {
1325
+ "describe": "<p>The transaction will succeed and the first ten thousand records will be committed to the database.</p>",
1326
+ "isRight": false
1327
+ },
1328
+ {
1329
+ "describe": "<p>The total number of DML statements issued will be exceeded.</p>",
1330
+ "isRight": false
1331
+ },
1332
+ {
1333
+ "describe": "<p>The total number of records processed as a result of DML statements will be exceeded.</p>",
1334
+ "isRight": true
1335
+ },
1336
+ {
1337
+ "describe": "<p>The transaction will succeed and the full result set changes will be committed to the database.</p>",
1338
+ "isRight": false
1339
+ }
1340
+ ],
1341
+ "hashCode": "1988674966",
1342
+ "analysis": ""
1343
+ },
1344
+ {
1345
+ "describe": "<p>What will be the output in the debug log in the event of a QueryException duing a call to the aQuery method in the following example?</p><p><br/></p><p>class myClass {</p><p>&nbsp; &nbsp;class CustomException extends QueryException&nbsp; { }</p><p>&nbsp; &nbsp;public static Account aQuery( ) {</p><p>&nbsp; &nbsp; &nbsp; &nbsp;Account theAccount;</p><p>&nbsp; &nbsp; &nbsp; &nbsp;try {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;system. debug( &#39; Querying Accounts. &#39;);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;theAccount = [SELECT Id FROM Account WHERE CreatedDate &gt; TODAY] ;</p><p>&nbsp; &nbsp; &nbsp; &nbsp;}</p><p>&nbsp; &nbsp; &nbsp; catch (CustomException eX) {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; system.debug(&#39; Custom Exception. &#39;);</p><p>&nbsp; &nbsp; &nbsp; &nbsp;}</p><p>&nbsp; &nbsp; &nbsp; catch (QueryException eX) {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; system.debug(&#39;Query Exception. &#39;);</p><p>&nbsp; &nbsp; &nbsp; }&nbsp;</p><p>&nbsp; &nbsp; &nbsp;finally {</p><p>&nbsp; &nbsp; &nbsp; &nbsp;system.debug(&#39;Done. &#39;);</p><p>&nbsp; &nbsp; &nbsp;}</p><p>&nbsp; &nbsp; return theAccount ;</p><p>&nbsp; }</p><p>}</p><p><br/></p>",
1346
+ "answerOptions": [
1347
+ {
1348
+ "describe": "<p>Querying Accounts. Query Exception.</p>",
1349
+ "isRight": false
1350
+ },
1351
+ {
1352
+ "describe": "<p>Querying Accounts. Custom Exception. Done.</p>",
1353
+ "isRight": false
1354
+ },
1355
+ {
1356
+ "describe": "<p>Querying Accounts. Query Exeption. Done.</p>",
1357
+ "isRight": true
1358
+ },
1359
+ {
1360
+ "describe": "<p>Querying Accounts. Custom Exeption.</p>",
1361
+ "isRight": false
1362
+ }
1363
+ ],
1364
+ "hashCode": "1988674284",
1365
+ "analysis": ""
1366
+ },
1367
+ {
1368
+ "describe": "<p>Given the following code snippet, that is part of a custom controller for a Visualforce page:</p><p>public void updateContact(Contact thisContact) {</p><p>&nbsp; &nbsp; &nbsp;thisContact.Is_Active__c = false;</p><p>&nbsp; &nbsp; &nbsp;try{</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; update thisContact;</p><p>&nbsp; &nbsp; &nbsp;}catch(Exception e) {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; String errorMessage = &#39;An error occurred while updating the Contact. &#39; + e.getMessage());</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ApexPages.addmessage(new ApexPages.message(ApexPages.severity.FATAL.errorMessage));</p><p>&nbsp; &nbsp; &nbsp;}</p><p>}</p><p>In which two ways can the try/catch be enclosed to enforce object and field-level permissions and prevent the DML statement from being executed if the&nbsp;</p><p>current logged-in user does not have the appropriate level of access?&nbsp;</p><p>Choose 2 answers</p><p><br/></p>",
1369
+ "answerOptions": [
1370
+ {
1371
+ "describe": "<p>Use if (thisContact.OwnerId == UserInfo.getUserId())</p>",
1372
+ "isRight": false
1373
+ },
1374
+ {
1375
+ "describe": "<p>Use if (Schema.sObjectType.Contact.isUpdatable())</p>",
1376
+ "isRight": true
1377
+ },
1378
+ {
1379
+ "describe": "<p>Use if (Schema.sObjectType.Contact.isAccessible())</p>",
1380
+ "isRight": false
1381
+ },
1382
+ {
1383
+ "describe": "<p>Use if (Schema.sObjectType.Contact.fields.Is_Active__c.isUpdateable())</p>",
1384
+ "isRight": true
1385
+ }
1386
+ ],
1387
+ "hashCode": "1988674970",
1388
+ "analysis": ""
1389
+ },
1390
+ {
1391
+ "describe": "<p>A developer wrote an Apex method to update a list of Contacts and wants to make it available for use by Lightning web components.</p><p>Which annotation should the developer add to the Apex method to achieve this?</p><p style=\"line-height: 1.5em;\" dir=\"ltr\"><br/></p>",
1392
+ "answerOptions": [
1393
+ {
1394
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">@AuraEnabled(cacheable=true)</p>",
1395
+ "isRight": true
1396
+ },
1397
+ {
1398
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">@RemoteAction</p>",
1399
+ "isRight": false
1400
+ },
1401
+ {
1402
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">@RemoteAction(cacheable=true)</p>",
1403
+ "isRight": false
1404
+ },
1405
+ {
1406
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">@AuraEnabled</p>",
1407
+ "isRight": false
1408
+ }
1409
+ ],
1410
+ "hashCode": "1995171580",
1411
+ "analysis": ""
1412
+ },
1413
+ {
1414
+ "describe": "<p>Which code displays the contents of a Visualforce page as a PDF?</p>",
1415
+ "answerOptions": [
1416
+ {
1417
+ "describe": "<p>&lt;apex:page renderAs=&quot;pdf&quot;&gt;</p>",
1418
+ "isRight": true
1419
+ },
1420
+ {
1421
+ "describe": "<p>&lt;apex:page contentType=&quot;pdf&quot;&gt;</p>",
1422
+ "isRight": false
1423
+ },
1424
+ {
1425
+ "describe": "<p>&lt;apex:page contentType=&quot;application/pdf&quot;&gt;</p>",
1426
+ "isRight": false
1427
+ },
1428
+ {
1429
+ "describe": "<p>&lt;apex:page renderAs=&quot;application/pdf&quot;&gt;</p>",
1430
+ "isRight": false
1431
+ }
1432
+ ],
1433
+ "hashCode": "1988674193",
1434
+ "analysis": ""
1435
+ },
1436
+ {
1437
+ "describe": "<p>Which code in a Visualforce page and/or cotroller might present a security vulnerability?</p>",
1438
+ "answerOptions": [
1439
+ {
1440
+ "describe": "<p>&lt;apex : outputText escape=&quot;false&quot; value= &quot;{ !$CurrentPage . parameters .userInput } &quot; /&gt;</p>",
1441
+ "isRight": true
1442
+ },
1443
+ {
1444
+ "describe": "<p>&lt;apex : outputField value=&quot;{ !ctrl . userInput }&quot; / &gt;</p>",
1445
+ "isRight": false
1446
+ },
1447
+ {
1448
+ "describe": "<p>&lt;apex : outputText value=&quot;{ !$CurrentPage . parameters . userInput } &quot; /&gt;</p>",
1449
+ "isRight": false
1450
+ },
1451
+ {
1452
+ "describe": "<p>&lt;apex : outputField escape=&quot;false&quot; value=&quot;{ !ctrl . userInput }&quot; /&gt;</p>",
1453
+ "isRight": false
1454
+ }
1455
+ ],
1456
+ "hashCode": "1988674283",
1457
+ "analysis": ""
1458
+ },
1459
+ {
1460
+ "describe": "<p>A Lightning component has a wired property, searchResults, that stores a list of Opportunities.\nWhich definition of the Apex method, to which the searchResults property is wired, should be used?</p>",
1461
+ "answerOptions": [
1462
+ {
1463
+ "describe": "<p>@AuraEnabled(cacheable=false)</p><p>public List&lt;Opportunity&gt; search(String term){ /*implementation*/ }</p><p><br/></p>",
1464
+ "isRight": false
1465
+ },
1466
+ {
1467
+ "describe": "<p>@AuraEnabled(cacheable=true)</p><p>public List&lt;Opportunity&gt; search(String term){ /*implementation*/ }</p><p><br/></p>",
1468
+ "isRight": false
1469
+ },
1470
+ {
1471
+ "describe": "<p>@AuraEnabled(cacheable=false)</p><p>public static List&lt;Opportunity&gt; search(String term){ /*implementation*/ }</p><p><br/></p>",
1472
+ "isRight": false
1473
+ },
1474
+ {
1475
+ "describe": "<p>@AuraEnabled(cacheable=true)</p><p>public static List&lt;Opportunity&gt; search(String term){ /*implementation*/ }</p><p><br/></p>",
1476
+ "isRight": true
1477
+ }
1478
+ ],
1479
+ "hashCode": "1988674220",
1480
+ "analysis": ""
1481
+ },
1482
+ {
1483
+ "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>",
1484
+ "answerOptions": [
1485
+ {
1486
+ "describe": "<p>Add &lt;isExposed&gt;true&lt;/isExposed&gt; to the statusComponent.js-meta.xml file.</p>",
1487
+ "isRight": true
1488
+ },
1489
+ {
1490
+ "describe": "<p>Add &lt;target&gt;lightning__RecordPage&lt;/target&gt; to the statusComponent.js-meta.xml file.</p>",
1491
+ "isRight": true
1492
+ },
1493
+ {
1494
+ "describe": "<p>Add &lt;masterLabel&gt;Account&lt;/masterLabel&gt; to the statusComponent.js-meta.xml file.</p>",
1495
+ "isRight": false
1496
+ },
1497
+ {
1498
+ "describe": "<p>Add &lt;target&gt;lightning__RecordPage&lt;/target&gt; to the statusComponent.js file.</p>",
1499
+ "isRight": false
1500
+ }
1501
+ ],
1502
+ "hashCode": "1988675025",
1503
+ "analysis": ""
1504
+ },
1505
+ {
1506
+ "describe": "<p>What are three capabilities of the &lt;ltng:require&gt; tag when loading JavaScript resources in Aura components? Choose 3 answers</p>",
1507
+ "answerOptions": [
1508
+ {
1509
+ "describe": "<p>Specifying loading order</p>",
1510
+ "isRight": true
1511
+ },
1512
+ {
1513
+ "describe": "<p>Loading scripts in parallel</p>",
1514
+ "isRight": true
1515
+ },
1516
+ {
1517
+ "describe": "<p>Loading files from Documents</p>",
1518
+ "isRight": false
1519
+ },
1520
+ {
1521
+ "describe": "<p>One-time loading for duplicate scripts</p>",
1522
+ "isRight": true
1523
+ },
1524
+ {
1525
+ "describe": "<p>Loading externally hosted scripts</p>",
1526
+ "isRight": false
1527
+ }
1528
+ ],
1529
+ "hashCode": "1988674965",
1530
+ "analysis": ""
1531
+ }
1532
+ ],
1533
+ "hashCode": "-1271771784"
1534
+ }