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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/index.html +1 -1
  2. package/dist/static/css/app.4293d3540537974d843eca825dcda382.css +2 -0
  3. package/dist/static/css/app.4293d3540537974d843eca825dcda382.css.map +1 -0
  4. package/dist/static/js/app.e278f9557d317b4606b0.js +2 -0
  5. package/dist/static/js/app.e278f9557d317b4606b0.js.map +1 -0
  6. package/dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map +1 -1
  7. package/lib-json/Dev1/345/237/272/347/241/200/351/242/230.json +1407 -0
  8. package/lib-json/Dev1/346/250/241/346/213/237/345/215/267A.json +1538 -0
  9. package/lib-json/Dev1/346/250/241/346/213/237/345/215/267B.json +1534 -0
  10. package/lib-json/Dev1/346/265/201/347/250/213/350/207/252/345/212/250/345/214/226/344/270/216/351/200/273/350/276/2211.json +1587 -0
  11. package/lib-json/Dev1/346/265/201/347/250/213/350/207/252/345/212/250/345/214/226/344/270/216/351/200/273/350/276/2212.json +1042 -0
  12. package/lib-json/Dev1/346/265/213/350/257/225_/350/260/203/350/257/225_/351/203/250/347/275/262.json +928 -0
  13. package/lib-json/Dev1/347/224/250/346/210/267/347/225/214/351/235/242.json +1243 -0
  14. package/lib-json/[DEV2]Salesforce/345/237/272/347/241/200.json +375 -0
  15. package/lib-json/[DEV2]/346/200/247/350/203/275.json +728 -0
  16. package/lib-json/[DEV2]/346/250/241/346/213/237/345/215/267A.json +1403 -0
  17. package/lib-json/[DEV2]/346/250/241/346/213/237/345/215/267B.json +1387 -0
  18. package/lib-json/[DEV2]/346/265/213/350/257/225/344/270/216/351/203/250/347/275/262.json +828 -0
  19. package/lib-json/[DEV2]/347/224/250/346/210/267/347/225/214/351/235/2421.json +977 -0
  20. package/lib-json/[DEV2]/347/224/250/346/210/267/347/225/214/351/235/2422.json +667 -0
  21. package/lib-json/[DEV2]/351/200/273/350/276/221/343/200/201/346/265/201/347/250/213/350/207/252/345/212/250/345/214/226/345/222/214/351/233/206/346/210/2201.json +1387 -0
  22. package/lib-json/[DEV2]/351/200/273/350/276/221/343/200/201/346/265/201/347/250/213/350/207/252/345/212/250/345/214/226/345/222/214/351/233/206/346/210/2202.json +260 -0
  23. package/lib-json/[JS]/347/254/254/344/270/200/347/253/240 /345/217/230/351/207/217-/347/261/273/345/236/213-/351/233/206/345/220/210.json" +1048 -0
  24. package/lib-json/[JS]/347/254/254/344/270/203/347/253/240 /346/265/213/350/257/225.json" +356 -0
  25. package/lib-json/[JS]/347/254/254/344/270/211/347/253/240 /346/265/217/350/247/210/345/231/250/345/222/214/344/272/213/344/273/266.json" +851 -0
  26. package/lib-json/[JS]/347/254/254/344/272/214/347/253/240 /345/257/271/350/261/241-/345/207/275/346/225/260-/347/261/273.json" +1787 -0
  27. package/lib-json/[JS]/347/254/254/344/272/224/347/253/240 /345/274/202/346/255/245/347/274/226/347/250/213.json" +547 -0
  28. package/lib-json/[JS]/347/254/254/345/205/255/347/253/240 /346/234/215/345/212/241/345/231/250/347/253/257JavaScript.json" +613 -0
  29. package/lib-json/[JS]/347/254/254/345/233/233/347/253/240 /350/260/203/350/257/225/345/222/214/351/224/231/350/257/257/345/244/204/347/220/206.json" +525 -0
  30. package/lib-json/[/345/222/270/351/261/274]AppBuilder-1.json +977 -0
  31. package/lib-json/[/345/222/270/351/261/274]AppBuilder-2.json +941 -0
  32. package/lib-json/[/345/222/270/351/261/274]AppBuilder-3.json +973 -0
  33. package/lib-json/[/345/222/270/351/261/274]AppBuilder-4.json +981 -0
  34. package/lib-json/[/345/222/270/351/261/274]AppBuilder-5.json +771 -0
  35. package/lib-json/map.json +28 -43
  36. package/package.json +4 -2
  37. package/dist/static/css/app.d3e969a579969be885a3462a1e12e37f.css +0 -2
  38. package/dist/static/css/app.d3e969a579969be885a3462a1e12e37f.css.map +0 -1
  39. package/dist/static/js/app.53370ddfe5eba6a10565.js +0 -2
  40. package/dist/static/js/app.53370ddfe5eba6a10565.js.map +0 -1
  41. package/lib-json/Salesforce-Admin(302)-[Set-10].json +0 -321
  42. package/lib-json/Salesforce-Admin(302)-[Set-1].json +0 -301
  43. package/lib-json/Salesforce-Admin(302)-[Set-2].json +0 -325
  44. package/lib-json/Salesforce-Admin(302)-[Set-3].json +0 -305
  45. package/lib-json/Salesforce-Admin(302)-[Set-4].json +0 -325
  46. package/lib-json/Salesforce-Admin(302)-[Set-5].json +0 -329
  47. package/lib-json/Salesforce-Admin(302)-[Set-6].json +0 -322
  48. package/lib-json/Salesforce-Admin(302)-[Set-7].json +0 -321
  49. package/lib-json/Salesforce-Admin(302)-[Set-8].json +0 -321
  50. package/lib-json/Salesforce-Admin(302)-[Set-9].json +0 -325
  51. package/lib-json/Salesforce-Admin-201-[Set-10].json +0 -158
  52. package/lib-json/Salesforce-Admin-201-[Set-1].json +0 -604
  53. package/lib-json/Salesforce-Admin-201-[Set-2].json +0 -621
  54. package/lib-json/Salesforce-Admin-201-[Set-3].json +0 -650
  55. package/lib-json/Salesforce-Admin-201-[Set-4].json +0 -636
  56. package/lib-json/Salesforce-Admin-201-[Set-5].json +0 -640
  57. package/lib-json/Salesforce-Admin-201-[Set-6].json +0 -126
  58. package/lib-json/Salesforce-Admin-201-[Set-7].json +0 -126
  59. package/lib-json/Salesforce-Admin-201-[Set-8].json +0 -126
  60. package/lib-json/Salesforce-Admin-201-[Set-9].json +0 -126
  61. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-1].json +0 -321
  62. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-2].json +0 -325
  63. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-3].json +0 -321
  64. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-4].json +0 -337
  65. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-5].json +0 -329
  66. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-6].json +0 -325
  67. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-7].json +0 -480
  68. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-1].json +0 -305
  69. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-2].json +0 -297
  70. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-3].json +0 -269
  71. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-4].json +0 -309
  72. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-5].json +0 -515
  73. package/lib-json/app-builder-01.json +0 -1
  74. package/lib-json/app-builder-02.json +0 -1
  75. package/lib-json/app-builder-03.json +0 -1
  76. package/lib-json/app-builder-04.json +0 -1
  77. package/lib-json/app-builder-05.json +0 -1
  78. package/lib-json/app-builder-06.json +0 -1
  79. package/lib-json/app-builder-07.json +0 -1
  80. package/lib-json/app-builder-08.json +0 -1
  81. package/lib-json/app-builder-09.json +0 -1
  82. package/lib-json/app-builder-10.json +0 -1
  83. package/lib-json/app-builder-11.json +0 -311
