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

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  {
2
- "title": "Dev1测试/调试/部署",
2
+ "title": "Dev1测试_调试_部署",
3
3
  "category": "Dev1-自由部落侠",
4
4
  "questions": [
5
5
  {
@@ -22,7 +22,8 @@
22
22
  "isRight": true
23
23
  }
24
24
  ],
25
- "hashCode": "1988674160"
25
+ "hashCode": "1988674160",
26
+ "analysis": ""
26
27
  },
27
28
  {
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",
@@ -44,7 +45,8 @@
44
45
  "isRight": false
45
46
  }
46
47
  ],
47
- "hashCode": "1988674104"
48
+ "hashCode": "1988674104",
49
+ "analysis": ""
48
50
  },
49
51
  {
50
52
  "describe": "Which two sfdx commands can be used to add testing data to a Developer sandbox?\nChoose 2 answers",
@@ -66,7 +68,8 @@
66
68
  "isRight": false
67
69
  }
68
70
  ],
69
- "hashCode": "1988674100"
71
+ "hashCode": "1988674100",
72
+ "analysis": ""
70
73
  },
71
74
  {
72
75
  "describe": "Which three statements are accurate about debug logs?\nChoose 3 answers",
@@ -92,7 +95,8 @@
92
95
  "isRight": true
93
96
  }
94
97
  ],
95
- "hashCode": "1988674098"
98
+ "hashCode": "1988674098",
99
+ "analysis": ""
96
100
  },
97
101
  {
98
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",
@@ -114,7 +118,8 @@
114
118
  "isRight": false
115
119
  }
116
120
  ],
117
- "hashCode": "1988674070"
121
+ "hashCode": "1988674070",
122
+ "analysis": ""
118
123
  },
119
124
  {
120
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",
@@ -136,7 +141,8 @@
136
141
  "isRight": false
137
142
  }
138
143
  ],
139
- "hashCode": "1988674042"
144
+ "hashCode": "1988674042",
145
+ "analysis": ""
140
146
  },
141
147
  {
142
148
  "describe": "What should a developer do to check the code coverage of a class after running all tests?",
@@ -158,7 +164,8 @@
158
164
  "isRight": false
159
165
  }
160
166
  ],
161
- "hashCode": "1988673327"
167
+ "hashCode": "1988673327",
168
+ "analysis": ""
162
169
  },
163
170
  {
164
171
  "describe": "What are three characteristics of change set deployments? Choose 3 answers",
@@ -184,7 +191,8 @@
184
191
  "isRight": true
185
192
  }
186
193
  ],
187
- "hashCode": "1988673267"
194
+ "hashCode": "1988673267",
195
+ "analysis": ""
188
196
  },
189
197
  {
190
198
  "describe": "Which three statements are accurate about debug logs? Choose 3 answers",
@@ -210,7 +218,8 @@
210
218
  "isRight": false
211
219
  }
212
220
  ],
213
- "hashCode": "1988673266"
221
+ "hashCode": "1988673266",
222
+ "analysis": ""
214
223
  },
215
224
  {
216
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?",
@@ -232,7 +241,8 @@
232
241
  "isRight": true
233
242
  }
234
243
  ],
235
- "hashCode": "1988673261"
244
+ "hashCode": "1988673261",
245
+ "analysis": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_testsetup_using.htm"
236
246
  },
237
247
  {
238
248
  "describe": "Which two statements are true about using the @testSetup annotation in an Apex test class?Choose 2 answers",
@@ -254,7 +264,8 @@
254
264
  "isRight": false
255
265
  }
256
266
  ],
257
- "hashCode": "1988673234"
267
+ "hashCode": "1988673234",
268
+ "analysis": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_testsetup_using.htm"
258
269
  },
259
270
  {
260
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?",
@@ -276,7 +287,8 @@
276
287
  "isRight": true
277
288
  }
278
289
  ],
279
- "hashCode": "1988673233"
290
+ "hashCode": "1988673233",
291
+ "analysis": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_load_data.htm"
280
292
  },
281
293
  {
282
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?",
@@ -298,7 +310,8 @@
298
310
  "isRight": true
299
311
  }
300
312
  ],
