@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,928 @@
1
+ {
2
+ "title": "Dev1测试_调试_部署",
3
+ "category": "Dev1-自由部落侠",
4
+ "questions": [
5
+ {
6
+ "describe": "What should a developer use to script the deployment and unit test execution as part of continuous Integration?",
7
+ "answerOptions": [
8
+ {
9
+ "describe": "Execute Anonymous",
10
+ "isRight": false
11
+ },
12
+ {
13
+ "describe": "VS Code",
14
+ "isRight": false
15
+ },
16
+ {
17
+ "describe": "Developer Console",
18
+ "isRight": false
19
+ },
20
+ {
21
+ "describe": "Salesforce CLI",
22
+ "isRight": true
23
+ }
24
+ ],
25
+ "hashCode": "1988674160",
26
+ "analysis": ""
27
+ },
28
+ {
29
+ "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",
30
+ "answerOptions": [
31
+ {
32
+ "describe": "Rollup summary fields can cause the parent record to go through Save.",
33
+ "isRight": true
34
+ },
35
+ {
36
+ "describe": "The trigger may fire multiple times during a transaction.",
37
+ "isRight": true
38
+ },
39
+ {
40
+ "describe": "Duplicate rules are executed once all DML operations commit to the database.",
41
+ "isRight": false
42
+ },
43
+ {
44
+ "describe": "The validation rules will cause the trigger to fire again.",
45
+ "isRight": false
46
+ }
47
+ ],
48
+ "hashCode": "1988674104",
49
+ "analysis": ""
50
+ },
51
+ {
52
+ "describe": "Which two sfdx commands can be used to add testing data to a Developer sandbox?\nChoose 2 answers",
53
+ "answerOptions": [
54
+ {
55
+ "describe": "force:data:tree:import",
56
+ "isRight": true
57
+ },
58
+ {
59
+ "describe": "force: data:object:create",
60
+ "isRight": false
61
+ },
62
+ {
63
+ "describe": "force:data:bulk: upsert",
64
+ "isRight": true
65
+ },
66
+ {
67
+ "describe": "force:data:async:apsert",
68
+ "isRight": false
69
+ }
70
+ ],
71
+ "hashCode": "1988674100",
72
+ "analysis": ""
73
+ },
74
+ {
75
+ "describe": "Which three statements are accurate about debug logs?\nChoose 3 answers",
76
+ "answerOptions": [
77
+ {
78
+ "describe": "Debug log levels are cumulative; where FINE log level includes all events logged at the DEBUG, INFO,WARN,and ERROR levels.",
79
+ "isRight": false
80
+ },
81
+ {
82
+ "describe": "The maximum size of a debug log is 5 MB.",
83
+ "isRight": false
84
+ },
85
+ {
86
+ "describe": "Only the 20 most recent debug logs for a user are kept.",
87
+ "isRight": true
88
+ },
89
+ {
90
+ "describe": "Debug logs can be set for specific users, classes, and triggers.",
91
+ "isRight": true
92
+ },
93
+ {
94
+ "describe": "System debug logs are retained for 24 hours.",
95
+ "isRight": true
96
+ }
97
+ ],
98
+ "hashCode": "1988674098",
99
+ "analysis": ""
100
+ },
101
+ {
102
+ "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",
103
+ "answerOptions": [
104
+ {
105
+ "describe": "Use the @isTest(seeAllData=true)annotation in the test class.",
106
+ "isRight": false
107
+ },
108
+ {
109
+ "describe": "Create a static resource containing test data.",
110
+ "isRight": true
111
+ },
112
+ {
113
+ "describe": "Use Test.loadData to populate data in your test methods.",
114
+ "isRight": true
115
+ },
116
+ {
117
+ "describe": "Use the @isTest(isParallel=true) annotation in the test class.",
118
+ "isRight": false
119
+ }
120
+ ],
121
+ "hashCode": "1988674070",
122
+ "analysis": ""
123
+ },
124
+ {
125
+ "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",
126
+ "answerOptions": [
127
+ {
128
+ "describe": "Apex classes must have at least 75% code coverage org-wide.",
129
+ "isRight": true
130
+ },
131
+ {
132
+ "describe": "Test methods must be declared with the testMethod keyword.",
133
+ "isRight": false
134
+ },
135
+ {
136
+ "describe": "At least one line of code must be executed for the Apex trigger.",
137
+ "isRight": true
138
+ },
139
+ {
140
+ "describe": "All methods in the test classes must use @isTest.",
141
+ "isRight": false
142
+ }
143
+ ],
144
+ "hashCode": "1988674042",
145
+ "analysis": ""
146
+ },
147
+ {
148
+ "describe": "What should a developer do to check the code coverage of a class after running all tests?",
149
+ "answerOptions": [
150
+ {
151
+ "describe": "Select and run the class on the Apex Test Execution page in the Developer Console.",
152
+ "isRight": false
153
+ },
154
+ {
155
+ "describe": "View the Code Coverage column in the list view on the Apex Classes page.",
156
+ "isRight": false
157
+ },
158
+ {
159
+ "describe": "View the Code Coverage percentage for the class using the Overall Code Coverage panel in the Developer Console Tests tab.",
160
+ "isRight": true
161
+ },
162
+ {
163
+ "describe": "View the Class Test Percentage tab on the Apex Class list view in Salesforce Setup.",
164
+ "isRight": false
165
+ }
166
+ ],
167
+ "hashCode": "1988673327",
168
+ "analysis": ""
169
+ },
170
+ {
171
+ "describe": "What are three characteristics of change set deployments? Choose 3 answers",
172
+ "answerOptions": [
173
+ {
174
+ "describe": "Deployment is done in a one-way, single transaction.",
175
+ "isRight": true
176
+ },
177
+ {
178
+ "describe": "Change sets can deploy custom settings data.",
179
+ "isRight": false
180
+ },
181
+ {
182
+ "describe": "Change sets can only be used between related organizations.",
183
+ "isRight": true
184
+ },
185
+ {
186
+ "describe": "Change sets can be used to transfer records.",
187
+ "isRight": false
188
+ },
189
+ {
190
+ "describe": "Sending a change set between two orgs requires a deployment connection.",
191
+ "isRight": true
192
+ }
193
+ ],
194
+ "hashCode": "1988673267",
195
+ "analysis": ""
196
+ },
197
+ {
198
+ "describe": "Which three statements are accurate about debug logs? Choose 3 answers",
199
+ "answerOptions": [
200
+ {
201
+ "describe": "Amount of information logged in the debug log can be controlled by the log levels.",
202
+ "isRight": true
203
+ },
204
+ {
205
+ "describe": "To View Debug Logs, \"Manager Users or \"View AI Data\" permission is needed.",
206
+ "isRight": true
207
+ },
208
+ {
209
+ "describe": "Debug Log levels are cumulative, where FINE log level includes all events logged at the DEBUG, INFO, WARN, and ERROR levels.",
210
+ "isRight": true
211
+ },
212
+ {
213
+ "describe": "Amount of information logged in the debug log can be controlled programmatically.",
214
+ "isRight": false
215
+ },
216
+ {
217
+ "describe": "To View Debug Logs, \"Manager users\" or \"Modify All Data\" permission is needed. ",
218
+ "isRight": false
219
+ }
220
+ ],
221
+ "hashCode": "1988673266",
222
+ "analysis": ""
223
+ },
224
+ {
225
+ "describe": "A developer needs to create a baseline set of data(Accounts, Contacts, Products, Assets) for an entire suite of tests allowing them to test independent requirements various types of Salesforce Cases.\nWhich approach can efficiently generate the required data for each unit test?",
226
+ "answerOptions": [
227
+ {
228
+ "describe": "Create a mock using the Stub API.",
229
+ "isRight": false
230
+ },
231
+ {
232
+ "describe": "Add @IsTest(seeAllData=true) at the start of the unit test class. ",
233
+ "isRight": false
234
+ },
235
+ {
236
+ "describe": "Create test data before Test.startTest( ) in the unit test. ",
237
+ "isRight": false
238
+ },
239
+ {
240
+ "describe": "Use @TestSetup with a void method.",
241
+ "isRight": true
242
+ }
243
+ ],
244
+ "hashCode": "1988673261",
245
+ "analysis": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_testsetup_using.htm"
246
+ },
247
+ {
248
+ "describe": "Which two statements are true about using the @testSetup annotation in an Apex test class?Choose 2 answers",
249
+ "answerOptions": [
250
+ {
251
+ "describe": "Test data is inserted once for all test methods in a class.",
252
+ "isRight": true
253
+ },
254
+ {
255
+ "describe": "The @testSetup annotation is not supported when the @isTest(SeeAllData=True) annotation is used.",
256
+ "isRight": true
257
+ },
258
+ {
259
+ "describe": "A method defined with the @testSetup annotation automatically executes before each test method in the test class is executes.",
260
+ "isRight": false
261
+ },
262
+ {
263
+ "describe": "Records created in the test setup method cannot be updated in individual test methods.",
264
+ "isRight": false
265
+ }
266
+ ],
267
+ "hashCode": "1988673234",
268
+ "analysis": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_testsetup_using.htm"
269
+ },
270
+ {
271
+ "describe": "A developer needs to have records with specific field values in order to test a new Apex class.\nWhat should the developer do to ensure the data is available to the test?",
272
+ "answerOptions": [
273
+ {
274
+ "describe": "Use SOQL to query the org for the required data.",
275
+ "isRight": false
276
+ },
277
+ {
278
+ "describe": "Use Anonymous Apex to create the required data.",
279
+ "isRight": false
280
+ },
281
+ {
282
+ "describe": "Use Test.loadData( ) and reference a CSV file.",
283
+ "isRight": false
284
+ },
285
+ {
286
+ "describe": "Use Test.loadData( ) and reference a static resource.",
287
+ "isRight": true
288
+ }
289
+ ],
290
+ "hashCode": "1988673233",
291
+ "analysis": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_load_data.htm"
292
+ },
293
+ {
294
+ "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?",
295
+ "answerOptions": [
296
+ {
297
+ "describe": "The test method does not use System.runAs to execute as a specific user. ",
298
+ "isRight": false
299
+ },
300
+ {
301
+ "describe": "The test method is calling an @future method.",
302
+ "isRight": false
303
+ },
304
+ {
305
+ "describe": "The test method has a syntax error in the code. ",
306
+ "isRight": false
307
+ },
308
+ {
309
+ "describe": "The test method relies on exiting data in the sandbox.",
310
+ "isRight": true
311
+ }
312
+ ],
313
+ "hashCode": "1988673232",
314
+ "analysis": ""
315
+ },
316
+ {
317
+ "describe": "When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?",
318
+ "answerOptions": [
319
+ {
320
+ "describe": "Sandbox",
321
+ "isRight": false
322
+ },
323
+ {
324
+ "describe": "Dev Hub",
325
+ "isRight": true
326
+ },
327
+ {
328
+ "describe": "Environment Hub",
329
+ "isRight": false
330
+ },
331
+ {
332
+ "describe": "Production",
333
+ "isRight": false
334
+ }
335
+ ],
336
+ "hashCode": "1988673230",
337
+ "analysis": "https://help.salesforce.com/articleView?id=managing_scratch_orgs.htm&type=5"
338
+ },
339
+ {
340
+ "describe": "A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles.\n\nWhich two tools can they use to run a script that deploys to a sandbox? Choose 2 answers",
341
+ "answerOptions": [
342
+ {
343
+ "describe": "Change Sets",
344
+ "isRight": false
345
+ },
346
+ {
347
+ "describe": "SFDX CLI",
348
+ "isRight": true
349
+ },
350
+ {
351
+ "describe": "Developer Console",
352
+ "isRight": false
353
+ },
354
+ {
355
+ "describe": "Ant Migration Tool",
356
+ "isRight": true
357
+ }
358
+ ],
359
+ "hashCode": "1988673229",
360
+ "analysis": ""
361
+ },
362
+ {
363
+ "describe": "Which scenario is valid for execution by unit tests?",
364
+ "answerOptions": [
365
+ {
366
+ "describe": "Execute anonymous Apex as a different user.",
367
+ "isRight": false
368
+ },
369
+ {
370
+ "describe": "Generate a Visualforce PDF with getContentAsPDF( )·",
371
+ "isRight": false
372
+ },
373
+ {
374
+ "describe": "Load data from a remote site with a callout.",
375
+ "isRight": true
376
+ },
377
+ {
378
+ "describe": "Set the created date of a record using a system method.",
379
+ "isRight": false
380
+ }
381
+ ],
382
+ "hashCode": "1988673227",
383
+ "analysis": ""
384
+ },
385
+ {
386
+ "describe": "Which Salesforce org has a complete duplicate copy of the production org including data and configuration?",
387
+ "answerOptions": [
388
+ {
389
+ "describe": "Full Sandbox",
390
+ "isRight": true
391
+ },
392
+ {
393
+ "describe": "Developer Pro Sandbox",
394
+ "isRight": false
395
+ },
396
+ {
397
+ "describe": "Production",
398
+ "isRight": false
399
+ },
400
+ {
401
+ "describe": "Partial Copy Sandbox",
402
+ "isRight": false
403
+ }
404
+ ],
405
+ "hashCode": "1988673203",
406
+ "analysis": ""
407
+ },
408
+ {
409
+ "describe": "How can a developer check the test coverage of active Process Builders and Flows before deploying them in a Change Set?",
410
+ "answerOptions": [
411
+ {
412
+ "describe": "Use the Flow Properties page.",
413
+ "isRight": false
414
+ },
415
+ {
416
+ "describe": "Use SOQL and the Tooling API.",
417
+ "isRight": true
418
+ },
419
+ {
420
+ "describe": "Use the ApexTestResult class.",
421
+ "isRight": false
422
+ },
423
+ {
424
+ "describe": "Use the Code Coverage Setup page.",
425
+ "isRight": false
426
+ }
427
+ ],
428
+ "hashCode": "1988673202",
429
+ "analysis": ""
430
+ },
431
+ {
432
+ "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?",
433
+ "answerOptions": [
434
+ {
435
+ "describe": "Add the business logic to a test class.",
436
+ "isRight": true
437
+ },
438
+ {
439
+ "describe": "Include a try/catch block to the Apex class. ",
440
+ "isRight": false
441
+ },
442
+ {
443
+ "describe": "Perform a code review with another developer.",
444
+ "isRight": false
445
+ },
446
+ {
447
+ "describe": "Run the code in an Execute Anonymous block.",
448
+ "isRight": false
449
+ }
450
+ ],
451
+ "hashCode": "1988673198",
452
+ "analysis": ""
453
+ },
454
+ {
455
+ "describe": "For which three items can a trace flag be configured? Choose 3 answers",
456
+ "answerOptions": [
457
+ {
458
+ "describe": "Flow",
459
+ "isRight": false
460
+ },
461
+ {
462
+ "describe": "Visualforce",
463
+ "isRight": false
464
+ },
465
+ {
466
+ "describe": "Apex Class",
467
+ "isRight": true
468
+ },
469
+ {
470
+ "describe": "User",
471
+ "isRight": true
472
+ },
473
+ {
474
+ "describe": "Apex Trigger",
475
+ "isRight": true
476
+ }
477
+ ],
478
+ "hashCode": "1988673196",
479
+ "analysis": ""
480
+ },
481
+ {
482
+ "describe": "A developer wrote Apex code that calls out to an external system.\nHow should a developer write the test to provide test coverage?",
483
+ "answerOptions": [
484
+ {
485
+ "describe": "Write a class that extends HTTPCalloutMock. ",
486
+ "isRight": false
487
+ },
488
+ {
489
+ "describe": "Write a class that extends WebserviceMock.",
490
+ "isRight": false
491
+ },
492
+ {
493
+ "describe": "Write a class that implements the HTTPCalloutMock interface.",
494
+ "isRight": true
495
+ },
496
+ {
497
+ "describe": "Write a class that implements WebserviceMock.",
498
+ "isRight": false
499
+ }
500
+ ],
501
+ "hashCode": "1988673170",
502
+ "analysis": ""
503
+ },
504
+ {
505
+ "describe": "A developer needs to confirm that a Contact works correctly without changing the organization's data. \nWhat should the developer do to test the Contact trigger?",
506
+ "answerOptions": [
507
+ {
508
+ "describe": "Use Deploy from the VSCode IDE to deploy an 'insert Contact' Apex class.",
509
+ "isRight": false
510
+ },
511
+ {
512
+ "describe": "Use the Test menu on the Developer Console to run all tests classes for the Contact trigger.",
513
+ "isRight": true
514
+ },
515
+ {
516
+ "describe": "Use the Open Execute Anonymous feature on the Developer Console to run an 'insert Contact' DML statement.",
517
+ "isRight": false
518
+ },
519
+ {
520
+ "describe": "Use the New button on the Salesforce Contacts Tab to create a new Contact record.",
521
+ "isRight": false
522
+ }
523
+ ],
524
+ "hashCode": "1988673142",
525
+ "analysis": ""
526
+ },
527
+ {
528
+ "describe": "How should a developer write unit tests for a private method in an Apex class?",
529
+ "answerOptions": [
530
+ {
531
+ "describe": "Add a test method in the Apex class.",
532
+ "isRight": false
533
+ },
534
+ {
535
+ "describe": "Use the TestVisible annotation.",
536
+ "isRight": true
537
+ },
538
+ {
539
+ "describe": "Use the SeeAllData annotation.",
540
+ "isRight": false
541
+ },
542
+ {
543
+ "describe": "Mark the Apex class as global.",
544
+ "isRight": false
545
+ }
546
+ ],
547
+ "hashCode": "1988673137",
548
+ "analysis": ""
549
+ },
550
+ {
551
+ "describe": "A development team wants to use a deployment script to automatically deploy to a sandbox during their deployment cycles.\nWhich tool should they use to deploy to the sandbox?",
552
+ "answerOptions": [
553
+ {
554
+ "describe": "Ant Migration Tool",
555
+ "isRight": true
556
+ },
557
+ {
558
+ "describe": "Developer Console",
559
+ "isRight": false
560
+ },
561
+ {
562
+ "describe": "VSCode",
563
+ "isRight": false
564
+ },
565
+ {
566
+ "describe": "Change Sets",
567
+ "isRight": false
568
+ }
569
+ ],
570
+ "hashCode": "1988673135",
571
+ "analysis": ""
572
+ },
573
+ {
574
+ "describe": "Which Salesforce org has a complete duplicate copy of the production org including data and configuration?",
575
+ "answerOptions": [
576
+ {
577
+ "describe": "Developer Pro Sandbox",
578
+ "isRight": false
579
+ },
580
+ {
581
+ "describe": "Production",
582
+ "isRight": false
583
+ },
584
+ {
585
+ "describe": "Partial Copy Sandbox",
586
+ "isRight": false
587
+ },
588
+ {
589
+ "describe": "Full Sandbox",
590
+ "isRight": true
591
+ }
592
+ ],
593
+ "hashCode": "1988673112",
594
+ "analysis": ""
595
+ },
596
+ {
597
+ "describe": "What are two ways a developer can get the status of an enqueued job for a class that implements the queuable interface? \nChoose 2 answers",
598
+ "answerOptions": [
599
+ {
600
+ "describe": "Query the AsyncApex Job object",
601
+ "isRight": true
602
+ },
603
+ {
604
+ "describe": "View the Apex Jobs Page",
605
+ "isRight": true
606
+ },
607
+ {
608
+ "describe": "View the Apex Status Page",
609
+ "isRight": false
610
+ },
611
+ {
612
+ "describe": "View the Apex Flex Queue",
613
+ "isRight": false
614
+ }
615
+ ],
616
+ "hashCode": "1988673107",
617
+ "analysis": ""
618
+ },
619
+ {
620
+ "describe": "What are three ways for a developer to execute tests in an org? Choose 3 answers",
621
+ "answerOptions": [
622
+ {
623
+ "describe": "Metadata API",
624
+ "isRight": false
625
+ },
626
+ {
627
+ "describe": "Bulk API",
628
+ "isRight": false
629
+ },
630
+ {
631
+ "describe": "SalesforceDX",
632
+ "isRight": true
633
+ },
634
+ {
635
+ "describe": "Tooling API",
636
+ "isRight": true
637
+ },
638
+ {
639
+ "describe": "Developer Console",
640
+ "isRight": true
641
+ }
642
+ ],
643
+ "hashCode": "1988673106",
644
+ "analysis": ""
645
+ },
646
+ {
647
+ "describe": "A team of many developers work in their own individual orgs that have the same configuration as the production org. \nWhich type of org is best suited for this scenario?",
648
+ "answerOptions": [
649
+ {
650
+ "describe": "Developer Edition",
651
+ "isRight": false
652
+ },
653
+ {
654
+ "describe": "Partner Developer Edition",
655
+ "isRight": false
656
+ },
657
+ {
658
+ "describe": "Full Sandbox",
659
+ "isRight": false
660
+ },
661
+ {
662
+ "describe": "Developer Sandbox",
663
+ "isRight": true
664
+ }
665
+ ],
666
+ "hashCode": "1988673104",
667
+ "analysis": ""
668
+ },
669
+ {
670
+ "describe": "A developer observes that an Apex test method fails in the Sandbox. To identify the issue, the developer copies the code inside the test method and execute it \nvia the Execute Anonymous tool in the Developer Console. The code then executes with no exceptions or errors.\nWhy did the test method fail in the sandbox and pass in the Developer Console?",
671
+ "answerOptions": [
672
+ {
673
+ "describe": "The test method does not use System.runAs to execute as a specific user.",
674
+ "isRight": false
675
+ },
676
+ {
677
+ "describe": "A developer needs to provide way to mass edit, update and delete records from list view, which two ways can this be achieved? Choose 2",
678
+ "isRight": false
679
+ },
680
+ {
681
+ "describe": "The test method relies on existing data in the sandbox.",
682
+ "isRight": true
683
+ },
684
+ {
685
+ "describe": "The test method has syntax error in the code.",
686
+ "isRight": false
687
+ }
688
+ ],
689
+ "hashCode": "1988673074",
690
+ "analysis": ""
691
+ },
692
+ {
693
+ "describe": "Which two events need to happen when deploying to a production org?Choose 2 answers",
694
+ "answerOptions": [
695
+ {
696
+ "describe": "All Apex code must have at least 75% test coverage.",
697
+ "isRight": true
698
+ },
699
+ {
700
+ "describe": "All Process Builder Processes must have at least 1% test coverage.",
701
+ "isRight": false
702
+ },
703
+ {
704
+ "describe": "All Visual Flows must have at least 1% test coverage.",
705
+ "isRight": false
706
+ },
707
+ {
708
+ "describe": "All Triggers must have at least 1% test coverage.",
709
+ "isRight": true
710
+ }
711
+ ],
712
+ "hashCode": "1988673073",
713
+ "analysis": ""
714
+ },
715
+ {
716
+ "describe": "A developer created this Apex trigger that calls MyClass.myStaticMethod;\ntrigger myTrigger on Contact(before insert){\nMyClass.myStaticMethod(trigger.new, trigger.oldMap);}\nThe developer creates a test class with a test method that calls MyClass.myStaticMethod, resulting in 81% overall code coverage.\nWhat happens when the developer tries to deploy the trigger and two classes to production, assuming no other code exists?",
717
+ "answerOptions": [
718
+ {
719
+ "describe": "The deployment fails because no assertions were made in the test method.",
720
+ "isRight": false
721
+ },
722
+ {
723
+ "describe": "The deployment passes because the Apex code has required(>75%) code coverage.",
724
+ "isRight": false
725
+ },
726
+ {
727
+ "describe": "The deployment passes because both classes and the trigger were included in the deployment.",
728
+ "isRight": false
729
+ },
730
+ {
731
+ "describe": "The deployment fails because the Apex trigger has no code coverage.",
732
+ "isRight": true
733
+ }
734
+ ],
735
+ "hashCode": "1988673072",
736
+ "analysis": ""
737
+ },
738
+ {
739
+ "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?",
740
+ "answerOptions": [
741
+ {
742
+ "describe": "Increase the test class coverage on the helper class.",
743
+ "isRight": false
744
+ },
745
+ {
746
+ "describe": "Run the tests using the 'Run All Tests' method.",
747
+ "isRight": false
748
+ },
749
+ {
750
+ "describe": "Create a test class and methods to cover the Apex trigger.",
751
+ "isRight": true
752
+ },
753
+ {
754
+ "describe": "Remove the failing test methods from the test class.",
755
+ "isRight": false
756
+ }
757
+ ],
758
+ "hashCode": "1988672366",
759
+ "analysis": ""
760
+ },
761
+ {
762
+ "describe": "Where are two locations a developer can look to find information about the status of asynchronous or future calls? Choose 2 answers",
763
+ "answerOptions": [
764
+ {
765
+ "describe": "Time-Based Workflow Monitor",
766
+ "isRight": false
767
+ },
768
+ {
769
+ "describe": "Apex Flex Queue",
770
+ "isRight": true
771
+ },
772
+ {
773
+ "describe": "Apex Jobs",
774
+ "isRight": true
775
+ },
776
+ {
777
+ "describe": "Paused Flow Interviews component",
778
+ "isRight": false
779
+ }
780
+ ],
781
+ "hashCode": "1988672363",
782
+ "analysis": ""
783
+ },
784
+ {
785
+ "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?",
786
+ "answerOptions": [
787
+ {
788
+ "describe": "@PreTest",
789
+ "isRight": false
790
+ },
791
+ {
792
+ "describe": "@StartTest",
793
+ "isRight": false
794
+ },
795
+ {
796
+ "describe": "@isTest(SeeAllData=true)",
797
+ "isRight": false
798
+ },
799
+ {
800
+ "describe": "@TestSetup",
801
+ "isRight": true
802
+ }
803
+ ],
804
+ "hashCode": "1988672333",
805
+ "analysis": ""
806
+ },
807
+ {
808
+ "describe": "What are two way for a developer to execute tests in an org? Choose 2 answers",
809
+ "answerOptions": [
810
+ {
811
+ "describe": "Bulk API",
812
+ "isRight": false
813
+ },
814
+ {
815
+ "describe": "Tooling API",
816
+ "isRight": true
817
+ },
818
+ {
819
+ "describe": "Metadata API",
820
+ "isRight": false
821
+ },
822
+ {
823
+ "describe": "Developer Console",
824
+ "isRight": true
825
+ }
826
+ ],
827
+ "hashCode": "1988672331",
828
+ "analysis": ""
829
+ },
830
+ {
831
+ "describe": "A developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunityLineItem trigger.\nWhich method allows access to the price book?",
832
+ "answerOptions": [
833
+ {
834
+ "describe": "Use Test.getStandardPricebookId() to get the standard price book ID.",
835
+ "isRight": true
836
+ },
837
+ {
838
+ "describe": "Use @TestVisible to allow the test method to see the standard price book.",
839
+ "isRight": false
840
+ },
841
+ {
842
+ "describe": "Use @IsTest(SeeAllData=true) and delete the existing standard price book.",
843
+ "isRight": false
844
+ },
845
+ {
846
+ "describe": "Use Test.loadData() and a static resource to load a standard price book.",
847
+ "isRight": false
848
+ }
849
+ ],
850
+ "hashCode": "1988672302",
851
+ "analysis": ""
852
+ },
853
+ {
854
+ "describe": "Which three statements are true regarding custom exceptions in Apex? Choose 3 answers",
855
+ "answerOptions": [
856
+ {
857
+ "describe": "A custom exception class cannot contain member variables or methods.",
858
+ "isRight": false
859
+ },
860
+ {
861
+ "describe": "A custom exception class can implement one or many interfaces.",
862
+ "isRight": true
863
+ },
864
+ {
865
+ "describe": "A custom exception class name must be end with \"Exception\".",
866
+ "isRight": true
867
+ },
868
+ {
869
+ "describe": "A custom exception class must extend the system Exception class.",
870
+ "isRight": true
871
+ },
872
+ {
873
+ "describe": "A custom exception class can extend other classes besides the Exception class.",
874
+ "isRight": false
875
+ }
876
+ ],
877
+ "hashCode": "1988672301",
878
+ "analysis": ""
879
+ },
880
+ {
881
+ "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?",
882
+ "answerOptions": [
883
+ {
884
+ "describe": "Full Copy sandboxes",
885
+ "isRight": false
886
+ },
887
+ {
888
+ "describe": "Developer orgs",
889
+ "isRight": false
890
+ },
891
+ {
892
+ "describe": "Developer sandboxes",
893
+ "isRight": false
894
+ },
895
+ {
896
+ "describe": "Scratch orgs.",
897
+ "isRight": true
898
+ }
899
+ ],
900
+ "hashCode": "1988672300",
901
+ "analysis": ""
902
+ },
903
+ {
904
+ "describe": "What should be used to create scratch orgs?",
905
+ "answerOptions": [
906
+ {
907
+ "describe": "Sandbox refresh",
908
+ "isRight": false
909
+ },
910
+ {
911
+ "describe": "Salesforce CLI",
912
+ "isRight": true
913
+ },
914
+ {
915
+ "describe": "Developer Console",
916
+ "isRight": false
917
+ },
918
+ {
919
+ "describe": "Workbench",
920
+ "isRight": false
921
+ }
922
+ ],
923
+ "hashCode": "1988672298",
924
+ "analysis": ""
925
+ }
926
+ ],
927
+ "hashCode": "944331089"
928
+ }