@@ -0,0 +1,1243 @@
1
+ {
2
+ "title": "Dev1用户界面",
3
+ "category": "Dev1-自由部落侠",
4
+ "questions": [
5
+ {
6
+ "describe": "A developer is asked to create a Visualforce page that lists the contacts owned by the current user. This component will be embedded in a Lightning page.\nWithout writing unnecessary code, which controller should be used for this purpose?",
7
+ "answerOptions": [
8
+ {
9
+ "describe": "Lightning controller",
10
+ "isRight": false
11
+ },
12
+ {
13
+ "describe": "Standard list controller",
14
+ "isRight": false
15
+ },
16
+ {
17
+ "describe": "Standard controller",
18
+ "isRight": true
19
+ },
20
+ {
21
+ "describe": "Custom controller",
22
+ "isRight": false
23
+ }
24
+ ],
25
+ "hashCode": "1995171573",
26
+ "analysis": ""
27
+ },
28
+ {
29
+ "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?",
30
+ "answerOptions": [
31
+ {
32
+ "describe": "Implement pagination with a StandardSetController.",
33
+ "isRight": true
34
+ },
35
+ {
36
+ "describe": "Implement pagination with an OffsetController.",
37
+ "isRight": false
38
+ },
39
+ {
40
+ "describe": "Use JavaScript remoting with SOQL Offset.",
41
+ "isRight": false
42
+ },
43
+ {
44
+ "describe": "Use lazy loading and a transient List variable.",
45
+ "isRight": false
46
+ }
47
+ ],
48
+ "hashCode": "1988674189",
49
+ "analysis": ""
50
+ },
51
+ {
52
+ "describe": "A developer is creating an app that contains multiple Lightning web components.\nOne of the child components is used for navigation purposes.When a user clicks a button called component, the parent component must be alerted so it can navigate to the next page.\nHow should this be accomplished?",
53
+ "answerOptions": [
54
+ {
55
+ "describe": "Fire a notification.",
56
+ "isRight": false
57
+ },
58
+ {
59
+ "describe": "Update a property on the parent.",
60
+ "isRight": false
61
+ },
62
+ {
63
+ "describe": "Call a method in the Apex controller.",
64
+ "isRight": false
65
+ },
66
+ {
67
+ "describe": "Create a custom event.",
68
+ "isRight": true
69
+ }
70
+ ],
71
+ "hashCode": "1988674165",
72
+ "analysis": ""
73
+ },
74
+ {
75
+ "describe": "Which two statements are true about getter and setter methods as they relate to Visualforce?\nChoose 2 answers",
76
+ "answerOptions": [
77
+ {
78
+ "describe": "A corresponding setter method Is required for each getter method.",
79
+ "isRight": true
80
+ },
81
+ {
82
+ "describe": "Getter methods pass values from controller to a page.",
83
+ "isRight": true
84
+ },
85
+ {
86
+ "describe": "Setter methods always have to be declared global.",
87
+ "isRight": false
88
+ },
89
+ {
90
+ "describe": "Getter methods must be named getVariable and setter methods must be named setVariable.",
91
+ "isRight": false
92
+ }
93
+ ],
94
+ "hashCode": "1988674163",
95
+ "analysis": ""
96
+ },
97
+ {
98
+ "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?",
99
+ "answerOptions": [
100
+ {
101
+ "describe": "The Toggle component should call a method in the Temperature component.",
102
+ "isRight": false
103
+ },
104
+ {
105
+ "describe": "Create a custom event to handle the communication between components.",
106
+ "isRight": true
107
+ },
108
+ {
109
+ "describe": "Use an application event to communicate between the components.",
110
+ "isRight": false
111
+ },
112
+ {
113
+ "describe": "Use Lightning Message Service to communicate between the components.",
114
+ "isRight": false
115
+ }
116
+ ],
117
+ "hashCode": "1988674133",
118
+ "analysis": ""
119
+ },
120
+ {
121
+ "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?",
122
+ "answerOptions": [
123
+ {
124
+ "describe": "Flow Builder",
125
+ "isRight": false
126
+ },
127
+ {
128
+ "describe": "Lightning Component",
129
+ "isRight": true
130
+ },
131
+ {
132
+ "describe": "Approval Process",
133
+ "isRight": false
134
+ },
135
+ {
136
+ "describe": "Apex Trigger",
137
+ "isRight": false
138
+ }
139
+ ],
140
+ "hashCode": "1988674132",
141
+ "analysis": ""
142
+ },
143
+ {
144
+ "describe": "A third-party vendor created an unmanaged Lightning web component. The Salesforce Administrators expose the component only on Record Page Layouts.\nWhich two actions should the developer take to accomplish this business objective?\nChoose 2 answers",
145
+ "answerOptions": [
146
+ {
147
+ "describe": "Ensure isExposed Is set to true on the XML file.",
148
+ "isRight": true
149
+ },
150
+ {
151
+ "describe": "Specify lightningcommunity_ PageLayout as a target in the XML file.",
152
+ "isRight": false
153
+ },
154
+ {
155
+ "describe": "Specify lightningcommunity_Page as a target in the XML file.",
156
+ "isRight": true
157
+ },
158
+ {
159
+ "describe": "Specify lightning_ RecordPage as a target in the XML file.",
160
+ "isRight": false
161
+ }
162
+ ],
163
+ "hashCode": "1988674129",
164
+ "analysis": ""
165
+ },
166
+ {
167
+ "describe": "What are two best practices when it comes to Lightning Web Component events?\nChoose 2 answers",
168
+ "answerOptions": [
169
+ {
170
+ "describe": "Use event.target to communicate data to elements that aren't in the same shadow tree.",
171
+ "isRight": true
172
+ },
173
+ {
174
+ "describe": "Use events configured with bubbles: false and composed: false.",
175
+ "isRight": false
176
+ },
177
+ {
178
+ "describe": "Use CuatomEvent to pass data from a child to a parent component.",
179
+ "isRight": true
180
+ },
181
+ {
182
+ "describe": "Use event.detail to communicate data to elements in the same shadow tree.",
183
+ "isRight": false
184
+ }
185
+ ],
186
+ "hashCode": "1988674103",
187
+ "analysis": ""
188
+ },
189
+ {
190
+ "describe": "A developer is creating a Lightning web component to show a list of sales records.\nThe Sales Representative user should be able to see the commission field on each record. The Sales Assistant usershould be able to see all fields on the record except the commission field.\nHow should this be enforced so that the component works for both users without showing any errors?",
191
+ "answerOptions": [
192
+ {
193
+ "describe": "Use Lightning Data Service to get the collection of sales records.",
194
+ "isRight": false
195
+ },
196
+ {
197
+ "describe": "Use WITH SECURITY_ENFORCED in the SOQL that fetches the data for the component.",
198
+ "isRight": false
199
+ },
200
+ {
201
+ "describe": "Use Security.stripInaccessible to remove fields inaccessible to the current user.",
202
+ "isRight": true
203
+ },
204
+ {
205
+ "describe": "Use Lightning Locker Service to enforce sharing rules and field-level security.",
206
+ "isRight": false
207
+ }
208
+ ],
209
+ "hashCode": "1988674101",
210
+ "analysis": ""
211
+ },
212
+ {
213
+ "describe": "An org has two custom objects:\nPlan_c, that has a master-detail relationship to the Account object\nPlan_Item__c, that has a master-detail relationship to the Plan_c object\nWhat should a developer use to create a Visualforce section on the Account page layout that displays all of the Plan__c records related to the Account and all of the Plan_Item__c records related to those Plan_c records.",
214
+ "answerOptions": [
215
+ {
216
+ "describe": "A standard controller with a controller extension",
217
+ "isRight": true
218
+ },
219
+ {
220
+ "describe": "A standard controller with a custom controller",
221
+ "isRight": false
222
+ },
223
+ {
224
+ "describe": "A custom controller by itself",
225
+ "isRight": false
226
+ },
227
+ {
228
+ "describe": "A controller extension with a custom controller",
229
+ "isRight": false
230
+ }
231
+ ],
232
+ "hashCode": "1988674102",
233
+ "analysis": ""
234
+ },
235
+ {
236
+ "describe": "Which two are phases in the Aura application event propagation framework?\nChoose 2 answers",
237
+ "answerOptions": [
238
+ {
239
+ "describe": "Default",
240
+ "isRight": true
241
+ },
242
+ {
243
+ "describe": "Emit",
244
+ "isRight": false
245
+ },
246
+ {
247
+ "describe": "Control",
248
+ "isRight": false
249
+ },
250
+ {
251
+ "describe": "Bubble",
252
+ "isRight": true
253
+ }
254
+ ],
255
+ "hashCode": "1988674038",
256
+ "analysis": ""
257
+ },
258
+ {
259
+ "describe": "A developer created a child Lightning web component nested inside a parent Lightning web component. The parent component needs to pass a string value to the child component.\nIn which two ways can this be accomplished?\nChoose 2 answers",
260
+ "answerOptions": [
261
+ {
262
+ "describe": "The parent component can use the Apex controller class to send data to the child component.",
263
+ "isRight": false
264
+ },
265
+ {
266
+ "describe": "The parent component can invoke a method in the child component.",
267
+ "isRight": false
268
+ },
269
+ {
270
+ "describe": "The parent component can use a public property to pass the data to the child component.",
271
+ "isRight": true
272
+ },
273
+ {
274
+ "describe": "The parent component can use a custom event to pass the data to the child component.",
275
+ "isRight": true
276
+ }
277
+ ],
278
+ "hashCode": "1988674036",
279
+ "analysis": ""
280
+ },
281
+ {
282
+ "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?",
283
+ "answerOptions": [
284
+ {
285
+ "describe": "applyHtmlTag=\"true\"",
286
+ "isRight": false
287
+ },
288
+ {
289
+ "describe": "wizard=\"true\"",
290
+ "isRight": false
291
+ },
292
+ {
293
+ "describe": "setup=\"true\"",
294
+ "isRight": false
295
+ },
296
+ {
297
+ "describe": "lightningStylesheets=\"true\"",
298
+ "isRight": true
299
+ }
300
+ ],
301
+ "hashCode": "1988674011",
302
+ "analysis": ""
303
+ },
304
+ {
305
+ "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",
306
+ "answerOptions": [
307
+ {
308
+ "describe": "Add a dynamic action to the user's assigned page layouts.",
309
+ "isRight": false
310
+ },
311
+ {
312
+ "describe": "Create a Lightning web component.",
313
+ "isRight": false
314
+ },
315
+ {
316
+ "describe": "Create a dynamic form.",
317
+ "isRight": true
318
+ },
319
+ {
320
+ "describe": "Add a dynamic action to the Account record page.",
321
+ "isRight": true
322
+ },
323
+ {
324
+ "describe": "Create a custom permission for the users.",
325
+ "isRight": true
326
+ }
327
+ ],
328
+ "hashCode": "1988674010",
329
+ "analysis": ""
330
+ },
331
+ {
332
+ "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?",
333
+ "answerOptions": [
334
+ {
335
+ "describe": "lightning-flow",
336
+ "isRight": false
337
+ },
338
+ {
339
+ "describe": "aura:flow",
340
+ "isRight": false
341
+ },
342
+ {
343
+ "describe": "aura-flow",
344
+ "isRight": false
345
+ },
346
+ {
347
+ "describe": "lightning:flow",
348
+ "isRight": true
349
+ }
350
+ ],
351
+ "hashCode": "1988674008",
352
+ "analysis": ""
353
+ },
354
+ {
355
+ "describe": "What can be developed using the Lightning Component framework?",
356
+ "answerOptions": [
357
+ {
358
+ "describe": "Dynamic web sites",
359
+ "isRight": false
360
+ },
361
+ {
362
+ "describe": "Hosted web applications",
363
+ "isRight": false
364
+ },
365
+ {
366
+ "describe": "Salesforce integrations",
367
+ "isRight": false
368
+ },
369
+ {
370
+ "describe": "Single-page web apps",
371
+ "isRight": true
372
+ }
373
+ ],
374
+ "hashCode": "1988674005",
375
+ "analysis": "https://help.salesforce.com/s/articleView?id=sf.aura_overview.htm&type=5"
376
+ },
377
+ {
378
+ "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",
379
+ "answerOptions": [
380
+ {
381
+ "describe": "String nextPage = controller.save( ).getUrl( );",
382
+ "isRight": true
383
+ },
384
+ {
385
+ "describe": "Test.setCurrentPage(pageRef);",
386
+ "isRight": true
387
+ },
388
+ {
389
+ "describe": "insert pageRef;",
390
+ "isRight": false
391
+ },
392
+ {
393
+ "describe": "ApexPages.currentPage( ).getParameters( ).put('input', 'TestValue');",
394
+ "isRight": true
395
+ },
396
+ {
397
+ "describe": "public ExtendedController(ApexPages.StandardController cntrl) { }",
398
+ "isRight": false
399
+ }
400
+ ],
401
+ "hashCode": "1988674002",
402
+ "analysis": ""
403
+ },
404
+ {
405
+ "describe": "A developer must troubleshoot to pinpoint the causes of performance issues when a custom page loads in their org.\nWhich tool should the developer use to troubleshoot?",
406
+ "answerOptions": [
407
+ {
408
+ "describe": "AppExchange",
409
+ "isRight": false
410
+ },
411
+ {
412
+ "describe": "Developer Console",
413
+ "isRight": true
414
+ },
415
+ {
416
+ "describe": "Visual Studio Code IDE",
417
+ "isRight": false
418
+ },
419
+ {
420
+ "describe": "Setup Menu",
421
+ "isRight": false
422
+ }
423
+ ],
424
+ "hashCode": "1988673325",
425
+ "analysis": ""
426
+ },
427
+ {
428
+ "describe": "Which two statements are true about Getter and Setter methods as they relate to Visualforce? Choose 2 answers",
429
+ "answerOptions": [
430
+ {
431
+ "describe": "Getter methods can pass a value from a controller to a page.",
432
+ "isRight": true
433
+ },
434
+ {
435
+ "describe": "There is no guarantee for the order in which Getter or Setter methods are executed.",
436
+ "isRight": true
437
+ },
438
+ {
439
+ "describe": "Setter methods always have to be declared global.",
440
+ "isRight": false
441
+ },
442
+ {
443
+ "describe": "Setter methods can pass a value from a controller to a page.",
444
+ "isRight": false
445
+ }
446
+ ],
447
+ "hashCode": "1988673291",
448
+ "analysis": ""
449
+ },
450
+ {
451
+ "describe": "Which two characteristics are true for Aura component events? Choose 2 answers",
452
+ "answerOptions": [
453
+ {
454
+ "describe": "The event propagates to every owner in the containment hierarchy.",
455
+ "isRight": true
456
+ },
457
+ {
458
+ "describe": "Only parent components that create subcomponents(either in their markup or programmatically) can handle events.",
459
+ "isRight": false
460
+ },
461
+ {
462
+ "describe": "lf a container component needs to handle a component event, add a handleFacets=\"true\" attribute to its handler.",
463
+ "isRight": true
464
+ },
465
+ {
466
+ "describe": "Depending on the current propagation phase, calling event.stopPropagation( ) may not propagation.",
467
+ "isRight": false
468
+ }
469
+ ],
470
+ "hashCode": "1988673289",
471
+ "analysis": ""
472
+ },
473
+ {
474
+ "describe": "What are two ways that a controller and extension can be specified for a custom object named Notice on a Visualforce page? Choose 2 answers",
475
+ "answerOptions": [
476
+ {
477
+ "describe": "apex:page controller = \"Notice__c\" extensions=\"myControllerExtension\"",
478
+ "isRight": true
479
+ },
480
+ {
481
+ "describe": "apex:page standardController = \"Notice__c\" extensions=\"myControllerExtension\"",
482
+ "isRight": true
483
+ },
484
+ {
485
+ "describe": "apex:page controllers = \"Notice__c, myControllerExtension\"",
486
+ "isRight": false
487
+ },
488
+ {
489
+ "describe": "apex:page = Notice extends = \"myControllerExtension\"",
490
+ "isRight": false
491
+ }
492
+ ],
493
+ "hashCode": "1988673265",
494
+ "analysis": ""
495
+ },
496
+ {
497
+ "describe": "Which three resources in an Aura Component can contain JavaScript functions? Choose 3 answers",
498
+ "answerOptions": [
499
+ {
500
+ "describe": "Helper",
501
+ "isRight": true
502
+ },
503
+ {
504
+ "describe": "Controller",
505
+ "isRight": true
506
+ },
507
+ {
508
+ "describe": "Style",
509
+ "isRight": false
510
+ },
511
+ {
512
+ "describe": "Design",
513
+ "isRight": false
514
+ },
515
+ {
516
+ "describe": "Renderer",
517
+ "isRight": true
518
+ }
519
+ ],
520
+ "hashCode": "1988673264",
521
+ "analysis": "https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_bundle.htm"
522
+ },
523
+ {
524
+ "describe": "Which three Salesforce resources can be accessed from a Lighting web component? Choose 3 answers",
525
+ "answerOptions": [
526
+ {
527
+ "describe": "All external libraries",
528
+ "isRight": false
529
+ },
530
+ {
531
+ "describe": "Static resources",
532
+ "isRight": true
533
+ },
534
+ {
535
+ "describe": "Content asset files",
536
+ "isRight": true
537
+ },
538
+ {
539
+ "describe": "Third-party web components",
540
+ "isRight": false
541
+ },
542
+ {
543
+ "describe": "SVG resources",
544
+ "isRight": true
545
+ }
546
+ ],
547
+ "hashCode": "1988673173",
548
+ "analysis": "https://developer.salesforce.com/docs/component-library/documentation/en/lwc/create_global_value_providers"
549
+ },
550
+ {
551
+ "describe": "What are two ways that a controller extension can be specified on a Visualforce page? Choose 2 answers",
552
+ "answerOptions": [
553
+ {
554
+ "describe": "apex:page controller=\"Account\" extensions=\"myControllerExtension\"",
555
+ "isRight": true
556
+ },
557
+ {
558
+ "describe": "apex:page extends=\"myControllerExtension\"",
559
+ "isRight": false
560
+ },
561
+ {
562
+ "describe": "apex:page controller=\"Accunt, myControllerExtension\"",
563
+ "isRight": false
564
+ },
565
+ {
566
+ "describe": "apex:page standardController=\"Account\" extensions=\"myControllerExtension\"",
567
+ "isRight": true
568
+ }
569
+ ],
570
+ "hashCode": "1988673172",
571
+ "analysis": ""
572
+ },
573
+ {
574
+ "describe": "How does the Lightning Component framework help developers implement solutions faster?",
575
+ "answerOptions": [
576
+ {
577
+ "describe": "By providing an Agile process with default steps",
578
+ "isRight": false
579
+ },
580
+ {
581
+ "describe": "By providing device-awarenedd for mobile and desktops",
582
+ "isRight": true
583
+ },
584
+ {
585
+ "describe": "By providing code review standards and processes",
586
+ "isRight": false
587
+ },
588
+ {
589
+ "describe": "By providing change history and version control",
590
+ "isRight": false
591
+ }
592
+ ],
593
+ "hashCode": "1988673168",
594
+ "analysis": ""
595
+ },
596
+ {
597
+ "describe": "which two are best practices when it comes to Aura component and application event handling? Choose 2 answers",
598
+ "answerOptions": [
599
+ {
600
+ "describe": "Reuse the event logic in a component bundle, by putting the logic in the helper.",
601
+ "isRight": true
602
+ },
603
+ {
604
+ "describe": "Handle low-level events in the event handler and re-fire them as higher-level events.",
605
+ "isRight": true
606
+ },
607
+ {
608
+ "describe": "Use component events to communicate actions that should be handled at the application level.",
609
+ "isRight": false
610
+ },
611
+ {
612
+ "describe": "Try to use application events as opposed to component events.",
613
+ "isRight": false
614
+ }
615
+ ],
616
+ "hashCode": "1988673143",
617
+ "analysis": ""
618
+ },
619
+ {
620
+ "describe": "How should a custom user interface be privided when a user edits an Account in Lightning Experience?",
621
+ "answerOptions": [
622
+ {
623
+ "describe": "Override the Account's Edit button with a Lightning component.",
624
+ "isRight": true
625
+ },
626
+ {
627
+ "describe": "Override the Account's Edit button with a Lightning Flow.",
628
+ "isRight": false
629
+ },
630
+ {
631
+ "describe": "Override the Account's Edit button with a Lightning Action.",
632
+ "isRight": false
633
+ },
634
+ {
635
+ "describe": "Override the Account's Edit button with a Lightning page.",
636
+ "isRight": false
637
+ }
638
+ ],
639
+ "hashCode": "1988673080",
640
+ "analysis": ""
641
+ },
642
+ {
643
+ "describe": "Which three web technologies can be integrated into a Visualforce page?",
644
+ "answerOptions": [
645
+ {
646
+ "describe": "JavaScript",
647
+ "isRight": true
648
+ },
649
+ {
650
+ "describe": "HTML",
651
+ "isRight": true
652
+ },
653
+ {
654
+ "describe": "Java",
655
+ "isRight": false
656
+ },
657
+ {
658
+ "describe": "CSS",
659
+ "isRight": true
660
+ },
661
+ {
662
+ "describe": "PHP",
663
+ "isRight": false
664
+ }
665
+ ],
666
+ "hashCode": "1988673078",
667
+ "analysis": ""
668
+ },
669
+ {
670
+ "describe": "Which three steps allow a custom SVG to be included in a Lightning web component?Choose 3 answers",
671
+ "answerOptions": [
672
+ {
673
+ "describe": "Reference the getter in the HTML template.",
674
+ "isRight": false
675
+ },
676
+ {
677
+ "describe": "Upload the SVG as a static resource.",
678
+ "isRight": true
679
+ },
680
+ {
681
+ "describe": "Import the SVG as a content asset file.",
682
+ "isRight": false
683
+ },
684
+ {
685
+ "describe": "Import the static resource and provide a getter for it in JavaScript.",
686
+ "isRight": true
687
+ },
688
+ {
689
+ "describe": "Reference the import in the HTML template.",
690
+ "isRight": true
691
+ }
692
+ ],
693
+ "hashCode": "1988673076",
694
+ "analysis": ""
695
+ },
696
+ {
697
+ "describe": "A developer must provide a custom user interface when users edit a Contact. Users must be able to use the interface in Salesforce Classic and Lightning Experience.\nWhat should the developer do to provide the custom user interface?",
698
+ "answerOptions": [
699
+ {
700
+ "describe": "Override the Contact's Edit button with a Lightning page in Salesforce Classic and a Visualforce page in Lightning Experience.",
701
+ "isRight": false
702
+ },
703
+ {
704
+ "describe": "Override the Contact's Edit button with a Visualforce page in Salesforce Classic and a Lightning component in Lightning Experience.",
705
+ "isRight": true
706
+ },
707
+ {
708
+ "describe": "Override the Contact's Edit button with a Visualforce page in Salesforce Classic and a Lightning page in Lightning Experience.",
709
+ "isRight": false
710
+ },
711
+ {
712
+ "describe": "Override the Contacts's Edit button with a Lightning component in Salesforce Classic and a Lightning component in Lightning Experience.",
713
+ "isRight": false
714
+ }
715
+ ],
716
+ "hashCode": "1988673050",
717
+ "analysis": ""
718
+ },
719
+ {
720
+ "describe": "A developer has an Apex controller for a Visualforce page that takes an ID as a URL parameter.\nHow should the developer prevent a cross site scripting vulnerability?",
721
+ "answerOptions": [
722
+ {
723
+ "describe": "String.escapeSingleQuotes(ApexPages.currentPage().getParameters().get('url_param'))",
724
+ "isRight": false
725
+ },
726
+ {
727
+ "describe": "ApexPage.currentPage().getParameters().get('url_param')",
728
+ "isRight": false
729
+ },
730
+ {
731
+ "describe": "String.ValueOf(ApexPages.currentPage().getParameters().get('url_param'))",
732
+ "isRight": false
733
+ },
734
+ {
735
+ "describe": "ApePages.currentPage().getParameters().get('url_param').escapeHtml4()",
736
+ "isRight": true
737
+ }
738
+ ],
739
+ "hashCode": "1988672364",
740
+ "analysis": ""
741
+ },
742
+ {
743
+ "describe": "Which two are phases in the Salesforce Application Event propagation framework? Choose 2 answers",
744
+ "answerOptions": [
745
+ {
746
+ "describe": "Control",
747
+ "isRight": false
748
+ },
749
+ {
750
+ "describe": "Default",
751
+ "isRight": true
752
+ },
753
+ {
754
+ "describe": "Bubble",
755
+ "isRight": true
756
+ },
757
+ {
758
+ "describe": "Emit",
759
+ "isRight": false
760
+ }
761
+ ],
762
+ "hashCode": "1988672360",
763
+ "analysis": ""
764
+ },
765
+ {
766
+ "describe": "Application Events follow the traditional publish-subscribe model\nWhich method is used to fire an event?",
767
+ "answerOptions": [
768
+ {
769
+ "describe": "fire()",
770
+ "isRight": true
771
+ },
772
+ {
773
+ "describe": "emit()",
774
+ "isRight": false
775
+ },
776
+ {
777
+ "describe": "fireEvent()",
778
+ "isRight": false
779
+ },
780
+ {
781
+ "describe": "registerEvent()",
782
+ "isRight": false
783
+ }
784
+ ],
785
+ "hashCode": "1988672336",
786
+ "analysis": ""
787
+ },
788
+ {
789
+ "describe": "Universal Containers has a large number of custom applications that were built using a third-party JavaScript framework and exposed using Visualforce pages. The company wants to update these applications to apply styling that resembles the look and feel of Lightning Experience.\nWhat should the developer do to fulfill the business request in the quickest and most effective manner?",
790
+ "answerOptions": [
791
+ {
792
+ "describe": "Set the attribute enableLightning to true in the definition.",
793
+ "isRight": false
794
+ },
795
+ {
796
+ "describe": "Incorporate the Salesforce Lightning Design System CSS stylesheet into the JavaScript applications. ",
797
+ "isRight": true
798
+ },
799
+ {
800
+ "describe": "Enable Available for Lightning Experience, Lightning Communities, and the mobile app on Visualforce pages used by the custom application. ",
801
+ "isRight": false
802
+ },
803
+ {
804
+ "describe": "Rewrite all Visualfocre pages as Lightning components. ",
805
+ "isRight": false
806
+ }
807
+ ],
808
+ "hashCode": "1988672303",
809
+ "analysis": ""
810
+ },
811
+ {
812
+ "describe": "What does the Lightning Component framework provide to developers?",
813
+ "answerOptions": [
814
+ {
815
+ "describe": "Extended governor limits for applications",
816
+ "isRight": false
817
+ },
818
+ {
819
+ "describe": "Templated to create custom components",
820
+ "isRight": false
821
+ },
822
+ {
823
+ "describe": "Prebuilt components that can be reused",
824
+ "isRight": true
825
+ },
826
+ {
827
+ "describe": "Support for Classic and Lightning UIs",
828
+ "isRight": false
829
+ }
830
+ ],
831
+ "hashCode": "1988672297",
832
+ "analysis": ""
833
+ },
834
+ {
835
+ "describe": "<p>A developer is asked to create a Visualforce page that displays some Account fields as well as fields configured on the page layout for related Contacts.\nHow should the developer implement this request?</p>",
836
+ "answerOptions": [
837
+ {
838
+ "describe": "<p>Use the &lt;apex:include&gt; tag.</p>",
839
+ "isRight": false
840
+ },
841
+ {
842
+ "describe": "<p>Add a method to the standard controller.</p>",
843
+ "isRight": false
844
+ },
845
+ {
846
+ "describe": "<p>Use the &lt;apex:relatedList&gt; tag.</p>",
847
+ "isRight": true
848
+ },
849
+ {
850
+ "describe": "<p>Create a controller extension.</p>",
851
+ "isRight": false
852
+ }
853
+ ],
854
+ "hashCode": "1988674190",
855
+ "analysis": ""
856
+ },
857
+ {
858
+ "describe": "<p>Refer to the code snippet below:</p><p>import fetchOpps from &#39;@salesforce/apex/OpportunitySearch.fetchOpportunities&#39;;</p><p>@wire(fetchOpps)</p><p>opportunities;</p><p>When a Lightning web component is rendered, a list of opportunities that match certain criteria should be retrieved from the database and displayed to the end-user.</p><p>Which three considerations must the developer implement to make the fetchOpportunities method available within the Lightning web component? Choose 3 answers</p><p style=\"line-height: 1.5em;\" dir=\"ltr\"><br/></p>",
859
+ "answerOptions": [
860
+ {
861
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">The method cannot mutate the result set retrieved from the database.</p>",
862
+ "isRight": true
863
+ },
864
+ {
865
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">The method must be annotated with the @InvocableMethod annotation</p>",
866
+ "isRight": false
867
+ },
868
+ {
869
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">The method must specify the(continuation=true) attribute.</p>",
870
+ "isRight": false
871
+ },
872
+ {
873
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">The method must be annotated with the @AuraEnabled annotation</p>",
874
+ "isRight": true
875
+ },
876
+ {
877
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">The method must specify the(cacheable=true) attribute.</p>",
878
+ "isRight": true
879
+ }
880
+ ],
881
+ "hashCode": "1995171603",
882
+ "analysis": ""
883
+ },
884
+ {
885
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">Which code statement includes an Apex method named updateAccounts in the class AccountController for use in a Lightning web component?</p>",
886
+ "answerOptions": [
887
+ {
888
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">import updateAccounts from &#39;AccountController&#39;;</p>",
889
+ "isRight": false
890
+ },
891
+ {
892
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">import updateAccounts from &#39;AccountController.updateAccounts&#39;;</p>",
893
+ "isRight": false
894
+ },
895
+ {
896
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">import updateAccounts from &#39;@salesforce/apex/AccountController&#39;;</p>",
897
+ "isRight": false
898
+ },
899
+ {
900
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">import updateAccounts from &#39;@salesforce/apex/AccountController.updateAccounts&#39;;</p>",
901
+ "isRight": true
902
+ }
903
+ ],
904
+ "hashCode": "1995171602",
905
+ "analysis": "<p>https://developer.salesforce.com/docs/component-library/documentation/en/lwc/apex_import_method</p>"
906
+ },
907
+ {
908
+ "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>",
909
+ "answerOptions": [
910
+ {
911
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">@AuraEnabled(cacheable=true)</p>",
912
+ "isRight": true
913
+ },
914
+ {
915
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">@RemoteAction</p>",
916
+ "isRight": false
917
+ },
918
+ {
919
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">@RemoteAction(cacheable=true)</p>",
920
+ "isRight": false
921
+ },
922
+ {
923
+ "describe": "<p style=\"line-height: 1.5em;\" dir=\"ltr\">@AuraEnabled</p>",
924
+ "isRight": false
925
+ }
926
+ ],
927
+ "hashCode": "1995171580",
928
+ "analysis": ""
929
+ },
930
+ {
931
+ "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>",
932
+ "answerOptions": [
933
+ {
934
+ "describe": "<p>Add &lt;isExposed&gt;true&lt;/isExposed&gt; to the statusComponent.js-meta.xml file.</p>",
935
+ "isRight": true
936
+ },
937
+ {
938
+ "describe": "<p>Add &lt;target&gt;lightning__RecordPage&lt;/target&gt; to the statusComponent.js-meta.xml file.</p>",
939
+ "isRight": true
940
+ },
941
+ {
942
+ "describe": "<p>Add &lt;masterLabel&gt;Account&lt;/masterLabel&gt; to the statusComponent.js-meta.xml file.</p>",
943
+ "isRight": false
944
+ },
945
+ {
946
+ "describe": "<p>Add &lt;target&gt;lightning__RecordPage&lt;/target&gt; to the statusComponent.js file.</p>",
947
+ "isRight": false
948
+ }
949
+ ],
950
+ "hashCode": "1988675025",
951
+ "analysis": ""
952
+ },
953
+ {
954
+ "describe": "<p>A custom Visualforce controller calls the ApexPages.addMessage( ) method, but no messages are rendering on the page.</p><p>Which component should be added to the Visualforce page to display the message?</p><p><br/></p>",
955
+ "answerOptions": [
956
+ {
957
+ "describe": "<p>&lt;apex:pageMessages /&gt;</p>",
958
+ "isRight": true
959
+ },
960
+ {
961
+ "describe": "<p>&lt;apex:pageMessages severity=&quot;info&quot; /&gt;</p>",
962
+ "isRight": false
963
+ },
964
+ {
965
+ "describe": "<p>&lt;apex:facet name=&quot;message&quot; /&gt;</p>",
966
+ "isRight": false
967
+ },
968
+ {
969
+ "describe": "<p>&lt;apex:message for=&quot;info&quot; /&gt;</p>",
970
+ "isRight": false
971
+ }
972
+ ],
973
+ "hashCode": "1988674971",
974
+ "analysis": ""
975
+ },
976
+ {
977
+ "describe": "<p>Which three code lines are required to create a Lightning component on a Visualforce page? Choose 3 answers</p>",
978
+ "answerOptions": [
979
+ {
980
+ "describe": "<p>$lightning.useComponent</p>",
981
+ "isRight": false
982
+ },
983
+ {
984
+ "describe": "<p>&lt;apex:slds/&gt;</p>",
985
+ "isRight": false
986
+ },
987
+ {
988
+ "describe": "<p>$lightning.use</p>",
989
+ "isRight": true
990
+ },
991
+ {
992
+ "describe": "<p>&lt;apex:includeLightning/&gt;</p>",
993
+ "isRight": true
994
+ },
995
+ {
996
+ "describe": "<p>$Lightning.createComponent</p>",
997
+ "isRight": true
998
+ }
999
+ ],
1000
+ "hashCode": "1988674968",
1001
+ "analysis": ""
1002
+ },
1003
+ {
1004
+ "describe": "<p>What are three capabilities of the &lt;ltng:require&gt; tag when loading JavaScript resources in Aura components? Choose 3 answers</p>",
1005
+ "answerOptions": [
1006
+ {
1007
+ "describe": "<p>Specifying loading order</p>",
1008
+ "isRight": true
1009
+ },
1010
+ {
1011
+ "describe": "<p>Loading scripts in parallel</p>",
1012
+ "isRight": true
1013
+ },
1014
+ {
1015
+ "describe": "<p>Loading files from Documents</p>",
1016
+ "isRight": false
1017
+ },
1018
+ {
1019
+ "describe": "<p>One-time loading for duplicate scripts</p>",
1020
+ "isRight": true
1021
+ },
1022
+ {
1023
+ "describe": "<p>Loading externally hosted scripts</p>",
1024
+ "isRight": false
1025
+ }
1026
+ ],
1027
+ "hashCode": "1988674965",
1028
+ "analysis": ""
1029
+ },
1030
+ {
1031
+ "describe": "<p>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.</p><p><br/></p><p>Which three attributes need to be defined with values in the &lt;apex:page&gt; tag to accomplish this? Choose 3 answers</p><p><br/></p>",
1032
+ "answerOptions": [
1033
+ {
1034
+ "describe": "<p>extensions</p>",
1035
+ "isRight": true
1036
+ },
1037
+ {
1038
+ "describe": "<p>action</p>",
1039
+ "isRight": true
1040
+ },
1041
+ {
1042
+ "describe": "<p>standardController</p>",
1043
+ "isRight": true
1044
+ },
1045
+ {
1046
+ "describe": "<p>renderAs</p>",
1047
+ "isRight": false
1048
+ },
1049
+ {
1050
+ "describe": "<p>readOnly</p>",
1051
+ "isRight": false
1052
+ }
1053
+ ],
1054
+ "hashCode": "1988674289",
1055
+ "analysis": ""
1056
+ },
1057
+ {
1058
+ "describe": "<p>Which code in a Visualforce page and/or cotroller might present a security vulnerability?</p>",
1059
+ "answerOptions": [
1060
+ {
1061
+ "describe": "<p>&lt;apex : outputText escape=&quot;false&quot; value= &quot;{ !$CurrentPage . parameters .userInput } &quot; /&gt;</p>",
1062
+ "isRight": true
1063
+ },
1064
+ {
1065
+ "describe": "<p>&lt;apex : outputField value=&quot;{ !ctrl . userInput }&quot; / &gt;</p>",
1066
+ "isRight": false
1067
+ },
1068
+ {
1069
+ "describe": "<p>&lt;apex : outputText value=&quot;{ !$CurrentPage . parameters . userInput } &quot; /&gt;</p>",
1070
+ "isRight": false
1071
+ },
1072
+ {
1073
+ "describe": "<p>&lt;apex : outputField escape=&quot;false&quot; value=&quot;{ !ctrl . userInput }&quot; /&gt;</p>",
1074
+ "isRight": false
1075
+ }
1076
+ ],
1077
+ "hashCode": "1988674283",
1078
+ "analysis": ""
1079
+ },
1080
+ {
1081
+ "describe": "<p>An Apex method, getAccounts, that returns a List of Accounts given a searchTerm, is available for Lightning Web components to use.</p><p>What is the correct definition of a Lightning Web component property that uses the getAccounts method?</p><p><br/></p>",
1082
+ "answerOptions": [
1083
+ {
1084
+ "describe": "<p>&nbsp;@AuraEnabled (getAccounts, { searchTerm: &#39;$searchTerm&#39; } )</p><p>accountList;</p><p><br/></p>",
1085
+ "isRight": false
1086
+ },
1087
+ {
1088
+ "describe": "<p>&nbsp;@wire (getAccounts, &#39;$searchTerm&#39;)</p><p>accountList;</p><p><br/></p>",
1089
+ "isRight": false
1090
+ },
1091
+ {
1092
+ "describe": "<p>&nbsp;@wire (getAccounts, { searchTerm: &#39;$searchTerm&#39; })</p><p>accountList;</p><p><br/></p>",
1093
+ "isRight": true
1094
+ },
1095
+ {
1096
+ "describe": "<p>&nbsp;@AuraEnabled(getAccounts, &#39;$searchTerm&#39;)</p><p>accountList;</p><p><br/></p>",
1097
+ "isRight": false
1098
+ }
1099
+ ],
1100
+ "hashCode": "1988674257",
1101
+ "analysis": ""
1102
+ },
1103
+ {
1104
+ "describe": "<p>A developer must crreate a Lightning component that allows users to input Contact record information to create a Contact record, including a Salary__c custom field.\nWhat should the developer use, along with a lightning-record-edit-form, so that Salary__c field functions as a currency input and is only viewable and editable by users that have the correct field level permissions on Salary__c ?</p>",
1105
+ "answerOptions": [
1106
+ {
1107
+ "describe": "<p>&lt;lightning-input-field field-name=&quot;Salary__c&quot;&gt;&lt;/lightning-input-field&gt;</p>",
1108
+ "isRight": true
1109
+ },
1110
+ {
1111
+ "describe": "<p>&lt;lightning-input-currency value=&quot;Salary__c&quot;&gt;&lt;/lightning-input-currency&gt;</p>",
1112
+ "isRight": false
1113
+ },
1114
+ {
1115
+ "describe": "<p>&lt;lightning-input type=&quot;number&quot; value=&quot;Salary__c&quot; formatter=&quot;currency&quot;&gt;&lt;/lightning-input&gt;</p>",
1116
+ "isRight": false
1117
+ },
1118
+ {
1119
+ "describe": "<p>&lt;lightning-formatted-number value=&quot;Salary__c&quot; format-style=&quot;currency&quot;&gt;&lt;/lightning-formatted-number&gt;</p>",
1120
+ "isRight": false
1121
+ }
1122
+ ],
1123
+ "hashCode": "1988674228",
1124
+ "analysis": ""
1125
+ },
1126
+ {
1127
+ "describe": "<p>Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records.\nWhich Visualforce feature supports this requirement?</p>",
1128
+ "answerOptions": [
1129
+ {
1130
+ "describe": "<p>recordSetVar page attribute</p>",
1131
+ "isRight": true
1132
+ },
1133
+ {
1134
+ "describe": "<p>&lt;apex:listButton&gt; tag</p>",
1135
+ "isRight": false
1136
+ },
1137
+ {
1138
+ "describe": "<p>custom controller</p>",
1139
+ "isRight": false
1140
+ },
1141
+ {
1142
+ "describe": "<p>controller extension</p>",
1143
+ "isRight": false
1144
+ }
1145
+ ],
1146
+ "hashCode": "1988674226",
1147
+ "analysis": ""
1148
+ },
1149
+ {
1150
+ "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>",
1151
+ "answerOptions": [
1152
+ {
1153
+ "describe": "<p>@AuraEnabled(cacheable=false)</p><p>public List&lt;Opportunity&gt; search(String term){ /*implementation*/ }</p><p><br/></p>",
1154
+ "isRight": false
1155
+ },
1156
+ {
1157
+ "describe": "<p>@AuraEnabled(cacheable=true)</p><p>public List&lt;Opportunity&gt; search(String term){ /*implementation*/ }</p><p><br/></p>",
1158
+ "isRight": false
1159
+ },
1160
+ {
1161
+ "describe": "<p>@AuraEnabled(cacheable=false)</p><p>public static List&lt;Opportunity&gt; search(String term){ /*implementation*/ }</p><p><br/></p>",
1162
+ "isRight": false
1163
+ },
1164
+ {
1165
+ "describe": "<p>@AuraEnabled(cacheable=true)</p><p>public static List&lt;Opportunity&gt; search(String term){ /*implementation*/ }</p><p><br/></p>",
1166
+ "isRight": true
1167
+ }
1168
+ ],
1169
+ "hashCode": "1988674220",
1170
+ "analysis": ""
1171
+ },
1172
+ {
1173
+ "describe": "<p>A developer has a Visualforce page and custom controller to save Account records. The developer wants to display any validation rule violations to the user.\n\nHow can the developer make sure that validation rule violations are displayed?</p>",
1174
+ "answerOptions": [
1175
+ {
1176
+ "describe": "<p>Include &lt;apex:messages&gt; on the Visualforce page.</p>",
1177
+ "isRight": true
1178
+ },
1179
+ {
1180
+ "describe": "<p>Perform the DML using the Database.upsert( ) method.</p>",
1181
+ "isRight": false
1182
+ },
1183
+ {
1184
+ "describe": "<p>Add custom controller attributes to display the message.</p>",
1185
+ "isRight": false
1186
+ },
1187
+ {
1188
+ "describe": "<p>Use a try/catch with a custom exception class.</p>",
1189
+ "isRight": false
1190
+ }
1191
+ ],
1192
+ "hashCode": "1988674196",
1193
+ "analysis": ""
1194
+ },
1195
+ {
1196
+ "describe": "<p>Which code displays the contents of a Visualforce page as a PDF?</p>",
1197
+ "answerOptions": [
1198
+ {
1199
+ "describe": "<p>&lt;apex:page renderAs=&quot;pdf&quot;&gt;</p>",
1200
+ "isRight": true
1201
+ },
1202
+ {
1203
+ "describe": "<p>&lt;apex:page contentType=&quot;pdf&quot;&gt;</p>",
1204
+ "isRight": false
1205
+ },
1206
+ {
1207
+ "describe": "<p>&lt;apex:page contentType=&quot;application/pdf&quot;&gt;</p>",
1208
+ "isRight": false
1209
+ },
1210
+ {
1211
+ "describe": "<p>&lt;apex:page renderAs=&quot;application/pdf&quot;&gt;</p>",
1212
+ "isRight": false
1213
+ }
1214
+ ],
1215
+ "hashCode": "1988674193",
1216
+ "analysis": ""
1217
+ },
1218
+ {
1219
+ "describe": "<p>Which code should be used to update an existing Visualforce page that uses standard Visualforce components so that the page \nmatches the look and feel of Lightning Experience?</p>",
1220
+ "answerOptions": [
1221
+ {
1222
+ "describe": "<p>&lt;apex:page LightningStyleSheets=&quot;true&quot;&gt;</p>",
1223
+ "isRight": true
1224
+ },
1225
+ {
1226
+ "describe": "<p>&lt;apex:slds/&gt;</p>",
1227
+ "isRight": false
1228
+ },
1229
+ {
1230
+ "describe": "<p>&lt;apex:incluedLightning/&gt;</p>",
1231
+ "isRight": false
1232
+ },
1233
+ {
1234
+ "describe": "<p>&lt;apex:styleSheet value=&quot;{!$Resource.slds, &#39;assets/slds.css&#39;)}&quot;&gt;</p>",
1235
+ "isRight": false
1236
+ }
1237
+ ],
1238
+ "hashCode": "1988674191",
1239
+ "analysis": ""
1240
+ }
1241
+ ],
1242
+ "hashCode": "-1307154604"
1243
+ }