@palerock/exam-qa 1.0.6-patch2 → 1.0.6-patch21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/static/css/app.4293d3540537974d843eca825dcda382.css +2 -0
- package/dist/static/css/app.4293d3540537974d843eca825dcda382.css.map +1 -0
- package/dist/static/js/app.e278f9557d317b4606b0.js +2 -0
- package/dist/static/js/app.e278f9557d317b4606b0.js.map +1 -0
- package/dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map +1 -1
- package/lib-json/Dev1/345/237/272/347/241/200/351/242/230.json +1407 -0
- package/lib-json/Dev1/346/250/241/346/213/237/345/215/267A.json +1538 -0
- package/lib-json/Dev1/346/250/241/346/213/237/345/215/267B.json +1534 -0
- 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
- 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
- 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
- package/lib-json/Dev1/347/224/250/346/210/267/347/225/214/351/235/242.json +1243 -0
- package/lib-json/[DEV2]Salesforce/345/237/272/347/241/200.json +375 -0
- package/lib-json/[DEV2]/346/200/247/350/203/275.json +728 -0
- package/lib-json/[DEV2]/346/250/241/346/213/237/345/215/267A.json +1403 -0
- package/lib-json/[DEV2]/346/250/241/346/213/237/345/215/267B.json +1387 -0
- package/lib-json/[DEV2]/346/265/213/350/257/225/344/270/216/351/203/250/347/275/262.json +828 -0
- package/lib-json/[DEV2]/347/224/250/346/210/267/347/225/214/351/235/2421.json +977 -0
- package/lib-json/[DEV2]/347/224/250/346/210/267/347/225/214/351/235/2422.json +667 -0
- 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
- 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
- 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
- package/lib-json/[JS]/347/254/254/344/270/203/347/253/240 /346/265/213/350/257/225.json" +356 -0
- 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
- 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
- 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
- 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
- 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
- package/lib-json/[/345/222/270/351/261/274]AppBuilder-1.json +977 -0
- package/lib-json/[/345/222/270/351/261/274]AppBuilder-2.json +941 -0
- package/lib-json/[/345/222/270/351/261/274]AppBuilder-3.json +973 -0
- package/lib-json/[/345/222/270/351/261/274]AppBuilder-4.json +981 -0
- package/lib-json/[/345/222/270/351/261/274]AppBuilder-5.json +771 -0
- package/lib-json/map.json +28 -43
- package/package.json +4 -2
- package/dist/static/css/app.d3e969a579969be885a3462a1e12e37f.css +0 -2
- package/dist/static/css/app.d3e969a579969be885a3462a1e12e37f.css.map +0 -1
- package/dist/static/js/app.53370ddfe5eba6a10565.js +0 -2
- package/dist/static/js/app.53370ddfe5eba6a10565.js.map +0 -1
- package/lib-json/Salesforce-Admin(302)-[Set-10].json +0 -321
- package/lib-json/Salesforce-Admin(302)-[Set-1].json +0 -301
- package/lib-json/Salesforce-Admin(302)-[Set-2].json +0 -325
- package/lib-json/Salesforce-Admin(302)-[Set-3].json +0 -305
- package/lib-json/Salesforce-Admin(302)-[Set-4].json +0 -325
- package/lib-json/Salesforce-Admin(302)-[Set-5].json +0 -329
- package/lib-json/Salesforce-Admin(302)-[Set-6].json +0 -322
- package/lib-json/Salesforce-Admin(302)-[Set-7].json +0 -321
- package/lib-json/Salesforce-Admin(302)-[Set-8].json +0 -321
- package/lib-json/Salesforce-Admin(302)-[Set-9].json +0 -325
- package/lib-json/Salesforce-Admin-201-[Set-10].json +0 -158
- package/lib-json/Salesforce-Admin-201-[Set-1].json +0 -604
- package/lib-json/Salesforce-Admin-201-[Set-2].json +0 -621
- package/lib-json/Salesforce-Admin-201-[Set-3].json +0 -650
- package/lib-json/Salesforce-Admin-201-[Set-4].json +0 -636
- package/lib-json/Salesforce-Admin-201-[Set-5].json +0 -640
- package/lib-json/Salesforce-Admin-201-[Set-6].json +0 -126
- package/lib-json/Salesforce-Admin-201-[Set-7].json +0 -126
- package/lib-json/Salesforce-Admin-201-[Set-8].json +0 -126
- package/lib-json/Salesforce-Admin-201-[Set-9].json +0 -126
- package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-1].json +0 -321
- package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-2].json +0 -325
- package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-3].json +0 -321
- package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-4].json +0 -337
- package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-5].json +0 -329
- package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-6].json +0 -325
- package/lib-json/Salesforce-Certified-Platform-Developer-1-[Set-7].json +0 -480
- package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-1].json +0 -305
- package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-2].json +0 -297
- package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-3].json +0 -269
- package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-4].json +0 -309
- package/lib-json/Salesforce-Sales-Cloud-Certification(81)-[Set-5].json +0 -515
- package/lib-json/app-builder-01.json +0 -1
- package/lib-json/app-builder-02.json +0 -1
- package/lib-json/app-builder-03.json +0 -1
- package/lib-json/app-builder-04.json +0 -1
- package/lib-json/app-builder-05.json +0 -1
- package/lib-json/app-builder-06.json +0 -1
- package/lib-json/app-builder-07.json +0 -1
- package/lib-json/app-builder-08.json +0 -1
- package/lib-json/app-builder-09.json +0 -1
- package/lib-json/app-builder-10.json +0 -1
- package/lib-json/app-builder-11.json +0 -311
@@ -1,321 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"title": "Salesforce-Certified-Platform-Developer-1-[Set-1]",
|
3
|
-
"category": "Salesforce Dev 1",
|
4
|
-
"questions": [
|
5
|
-
{
|
6
|
-
"describe": "A developer needs to write a method that searches for a phone number that could be on multiple object types.\nWhich method should the developer use to accomplish this task?",
|
7
|
-
"answerOptions": [
|
8
|
-
{
|
9
|
-
"isRight": false,
|
10
|
-
"describe": "SOQL Query that includes ALL ROWS"
|
11
|
-
},
|
12
|
-
{
|
13
|
-
"isRight": false,
|
14
|
-
"describe": "SOSL Search that includes ALL ROWS"
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"isRight": true,
|
18
|
-
"describe": "SOSL Search"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"isRight": false,
|
22
|
-
"describe": "SOQL Query on each object"
|
23
|
-
}
|
24
|
-
]
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"describe": "Given the code block:\nInteger x;\nfor(x = 0; x<10; x+=2)\n{\nif(x==8) break; if(x==10) break;\n}\nsystem.debug(x);\nWhich value will the system.debug statement display?",
|
28
|
-
"answerOptions": [
|
29
|
-
{
|
30
|
-
"isRight": false,
|
31
|
-
"describe": "4"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"isRight": false,
|
35
|
-
"describe": "2"
|
36
|
-
},
|
37
|
-
{
|
38
|
-
"isRight": true,
|
39
|
-
"describe": "8"
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"isRight": false,
|
43
|
-
"describe": "10"
|
44
|
-
}
|
45
|
-
]
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"describe": "What are two correct examples of the Model in the Salesforce MVC architecture?\nChoose 2 answers",
|
49
|
-
"answerOptions": [
|
50
|
-
{
|
51
|
-
"isRight": true,
|
52
|
-
"describe": "Custom field on the custom Wizard _c object"
|
53
|
-
},
|
54
|
-
{
|
55
|
-
"isRight": true,
|
56
|
-
"describe": "Standard Account lookup on the Contact object"
|
57
|
-
},
|
58
|
-
{
|
59
|
-
"isRight": false,
|
60
|
-
"describe": "Workflow rule on the Contact object"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"isRight": false,
|
64
|
-
"describe": "Standard Lightning component"
|
65
|
-
}
|
66
|
-
]
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"describe": "A Visualforce page uses the Contact standard controller.\nHow can a developer display the Name from the parent Account record on the page?",
|
70
|
-
"answerOptions": [
|
71
|
-
{
|
72
|
-
"isRight": false,
|
73
|
-
"describe": "Use an additional standard controller for Accounts."
|
74
|
-
},
|
75
|
-
{
|
76
|
-
"isRight": false,
|
77
|
-
"describe": "Use SOQL syntax to find the related Accounts Name field."
|
78
|
-
},
|
79
|
-
{
|
80
|
-
"isRight": true,
|
81
|
-
"describe": "Use the {!contact.Account.Name} merge field syntax."
|
82
|
-
},
|
83
|
-
{
|
84
|
-
"isRight": false,
|
85
|
-
"describe": "Use additional Apex logic within the controller to query for the Name field."
|
86
|
-
}
|
87
|
-
]
|
88
|
-
},
|
89
|
-
{
|
90
|
-
"describe": "What is the output of the following code?\nInteger index = 1;\nInteger counter = 2;\ndo\n{\nSystem.debug('index:: '+index);\nindex++;\ncounter++;\n} while (index == 20 && counter == 21);",
|
91
|
-
"answerOptions": [
|
92
|
-
{
|
93
|
-
"isRight": true,
|
94
|
-
"describe": "The debug statement will output 1."
|
95
|
-
},
|
96
|
-
{
|
97
|
-
"isRight": false,
|
98
|
-
"describe": "The debug statement will repeat outputs from 1 to 20."
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"isRight": false,
|
102
|
-
"describe": "The debug statement will repeat outputs from 1 to 21."
|
103
|
-
},
|
104
|
-
{
|
105
|
-
"isRight": false,
|
106
|
-
"describe": "The debug statement will output 20."
|
107
|
-
}
|
108
|
-
]
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"describe": "When would the use of Heroku Postgres be appropriate?",
|
112
|
-
"answerOptions": [
|
113
|
-
{
|
114
|
-
"isRight": false,
|
115
|
-
"describe": "To store user generated pictures and word documents"
|
116
|
-
},
|
117
|
-
{
|
118
|
-
"isRight": false,
|
119
|
-
"describe": "To interconnect Microsoft SQL servers to Heroku Applications"
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"isRight": true,
|
123
|
-
"describe": "To store and retrieve data using the Structured Query Language"
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"isRight": false,
|
127
|
-
"describe": "To cache commonly accessed data for faster retrieval"
|
128
|
-
}
|
129
|
-
]
|
130
|
-
},
|
131
|
-
{
|
132
|
-
"describe": "A user selects a value from a multi-select picklist.\nHow is this selected value represented in Apex?",
|
133
|
-
"answerOptions": [
|
134
|
-
{
|
135
|
-
"isRight": false,
|
136
|
-
"describe": "As a string ending with a comma"
|
137
|
-
},
|
138
|
-
{
|
139
|
-
"isRight": false,
|
140
|
-
"describe": "As a set<string> with one element"
|
141
|
-
},
|
142
|
-
{
|
143
|
-
"isRight": true,
|
144
|
-
"describe": "As a String"
|
145
|
-
},
|
146
|
-
{
|
147
|
-
"isRight": false,
|
148
|
-
"describe": "As a List<string> with one element"
|
149
|
-
}
|
150
|
-
]
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"describe": ". A developer writes the following code:\nList<Account> acc = [SELECT Id FROM Account LIMIT 10];\nDelete acc;\nDatabase.emptyRecycleBin(acc);\nSystem.Debug[Limits.getDMLStatements() +', '+ Limits.getLimitDMLStatements());\nWhat is the result of the debug statement?",
|
154
|
-
"answerOptions": [
|
155
|
-
{
|
156
|
-
"isRight": true,
|
157
|
-
"describe": "2, 150"
|
158
|
-
},
|
159
|
-
{
|
160
|
-
"isRight": false,
|
161
|
-
"describe": "1, 100"
|
162
|
-
},
|
163
|
-
{
|
164
|
-
"isRight": false,
|
165
|
-
"describe": "1, 150"
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"isRight": false,
|
169
|
-
"describe": "2, 200"
|
170
|
-
}
|
171
|
-
]
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"describe": "Universal Containers (UC) wants to automate the Sales Operations process for Closed Won Opportunities. When an Opportunity is marked as Closed Won, UC wants to update the Account to mark it as a Customer. In addition, UC wants all of the Opportunity Line Items from a Closed Won Opportunity to be added automatically as Assets.\nWhat is appropriate for automating this process?",
|
175
|
-
"answerOptions": [
|
176
|
-
{
|
177
|
-
"isRight": true,
|
178
|
-
"describe": "Process Builder with an Auto launched Flow"
|
179
|
-
},
|
180
|
-
{
|
181
|
-
"isRight": false,
|
182
|
-
"describe": "Workflow Rules"
|
183
|
-
},
|
184
|
-
{
|
185
|
-
"isRight": false,
|
186
|
-
"describe": "Workflow Rules and Process Builder"
|
187
|
-
},
|
188
|
-
{
|
189
|
-
"isRight": false,
|
190
|
-
"describe": "Process Builder"
|
191
|
-
}
|
192
|
-
]
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"describe": "Users report multiple intermittent errors and unexpected results when saving a record. Upon investigation, the developer finds that triggers are executing more than once.\nWhat is a potential solution to solve this situation?",
|
196
|
-
"answerOptions": [
|
197
|
-
{
|
198
|
-
"isRight": false,
|
199
|
-
"describe": "Use a one trigger per object approach."
|
200
|
-
},
|
201
|
-
{
|
202
|
-
"isRight": false,
|
203
|
-
"describe": "Use a private class variable to ensure that the trigger only runs once."
|
204
|
-
},
|
205
|
-
{
|
206
|
-
"isRight": true,
|
207
|
-
"describe": "Use a static variable to check if the trigger has already run."
|
208
|
-
},
|
209
|
-
{
|
210
|
-
"isRight": false,
|
211
|
-
"describe": "Disable all triggers and use workflows."
|
212
|
-
}
|
213
|
-
]
|
214
|
-
},
|
215
|
-
{
|
216
|
-
"describe": "Which two are true regarding a Dyno?\nChoose 2 answers",
|
217
|
-
"answerOptions": [
|
218
|
-
{
|
219
|
-
"isRight": false,
|
220
|
-
"describe": "Is a lightweight linux container used in a collection to run Heroku applications?"
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"isRight": false,
|
224
|
-
"describe": "Is a light weight VM used to run code on the Heroku Platform?"
|
225
|
-
},
|
226
|
-
{
|
227
|
-
"isRight": false,
|
228
|
-
"describe": "Has the ability to sleep as a standard and performance Dyno."
|
229
|
-
},
|
230
|
-
{
|
231
|
-
"isRight": true,
|
232
|
-
"describe": "Has Ephemeral filesystems and is rebooted every 24 hours."
|
233
|
-
}
|
234
|
-
]
|
235
|
-
},
|
236
|
-
{
|
237
|
-
"describe": "Which two queries can a developer use in a Visualforce controller to protect against SOQL injection vulnerabilities?\nChoose 2 answers",
|
238
|
-
"answerOptions": [
|
239
|
-
{
|
240
|
-
"isRight": true,
|
241
|
-
"describe": "String qryName = '%' + String.escapeSingleQuotes(name) + '%';\nString qryString = 'SELECT Id FROM Contact WHERE Name LIKE \\'%' + qryName + '%\\' ';\nList<Contact> queryResult = Database.query(qryString);"
|
242
|
-
},
|
243
|
-
{
|
244
|
-
"isRight": true,
|
245
|
-
"describe": "String qryName = '%' + name + '%';\nString qryString = 'SELECT Id FROM Contact WHERE Name LIKE :qryName';\nList<Contact> queryResult = Database.query(qryString);"
|
246
|
-
},
|
247
|
-
{
|
248
|
-
"isRight": false,
|
249
|
-
"describe": "String qryString = 'SELECT Id FROM Contact WHERE Name LIKE \\'%' + name + '%\\' ';\nList<Contact> queryResult = Database.query(qryString);"
|
250
|
-
},
|
251
|
-
{
|
252
|
-
"isRight": false,
|
253
|
-
"describe": "String qryName = '%' + String.enforceSecurityChecks(name) + '%';\nString qryString = 'SELECT Id FROM Contact WHERE Name LIKE :qryName';\nList<Contact> queryResult = Database.query(qryString);"
|
254
|
-
}
|
255
|
-
]
|
256
|
-
},
|
257
|
-
{
|
258
|
-
"describe": "A developer is asked to write negative tests as part of the unit testing for a method that calculates a person's age based on birth date.\nWhat should the negative tests include?",
|
259
|
-
"answerOptions": [
|
260
|
-
{
|
261
|
-
"isRight": false,
|
262
|
-
"describe": "Assert that past dates are accepted by the method."
|
263
|
-
},
|
264
|
-
{
|
265
|
-
"isRight": false,
|
266
|
-
"describe": "Assert that a null value is accepted by the method."
|
267
|
-
},
|
268
|
-
{
|
269
|
-
"isRight": true,
|
270
|
-
"describe": "Assert that future dates are rejected by the method."
|
271
|
-
},
|
272
|
-
{
|
273
|
-
"isRight": false,
|
274
|
-
"describe": "Throwing a custom exception in the unit test."
|
275
|
-
}
|
276
|
-
]
|
277
|
-
},
|
278
|
-
{
|
279
|
-
"describe": "A lead object has a custom field Prior_Email_c. The following trigger is intended to copy the current Email into the Prior_Email_c field any time the Email field is changed:\ntrigger test on Lead (before update){\nfor(Lead id: trigger.new)\n{\nif(Id.Email != trigger.oldMap.get(Id.id).email)\n{\nId.Prior_Email__c = trigger.oldMap.get(Id.id).email;\nupdate Id;\n}\n}\n}\nWhich type of exception will this trigger cause?",
|
280
|
-
"answerOptions": [
|
281
|
-
{
|
282
|
-
"isRight": true,
|
283
|
-
"describe": "A DML exception"
|
284
|
-
},
|
285
|
-
{
|
286
|
-
"isRight": false,
|
287
|
-
"describe": "A compile time exception"
|
288
|
-
},
|
289
|
-
{
|
290
|
-
"isRight": false,
|
291
|
-
"describe": "A null reference exception"
|
292
|
-
},
|
293
|
-
{
|
294
|
-
"isRight": false,
|
295
|
-
"describe": "A limit exception when doing a bulk update"
|
296
|
-
}
|
297
|
-
]
|
298
|
-
},
|
299
|
-
{
|
300
|
-
"describe": "A developer encounters APEX heap limit errors in a trigger.\nWhich two methods should the developer use to avoid this error?\nChoose 2 answers",
|
301
|
-
"answerOptions": [
|
302
|
-
{
|
303
|
-
"isRight": false,
|
304
|
-
"describe": "Remove or set collections to null after use."
|
305
|
-
},
|
306
|
-
{
|
307
|
-
"isRight": true,
|
308
|
-
"describe": "Use SOQL for loops instead of assigning large queries results to a single collection and looping through the collection."
|
309
|
-
},
|
310
|
-
{
|
311
|
-
"isRight": true,
|
312
|
-
"describe": "Use the transient keyword when declaring variables."
|
313
|
-
},
|
314
|
-
{
|
315
|
-
"isRight": false,
|
316
|
-
"describe": "Query and store fields from the related object in a collection when updating related objects."
|
317
|
-
}
|
318
|
-
]
|
319
|
-
}
|
320
|
-
]
|
321
|
-
}
|
@@ -1,325 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"title": "Salesforce-Certified-Platform-Developer-1-[Set-2]",
|
3
|
-
"category": "Salesforce Dev 1",
|
4
|
-
"questions": [
|
5
|
-
{
|
6
|
-
"describe": "What is printed from the following code?\nInteger a = 0;\nInteger b;\na = a++;\na++;\nInteger c = a * 5;\nString s = String.valueof(c) + a;\nSystem.debug(s + ';' + a + ';' + b);",
|
7
|
-
"answerOptions": [
|
8
|
-
{
|
9
|
-
"isRight": false,
|
10
|
-
"describe": "6;1;0"
|
11
|
-
},
|
12
|
-
{
|
13
|
-
"isRight": false,
|
14
|
-
"describe": "51;1;0"
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"isRight": true,
|
18
|
-
"describe": "51;1;null"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"isRight": false,
|
22
|
-
"describe": "6;1;null"
|
23
|
-
}
|
24
|
-
]
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"describe": "How can a developer set up a debug log on a specific user?",
|
28
|
-
"answerOptions": [
|
29
|
-
{
|
30
|
-
"isRight": false,
|
31
|
-
"describe": "Ask the user for access to their account credentials, log in as the user and debug the issue."
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"isRight": false,
|
35
|
-
"describe": "Create Apex code that logs code actions into a custom object."
|
36
|
-
},
|
37
|
-
{
|
38
|
-
"isRight": false,
|
39
|
-
"describe": "It is not possible to setup debug logs for users other than yourself."
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"isRight": true,
|
43
|
-
"describe": "Set up a trace flag for the user, and define a logging level and time period for the trace."
|
44
|
-
}
|
45
|
-
]
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"describe": "A developer created a Lightning Component named accountList.cmp that displays a list of Accounts. Client side logic that is executed when a user hovers over an Account in the list should be stored in which bundle member?",
|
49
|
-
"answerOptions": [
|
50
|
-
{
|
51
|
-
"isRight": false,
|
52
|
-
"describe": "accountList.helper"
|
53
|
-
},
|
54
|
-
{
|
55
|
-
"isRight": true,
|
56
|
-
"describe": "accountListHelper.js"
|
57
|
-
},
|
58
|
-
{
|
59
|
-
"isRight": false,
|
60
|
-
"describe": "accountListRenderer.js"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"isRight": false,
|
64
|
-
"describe": "accountList.renderer"
|
65
|
-
}
|
66
|
-
]
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"describe": "A developer is tasked with creating a schema to track Movies, Actors, and Contracts. A single Movie can have many Contracts and a single Actor can have many Contracts. Each Contract is owned and actively managed by a single user.\nWhich schema should be created to enable users to easily manage the Contracts they own; without requiring access to the movie or the actor records?",
|
70
|
-
"answerOptions": [
|
71
|
-
{
|
72
|
-
"isRight": false,
|
73
|
-
"describe": "A Lookup Relationship to the Movie object and a Lookup Relationship to the Actor object"
|
74
|
-
},
|
75
|
-
{
|
76
|
-
"isRight": false,
|
77
|
-
"describe": "A Master-Detail Relationship to the Movie object and Master-Detail Relationship to the Actor object"
|
78
|
-
},
|
79
|
-
{
|
80
|
-
"isRight": false,
|
81
|
-
"describe": "A Lookup Relationship to the Movie object and a Master-Detail Relationship to the Actor object"
|
82
|
-
},
|
83
|
-
{
|
84
|
-
"isRight": false,
|
85
|
-
"describe": "A Master-Detail Relationship to the Movie object and a Lookup Relationship to the Actor object"
|
86
|
-
}
|
87
|
-
]
|
88
|
-
},
|
89
|
-
{
|
90
|
-
"describe": "What are three ways for a developer to execute tests in an org? Choose 3 answers",
|
91
|
-
"answerOptions": [
|
92
|
-
{
|
93
|
-
"isRight": false,
|
94
|
-
"describe": "Metadata API"
|
95
|
-
},
|
96
|
-
{
|
97
|
-
"isRight": true,
|
98
|
-
"describe": "Developer Console"
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"isRight": true,
|
102
|
-
"describe": "Setup Menu"
|
103
|
-
},
|
104
|
-
{
|
105
|
-
"isRight": true,
|
106
|
-
"describe": "Tooling API"
|
107
|
-
},
|
108
|
-
{
|
109
|
-
"isRight": false,
|
110
|
-
"describe": "Bulk API"
|
111
|
-
}
|
112
|
-
]
|
113
|
-
},
|
114
|
-
{
|
115
|
-
"describe": "What can a developer use to determine if the core Apex code exceeds any governor limits in a test class during bulk execution?",
|
116
|
-
"answerOptions": [
|
117
|
-
{
|
118
|
-
"isRight": false,
|
119
|
-
"describe": "@TestSetup"
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"isRight": true,
|
123
|
-
"describe": "Limits, startTest, stopTest"
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"isRight": false,
|
127
|
-
"describe": "Test.getDMLStatements()"
|
128
|
-
},
|
129
|
-
{
|
130
|
-
"isRight": false,
|
131
|
-
"describe": "@TestVisible"
|
132
|
-
}
|
133
|
-
]
|
134
|
-
},
|
135
|
-
{
|
136
|
-
"describe": "What are two uses for External IDs?\nChoose 2 answers",
|
137
|
-
"answerOptions": [
|
138
|
-
{
|
139
|
-
"isRight": true,
|
140
|
-
"describe": "To prevent an import from creating duplicate records using Upsert"
|
141
|
-
},
|
142
|
-
{
|
143
|
-
"isRight": true,
|
144
|
-
"describe": "To create relationships between records imported from an external system"
|
145
|
-
},
|
146
|
-
{
|
147
|
-
"isRight": false,
|
148
|
-
"describe": "To identify the sObject type in Salesforce"
|
149
|
-
},
|
150
|
-
{
|
151
|
-
"isRight": false,
|
152
|
-
"describe": "To create a record in a development environment with the same Salesforce ID as in another environment"
|
153
|
-
}
|
154
|
-
]
|
155
|
-
},
|
156
|
-
{
|
157
|
-
"describe": "A developer created a helper class with a method that can be called from Visualforce pages, web services, triggers, and even anonymous code. When the method is called from a trigger, the developer needs to execute logic that should not be executed if the method is called from anywhere else.\nHow can the developer determine if the code is executed in a trigger context?",
|
158
|
-
"answerOptions": [
|
159
|
-
{
|
160
|
-
"isRight": false,
|
161
|
-
"describe": "Check if Trigger.newMap != null."
|
162
|
-
},
|
163
|
-
{
|
164
|
-
"isRight": true,
|
165
|
-
"describe": "Check if Trigger.isExecuting == true."
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"isRight": false,
|
169
|
-
"describe": "Check if System.executionContext == 'Trigger'."
|
170
|
-
},
|
171
|
-
{
|
172
|
-
"isRight": false,
|
173
|
-
"describe": "Use the executeOnTrigger annotation on the method definition."
|
174
|
-
}
|
175
|
-
]
|
176
|
-
},
|
177
|
-
{
|
178
|
-
"describe": "How can a custom type be identified as unique when added to a Set?",
|
179
|
-
"answerOptions": [
|
180
|
-
{
|
181
|
-
"isRight": false,
|
182
|
-
"describe": "Methods in the class must be static."
|
183
|
-
},
|
184
|
-
{
|
185
|
-
"isRight": false,
|
186
|
-
"describe": "The class must have a method with the @InvocableMethod annotation."
|
187
|
-
},
|
188
|
-
{
|
189
|
-
"isRight": false,
|
190
|
-
"describe": "Methods in the class must be global."
|
191
|
-
},
|
192
|
-
{
|
193
|
-
"isRight": true,
|
194
|
-
"describe": "The class must implement the Equals and Hashcode methods."
|
195
|
-
}
|
196
|
-
]
|
197
|
-
},
|
198
|
-
{
|
199
|
-
"describe": "A Visualforce page is written with the following controller and extensions:\n<apex:page standardController=\"Account\" extensions=\"myExtension\"›\n<apex:inputField value=\"{!account.name}\"/> <p1/>\n<apex:commandButton value=\"Save\" action=\"{!save}\"/>\n</apex:page>\nThe extension class myExtension has a public save() method.\nWhich save method or methods will be used by the Visualforce page?",
|
200
|
-
"answerOptions": [
|
201
|
-
{
|
202
|
-
"isRight": false,
|
203
|
-
"describe": "both - the standardController first, then myExtension"
|
204
|
-
},
|
205
|
-
{
|
206
|
-
"isRight": false,
|
207
|
-
"describe": "the save method from the standardController"
|
208
|
-
},
|
209
|
-
{
|
210
|
-
"isRight": false,
|
211
|
-
"describe": "both - myExtension first, then the standardController"
|
212
|
-
},
|
213
|
-
{
|
214
|
-
"isRight": true,
|
215
|
-
"describe": "the save method from the controller extension"
|
216
|
-
}
|
217
|
-
]
|
218
|
-
},
|
219
|
-
{
|
220
|
-
"describe": "What should a developer use to post a message on chatter when a picklist field called Status _c on a custom object Application _c is set to \"Approved\"?",
|
221
|
-
"answerOptions": [
|
222
|
-
{
|
223
|
-
"isRight": true,
|
224
|
-
"describe": "Use Process Builder to post to Chatter based on meeting the required criteria."
|
225
|
-
},
|
226
|
-
{
|
227
|
-
"isRight": false,
|
228
|
-
"describe": "Use a Workflow Rule and use the \"Post to Chatter\" action when the record meets the criteria."
|
229
|
-
},
|
230
|
-
{
|
231
|
-
"isRight": false,
|
232
|
-
"describe": "Use the streaming API to post to Chatter."
|
233
|
-
},
|
234
|
-
{
|
235
|
-
"isRight": false,
|
236
|
-
"describe": "Use ConnectApi from Scheduled Apex."
|
237
|
-
}
|
238
|
-
]
|
239
|
-
},
|
240
|
-
{
|
241
|
-
"describe": "A developer needs to avoid potential system problems that can arise in a multi-tenant architecture.\nWhich requirement helps prevent poorly written applications from being deployed to a production environment?",
|
242
|
-
"answerOptions": [
|
243
|
-
{
|
244
|
-
"isRight": false,
|
245
|
-
"describe": "All Apex code must be annotated with the with sharing keyword."
|
246
|
-
},
|
247
|
-
{
|
248
|
-
"isRight": false,
|
249
|
-
"describe": "SOQL queries must reference sObjects with their appropriate namespace."
|
250
|
-
},
|
251
|
-
{
|
252
|
-
"isRight": false,
|
253
|
-
"describe": "Unit tests must cover at least 75% of the application's Apex code."
|
254
|
-
},
|
255
|
-
{
|
256
|
-
"isRight": true,
|
257
|
-
"describe": "All validation rules must be active before they can be deployed."
|
258
|
-
}
|
259
|
-
]
|
260
|
-
},
|
261
|
-
{
|
262
|
-
"describe": "What are two testing considerations when deploying code from a sandbox to production? Choose 2 answers",
|
263
|
-
"answerOptions": [
|
264
|
-
{
|
265
|
-
"isRight": false,
|
266
|
-
"describe": "Apex Code requires 100% coverage."
|
267
|
-
},
|
268
|
-
{
|
269
|
-
"isRight": true,
|
270
|
-
"describe": "Apex Code requires 75% coverage."
|
271
|
-
},
|
272
|
-
{
|
273
|
-
"isRight": false,
|
274
|
-
"describe": "75% of tests must execute without failure."
|
275
|
-
},
|
276
|
-
{
|
277
|
-
"isRight": true,
|
278
|
-
"describe": "100% of tests must execute without failure"
|
279
|
-
}
|
280
|
-
]
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"describe": "A developer has created a Visualforce Page and Apex Controller that uses the With Sharing keyword. The page will be used by Sales Managers and should only display Accounts owned by Sales Representatives who report to the running Sales Manager. The organization-wide sharing for Accounts is set to Private.\nWhich additional set of steps should the developer take?",
|
284
|
-
"answerOptions": [
|
285
|
-
{
|
286
|
-
"isRight": false,
|
287
|
-
"describe": "Create one Profile, one Permission Set, and two Roles."
|
288
|
-
},
|
289
|
-
{
|
290
|
-
"isRight": false,
|
291
|
-
"describe": "Create two Profiles, one Permission Set, and one Role."
|
292
|
-
},
|
293
|
-
{
|
294
|
-
"isRight": false,
|
295
|
-
"describe": "Create one Profile, two Permission Sets, and one Role."
|
296
|
-
},
|
297
|
-
{
|
298
|
-
"isRight": true,
|
299
|
-
"describe": "Create one Profile, one Permission Set, and one Role."
|
300
|
-
}
|
301
|
-
]
|
302
|
-
},
|
303
|
-
{
|
304
|
-
"describe": "What are two features of Heroku Connect?\nChoose 2 answers",
|
305
|
-
"answerOptions": [
|
306
|
-
{
|
307
|
-
"isRight": false,
|
308
|
-
"describe": "Displaying data from an external data store via External Objects"
|
309
|
-
},
|
310
|
-
{
|
311
|
-
"isRight": false,
|
312
|
-
"describe": "Real Time Sync between Salesforce and Postgres"
|
313
|
-
},
|
314
|
-
{
|
315
|
-
"isRight": true,
|
316
|
-
"describe": "Bidirectional syncs, allowing data to be written into SFDC"
|
317
|
-
},
|
318
|
-
{
|
319
|
-
"isRight": true,
|
320
|
-
"describe": "Near Real Time Sync between Heroku Postgres and Salesforce"
|
321
|
-
}
|
322
|
-
]
|
323
|
-
}
|
324
|
-
]
|
325
|
-
}
|