301
- "hashCode": "1988673232"
313
+ "hashCode": "1988673232",
314
+ "analysis": ""
302
315
  },
303
316
  {
304
317
  "describe": "When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?",
@@ -320,7 +333,8 @@
320
333
  "isRight": false
321
334
  }
322
335
  ],
323
- "hashCode": "1988673230"
336
+ "hashCode": "1988673230",
337
+ "analysis": "https://help.salesforce.com/articleView?id=managing_scratch_orgs.htm&type=5"
324
338
  },
325
339
  {
326
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",
@@ -342,7 +356,8 @@
342
356
  "isRight": true
343
357
  }
344
358
  ],
345
- "hashCode": "1988673229"
359
+ "hashCode": "1988673229",
360
+ "analysis": ""
346
361
  },
347
362
  {
348
363
  "describe": "Which scenario is valid for execution by unit tests?",
@@ -364,7 +379,8 @@
364
379
  "isRight": false
365
380
  }
366
381
  ],
367
- "hashCode": "1988673227"
382
+ "hashCode": "1988673227",
383
+ "analysis": ""
368
384
  },
369
385
  {
370
386
  "describe": "Which Salesforce org has a complete duplicate copy of the production org including data and configuration?",
@@ -386,7 +402,8 @@
386
402
  "isRight": false
387
403
  }
388
404
  ],
389
- "hashCode": "1988673203"
405
+ "hashCode": "1988673203",
406
+ "analysis": ""
390
407
  },
391
408
  {
392
409
  "describe": "How can a developer check the test coverage of active Process Builders and Flows before deploying them in a Change Set?",
@@ -408,7 +425,8 @@
408
425
  "isRight": false
409
426
  }
410
427
  ],
411
- "hashCode": "1988673202"
428
+ "hashCode": "1988673202",
429
+ "analysis": ""
412
430
  },
413
431
  {
414
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?",
@@ -430,7 +448,8 @@
430
448
  "isRight": false
431
449
  }
432
450
  ],
433
- "hashCode": "1988673198"
451
+ "hashCode": "1988673198",
452
+ "analysis": ""
434
453
  },
435
454
  {
436
455
  "describe": "For which three items can a trace flag be configured? Choose 3 answers",
@@ -456,7 +475,8 @@
456
475
  "isRight": true
457
476
  }
458
477
  ],
459
- "hashCode": "1988673196"
478
+ "hashCode": "1988673196",
479
+ "analysis": ""
460
480
  },
461
481
  {
462
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?",
@@ -478,7 +498,8 @@
478
498
  "isRight": false
479
499
  }
480
500
  ],
481
- "hashCode": "1988673170"
501
+ "hashCode": "1988673170",
502
+ "analysis": ""
482
503
  },
483
504
  {
484
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?",
@@ -500,7 +521,8 @@
500
521
  "isRight": false
501
522
  }
502
523
  ],
503
- "hashCode": "1988673142"
524
+ "hashCode": "1988673142",
525
+ "analysis": ""
504
526
  },
505
527
  {
506
528
  "describe": "How should a developer write unit tests for a private method in an Apex class?",
@@ -522,7 +544,8 @@
522
544
  "isRight": false
523
545
  }
524
546
  ],
525
- "hashCode": "1988673137"
547
+ "hashCode": "1988673137",
548
+ "analysis": ""
526
549
  },
527
550
  {
528
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?",
@@ -544,7 +567,8 @@
544
567
  "isRight": false
545
568
  }
546
569
  ],
547
- "hashCode": "1988673135"
570
+ "hashCode": "1988673135",
571
+ "analysis": ""
548
572
  },
549
573
  {
550
574
  "describe": "Which Salesforce org has a complete duplicate copy of the production org including data and configuration?",
@@ -566,7 +590,8 @@
566
590
  "isRight": true
567
591
  }
568
592
  ],
569
- "hashCode": "1988673112"
593
+ "hashCode": "1988673112",
594
+ "analysis": ""
570
595
  },
571
596
  {
572
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",
@@ -588,7 +613,8 @@
588
613
  "isRight": false
589
614
  }
590
615
  ],
591
- "hashCode": "1988673107"
616
+ "hashCode": "1988673107",
617
+ "analysis": ""
592
618
  },
