@palerock/exam-qa 1.0.1 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. package/dist/index.html +1 -1
  2. package/dist/static/css/{app.0c7cc42c532bebf55535a3ddea264e29.css → app.ca55413bb84f381cb1c76ff82cf63b2d.css} +2 -2
  3. package/dist/static/css/{app.0c7cc42c532bebf55535a3ddea264e29.css.map → app.ca55413bb84f381cb1c76ff82cf63b2d.css.map} +1 -1
  4. package/dist/static/js/app.bb356da473121a6a22a4.js +2 -0
  5. package/dist/static/js/app.bb356da473121a6a22a4.js.map +1 -0
  6. package/dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map +1 -1
  7. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-1].json +318 -0
  8. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-2].json +325 -0
  9. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-3].json +321 -0
  10. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-4].json +337 -0
  11. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-5].json +329 -0
  12. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-6].json +325 -0
  13. package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-7].json +480 -0
  14. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-1].json +305 -0
  15. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-2].json +297 -0
  16. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-3].json +269 -0
  17. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-4].json +309 -0
  18. package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-5].json +515 -0
  19. package/lib-json/map.json +12 -0
  20. package/package.json +1 -1
  21. package/dist/static/js/app.aa316de9f645d6851507.js +0 -2
  22. package/dist/static/js/app.aa316de9f645d6851507.js.map +0 -1
