@palerock/exam-qa 1.0.6-patch10 → 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.
- package/dist/index.html +1 -1
- package/dist/static/css/{app.e3a8483dfde3024c7e501c1e46ada2a8.css → app.f76ca65020df1576514751c0b6fb2a25.css} +2 -2
- package/dist/static/css/{app.e3a8483dfde3024c7e501c1e46ada2a8.css.map → app.f76ca65020df1576514751c0b6fb2a25.css.map} +1 -1
- package/dist/static/js/app.4d3c186ec6cdaa7239cb.js +2 -0
- package/dist/static/js/app.4d3c186ec6cdaa7239cb.js.map +1 -0
- package/dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map +1 -1
- package/lib-json/Dev1/345/237/272/347/241/200/351/242/230.json +151 -91
- package/lib-json/Dev1/346/250/241/346/213/237/345/215/267A.json +172 -107
- package/lib-json/Dev1/346/250/241/346/213/237/345/215/267B.json +367 -302
- 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 +150 -82
- 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 +111 -66
- package/lib-json/Dev1/346/265/213/350/257/225_/350/260/203/350/257/225_/351/203/250/347/275/262.json +80 -41
- package/lib-json/Dev1/347/224/250/346/210/267/347/225/214/351/235/242.json +118 -66
- package/package.json +1 -1
- package/dist/static/js/app.4a28c4a16706c6bcac16.js +0 -2
- package/dist/static/js/app.4a28c4a16706c6bcac16.js.map +0 -1
@@ -22,7 +22,31 @@
|
|
22
22
|
"isRight": false
|
23
23
|
}
|
24
24
|
],
|
25
|
-
"hashCode": "1988673041"
|
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": ""
|
26
50
|
},
|
27
51
|
{
|
28
52
|
"describe": "What is a benefit of developing applications in a multi-tenant environment?",
|
@@ -44,29 +68,31 @@
|
|
44
68
|
"isRight": false
|
45
69
|
}
|
46
70
|
],
|
47
|
-
"hashCode": "1988673199"
|
71
|
+
"hashCode": "1988673199",
|
72
|
+
"analysis": ""
|
48
73
|
},
|
49
74
|
{
|
50
|
-
"describe": "
|
75
|
+
"describe": "Which process automation should be used to send an outbound message without using Apex code?",
|
51
76
|
"answerOptions": [
|
52
77
|
{
|
53
|
-
"describe": "
|
78
|
+
"describe": "Flow Builder",
|
54
79
|
"isRight": false
|
55
80
|
},
|
56
81
|
{
|
57
|
-
"describe": "
|
82
|
+
"describe": "Process Builder",
|
58
83
|
"isRight": false
|
59
84
|
},
|
60
85
|
{
|
61
|
-
"describe": "
|
62
|
-
"isRight":
|
86
|
+
"describe": "Approval Process",
|
87
|
+
"isRight": false
|
63
88
|
},
|
64
89
|
{
|
65
|
-
"describe": "
|
66
|
-
"isRight":
|
90
|
+
"describe": "Workflow Rule",
|
91
|
+
"isRight": true
|
67
92
|
}
|
68
93
|
],
|
69
|
-
"hashCode": "
|
94
|
+
"hashCode": "1988672329",
|
95
|
+
"analysis": ""
|
70
96
|
},
|
71
97
|
{
|
72
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?",
|
@@ -88,29 +114,31 @@
|
|
88
114
|
"isRight": false
|
89
115
|
}
|
90
116
|
],
|
91
|
-
"hashCode": "1988673045"
|
117
|
+
"hashCode": "1988673045",
|
118
|
+
"analysis": ""
|
92
119
|
},
|
93
120
|
{
|
94
|
-
"describe": "
|
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?",
|
95
122
|
"answerOptions": [
|
96
123
|
{
|
97
|
-
"describe": "
|
124
|
+
"describe": "Indirect Lookup",
|
98
125
|
"isRight": false
|
99
126
|
},
|
100
127
|
{
|
101
|
-
"describe": "
|
102
|
-
"isRight":
|
128
|
+
"describe": "Lookup",
|
129
|
+
"isRight": true
|
103
130
|
},
|
104
131
|
{
|
105
|
-
"describe": "
|
132
|
+
"describe": "Master-Detail",
|
106
133
|
"isRight": false
|
107
134
|
},
|
108
135
|
{
|
109
|
-
"describe": "
|
110
|
-
"isRight":
|
136
|
+
"describe": "Direct Lookup",
|
137
|
+
"isRight": false
|
111
138
|
}
|
112
139
|
],
|
113
|
-
"hashCode": "
|
140
|
+
"hashCode": "1988672368",
|
141
|
+
"analysis": ""
|
114
142
|
},
|
115
143
|
{
|
116
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?",
|
@@ -132,29 +160,31 @@
|
|
132
160
|
"isRight": false
|
133
161
|
}
|
134
162
|
],
|
135
|
-
"hashCode": "1988674161"
|
163
|
+
"hashCode": "1988674161",
|
164
|
+
"analysis": ""
|
136
165
|
},
|
137
166
|
{
|
138
|
-
"describe": "
|
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?",
|
139
168
|
"answerOptions": [
|
140
169
|
{
|
141
|
-
"describe": "
|
142
|
-
"isRight":
|
170
|
+
"describe": "Create and populate a custom field on the parent object marked as an External ID.",
|
171
|
+
"isRight": true
|
143
172
|
},
|
144
173
|
{
|
145
|
-
"describe": "Lookup",
|
146
|
-
"isRight":
|
174
|
+
"describe": "Create a custom field on the child object of type Lookup. ",
|
175
|
+
"isRight": false
|
147
176
|
},
|
148
177
|
{
|
149
|
-
"describe": "
|
178
|
+
"describe": "Create a custom field on the child object of type External Relationship.",
|
150
179
|
"isRight": false
|
151
180
|
},
|
152
181
|
{
|
153
|
-
"describe": "
|
182
|
+
"describe": "Create and populate a custom field on the parent object marked as Unique.",
|
154
183
|
"isRight": false
|
155
184
|
}
|
156
185
|
],
|
157
|
-
"hashCode": "
|
186
|
+
"hashCode": "1988673292",
|
187
|
+
"analysis": ""
|
158
188
|
},
|
159
189
|
{
|
160
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?",
|
@@ -176,29 +206,31 @@
|
|
176
206
|
"isRight": false
|
177
207
|
}
|
178
208
|
],
|
179
|
-
"hashCode": "1988673138"
|
209
|
+
"hashCode": "1988673138",
|
210
|
+
"analysis": ""
|
180
211
|
},
|
181
212
|
{
|
182
|
-
"describe": "
|
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?",
|
183
214
|
"answerOptions": [
|
184
215
|
{
|
185
|
-
"describe": "
|
216
|
+
"describe": "Roll-up summary field",
|
186
217
|
"isRight": true
|
187
218
|
},
|
188
219
|
{
|
189
|
-
"describe": "
|
220
|
+
"describe": "Quick action",
|
190
221
|
"isRight": false
|
191
222
|
},
|
192
223
|
{
|
193
|
-
"describe": "
|
224
|
+
"describe": "Apex trigger",
|
194
225
|
"isRight": false
|
195
226
|
},
|
196
227
|
{
|
197
|
-
"describe": "
|
228
|
+
"describe": "Formula field",
|
198
229
|
"isRight": false
|
199
230
|
}
|
200
231
|
],
|
201
|
-
"hashCode": "
|
232
|
+
"hashCode": "1988674071",
|
233
|
+
"analysis": ""
|
202
234
|
},
|
203
235
|
{
|
204
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?",
|
@@ -220,29 +252,31 @@
|
|
220
252
|
"isRight": false
|
221
253
|
}
|
222
254
|
],
|
223
|
-
"hashCode": "1988674126"
|
255
|
+
"hashCode": "1988674126",
|
256
|
+
"analysis": ""
|
224
257
|
},
|
225
258
|
{
|
226
|
-
"describe": "
|
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",
|
227
260
|
"answerOptions": [
|
228
261
|
{
|
229
|
-
"describe": "
|
230
|
-
"isRight":
|
262
|
+
"describe": "Built-in standard and custom set controllers",
|
263
|
+
"isRight": false
|
231
264
|
},
|
232
265
|
{
|
233
|
-
"describe": "
|
266
|
+
"describe": "Log capturing via the Debug Logs Setup page",
|
234
267
|
"isRight": false
|
235
268
|
},
|
236
269
|
{
|
237
|
-
"describe": "
|
238
|
-
"isRight":
|
270
|
+
"describe": "Self-contained and reusable units of an application",
|
271
|
+
"isRight": true
|
239
272
|
},
|
240
273
|
{
|
241
|
-
"describe": "
|
242
|
-
"isRight":
|
274
|
+
"describe": "Rich component ecosystem",
|
275
|
+
"isRight": true
|
243
276
|
}
|
244
277
|
],
|
245
|
-
"hashCode": "
|
278
|
+
"hashCode": "1988674130",
|
279
|
+
"analysis": ""
|
246
280
|
},
|
247
281
|
{
|
248
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",
|
@@ -268,29 +302,35 @@
|
|
268
302
|
"isRight": true
|
269
303
|
}
|
270
304
|
],
|
271
|
-
"hashCode": "1988673079"
|
305
|
+
"hashCode": "1988673079",
|
306
|
+
"analysis": ""
|
272
307
|
},
|
273
308
|
{
|
274
|
-
"describe": "
|
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",
|
275
310
|
"answerOptions": [
|
276
311
|
{
|
277
|
-
"describe": "
|
312
|
+
"describe": "Escalation Rule",
|
278
313
|
"isRight": false
|
279
314
|
},
|
280
315
|
{
|
281
|
-
"describe": "
|
282
|
-
"isRight":
|
316
|
+
"describe": "Workflow Rule",
|
317
|
+
"isRight": true
|
283
318
|
},
|
284
319
|
{
|
285
|
-
"describe": "
|
320
|
+
"describe": "Process Builder",
|
286
321
|
"isRight": true
|
287
322
|
},
|
288
323
|
{
|
289
|
-
"describe": "
|
324
|
+
"describe": "Flow Builder",
|
290
325
|
"isRight": true
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"describe": "Approval Process",
|
329
|
+
"isRight": false
|
291
330
|
}
|
292
331
|
],
|
293
|
-
"hashCode": "
|
332
|
+
"hashCode": "1988672330",
|
333
|
+
"analysis": ""
|
294
334
|
},
|
295
335
|
{
|
296
336
|
"describe": "When importing and exporting data into Salesforce, Which two statement are true?\nChoose 2 answers",
|
@@ -312,33 +352,31 @@
|
|
312
352
|
"isRight": false
|
313
353
|
}
|
314
354
|
],
|
315
|
-
"hashCode": "1988673294"
|
355
|
+
"hashCode": "1988673294",
|
356
|
+
"analysis": ""
|
316
357
|
},
|
317
358
|
{
|
318
|
-
"describe": "Which
|
359
|
+
"describe": "Which process automation should be used to post a message to Chatter without using Apex code?",
|
319
360
|
"answerOptions": [
|
320
361
|
{
|
321
|
-
"describe": "
|
362
|
+
"describe": "Outbound Message",
|
322
363
|
"isRight": false
|
323
364
|
},
|
324
365
|
{
|
325
|
-
"describe": "
|
326
|
-
"isRight":
|
366
|
+
"describe": "Entitlement Process",
|
367
|
+
"isRight": false
|
327
368
|
},
|
328
369
|
{
|
329
|
-
"describe": "
|
330
|
-
"isRight":
|
370
|
+
"describe": "Strategy Builder",
|
371
|
+
"isRight": false
|
331
372
|
},
|
332
373
|
{
|
333
374
|
"describe": "Flow Builder",
|
334
375
|
"isRight": true
|
335
|
-
},
|
336
|
-
{
|
337
|
-
"describe": "Approval Process",
|
338
|
-
"isRight": false
|
339
376
|
}
|
340
377
|
],
|
341
|
-
"hashCode": "
|
378
|
+
"hashCode": "1988674009",
|
379
|
+
"analysis": ""
|
342
380
|
},
|
343
381
|
{
|
344
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?",
|
@@ -360,29 +398,31 @@
|
|
360
398
|
"isRight": false
|
361
399
|
}
|
362
400
|
],
|
363
|
-
"hashCode": "1995171549"
|
401
|
+
"hashCode": "1995171549",
|
402
|
+
"analysis": ""
|
364
403
|
},
|
365
404
|
{
|
366
|
-
"describe": "
|
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?",
|
367
406
|
"answerOptions": [
|
368
407
|
{
|
369
|
-
"describe": "
|
408
|
+
"describe": "Declare maxAttempts as a variable on a helper class.",
|
370
409
|
"isRight": false
|
371
410
|
},
|
372
411
|
{
|
373
|
-
"describe": "
|
374
|
-
"isRight":
|
412
|
+
"describe": "Declare maxAttempts as constant using the static and final keywords.",
|
413
|
+
"isRight": true
|
375
414
|
},
|
376
415
|
{
|
377
|
-
"describe": "
|
416
|
+
"describe": "Declare maxAttempts as a private static variable on a helper class. ",
|
378
417
|
"isRight": false
|
379
418
|
},
|
380
419
|
{
|
381
|
-
"describe": "
|
382
|
-
"isRight":
|
420
|
+
"describe": "Declare maxAttempts as a member variable on the trigger definition.",
|
421
|
+
"isRight": false
|
383
422
|
}
|
384
423
|
],
|
385
|
-
"hashCode": "
|
424
|
+
"hashCode": "1988672305",
|
425
|
+
"analysis": ""
|
386
426
|
},
|
387
427
|
{
|
388
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?",
|
@@ -404,29 +444,31 @@
|
|
404
444
|
"isRight": false
|
405
445
|
}
|
406
446
|
],
|
407
|
-
"hashCode": "1988673047"
|
447
|
+
"hashCode": "1988673047",
|
448
|
+
"analysis": ""
|
408
449
|
},
|
409
450
|
{
|
410
|
-
"describe": "A
|
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?",
|
411
452
|
"answerOptions": [
|
412
453
|
{
|
413
|
-
"describe": "
|
454
|
+
"describe": "4",
|
414
455
|
"isRight": false
|
415
456
|
},
|
416
457
|
{
|
417
|
-
"describe": "
|
458
|
+
"describe": "2",
|
418
459
|
"isRight": true
|
419
460
|
},
|
420
461
|
{
|
421
|
-
"describe": "
|
462
|
+
"describe": "1",
|
422
463
|
"isRight": false
|
423
464
|
},
|
424
465
|
{
|
425
|
-
"describe": "
|
466
|
+
"describe": "3",
|
426
467
|
"isRight": false
|
427
468
|
}
|
428
469
|
],
|
429
|
-
"hashCode": "
|
470
|
+
"hashCode": "1988672299",
|
471
|
+
"analysis": ""
|
430
472
|
},
|
431
473
|
{
|
432
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?",
|
@@ -448,29 +490,31 @@
|
|
448
490
|
"isRight": false
|
449
491
|
}
|
450
492
|
],
|
451
|
-
"hashCode": "1988674066"
|
493
|
+
"hashCode": "1988674066",
|
494
|
+
"analysis": ""
|
452
495
|
},
|
453
496
|
{
|
454
|
-
"describe": "
|
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?",
|
455
498
|
"answerOptions": [
|
456
499
|
{
|
457
|
-
"describe": "
|
500
|
+
"describe": " Create a schedule-triggered flow on ServiceJob__c",
|
458
501
|
"isRight": false
|
459
502
|
},
|
460
503
|
{
|
461
|
-
"describe": "
|
462
|
-
"isRight":
|
504
|
+
"describe": "Create an Apex trigger on ServiceJob__c",
|
505
|
+
"isRight": false
|
463
506
|
},
|
464
507
|
{
|
465
|
-
"describe": "
|
508
|
+
"describe": "Change TotalJobs__c to a roll-up summary field.",
|
466
509
|
"isRight": false
|
467
510
|
},
|
468
511
|
{
|
469
|
-
"describe": "
|
470
|
-
"isRight":
|
512
|
+
"describe": "Create a record-triggered flow on ServiceJob__c",
|
513
|
+
"isRight": true
|
471
514
|
}
|
472
515
|
],
|
473
|
-
"hashCode": "
|
516
|
+
"hashCode": "1995171575",
|
517
|
+
"analysis": ""
|
474
518
|
},
|
475
519
|
{
|
476
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?",
|
@@ -492,29 +536,31 @@
|
|
492
536
|
"isRight": false
|
493
537
|
}
|
494
538
|
],
|
495
|
-
"hashCode": "1988674033"
|
539
|
+
"hashCode": "1988674033",
|
540
|
+
"analysis": ""
|
496
541
|
},
|
497
542
|
{
|
498
|
-
"describe": "
|
543
|
+
"describe": "Which two process automations can be used on their own to send Salesforce Outbound Message?\nChoose 2 answers",
|
499
544
|
"answerOptions": [
|
500
545
|
{
|
501
|
-
"describe": "
|
546
|
+
"describe": "Process Builder",
|
502
547
|
"isRight": false
|
503
548
|
},
|
504
549
|
{
|
505
|
-
"describe": "
|
506
|
-
"isRight":
|
550
|
+
"describe": "Workfow Rule",
|
551
|
+
"isRight": true
|
507
552
|
},
|
508
553
|
{
|
509
|
-
"describe": "
|
510
|
-
"isRight":
|
554
|
+
"describe": "Flow Builder",
|
555
|
+
"isRight": true
|
511
556
|
},
|
512
557
|
{
|
513
|
-
"describe": "
|
514
|
-
"isRight":
|
558
|
+
"describe": "Strategy Builder",
|
559
|
+
"isRight": false
|
515
560
|
}
|
516
561
|
],
|
517
|
-
"hashCode": "
|
562
|
+
"hashCode": "1988674134",
|
563
|
+
"analysis": ""
|
518
564
|
},
|
519
565
|
{
|
520
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",
|
@@ -536,29 +582,31 @@
|
|
536
582
|
"isRight": false
|
537
583
|
}
|
538
584
|
],
|
539
|
-
"hashCode": "1988673048"
|
585
|
+
"hashCode": "1988673048",
|
586
|
+
"analysis": ""
|
540
587
|
},
|
541
588
|
{
|
542
|
-
"describe": "
|
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",
|
543
590
|
"answerOptions": [
|
544
591
|
{
|
545
|
-
"describe": "
|
546
|
-
"isRight":
|
592
|
+
"describe": "Unify all three triggers in a single trigger on the Expense__c object that includes all events.",
|
593
|
+
"isRight": true
|
547
594
|
},
|
548
595
|
{
|
549
|
-
"describe": "
|
596
|
+
"describe": "Create helper classes to execute the appropriate logic when a record is saved.",
|
550
597
|
"isRight": true
|
551
598
|
},
|
552
599
|
{
|
553
|
-
"describe": "
|
554
|
-
"isRight":
|
600
|
+
"describe": "Maintain all three triggers on the Expense__c object, but move the Apex logic out of the trigger definition.",
|
601
|
+
"isRight": false
|
555
602
|
},
|
556
603
|
{
|
557
|
-
"describe": "
|
604
|
+
"describe": "Unify the before insert and before update triggers and use Process Builder for the delete action.",
|
558
605
|
"isRight": false
|
559
606
|
}
|
560
607
|
],
|
561
|
-
"hashCode": "
|
608
|
+
"hashCode": "1988673136",
|
609
|
+
"analysis": ""
|
562
610
|
},
|
563
611
|
{
|
564
612
|
"describe": "<p>When a user edits the Postal Code on an Account, a custom Account text field named "Timezone" 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>",
|
@@ -580,29 +628,31 @@
|
|
580
628
|
"isRight": true
|
581
629
|
}
|
582
630
|
],
|
583
|
-
"hashCode": "1988674095"
|
631
|
+
"hashCode": "1988674095",
|
632
|
+
"analysis": ""
|
584
633
|
},
|
585
634
|
{
|
586
|
-
"describe": "
|
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?",
|
587
636
|
"answerOptions": [
|
588
637
|
{
|
589
|
-
"describe": "
|
638
|
+
"describe": "Implement pagination with a StandardSetController.",
|
590
639
|
"isRight": true
|
591
640
|
},
|
592
641
|
{
|
593
|
-
"describe": "
|
594
|
-
"isRight":
|
642
|
+
"describe": "Implement pagination with an OffsetController.",
|
643
|
+
"isRight": false
|
595
644
|
},
|
596
645
|
{
|
597
|
-
"describe": "
|
646
|
+
"describe": "Use JavaScript remoting with SOQL Offset.",
|
598
647
|
"isRight": false
|
599
648
|
},
|
600
649
|
{
|
601
|
-
"describe": "
|
650
|
+
"describe": "Use lazy loading and a transient List variable.",
|
602
651
|
"isRight": false
|
603
652
|
}
|
604
653
|
],
|
605
|
-
"hashCode": "
|
654
|
+
"hashCode": "1988674189",
|
655
|
+
"analysis": ""
|
606
656
|
},
|
607
657
|
{
|
608
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?",
|
@@ -624,29 +674,31 @@
|
|
624
674
|
"isRight": false
|
625
675
|
}
|
626
676
|
],
|
627
|
-
"hashCode": "1988674133"
|
677
|
+
"hashCode": "1988674133",
|
678
|
+
"analysis": ""
|
628
679
|
},
|
629
680
|
{
|
630
|
-
"describe": "
|
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?",
|
631
682
|
"answerOptions": [
|
632
683
|
{
|
633
|
-
"describe": "
|
634
|
-
"isRight":
|
684
|
+
"describe": "applyHtmlTag=\"true\"",
|
685
|
+
"isRight": false
|
635
686
|
},
|
636
687
|
{
|
637
|
-
"describe": "
|
688
|
+
"describe": "wizard=\"true\"",
|
638
689
|
"isRight": false
|
639
690
|
},
|
640
691
|
{
|
641
|
-
"describe": "
|
692
|
+
"describe": "setup=\"true\"",
|
642
693
|
"isRight": false
|
643
694
|
},
|
644
695
|
{
|
645
|
-
"describe": "
|
646
|
-
"isRight":
|
696
|
+
"describe": "lightningStylesheets=\"true\"",
|
697
|
+
"isRight": true
|
647
698
|
}
|
648
699
|
],
|
649
|
-
"hashCode": "
|
700
|
+
"hashCode": "1988674011",
|
701
|
+
"analysis": ""
|
650
702
|
},
|
651
703
|
{
|
652
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?",
|
@@ -668,29 +720,31 @@
|
|
668
720
|
"isRight": false
|
669
721
|
}
|
670
722
|
],
|
671
|
-
"hashCode": "1988674132"
|
723
|
+
"hashCode": "1988674132",
|
724
|
+
"analysis": ""
|
672
725
|
},
|
673
726
|
{
|
674
|
-
"describe": "A
|
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?",
|
675
728
|
"answerOptions": [
|
676
729
|
{
|
677
|
-
"describe": "
|
730
|
+
"describe": "lightning-flow",
|
678
731
|
"isRight": false
|
679
732
|
},
|
680
733
|
{
|
681
|
-
"describe": "
|
734
|
+
"describe": "aura:flow",
|
682
735
|
"isRight": false
|
683
736
|
},
|
684
737
|
{
|
685
|
-
"describe": "
|
738
|
+
"describe": "aura-flow",
|
686
739
|
"isRight": false
|
687
740
|
},
|
688
741
|
{
|
689
|
-
"describe": "
|
742
|
+
"describe": "lightning:flow",
|
690
743
|
"isRight": true
|
691
744
|
}
|
692
745
|
],
|
693
|
-
"hashCode": "
|
746
|
+
"hashCode": "1988674008",
|
747
|
+
"analysis": ""
|
694
748
|
},
|
695
749
|
{
|
696
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",
|
@@ -716,29 +770,35 @@
|
|
716
770
|
"isRight": false
|
717
771
|
}
|
718
772
|
],
|
719
|
-
"hashCode": "1988674002"
|
773
|
+
"hashCode": "1988674002",
|
774
|
+
"analysis": ""
|
720
775
|
},
|
721
776
|
{
|
722
|
-
"describe": "A
|
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",
|
723
778
|
"answerOptions": [
|
724
779
|
{
|
725
|
-
"describe": "
|
780
|
+
"describe": "Add a dynamic action to the user's assigned page layouts.",
|
726
781
|
"isRight": false
|
727
782
|
},
|
728
783
|
{
|
729
|
-
"describe": "
|
784
|
+
"describe": "Create a Lightning web component.",
|
730
785
|
"isRight": false
|
731
786
|
},
|
732
787
|
{
|
733
|
-
"describe": "
|
734
|
-
"isRight":
|
788
|
+
"describe": "Create a dynamic form.",
|
789
|
+
"isRight": true
|
735
790
|
},
|
736
791
|
{
|
737
|
-
"describe": "
|
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.",
|
738
797
|
"isRight": true
|
739
798
|
}
|
740
799
|
],
|
741
|
-
"hashCode": "
|
800
|
+
"hashCode": "1988674010",
|
801
|
+
"analysis": ""
|
742
802
|
},
|
743
803
|
{
|
744
804
|
"describe": "Which three web technologies can be integrated into a Visualforce page?",
|
@@ -764,33 +824,35 @@
|
|
764
824
|
"isRight": false
|
765
825
|
}
|
766
826
|
],
|
767
|
-
"hashCode": "1988673078"
|
827
|
+
"hashCode": "1988673078",
|
828
|
+
"analysis": ""
|
768
829
|
},
|
769
830
|
{
|
770
|
-
"describe": "
|
831
|
+
"describe": "Which three Salesforce resources can be accessed from a Lighting web component? Choose 3 answers",
|
771
832
|
"answerOptions": [
|
772
833
|
{
|
773
|
-
"describe": "
|
834
|
+
"describe": "All external libraries",
|
774
835
|
"isRight": false
|
775
836
|
},
|
776
837
|
{
|
777
|
-
"describe": "
|
778
|
-
"isRight":
|
838
|
+
"describe": "Static resources",
|
839
|
+
"isRight": true
|
779
840
|
},
|
780
841
|
{
|
781
|
-
"describe": "
|
842
|
+
"describe": "Content asset files",
|
782
843
|
"isRight": true
|
783
844
|
},
|
784
845
|
{
|
785
|
-
"describe": "
|
786
|
-
"isRight":
|
846
|
+
"describe": "Third-party web components",
|
847
|
+
"isRight": false
|
787
848
|
},
|
788
849
|
{
|
789
|
-
"describe": "
|
850
|
+
"describe": "SVG resources",
|
790
851
|
"isRight": true
|
791
852
|
}
|
792
853
|
],
|
793
|
-
"hashCode": "
|
854
|
+
"hashCode": "1988673173",
|
855
|
+
"analysis": "https://developer.salesforce.com/docs/component-library/documentation/en/lwc/create_global_value_providers"
|
794
856
|
},
|
795
857
|
{
|
796
858
|
"describe": "Which two statements are true about Getter and Setter methods as they relate to Visualforce? Choose 2 answers",
|
@@ -812,33 +874,31 @@
|
|
812
874
|
"isRight": false
|
813
875
|
}
|
814
876
|
],
|
815
|
-
"hashCode": "1988673291"
|
877
|
+
"hashCode": "1988673291",
|
878
|
+
"analysis": ""
|
816
879
|
},
|
817
880
|
{
|
818
|
-
"describe": "
|
881
|
+
"describe": "How should a developer write unit tests for a private method in an Apex class?",
|
819
882
|
"answerOptions": [
|
820
883
|
{
|
821
|
-
"describe": "
|
884
|
+
"describe": "Add a test method in the Apex class.",
|
822
885
|
"isRight": false
|
823
886
|
},
|
824
887
|
{
|
825
|
-
"describe": "
|
826
|
-
"isRight": true
|
827
|
-
},
|
828
|
-
{
|
829
|
-
"describe": "Content asset files",
|
888
|
+
"describe": "Use the TestVisible annotation.",
|
830
889
|
"isRight": true
|
831
890
|
},
|
832
891
|
{
|
833
|
-
"describe": "
|
892
|
+
"describe": "Use the SeeAllData annotation.",
|
834
893
|
"isRight": false
|
835
894
|
},
|
836
895
|
{
|
837
|
-
"describe": "
|
838
|
-
"isRight":
|
896
|
+
"describe": "Mark the Apex class as global.",
|
897
|
+
"isRight": false
|
839
898
|
}
|
840
899
|
],
|
841
|
-
"hashCode": "
|
900
|
+
"hashCode": "1988673137",
|
901
|
+
"analysis": ""
|
842
902
|
},
|
843
903
|
{
|
844
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?",
|
@@ -860,29 +920,31 @@
|
|
860
920
|
"isRight": false
|
861
921
|
}
|
862
922
|
],
|
863
|
-
"hashCode": "1988672366"
|
923
|
+
"hashCode": "1988672366",
|
924
|
+
"analysis": ""
|
864
925
|
},
|
865
926
|
{
|
866
|
-
"describe": "
|
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?",
|
867
928
|
"answerOptions": [
|
868
929
|
{
|
869
|
-
"describe": "Add
|
870
|
-
"isRight":
|
930
|
+
"describe": "Add the business logic to a test class.",
|
931
|
+
"isRight": true
|
871
932
|
},
|
872
933
|
{
|
873
|
-
"describe": "
|
874
|
-
"isRight":
|
934
|
+
"describe": "Include a try/catch block to the Apex class. ",
|
935
|
+
"isRight": false
|
875
936
|
},
|
876
937
|
{
|
877
|
-
"describe": "
|
938
|
+
"describe": "Perform a code review with another developer.",
|
878
939
|
"isRight": false
|
879
940
|
},
|
880
941
|
{
|
881
|
-
"describe": "
|
942
|
+
"describe": "Run the code in an Execute Anonymous block.",
|
882
943
|
"isRight": false
|
883
944
|
}
|
884
945
|
],
|
885
|
-
"hashCode": "
|
946
|
+
"hashCode": "1988673198",
|
947
|
+
"analysis": ""
|
886
948
|
},
|
887
949
|
{
|
888
950
|
"describe": "When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?",
|
@@ -904,29 +966,31 @@
|
|
904
966
|
"isRight": false
|
905
967
|
}
|
906
968
|
],
|
907
|
-
"hashCode": "1988673230"
|
969
|
+
"hashCode": "1988673230",
|
970
|
+
"analysis": "https://help.salesforce.com/articleView?id=managing_scratch_orgs.htm&type=5"
|
908
971
|
},
|
909
972
|
{
|
910
|
-
"describe": "While
|
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?",
|
911
974
|
"answerOptions": [
|
912
975
|
{
|
913
|
-
"describe": "
|
914
|
-
"isRight":
|
976
|
+
"describe": "The test method does not use System.runAs to execute as a specific user. ",
|
977
|
+
"isRight": false
|
915
978
|
},
|
916
979
|
{
|
917
|
-
"describe": "
|
980
|
+
"describe": "The test method is calling an @future method.",
|
918
981
|
"isRight": false
|
919
982
|
},
|
920
983
|
{
|
921
|
-
"describe": "
|
984
|
+
"describe": "The test method has a syntax error in the code. ",
|
922
985
|
"isRight": false
|
923
986
|
},
|
924
987
|
{
|
925
|
-
"describe": "
|
926
|
-
"isRight":
|
988
|
+
"describe": "The test method relies on exiting data in the sandbox.",
|
989
|
+
"isRight": true
|
927
990
|
}
|
928
991
|
],
|
929
|
-
"hashCode": "
|
992
|
+
"hashCode": "1988673232",
|
993
|
+
"analysis": ""
|
930
994
|
},
|
931
995
|
{
|
932
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?",
|
@@ -948,29 +1012,31 @@
|
|
948
1012
|
"isRight": true
|
949
1013
|
}
|
950
1014
|
],
|
951
|
-
"hashCode": "1988672300"
|
1015
|
+
"hashCode": "1988672300",
|
1016
|
+
"analysis": ""
|
952
1017
|
},
|
953
1018
|
{
|
954
|
-
"describe": "
|
1019
|
+
"describe": "Which scenario is valid for execution by unit tests?",
|
955
1020
|
"answerOptions": [
|
956
1021
|
{
|
957
|
-
"describe": "
|
1022
|
+
"describe": "Execute anonymous Apex as a different user.",
|
958
1023
|
"isRight": false
|
959
1024
|
},
|
960
1025
|
{
|
961
|
-
"describe": "
|
1026
|
+
"describe": "Generate a Visualforce PDF with getContentAsPDF( )·",
|
962
1027
|
"isRight": false
|
963
1028
|
},
|
964
1029
|
{
|
965
|
-
"describe": "
|
966
|
-
"isRight":
|
1030
|
+
"describe": "Load data from a remote site with a callout.",
|
1031
|
+
"isRight": true
|
967
1032
|
},
|
968
1033
|
{
|
969
|
-
"describe": "
|
970
|
-
"isRight":
|
1034
|
+
"describe": "Set the created date of a record using a system method.",
|
1035
|
+
"isRight": false
|
971
1036
|
}
|
972
1037
|
],
|
973
|
-
"hashCode": "
|
1038
|
+
"hashCode": "1988673227",
|
1039
|
+
"analysis": ""
|
974
1040
|
},
|
975
1041
|
{
|
976
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?",
|
@@ -992,29 +1058,31 @@
|
|
992
1058
|
"isRight": true
|
993
1059
|
}
|
994
1060
|
],
|
995
|
-
"hashCode": "1988672333"
|
1061
|
+
"hashCode": "1988672333",
|
1062
|
+
"analysis": ""
|
996
1063
|
},
|
997
1064
|
{
|
998
|
-
"describe": "
|
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",
|
999
1066
|
"answerOptions": [
|
1000
1067
|
{
|
1001
|
-
"describe": "
|
1068
|
+
"describe": "Use the @isTest(seeAllData=true)annotation in the test class.",
|
1002
1069
|
"isRight": false
|
1003
1070
|
},
|
1004
1071
|
{
|
1005
|
-
"describe": "
|
1006
|
-
"isRight":
|
1072
|
+
"describe": "Create a static resource containing test data.",
|
1073
|
+
"isRight": true
|
1007
1074
|
},
|
1008
1075
|
{
|
1009
|
-
"describe": "
|
1076
|
+
"describe": "Use Test.loadData to populate data in your test methods.",
|
1010
1077
|
"isRight": true
|
1011
1078
|
},
|
1012
1079
|
{
|
1013
|
-
"describe": "
|
1080
|
+
"describe": "Use the @isTest(isParallel=true) annotation in the test class.",
|
1014
1081
|
"isRight": false
|
1015
1082
|
}
|
1016
1083
|
],
|
1017
|
-
"hashCode": "
|
1084
|
+
"hashCode": "1988674070",
|
1085
|
+
"analysis": ""
|
1018
1086
|
},
|
1019
1087
|
{
|
1020
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",
|
@@ -1036,51 +1104,54 @@
|
|
1036
1104
|
"isRight": false
|
1037
1105
|
}
|
1038
1106
|
],
|
1039
|
-
"hashCode": "1988674042"
|
1107
|
+
"hashCode": "1988674042",
|
1108
|
+
"analysis": ""
|
1040
1109
|
},
|
1041
1110
|
{
|
1042
|
-
"describe": "
|
1111
|
+
"describe": "Which two events need to happen when deploying to a production org?Choose 2 answers",
|
1043
1112
|
"answerOptions": [
|
1044
1113
|
{
|
1045
|
-
"describe": "
|
1046
|
-
"isRight": false
|
1047
|
-
},
|
1048
|
-
{
|
1049
|
-
"describe": "Create a static resource containing test data.",
|
1114
|
+
"describe": "All Apex code must have at least 75% test coverage.",
|
1050
1115
|
"isRight": true
|
1051
1116
|
},
|
1052
1117
|
{
|
1053
|
-
"describe": "
|
1054
|
-
"isRight":
|
1118
|
+
"describe": "All Process Builder Processes must have at least 1% test coverage.",
|
1119
|
+
"isRight": false
|
1055
1120
|
},
|
1056
1121
|
{
|
1057
|
-
"describe": "
|
1122
|
+
"describe": "All Visual Flows must have at least 1% test coverage.",
|
1058
1123
|
"isRight": false
|
1124
|
+
},
|
1125
|
+
{
|
1126
|
+
"describe": "All Triggers must have at least 1% test coverage.",
|
1127
|
+
"isRight": true
|
1059
1128
|
}
|
1060
1129
|
],
|
1061
|
-
"hashCode": "
|
1130
|
+
"hashCode": "1988673073",
|
1131
|
+
"analysis": ""
|
1062
1132
|
},
|
1063
1133
|
{
|
1064
|
-
"describe": "Which two
|
1134
|
+
"describe": "Which two sfdx commands can be used to add testing data to a Developer sandbox?\nChoose 2 answers",
|
1065
1135
|
"answerOptions": [
|
1066
1136
|
{
|
1067
|
-
"describe": "
|
1137
|
+
"describe": "force:data:tree:import",
|
1068
1138
|
"isRight": true
|
1069
1139
|
},
|
1070
1140
|
{
|
1071
|
-
"describe": "
|
1141
|
+
"describe": "force: data:object:create",
|
1072
1142
|
"isRight": false
|
1073
1143
|
},
|
1074
1144
|
{
|
1075
|
-
"describe": "
|
1076
|
-
"isRight":
|
1145
|
+
"describe": "force:data:bulk: upsert",
|
1146
|
+
"isRight": true
|
1077
1147
|
},
|
1078
1148
|
{
|
1079
|
-
"describe": "
|
1080
|
-
"isRight":
|
1149
|
+
"describe": "force:data:async:apsert",
|
1150
|
+
"isRight": false
|
1081
1151
|
}
|
1082
1152
|
],
|
1083
|
-
"hashCode": "
|
1153
|
+
"hashCode": "1988674100",
|
1154
|
+
"analysis": ""
|
1084
1155
|
},
|
1085
1156
|
{
|
1086
1157
|
"describe": "Which three statements are true regarding custom exceptions in Apex? Choose 3 answers",
|
@@ -1106,7 +1177,8 @@
|
|
1106
1177
|
"isRight": false
|
1107
1178
|
}
|
1108
1179
|
],
|
1109
|
-
"hashCode": "1988672301"
|
1180
|
+
"hashCode": "1988672301",
|
1181
|
+
"analysis": ""
|
1110
1182
|
},
|
1111
1183
|
{
|
1112
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",
|
@@ -1128,29 +1200,31 @@
|
|
1128
1200
|
"isRight": false
|
1129
1201
|
}
|
1130
1202
|
],
|
1131
|
-
"hashCode": "1988674104"
|
1203
|
+
"hashCode": "1988674104",
|
1204
|
+
"analysis": ""
|
1132
1205
|
},
|
1133
1206
|
{
|
1134
|
-
"describe": "
|
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> thisContact . Business_Unit__c = 'EMEA';</p><p> 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>",
|
1135
1208
|
"answerOptions": [
|
1136
1209
|
{
|
1137
|
-
"describe": "
|
1138
|
-
"isRight": true
|
1139
|
-
},
|
1140
|
-
{
|
1141
|
-
"describe": "force: data:object:create",
|
1210
|
+
"describe": "<p>public static void setBusinessUnitToEMEA(List<Contact> contacts){</p><p> for(Contact thisContact : contacts){</p><p> thisContact . Business_Unit__ c = 'EMEA';</p><p> update contacts[0];</p><p> } </p><p>}</p><p><br/></p>",
|
1142
1211
|
"isRight": false
|
1143
1212
|
},
|
1144
1213
|
{
|
1145
|
-
"describe": "
|
1214
|
+
"describe": "<p>public static void setBusinessUnitToEMEA(List<Contact> contacts){</p><p> for(Contact thisContact : contacts){</p><p> thisContact . Business_Unit__ c = 'EMEA';</p><p> }</p><p> update contacts;</p><p>}</p><p><br/></p>",
|
1146
1215
|
"isRight": true
|
1147
1216
|
},
|
1148
1217
|
{
|
1149
|
-
"describe": "
|
1218
|
+
"describe": "<p>public static void setBusinessUnitToEMEA(Contact thisContact){</p><p> List<Contact> contacts = new list<Contacts>( );</p><p> contacts. add(thisContact. Business_Unit__c = 'EMEA');</p><p> update contacts;</p><p>}</p><p><br/></p>",
|
1219
|
+
"isRight": false
|
1220
|
+
},
|
1221
|
+
{
|
1222
|
+
"describe": "<p>public void setBusinessUnitToEMEA(List<Contact> contacts){</p><p> contact[0]. Business_Unit__ c = 'EMEA';</p><p> update contacts[0];</p><p>}</p><p><br/></p>",
|
1150
1223
|
"isRight": false
|
1151
1224
|
}
|
1152
1225
|
],
|
1153
|
-
"hashCode": "
|
1226
|
+
"hashCode": "1988674285",
|
1227
|
+
"analysis": ""
|
1154
1228
|
},
|
1155
1229
|
{
|
1156
1230
|
"describe": "<p>Refer to the following code snippet for an environment has more than 200 Accounts belonging to the 'Technology' industry:</p><p>for(Account thisAccount : [Select Id, Industry FROM Account LIMIT 150]){</p><p> if(thisAccount.Industry == 'Technology' ){</p><p> thisAccount.Is_Tech__c = true;</p><p> }</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>",
|
@@ -1172,29 +1246,31 @@
|
|
1172
1246
|
"isRight": true
|
1173
1247
|
}
|
1174
1248
|
],
|
1175
|
-
"hashCode": "1988675002"
|
1249
|
+
"hashCode": "1988675002",
|
1250
|
+
"analysis": ""
|
1176
1251
|
},
|
1177
1252
|
{
|
1178
|
-
"describe": "<p>
|
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>",
|
1179
1254
|
"answerOptions": [
|
1180
1255
|
{
|
1181
|
-
"describe": "<p>
|
1256
|
+
"describe": "<p>webservice class WebserviceClass {\nprivate Boolean helperMethod() { /* implementation ... */ } \nwebservice static string updateRecords() { /* implementation ... */}\n}</p>",
|
1182
1257
|
"isRight": false
|
1183
1258
|
},
|
1184
1259
|
{
|
1185
|
-
"describe": "<p>
|
1186
|
-
"isRight":
|
1260
|
+
"describe": "<p>global class WebServiceClass{\nprivate Boolean helperMethod() { /* implementation ... */ }\nglobal string updateRecords() ( /* implementation ... */ }\n}</p>",
|
1261
|
+
"isRight": false
|
1187
1262
|
},
|
1188
1263
|
{
|
1189
|
-
"describe": "<p>
|
1190
|
-
"isRight":
|
1264
|
+
"describe": "<p>global class WebServiceClass {\nprivate Boolean helperMethod() { 1* implementation ... "/ }\nwebservice static string updateRecords() { 1* implementation ... */ }\n}</p>",
|
1265
|
+
"isRight": true
|
1191
1266
|
},
|
1192
1267
|
{
|
1193
|
-
"describe": "<p>
|
1268
|
+
"describe": "<p>webservice class WebServiceClass {\nprivate Boolean helperMethod() { /* implementation ... */ }\nglobal static string updateRecords() { 1* implementation ... */}\n}</p>",
|
1194
1269
|
"isRight": false
|
1195
1270
|
}
|
1196
1271
|
],
|
1197
|
-
"hashCode": "
|
1272
|
+
"hashCode": "1988674994",
|
1273
|
+
"analysis": ""
|
1198
1274
|
},
|
1199
1275
|
{
|
1200
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> }</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>",
|
@@ -1216,29 +1292,31 @@
|
|
1216
1292
|
"isRight": true
|
1217
1293
|
}
|
1218
1294
|
],
|
1219
|
-
"hashCode": "1988674999"
|
1295
|
+
"hashCode": "1988674999",
|
1296
|
+
"analysis": ""
|
1220
1297
|
},
|
1221
1298
|
{
|
1222
|
-
"describe": "<p>A developer
|
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> public static List<OpportunityLineItem> getOpportunityProducts(Set<Id> opportunityIds){</p><p> List<OpportunityLineItem> oppLineItems = new List<OpportunityLineItem>();</p><p> for(Id thisOppId : opportunityIds){</p><p> oppLineItems. addAll([Select Id FROM OppLineItem WHERE OpportunityId = :thisOppId]);</p><p> }</p><p> return oppLineItems;</p><p> }</p><p> }</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>",
|
1223
1300
|
"answerOptions": [
|
1224
1301
|
{
|
1225
|
-
"describe": "<p>
|
1302
|
+
"describe": "<p>Refactor the code above to perform the SOQL query only if the Set of opportunityIds contains less 100 Ids.</p>",
|
1226
1303
|
"isRight": false
|
1227
1304
|
},
|
1228
1305
|
{
|
1229
|
-
"describe": "<p>
|
1230
|
-
"isRight":
|
1306
|
+
"describe": "<p>Refactor the code above to perform only one SOQL query, filtering by the Set of opportunityIds.</p>",
|
1307
|
+
"isRight": true
|
1231
1308
|
},
|
1232
1309
|
{
|
1233
|
-
"describe": "<p>
|
1234
|
-
"isRight":
|
1310
|
+
"describe": "<p>Use the System. Limits. getQueries( ) method to ensure the number of queries is less than 100.</p>",
|
1311
|
+
"isRight": false
|
1235
1312
|
},
|
1236
1313
|
{
|
1237
|
-
"describe": "<p>
|
1314
|
+
"describe": "<p>Use the System. Limits. getLimitQueries( ) method to ensure the number of queries is less than 100.</p>",
|
1238
1315
|
"isRight": false
|
1239
1316
|
}
|
1240
1317
|
],
|
1241
|
-
"hashCode": "
|
1318
|
+
"hashCode": "1988674194",
|
1319
|
+
"analysis": ""
|
1242
1320
|
},
|
1243
1321
|
{
|
1244
1322
|
"describe": "<p>Refer to the following code that runs in an Execute Anonymous block:</p><p>for( List<Lead> theseLeads : [SELECT LastName, Company, Email FROM Lead LIMIT 20000]) {</p><p> for(Lead thisLead : theseLeads) {</p><p> if(thisLead.Email == null)</p><p> thisLead.Email = assignGenericEmail(thisLead.LastName, thisLead.Company);</p><p> }</p><p> 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>",
|
@@ -1260,29 +1338,31 @@
|
|
1260
1338
|
"isRight": false
|
1261
1339
|
}
|
1262
1340
|
],
|
1263
|
-
"hashCode": "1988674966"
|
1341
|
+
"hashCode": "1988674966",
|
1342
|
+
"analysis": ""
|
1264
1343
|
},
|
1265
1344
|
{
|
1266
|
-
"describe": "<p>
|
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> class CustomException extends QueryException { }</p><p> public static Account aQuery( ) {</p><p> Account theAccount;</p><p> try {</p><p> system. debug( ' Querying Accounts. ');</p><p> theAccount = [SELECT Id FROM Account WHERE CreatedDate > TODAY] ;</p><p> }</p><p> catch (CustomException eX) {</p><p> system.debug(' Custom Exception. ');</p><p> }</p><p> catch (QueryException eX) {</p><p> system.debug('Query Exception. ');</p><p> } </p><p> finally {</p><p> system.debug('Done. ');</p><p> }</p><p> return theAccount ;</p><p> }</p><p>}</p><p><br/></p>",
|
1267
1346
|
"answerOptions": [
|
1268
1347
|
{
|
1269
|
-
"describe": "<p>
|
1348
|
+
"describe": "<p>Querying Accounts. Query Exception.</p>",
|
1270
1349
|
"isRight": false
|
1271
1350
|
},
|
1272
1351
|
{
|
1273
|
-
"describe": "<p>
|
1274
|
-
"isRight":
|
1352
|
+
"describe": "<p>Querying Accounts. Custom Exception. Done.</p>",
|
1353
|
+
"isRight": false
|
1275
1354
|
},
|
1276
1355
|
{
|
1277
|
-
"describe": "<p>
|
1278
|
-
"isRight":
|
1356
|
+
"describe": "<p>Querying Accounts. Query Exeption. Done.</p>",
|
1357
|
+
"isRight": true
|
1279
1358
|
},
|
1280
1359
|
{
|
1281
|
-
"describe": "<p>
|
1360
|
+
"describe": "<p>Querying Accounts. Custom Exeption.</p>",
|
1282
1361
|
"isRight": false
|
1283
1362
|
}
|
1284
1363
|
],
|
1285
|
-
"hashCode": "
|
1364
|
+
"hashCode": "1988674284",
|
1365
|
+
"analysis": ""
|
1286
1366
|
},
|
1287
1367
|
{
|
1288
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> thisContact.Is_Active__c = false;</p><p> try{</p><p> update thisContact;</p><p> }catch(Exception e) {</p><p> String errorMessage = 'An error occurred while updating the Contact. ' + e.getMessage());</p><p> ApexPages.addmessage(new ApexPages.message(ApexPages.severity.FATAL.errorMessage));</p><p> }</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 </p><p>current logged-in user does not have the appropriate level of access? </p><p>Choose 2 answers</p><p><br/></p>",
|
@@ -1304,29 +1384,31 @@
|
|
1304
1384
|
"isRight": true
|
1305
1385
|
}
|
1306
1386
|
],
|
1307
|
-
"hashCode": "1988674970"
|
1387
|
+
"hashCode": "1988674970",
|
1388
|
+
"analysis": ""
|
1308
1389
|
},
|
1309
1390
|
{
|
1310
|
-
"describe": "<p>
|
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>",
|
1311
1392
|
"answerOptions": [
|
1312
1393
|
{
|
1313
|
-
"describe": "<p
|
1314
|
-
"isRight":
|
1394
|
+
"describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">@AuraEnabled(cacheable=true)</p>",
|
1395
|
+
"isRight": true
|
1315
1396
|
},
|
1316
1397
|
{
|
1317
|
-
"describe": "<p
|
1398
|
+
"describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">@RemoteAction</p>",
|
1318
1399
|
"isRight": false
|
1319
1400
|
},
|
1320
1401
|
{
|
1321
|
-
"describe": "<p
|
1322
|
-
"isRight":
|
1402
|
+
"describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">@RemoteAction(cacheable=true)</p>",
|
1403
|
+
"isRight": false
|
1323
1404
|
},
|
1324
1405
|
{
|
1325
|
-
"describe": "<p
|
1406
|
+
"describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">@AuraEnabled</p>",
|
1326
1407
|
"isRight": false
|
1327
1408
|
}
|
1328
1409
|
],
|
1329
|
-
"hashCode": "
|
1410
|
+
"hashCode": "1995171580",
|
1411
|
+
"analysis": ""
|
1330
1412
|
},
|
1331
1413
|
{
|
1332
1414
|
"describe": "<p>Which code displays the contents of a Visualforce page as a PDF?</p>",
|
@@ -1348,29 +1430,31 @@
|
|
1348
1430
|
"isRight": false
|
1349
1431
|
}
|
1350
1432
|
],
|
1351
|
-
"hashCode": "1988674193"
|
1433
|
+
"hashCode": "1988674193",
|
1434
|
+
"analysis": ""
|
1352
1435
|
},
|
1353
1436
|
{
|
1354
|
-
"describe": "<p>
|
1437
|
+
"describe": "<p>Which code in a Visualforce page and/or cotroller might present a security vulnerability?</p>",
|
1355
1438
|
"answerOptions": [
|
1356
1439
|
{
|
1357
|
-
"describe": "<p
|
1440
|
+
"describe": "<p><apex : outputText escape="false" value= "{ !$CurrentPage . parameters .userInput } " /></p>",
|
1358
1441
|
"isRight": true
|
1359
1442
|
},
|
1360
1443
|
{
|
1361
|
-
"describe": "<p
|
1444
|
+
"describe": "<p><apex : outputField value="{ !ctrl . userInput }" / ></p>",
|
1362
1445
|
"isRight": false
|
1363
1446
|
},
|
1364
1447
|
{
|
1365
|
-
"describe": "<p
|
1448
|
+
"describe": "<p><apex : outputText value="{ !$CurrentPage . parameters . userInput } " /></p>",
|
1366
1449
|
"isRight": false
|
1367
1450
|
},
|
1368
1451
|
{
|
1369
|
-
"describe": "<p
|
1452
|
+
"describe": "<p><apex : outputField escape="false" value="{ !ctrl . userInput }" /></p>",
|
1370
1453
|
"isRight": false
|
1371
1454
|
}
|
1372
1455
|
],
|
1373
|
-
"hashCode": "
|
1456
|
+
"hashCode": "1988674283",
|
1457
|
+
"analysis": ""
|
1374
1458
|
},
|
1375
1459
|
{
|
1376
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>",
|
@@ -1392,29 +1476,31 @@
|
|
1392
1476
|
"isRight": true
|
1393
1477
|
}
|
1394
1478
|
],
|
1395
|
-
"hashCode": "1988674220"
|
1479
|
+
"hashCode": "1988674220",
|
1480
|
+
"analysis": ""
|
1396
1481
|
},
|
1397
1482
|
{
|
1398
|
-
"describe": "<p>
|
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>",
|
1399
1484
|
"answerOptions": [
|
1400
1485
|
{
|
1401
|
-
"describe": "<p
|
1486
|
+
"describe": "<p>Add <isExposed>true</isExposed> to the statusComponent.js-meta.xml file.</p>",
|
1402
1487
|
"isRight": true
|
1403
1488
|
},
|
1404
1489
|
{
|
1405
|
-
"describe": "<p
|
1406
|
-
"isRight":
|
1490
|
+
"describe": "<p>Add <target>lightning__RecordPage</target> to the statusComponent.js-meta.xml file.</p>",
|
1491
|
+
"isRight": true
|
1407
1492
|
},
|
1408
1493
|
{
|
1409
|
-
"describe": "<p
|
1494
|
+
"describe": "<p>Add <masterLabel>Account</masterLabel> to the statusComponent.js-meta.xml file.</p>",
|
1410
1495
|
"isRight": false
|
1411
1496
|
},
|
1412
1497
|
{
|
1413
|
-
"describe": "<p
|
1498
|
+
"describe": "<p>Add <target>lightning__RecordPage</target> to the statusComponent.js file.</p>",
|
1414
1499
|
"isRight": false
|
1415
1500
|
}
|
1416
1501
|
],
|
1417
|
-
"hashCode": "
|
1502
|
+
"hashCode": "1988675025",
|
1503
|
+
"analysis": ""
|
1418
1504
|
},
|
1419
1505
|
{
|
1420
1506
|
"describe": "<p>What are three capabilities of the <ltng:require> tag when loading JavaScript resources in Aura components? Choose 3 answers</p>",
|
@@ -1440,29 +1526,8 @@
|
|
1440
1526
|
"isRight": false
|
1441
1527
|
}
|
1442
1528
|
],
|
1443
|
-
"hashCode": "1988674965"
|
1444
|
-
|
1445
|
-
{
|
1446
|
-
"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>",
|
1447
|
-
"answerOptions": [
|
1448
|
-
{
|
1449
|
-
"describe": "<p>Add <isExposed>true</isExposed> to the statusComponent.js-meta.xml file.</p>",
|
1450
|
-
"isRight": true
|
1451
|
-
},
|
1452
|
-
{
|
1453
|
-
"describe": "<p>Add <target>lightning__RecordPage</target> to the statusComponent.js-meta.xml file.</p>",
|
1454
|
-
"isRight": true
|
1455
|
-
},
|
1456
|
-
{
|
1457
|
-
"describe": "<p>Add <masterLabel>Account</masterLabel> to the statusComponent.js-meta.xml file.</p>",
|
1458
|
-
"isRight": false
|
1459
|
-
},
|
1460
|
-
{
|
1461
|
-
"describe": "<p>Add <target>lightning__RecordPage</target> to the statusComponent.js file.</p>",
|
1462
|
-
"isRight": false
|
1463
|
-
}
|
1464
|
-
],
|
1465
|
-
"hashCode": "1988675025"
|
1529
|
+
"hashCode": "1988674965",
|
1530
|
+
"analysis": ""
|
1466
1531
|
}
|
1467
1532
|
],
|
1468
1533
|
"hashCode": "-1271771784"
|