593
619
  {
594
620
  "describe": "What are three ways for a developer to execute tests in an org? Choose 3 answers",
@@ -614,7 +640,8 @@
614
640
  "isRight": true
615
641
  }
616
642
  ],
617
- "hashCode": "1988673106"
643
+ "hashCode": "1988673106",
644
+ "analysis": ""
618
645
  },
619
646
  {
620
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?",
@@ -636,7 +663,8 @@
636
663
  "isRight": true
637
664
  }
638
665
  ],
639
- "hashCode": "1988673104"
666
+ "hashCode": "1988673104",
667
+ "analysis": ""
640
668
  },
641
669
  {
642
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?",
@@ -658,7 +686,8 @@
658
686
  "isRight": false
659
687
  }
660
688
  ],
661
- "hashCode": "1988673074"
689
+ "hashCode": "1988673074",
690
+ "analysis": ""
662
691
  },
663
692
  {
664
693
  "describe": "Which two events need to happen when deploying to a production org?Choose 2 answers",
@@ -680,7 +709,8 @@
680
709
  "isRight": true
681
710
  }
682
711
  ],
683
- "hashCode": "1988673073"
712
+ "hashCode": "1988673073",
713
+ "analysis": ""
684
714
  },
685
715
  {
686
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?",
@@ -702,7 +732,8 @@
702
732
  "isRight": true
703
733
  }
704
734
  ],
705
- "hashCode": "1988673072"
735
+ "hashCode": "1988673072",
736
+ "analysis": ""
706
737
  },
707
738
  {
708
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?",
@@ -724,7 +755,8 @@
724
755
  "isRight": false
725
756
  }
726
757
  ],
727
- "hashCode": "1988672366"
758
+ "hashCode": "1988672366",
759
+ "analysis": ""
728
760
  },
729
761
  {
730
762
  "describe": "Where are two locations a developer can look to find information about the status of asynchronous or future calls? Choose 2 answers",
@@ -746,7 +778,8 @@
746
778
  "isRight": false
747
779
  }
748
780
  ],
749
- "hashCode": "1988672363"
781
+ "hashCode": "1988672363",
782
+ "analysis": ""
750
783
  },
751
784
  {
752
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?",
@@ -768,7 +801,8 @@
768
801
  "isRight": true
769
802
  }
770
803
  ],
771
- "hashCode": "1988672333"
804
+ "hashCode": "1988672333",
805
+ "analysis": ""
772
806
  },
773
807
  {
774
808
  "describe": "What are two way for a developer to execute tests in an org? Choose 2 answers",
@@ -790,7 +824,8 @@
790
824
  "isRight": true
791
825
  }
792
826
  ],
793
- "hashCode": "1988672331"
827
+ "hashCode": "1988672331",
828
+ "analysis": ""
794
829
  },
795
830
  {
796
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?",
@@ -812,7 +847,8 @@
812
847
  "isRight": false
813
848
  }
814
849
  ],
815
- "hashCode": "1988672302"
850
+ "hashCode": "1988672302",
851
+ "analysis": ""
816
852
  },
817
853
  {
818
854
  "describe": "Which three statements are true regarding custom exceptions in Apex? Choose 3 answers",
@@ -838,7 +874,8 @@
838
874
  "isRight": false
839
875
  }
840
876
  ],
841
- "hashCode": "1988672301"
877
+ "hashCode": "1988672301",
878
+ "analysis": ""
842
879
  },
843
880
  {
844
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?",
@@ -860,7 +897,8 @@
860
897
  "isRight": true
861
898
  }
862
899
  ],
863
- "hashCode": "1988672300"
900
+ "hashCode": "1988672300",
901
+ "analysis": ""
864
902
  },
865
903
  {
866
904
  "describe": "What should be used to create scratch orgs?",
@@ -882,8 +920,9 @@
882
920
  "isRight": false
883
921
  }
884
922
  ],
885
- "hashCode": "1988672298"
923
+ "hashCode": "1988672298",
924
+ "analysis": ""
886
925
  }
887
926
  ],
888
- "hashCode": "878610257"
927
+ "hashCode": "944331089"
889
928
  }