@@ -0,0 +1,480 @@
1
+ {
2
+ "title": "Salesforce-Certified-Platform-Developer-1-[Set-7]",
3
+ "category": "Salesforce Dev 1",
4
+ "questions": [
5
+ {
6
+ "describe": "How should a developer make sure that a child record on a custom object, with a lookup to the Account object, has the same sharing access as its associated account?",
7
+ "answerOptions": [
8
+ {
9
+ "isRight": false,
10
+ "describe": "Include the sharing related list on the custom object page layout."
11
+ },
12
+ {
13
+ "isRight": true,
14
+ "describe": "Ensure that the relationship between the objects is Master-Detail."
15
+ },
16
+ {
17
+ "isRight": false,
18
+ "describe": "Create a validation rule on the custom object comparing the record owners on both records."
19
+ },
20
+ {
21
+ "isRight": false,
22
+ "describe": "Create a Sharing Rule comparing the custom object owner to the account owner."
23
+ }
24
+ ]
25
+ },
26
+ {
27
+ "describe": "A developer needs to test an Invoicing system integration. After reviewing the number of transactions required for the test, the developer estimates that the test data will total about 2 GB of data storage. Production data is not required for the integration testing.\nWhich two environments meet the requirements for testing?\nChoose 2 answers",
28
+ "answerOptions": [
29
+ {
30
+ "isRight": false,
31
+ "describe": "Developer Pro Sandbox"
32
+ },
33
+ {
34
+ "isRight": true,
35
+ "describe": "Partial Sandbox"
36
+ },
37
+ {
38
+ "isRight": true,
39
+ "describe": "Full Sandbox"
40
+ },
41
+ {
42
+ "isRight": false,
43
+ "describe": "Developer Sandbox"
44
+ },
45
+ {
46
+ "isRight": false,
47
+ "describe": "Developer Edition"
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ "describe": "Which two number expressions evaluate correctly?\nChoose 2 answers",
53
+ "answerOptions": [
54
+ {
55
+ "isRight": true,
56
+ "describe": "Decimal d = 3.14159;"
57
+ },
58
+ {
59
+ "isRight": false,
60
+ "describe": "Long I = 3.14159;"
61
+ },
62
+ {
63
+ "isRight": false,
64
+ "describe": "Double d = 3.14159;"
65
+ },
66
+ {
67
+ "isRight": false,
68
+ "describe": "Integer i= 3.14159;"
69
+ }
70
+ ]
71
+ },
72
+ {
73
+ "describe": "A developer needs to create a Visualforce page that displays Case data. The page will be used by both support reps and support managers. The Support Rep profile does not allow visibility of the Customer_Satisfaction__c field, but the Support Manager profile does.\nHow can the developer create the page to enforce Field Level Security and keep future maintenance to a minimum?",
74
+ "answerOptions": [
75
+ {
76
+ "isRight": false,
77
+ "describe": "Use a new Support Manager permission set."
78
+ },
79
+ {
80
+ "isRight": true,
81
+ "describe": "Use a custom controller that has the with sharing keywords."
82
+ },
83
+ {
84
+ "isRight": false,
85
+ "describe": "Create a separate Visualforce Page for each profile."
86
+ },
87
+ {
88
+ "isRight": false,
89
+ "describe": "Create one Visualforce Page for use by both profiles."
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "describe": "Before putting an app into production, which step should be taken?",
95
+ "answerOptions": [
96
+ {
97
+ "isRight": false,
98
+ "describe": "Scale your Dynos."
99
+ },
100
+ {
101
+ "isRight": false,
102
+ "describe": "Insure that you have installed a performance introspection add-on."
103
+ },
104
+ {
105
+ "isRight": false,
106
+ "describe": "Switch to a production database."
107
+ },
108
+ {
109
+ "isRight": true,
110
+ "describe": "Run the Production Check feature via the web interface"
111
+ }
112
+ ]
113
+ },
114
+ {
115
+ "describe": "A Platform Developer needs to write an Apex method that will only perform an action if a record is assigned to a specific Record Type.\nWhich two options allow the developer to dynamically determine the ID of the required Record Type by its name? Choose 2 answers",
116
+ "answerOptions": [
117
+ {
118
+ "isRight": true,
119
+ "describe": "Use the getRecordTypeInfosByName() method in the DescribeSObjectResult class."
120
+ },
121
+ {
122
+ "isRight": false,
123
+ "describe": "Make an outbound web services call to the SOAP API."
124
+ },
125
+ {
126
+ "isRight": false,
127
+ "describe": "Hardcode the ID as a constant in an Apex class."
128
+ },
129
+ {
130
+ "isRight": true,
131
+ "describe": "Execute a SOQL query on the RecordType object."
132
+ }
133
+ ]
134
+ },
135
+ {
136
+ "describe": "What are two valid options for iterating through each Account in the collection List<Account> named AccountList?\nChoose 2 answers",
137
+ "answerOptions": [
138
+ {
139
+ "isRight": false,
140
+ "describe": "for (List L : AccountList) {...}"
141
+ },
142
+ {
143
+ "isRight": true,
144
+ "describe": "for (Account theAccount : AccountList) {...}"
145
+ },
146
+ {
147
+ "isRight": false,
148
+ "describe": "for (AccountList) {...}"
149
+ },
150
+ {
151
+ "isRight": true,
152
+ "describe": "for (Integer i=0; i < AccountList. Size 0 ; i++){...}"
153
+ }
154
+ ]
155
+ },
156
+ {
157
+ "describe": "What are three characteristics of static methods? Choose 3 answers",
158
+ "answerOptions": [
159
+ {
160
+ "isRight": true,
161
+ "describe": "Initialized only when a class is loaded"
162
+ },
163
+ {
164
+ "isRight": false,
165
+ "describe": "A static variable is available outside of the scope of an Apex transaction"
166
+ },
167
+ {
168
+ "isRight": true,
169
+ "describe": "Allowed only in outer classes"
170
+ },
171
+ {
172
+ "isRight": false,
173
+ "describe": "Allowed only in inner classes"
174
+ },
175
+ {
176
+ "isRight": true,
177
+ "describe": "Excluded from the view state for a Visualforce page"
178
+ }
179
+ ]
180
+ },
181
+ {
182
+ "describe": "The operation manager at a construction company uses a custom object called Machinery to manage the usage and of maintenance of its cranes and other machinery. The manager wants to be able to assign machinery to different construction jobs, and track the dates and costs associated with each job. More than one piece of machinery can be assigned to one construction job.\nWhat should a developer do to meet these requirements?",
183
+ "answerOptions": [
184
+ {
185
+ "isRight": false,
186
+ "describe": "Create a lookup field on the Machinery object to the Construction Job object."
187
+ },
188
+ {
189
+ "isRight": false,
190
+ "describe": "Create a Master-Detail Lookup on the Machinery object to the Construction Job object."
191
+ },
192
+ {
193
+ "isRight": true,
194
+ "describe": "Create a junction object with Master-Detail Relationship to both the Machinery object and the Construction Job object."
195
+ },
196
+ {
197
+ "isRight": false,
198
+ "describe": "Create a lookup field on the Construction Job object to the Machinery object."
199
+ }
200
+ ]
201
+ },
202
+ {
203
+ "describe": "What should a developer use to implement an automatic Approval Process submission for Cases?",
204
+ "answerOptions": [
205
+ {
206
+ "isRight": false,
207
+ "describe": "Scheduled Apex"
208
+ },
209
+ {
210
+ "isRight": false,
211
+ "describe": "A Workflow Rule"
212
+ },
213
+ {
214
+ "isRight": true,
215
+ "describe": "Process Builder"
216
+ },
217
+ {
218
+ "isRight": false,
219
+ "describe": "An Assignment Rule"
220
+ }
221
+ ]
222
+ },
223
+ {
224
+ "describe": "Which two platform features align to the Controller portion of MVC architecture? Choose 2 answers",
225
+ "answerOptions": [
226
+ {
227
+ "isRight": true,
228
+ "describe": "Workflow rules"
229
+ },
230
+ {
231
+ "isRight": false,
232
+ "describe": "Date fields"
233
+ },
234
+ {
235
+ "isRight": true,
236
+ "describe": "Process Builder actions"
237
+ },
238
+ {
239
+ "isRight": false,
240
+ "describe": "Standard objects"
241
+ }
242
+ ]
243
+ },
244
+ {
245
+ "describe": "A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard.\nWhich approach should the developer use to accomplish this declaratively?",
246
+ "answerOptions": [
247
+ {
248
+ "isRight": false,
249
+ "describe": "A Process Builder process that updates a field on the timecard when a timecard entry is created"
250
+ },
251
+ {
252
+ "isRight": false,
253
+ "describe": "A Visualforce page that calculates the total number of hours for a timecard and displays it on the page"
254
+ },
255
+ {
256
+ "isRight": true,
257
+ "describe": "A Roll-Up Summary field on the Timecard Object that calculates the total hours from timecard entries for that timecard"
258
+ },
259
+ {
260
+ "isRight": false,
261
+ "describe": "An Apex trigger that uses an Aggregate Query to calculate the hours for a given timecard and stores it in a custom field"
262
+ }
263
+ ]
264
+ },
265
+ {
266
+ "describe": "Which three options can be accomplished with formula fields? Choose 3 answers",
267
+ "answerOptions": [
268
+ {
269
+ "isRight": false,
270
+ "describe": "Return and display a field value from another object using the VLOOKUP function."
271
+ },
272
+ {
273
+ "isRight": false,
274
+ "describe": "Display the previous value for a field using the PRIORVALUE function."
275
+ },
276
+ {
277
+ "isRight": true,
278
+ "describe": "Generate a link using the HYPERLINK function to a specific record."
279
+ },
280
+ {
281
+ "isRight": true,
282
+ "describe": "Determine which of three different images to display using the IF function."
283
+ },
284
+ {
285
+ "isRight": true,
286
+ "describe": "Determine if a datetime field value has passed using the NOW function."
287
+ }
288
+ ]
289
+ },
290
+ {
291
+ "describe": "Why would a developer consider using a custom controller over a controller extension?",
292
+ "answerOptions": [
293
+ {
294
+ "isRight": true,
295
+ "describe": "To implement all of the logic for a page and bypass default Salesforce functionality"
296
+ },
297
+ {
298
+ "isRight": false,
299
+ "describe": "To enforce user sharing settings and permissions"
300
+ },
301
+ {
302
+ "isRight": false,
303
+ "describe": "To increase the SOQL query governor limits"
304
+ },
305
+ {
306
+ "isRight": false,
307
+ "describe": "To leverage built-in functionality of a standard controller"
308
+ }
309
+ ]
310
+ },
311
+ {
312
+ "describe": "How should a developer avoid hitting the governor limits in test methods?",
313
+ "answerOptions": [
314
+ {
315
+ "isRight": false,
316
+ "describe": "Use @IsTest (SeeAliData=true) to use existing data."
317
+ },
318
+ {
319
+ "isRight": true,
320
+ "describe": "Use Test. startTest() to reset governor limits."
321
+ },
322
+ {
323
+ "isRight": false,
324
+ "describe": "Use Test.loadData() to load data from a static resource."
325
+ },
326
+ {
327
+ "isRight": false,
328
+ "describe": "Use @Testvisible on methods that create records."
329
+ }
330
+ ]
331
+ },
332
+ {
333
+ "describe": "A developer is asked to set a picklist field to 'Monitor' on any new Leads owned by a subset of Users.\nHow should the developer implement this request?",
334
+ "answerOptions": [
335
+ {
336
+ "isRight": false,
337
+ "describe": "Create an after insert Lead trigger."
338
+ },
339
+ {
340
+ "isRight": false,
341
+ "describe": "Create a before insert Lead trigger."
342
+ },
343
+ {
344
+ "isRight": false,
345
+ "describe": "Create a Lead formula field."
346
+ },
347
+ {
348
+ "isRight": true,
349
+ "describe": "Create a Lead Workflow Rule Field Update."
350
+ }
351
+ ]
352
+ },
353
+ {
354
+ "describe": "A Visualforce page is required for displaying and editing Case records that includes both standard and custom functionality defined in an Apex class called myControllerExtension.\nThe Visualforce page should include which <apex:page> attribute(s) to correctly implement controller functionality?",
355
+ "answerOptions": [
356
+ {
357
+ "isRight": true,
358
+ "describe": "standardController=\"Case\" and extensions=\"myControllerExtension\""
359
+ },
360
+ {
361
+ "isRight": false,
362
+ "describe": "extensions=\"myControllerExtension\""
363
+ },
364
+ {
365
+ "isRight": false,
366
+ "describe": "controller=\"myControllerExtension\""
367
+ },
368
+ {
369
+ "isRight": false,
370
+ "describe": "controller=\"Case\" and extensions=\"myControllerExtension\""
371
+ }
372
+ ]
373
+ },
374
+ {
375
+ "describe": "When should an Apex Trigger be required instead of a Process Builder Process?",
376
+ "answerOptions": [
377
+ {
378
+ "isRight": false,
379
+ "describe": "When multiple records related to the triggering record need to be updated"
380
+ },
381
+ {
382
+ "isRight": false,
383
+ "describe": "When a record needs to be created"
384
+ },
385
+ {
386
+ "isRight": true,
387
+ "describe": "When an action needs to be taken on a delete or undelete, or before a DML operation is executed"
388
+ },
389
+ {
390
+ "isRight": false,
391
+ "describe": "When a post to Chatter needs to be created"
392
+ }
393
+ ]
394
+ },
395
+ {
396
+ "describe": "A developer has the controller class below:\npublic with sharing class myFooController{\npublic integer prop { get; private set;}\n}\nWhich code block will run successfully in an execute anonymous window?\nSystem.assert(m.prop ==null);\nSystem.assert(m.prop==1);\nSystem.assert(m.prop ==0);\nSystem.assert(m.prop !=null);",
397
+ "answerOptions": [
398
+ {
399
+ "isRight": true,
400
+ "describe": "myFooController m = new myFooController();"
401
+ },
402
+ {
403
+ "isRight": false,
404
+ "describe": "myFooController m = new myFooController();"
405
+ },
406
+ {
407
+ "isRight": false,
408
+ "describe": "myFooController m = new myFooController();"
409
+ },
410
+ {
411
+ "isRight": false,
412
+ "describe": "myFooController m = new myFooController();"
413
+ }
414
+ ]
415
+ },
416
+ {
417
+ "describe": "A developer wrote a unit test to confirm that a custom exception works properly in a custom controller, but the test failed due to an exception being thrown.\nWhat step should the developer take to resolve the issue and properly test the exception?",
418
+ "answerOptions": [
419
+ {
420
+ "isRight": false,
421
+ "describe": "Use database methods with all or none set to FALSE."
422
+ },
423
+ {
424
+ "isRight": false,
425
+ "describe": "Use try/catch within the unit test to catch the exception."
426
+ },
427
+ {
428
+ "isRight": false,
429
+ "describe": "Use the finally block within the unit test to populate the exception."
430
+ },
431
+ {
432
+ "isRight": true,
433
+ "describe": "Use Test. isRunningTest () within the custom controller."
434
+ }
435
+ ]
436
+ },
437
+ {
438
+ "describe": "A newly hired developer discovers that there are multiple triggers on the case object.\nWhat should the developer consider when working with triggers?",
439
+ "answerOptions": [
440
+ {
441
+ "isRight": false,
442
+ "describe": "Developers must dictate the order of trigger execution."
443
+ },
444
+ {
445
+ "isRight": false,
446
+ "describe": "Unit tests must specify the trigger being tested."
447
+ },
448
+ {
449
+ "isRight": true,
450
+ "describe": "Trigger execution order is not guaranteed for the same sObject."
451
+ },
452
+ {
453
+ "isRight": false,
454
+ "describe": "Trigger execution order is based on creation date and time."
455
+ }
456
+ ]
457
+ },
458
+ {
459
+ "describe": "Which approach should a developer take to automatically add a \"Maintenance Plan\" to each Opportunity that includes an \"Annual Subscription\" when an opportunity is closed?",
460
+ "answerOptions": [
461
+ {
462
+ "isRight": false,
463
+ "describe": "Build an Opportunity trigger that adds a PriceBookEntry record."
464
+ },
465
+ {
466
+ "isRight": false,
467
+ "describe": "Build an OpportunityLineltem trigger to add an OpportunityLineltem record."
468
+ },
469
+ {
470
+ "isRight": false,
471
+ "describe": "Build a OpportunityLineltem trigger that adds a PriceBookEntry record."
472
+ },
473
+ {
474
+ "isRight": true,
475
+ "describe": "Build an Opportunity trigger to add an OpportunityLineltem record."
476
+ }
477
+ ]
478
+ }
479
+ ]
480
+ }